Skip to content

Commit

Permalink
fix: Removes accidentally exposed field service.traffic_tags_cleanup_…
Browse files Browse the repository at this point in the history
…threshold in Cloud Run Service

docs: Minor comment fixes

PiperOrigin-RevId: 568981386

Source-Link: googleapis/googleapis@01711ae

Source-Link: googleapis/googleapis-gen@cc2e659
Copy-Tag: eyJwIjoiYXBpcy9Hb29nbGUuQ2xvdWQuUnVuLlYyLy5Pd2xCb3QueWFtbCIsImgiOiJjYzJlNjU5ZjhjZjVhNDU4ZDZmN2EyYzBmOGY3Y2ZhNTRlZjU0MDJjIn0=
  • Loading branch information
gcf-owl-bot[bot] authored and jskeet committed Sep 28, 2023
1 parent adc32d3 commit 6b18d1f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 50 deletions.
4 changes: 2 additions & 2 deletions apis/Google.Cloud.Run.V2/Google.Cloud.Run.V2/Job.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2120,7 +2120,7 @@ public sealed partial class RunJobRequest : pb::IMessage<RunJobRequest>
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static partial class Types {
/// <summary>
/// RunJob Overrides that contains Execution fields to be overridden on the go.
/// RunJob Overrides that contains Execution fields to be overridden.
/// </summary>
public sealed partial class Overrides : pb::IMessage<Overrides>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
Expand Down Expand Up @@ -2399,7 +2399,7 @@ public sealed partial class Overrides : pb::IMessage<Overrides>
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static partial class Types {
/// <summary>
/// Per container override specification.
/// Per-container override specification.
/// </summary>
public sealed partial class ContainerOverride : pb::IMessage<ContainerOverride>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
Expand Down
4 changes: 2 additions & 2 deletions apis/Google.Cloud.Run.V2/Google.Cloud.Run.V2/K8SMin.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1061,8 +1061,8 @@ public sealed partial class EnvVar : pb::IMessage<EnvVar>
public const int NameFieldNumber = 1;
private string name_ = "";
/// <summary>
/// Required. Name of the environment variable. Must be a C_IDENTIFIER, and
/// must not exceed 32768 characters.
/// Required. Name of the environment variable. Must not exceed 32768
/// characters.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Expand Down
49 changes: 3 additions & 46 deletions apis/Google.Cloud.Run.V2/Google.Cloud.Run.V2/Service.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public static partial class ServiceReflection {
"MAoEbmFtZRgBIAEoCUIi4EEC+kEcChpydW4uZ29vZ2xlYXBpcy5jb20vU2Vy",
"dmljZSJtChREZWxldGVTZXJ2aWNlUmVxdWVzdBIwCgRuYW1lGAEgASgJQiLg",
"QQL6QRwKGnJ1bi5nb29nbGVhcGlzLmNvbS9TZXJ2aWNlEhUKDXZhbGlkYXRl",
"X29ubHkYAiABKAgSDAoEZXRhZxgDIAEoCSL7CwoHU2VydmljZRIMCgRuYW1l",
"X29ubHkYAiABKAgSDAoEZXRhZxgDIAEoCSLOCwoHU2VydmljZRIMCgRuYW1l",
"GAEgASgJEhMKC2Rlc2NyaXB0aW9uGAIgASgJEhAKA3VpZBgDIAEoCUID4EED",
"EhcKCmdlbmVyYXRpb24YBCABKANCA+BBAxI4CgZsYWJlbHMYBSADKAsyKC5n",
"b29nbGUuY2xvdWQucnVuLnYyLlNlcnZpY2UuTGFiZWxzRW50cnkSQgoLYW5u",
Expand Down Expand Up @@ -79,8 +79,7 @@ public static partial class ServiceReflection {
"c2lvbhJHChB0cmFmZmljX3N0YXR1c2VzGCMgAygLMiguZ29vZ2xlLmNsb3Vk",
"LnJ1bi52Mi5UcmFmZmljVGFyZ2V0U3RhdHVzQgPgQQMSEAoDdXJpGCQgASgJ",
"QgPgQQMSGAoQY3VzdG9tX2F1ZGllbmNlcxglIAMoCRIaCg1zYXRpc2ZpZXNf",
"cHpzGCYgASgIQgPgQQMSKwoedHJhZmZpY190YWdzX2NsZWFudXBfdGhyZXNo",
"b2xkGCcgASgDQgPgQQESGAoLcmVjb25jaWxpbmcYYiABKAhCA+BBAxIRCgRl",
"cHpzGCYgASgIQgPgQQMSGAoLcmVjb25jaWxpbmcYYiABKAhCA+BBAxIRCgRl",
"dGFnGGMgASgJQgPgQQMaLQoLTGFiZWxzRW50cnkSCwoDa2V5GAEgASgJEg0K",
"BXZhbHVlGAIgASgJOgI4ARoyChBBbm5vdGF0aW9uc0VudHJ5EgsKA2tleRgB",
"IAEoCRINCgV2YWx1ZRgCIAEoCToCOAE6XupBWwoacnVuLmdvb2dsZWFwaXMu",
Expand Down Expand Up @@ -135,7 +134,7 @@ public static partial class ServiceReflection {
new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Run.V2.ListServicesResponse), global::Google.Cloud.Run.V2.ListServicesResponse.Parser, new[]{ "Services", "NextPageToken" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Run.V2.GetServiceRequest), global::Google.Cloud.Run.V2.GetServiceRequest.Parser, new[]{ "Name" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Run.V2.DeleteServiceRequest), global::Google.Cloud.Run.V2.DeleteServiceRequest.Parser, new[]{ "Name", "ValidateOnly", "Etag" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Run.V2.Service), global::Google.Cloud.Run.V2.Service.Parser, new[]{ "Name", "Description", "Uid", "Generation", "Labels", "Annotations", "CreateTime", "UpdateTime", "DeleteTime", "ExpireTime", "Creator", "LastModifier", "Client", "ClientVersion", "Ingress", "LaunchStage", "BinaryAuthorization", "Template", "Traffic", "ObservedGeneration", "TerminalCondition", "Conditions", "LatestReadyRevision", "LatestCreatedRevision", "TrafficStatuses", "Uri", "CustomAudiences", "SatisfiesPzs", "TrafficTagsCleanupThreshold", "Reconciling", "Etag" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, null, })
new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Run.V2.Service), global::Google.Cloud.Run.V2.Service.Parser, new[]{ "Name", "Description", "Uid", "Generation", "Labels", "Annotations", "CreateTime", "UpdateTime", "DeleteTime", "ExpireTime", "Creator", "LastModifier", "Client", "ClientVersion", "Ingress", "LaunchStage", "BinaryAuthorization", "Template", "Traffic", "ObservedGeneration", "TerminalCondition", "Conditions", "LatestReadyRevision", "LatestCreatedRevision", "TrafficStatuses", "Uri", "CustomAudiences", "SatisfiesPzs", "Reconciling", "Etag" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, null, })
}));
}
#endregion
Expand Down Expand Up @@ -1847,7 +1846,6 @@ public sealed partial class Service : pb::IMessage<Service>
uri_ = other.uri_;
customAudiences_ = other.customAudiences_.Clone();
satisfiesPzs_ = other.satisfiesPzs_;
trafficTagsCleanupThreshold_ = other.trafficTagsCleanupThreshold_;
reconciling_ = other.reconciling_;
etag_ = other.etag_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
Expand Down Expand Up @@ -2339,23 +2337,6 @@ public sealed partial class Service : pb::IMessage<Service>
}
}

