diff --git a/apis/Google.Cloud.AIPlatform.V1Beta1/Google.Cloud.AIPlatform.V1Beta1/ServiceNetworking.g.cs b/apis/Google.Cloud.AIPlatform.V1Beta1/Google.Cloud.AIPlatform.V1Beta1/ServiceNetworking.g.cs index ef15e2f164b1..7e5112e59fc8 100644 --- a/apis/Google.Cloud.AIPlatform.V1Beta1/Google.Cloud.AIPlatform.V1Beta1/ServiceNetworking.g.cs +++ b/apis/Google.Cloud.AIPlatform.V1Beta1/Google.Cloud.AIPlatform.V1Beta1/ServiceNetworking.g.cs @@ -28,28 +28,29 @@ static ServiceNetworkingReflection() { "d29ya2luZy5wcm90bxIfZ29vZ2xlLmNsb3VkLmFpcGxhdGZvcm0udjFiZXRh", "MRofZ29vZ2xlL2FwaS9maWVsZF9iZWhhdmlvci5wcm90bxoZZ29vZ2xlL2Fw", "aS9yZXNvdXJjZS5wcm90byJEChNQU0NBdXRvbWF0aW9uQ29uZmlnEhcKCnBy", - "b2plY3RfaWQYASABKAlCA+BBAhIUCgduZXR3b3JrGAIgASgJQgPgQQIihgEK", + "b2plY3RfaWQYASABKAlCA+BBAhIUCgduZXR3b3JrGAIgASgJQgPgQQIiugEK", "G1ByaXZhdGVTZXJ2aWNlQ29ubmVjdENvbmZpZxIrCh5lbmFibGVfcHJpdmF0", "ZV9zZXJ2aWNlX2Nvbm5lY3QYASABKAhCA+BBAhIZChFwcm9qZWN0X2FsbG93", - "bGlzdBgCIAMoCRIfChJzZXJ2aWNlX2F0dGFjaG1lbnQYBSABKAlCA+BBAyJT", - "ChVQc2NBdXRvbWF0ZWRFbmRwb2ludHMSEgoKcHJvamVjdF9pZBgBIAEoCRIP", - "CgduZXR3b3JrGAIgASgJEhUKDW1hdGNoX2FkZHJlc3MYAyABKAkiYgoSUHNj", - "SW50ZXJmYWNlQ29uZmlnEkwKEm5ldHdvcmtfYXR0YWNobWVudBgBIAEoCUIw", - "4EEB+kEqCihjb21wdXRlLmdvb2dsZWFwaXMuY29tL05ldHdvcmtBdH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V0YTEvYWlwbGF0Zm9ybXBiO2Fp", + "cGxhdGZvcm1wYqoCH0dvb2dsZS5DbG91ZC5BSVBsYXRmb3JtLlYxQmV0YTHK", + "Ah9Hb29nbGVcQ2xvdWRcQUlQbGF0Zm9ybVxWMWJldGEx6gIiR29vZ2xlOjpD", + "bG91ZDo6QUlQbGF0Zm9ybTo6VjFiZXRhMepBdgooY29tcHV0ZS5nb29nbGVh", + "cGlzLmNvbS9OZXR3b3JrQXR0YWNobWVudBJKcHJvamVjdHMve3Byb2plY3R9", + "L3JlZ2lvbnMve3JlZ2lvbn0vbmV0d29ya0F0dGFjaG1lbnRzL3tuZXR3b3Jr", + "YXR0YWNobWVudH1iBnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.AIPlatform.V1Beta1.PSCAutomationConfig), global::Google.Cloud.AIPlatform.V1Beta1.PSCAutomationConfig.Parser, new[]{ "ProjectId", "Network" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.AIPlatform.V1Beta1.PrivateServiceConnectConfig), global::Google.Cloud.AIPlatform.V1Beta1.PrivateServiceConnectConfig.Parser, new[]{ "EnablePrivateServiceConnect", "ProjectAllowlist", "ServiceAttachment" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.AIPlatform.V1Beta1.PrivateServiceConnectConfig), global::Google.Cloud.AIPlatform.V1Beta1.PrivateServiceConnectConfig.Parser, new[]{ "EnablePrivateServiceConnect", "ProjectAllowlist", "EnableSecurePrivateServiceConnect", "ServiceAttachment" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.AIPlatform.V1Beta1.PscAutomatedEndpoints), global::Google.Cloud.AIPlatform.V1Beta1.PscAutomatedEndpoints.Parser, new[]{ "ProjectId", "Network", "MatchAddress" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.AIPlatform.V1Beta1.PscInterfaceConfig), global::Google.Cloud.AIPlatform.V1Beta1.PscInterfaceConfig.Parser, new[]{ "NetworkAttachment" }, null, null, null, null) })); @@ -340,6 +341,7 @@ public PrivateServiceConnectConfig() { public PrivateServiceConnectConfig(PrivateServiceConnectConfig other) : this() { enablePrivateServiceConnect_ = other.enablePrivateServiceConnect_; projectAllowlist_ = other.projectAllowlist_.Clone(); + enableSecurePrivateServiceConnect_ = other.enableSecurePrivateServiceConnect_; serviceAttachment_ = other.serviceAttachment_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -380,6 +382,24 @@ public bool EnablePrivateServiceConnect { get { return projectAllowlist_; } } + /// Field number for the "enable_secure_private_service_connect" field. + public const int EnableSecurePrivateServiceConnectFieldNumber = 4; + private bool enableSecurePrivateServiceConnect_; + /// + /// Optional. If set to true, enable secure private service connect with IAM + /// authorization. Otherwise, private service connect will be done without + /// authorization. Note latency will be slightly increased if authorization is + /// enabled. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool EnableSecurePrivateServiceConnect { + get { return enableSecurePrivateServiceConnect_; } + set { + enableSecurePrivateServiceConnect_ = value; + } + } + /// Field number for the "service_attachment" field. public const int ServiceAttachmentFieldNumber = 5; private string serviceAttachment_ = ""; @@ -414,6 +434,7 @@ public bool Equals(PrivateServiceConnectConfig other) { } if (EnablePrivateServiceConnect != other.EnablePrivateServiceConnect) return false; if(!projectAllowlist_.Equals(other.projectAllowlist_)) return false; + if (EnableSecurePrivateServiceConnect != other.EnableSecurePrivateServiceConnect) return false; if (ServiceAttachment != other.ServiceAttachment) return false; return Equals(_unknownFields, other._unknownFields); } @@ -424,6 +445,7 @@ public override int GetHashCode() { int hash = 1; if (EnablePrivateServiceConnect != false) hash ^= EnablePrivateServiceConnect.GetHashCode(); hash ^= projectAllowlist_.GetHashCode(); + if (EnableSecurePrivateServiceConnect != false) hash ^= EnableSecurePrivateServiceConnect.GetHashCode(); if (ServiceAttachment.Length != 0) hash ^= ServiceAttachment.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); @@ -448,6 +470,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteBool(EnablePrivateServiceConnect); } projectAllowlist_.WriteTo(output, _repeated_projectAllowlist_codec); + if (EnableSecurePrivateServiceConnect != false) { + output.WriteRawTag(32); + output.WriteBool(EnableSecurePrivateServiceConnect); + } if (ServiceAttachment.Length != 0) { output.WriteRawTag(42); output.WriteString(ServiceAttachment); @@ -467,6 +493,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteBool(EnablePrivateServiceConnect); } projectAllowlist_.WriteTo(ref output, _repeated_projectAllowlist_codec); + if (EnableSecurePrivateServiceConnect != false) { + output.WriteRawTag(32); + output.WriteBool(EnableSecurePrivateServiceConnect); + } if (ServiceAttachment.Length != 0) { output.WriteRawTag(42); output.WriteString(ServiceAttachment); @@ -485,6 +515,9 @@ public int CalculateSize() { size += 1 + 1; } size += projectAllowlist_.CalculateSize(_repeated_projectAllowlist_codec); + if (EnableSecurePrivateServiceConnect != false) { + size += 1 + 1; + } if (ServiceAttachment.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(ServiceAttachment); } @@ -504,6 +537,9 @@ public void MergeFrom(PrivateServiceConnectConfig other) { EnablePrivateServiceConnect = other.EnablePrivateServiceConnect; } projectAllowlist_.Add(other.projectAllowlist_); + if (other.EnableSecurePrivateServiceConnect != false) { + EnableSecurePrivateServiceConnect = other.EnableSecurePrivateServiceConnect; + } if (other.ServiceAttachment.Length != 0) { ServiceAttachment = other.ServiceAttachment; } @@ -530,6 +566,10 @@ public void MergeFrom(pb::CodedInputStream input) { projectAllowlist_.AddEntriesFrom(input, _repeated_projectAllowlist_codec); break; } + case 32: { + EnableSecurePrivateServiceConnect = input.ReadBool(); + break; + } case 42: { ServiceAttachment = input.ReadString(); break; @@ -557,6 +597,10 @@ public void MergeFrom(pb::CodedInputStream input) { projectAllowlist_.AddEntriesFrom(ref input, _repeated_projectAllowlist_codec); break; } + case 32: { + EnableSecurePrivateServiceConnect = input.ReadBool(); + break; + } case 42: { ServiceAttachment = input.ReadString(); break;