/// <summary>Field number for the "traffic_tags_cleanup_threshold" field.</summary>
public const int TrafficTagsCleanupThresholdFieldNumber = 39;
private long trafficTagsCleanupThreshold_;
/// <summary>
/// Optional. Override the traffic tag threshold limit. Garbage collection will
/// start cleaning up non-serving tagged traffic targets based on creation
/// item. The default value is 2000.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public long TrafficTagsCleanupThreshold {
get { return trafficTagsCleanupThreshold_; }
set {
trafficTagsCleanupThreshold_ = value;
}
}

/// <summary>Field number for the "reconciling" field.</summary>
public const int ReconcilingFieldNumber = 98;
private bool reconciling_;
Expand Down Expand Up @@ -2451,7 +2432,6 @@ public sealed partial class Service : pb::IMessage<Service>
if (Uri != other.Uri) return false;
if(!customAudiences_.Equals(other.customAudiences_)) return false;
if (SatisfiesPzs != other.SatisfiesPzs) return false;
if (TrafficTagsCleanupThreshold != other.TrafficTagsCleanupThreshold) return false;
if (Reconciling != other.Reconciling) return false;
if (Etag != other.Etag) return false;
return Equals(_unknownFields, other._unknownFields);
Expand Down Expand Up @@ -2489,7 +2469,6 @@ public sealed partial class Service : pb::IMessage<Service>
if (Uri.Length != 0) hash ^= Uri.GetHashCode();
hash ^= customAudiences_.GetHashCode();
if (SatisfiesPzs != false) hash ^= SatisfiesPzs.GetHashCode();
if (TrafficTagsCleanupThreshold != 0L) hash ^= TrafficTagsCleanupThreshold.GetHashCode();
if (Reconciling != false) hash ^= Reconciling.GetHashCode();
if (Etag.Length != 0) hash ^= Etag.GetHashCode();
if (_unknownFields != null) {
Expand Down Expand Up @@ -2604,10 +2583,6 @@ public sealed partial class Service : pb::IMessage<Service>
output.WriteRawTag(176, 2);
output.WriteBool(SatisfiesPzs);
}
if (TrafficTagsCleanupThreshold != 0L) {
output.WriteRawTag(184, 2);
output.WriteInt64(TrafficTagsCleanupThreshold);
}
if (Reconciling != false) {
output.WriteRawTag(144, 6);
output.WriteBool(Reconciling);
Expand Down Expand Up @@ -2720,10 +2695,6 @@ public sealed partial class Service : pb::IMessage<Service>
output.WriteRawTag(176, 2);
output.WriteBool(SatisfiesPzs);
}
if (TrafficTagsCleanupThreshold != 0L) {
output.WriteRawTag(184, 2);
output.WriteInt64(TrafficTagsCleanupThreshold);
}
if (Reconciling != false) {
output.WriteRawTag(144, 6);
output.WriteBool(Reconciling);
Expand Down Expand Up @@ -2814,9 +2785,6 @@ public sealed partial class Service : pb::IMessage<Service>
if (SatisfiesPzs != false) {
size += 2 + 1;
}
if (TrafficTagsCleanupThreshold != 0L) {
size += 2 + pb::CodedOutputStream.ComputeInt64Size(TrafficTagsCleanupThreshold);
}
if (Reconciling != false) {
size += 2 + 1;
}
Expand Down Expand Up @@ -2928,9 +2896,6 @@ public sealed partial class Service : pb::IMessage<Service>
if (other.SatisfiesPzs != false) {
SatisfiesPzs = other.SatisfiesPzs;
}
if (other.TrafficTagsCleanupThreshold != 0L) {
TrafficTagsCleanupThreshold = other.TrafficTagsCleanupThreshold;
}
if (other.Reconciling != false) {
Reconciling = other.Reconciling;
}
Expand Down Expand Up @@ -3085,10 +3050,6 @@ public sealed partial class Service : pb::IMessage<Service>
SatisfiesPzs = input.ReadBool();
break;
}
case 312: {
TrafficTagsCleanupThreshold = input.ReadInt64();
break;
}
case 784: {
Reconciling = input.ReadBool();
break;
Expand Down Expand Up @@ -3245,10 +3206,6 @@ public sealed partial class Service : pb::IMessage<Service>
SatisfiesPzs = input.ReadBool();
break;
}
case 312: {
TrafficTagsCleanupThreshold = input.ReadInt64();
break;
}
case 784: {
Reconciling = input.ReadBool();
break;
Expand Down

0 comments on commit 6b18d1f

Please sign in to comment.