Skip to content

Commit

Permalink
feat: An optional field security_posture_config in message `.google…
Browse files Browse the repository at this point in the history
….cloud.gkemulticloud.v1.AttachedCluster` is added

feat: An optional field `kubelet_config` in message `.google.cloud.gkemulticloud.v1.AwsNodePool` is added

PiperOrigin-RevId: 674451558

Source-Link: googleapis/googleapis@31df26d

Source-Link: googleapis/googleapis-gen@23e6557
Copy-Tag: eyJwIjoiYXBpcy9Hb29nbGUuQ2xvdWQuR2tlTXVsdGlDbG91ZC5WMS8uT3dsQm90LnlhbWwiLCJoIjoiMjNlNjU1NzEzNTgyMzYwYjU2ODE3MjM0OGJlNWQ4ODNjYWE0MGVmYiJ9
  • Loading branch information
gcf-owl-bot[bot] authored and amanda-tarafa committed Sep 14, 2024
1 parent ba31386 commit d8adaac
Show file tree
Hide file tree
Showing 6 changed files with 930 additions and 141 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -835,6 +835,7 @@ internal static AttachedClustersClient Create(grpccore::CallInvoker callInvoker,
/// * `platform_version`.
/// * `proxy_config.kubernetes_secret.name`.
/// * `proxy_config.kubernetes_secret.namespace`.
/// * `security_posture_config.vulnerability_mode`
/// </param>
/// <param name="callSettings">If not null, applies overrides to this RPC call.</param>
/// <returns>The RPC response.</returns>
Expand Down Expand Up @@ -870,6 +871,7 @@ internal static AttachedClustersClient Create(grpccore::CallInvoker callInvoker,
/// * `platform_version`.
/// * `proxy_config.kubernetes_secret.name`.
/// * `proxy_config.kubernetes_secret.namespace`.
/// * `security_posture_config.vulnerability_mode`
/// </param>
/// <param name="callSettings">If not null, applies overrides to this RPC call.</param>
/// <returns>A Task containing the RPC response.</returns>
Expand Down Expand Up @@ -905,6 +907,7 @@ internal static AttachedClustersClient Create(grpccore::CallInvoker callInvoker,
/// * `platform_version`.
/// * `proxy_config.kubernetes_secret.name`.
/// * `proxy_config.kubernetes_secret.namespace`.
/// * `security_posture_config.vulnerability_mode`
/// </param>
/// <param name="cancellationToken">A <see cref="st::CancellationToken"/> to use for this RPC.</param>
/// <returns>A Task containing the RPC response.</returns>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ static AttachedResourcesReflection() {
"b29nbGUvYXBpL2ZpZWxkX2JlaGF2aW9yLnByb3RvGhlnb29nbGUvYXBpL3Jl",
"c291cmNlLnByb3RvGjRnb29nbGUvY2xvdWQvZ2tlbXVsdGljbG91ZC92MS9j",
"b21tb25fcmVzb3VyY2VzLnByb3RvGh9nb29nbGUvcHJvdG9idWYvdGltZXN0",
"YW1wLnByb3RvIvILCg9BdHRhY2hlZENsdXN0ZXISDAoEbmFtZRgBIAEoCRIY",
"YW1wLnByb3RvIs4MCg9BdHRhY2hlZENsdXN0ZXISDAoEbmFtZRgBIAEoCRIY",
"CgtkZXNjcmlwdGlvbhgCIAEoCUID4EEBEksKC29pZGNfY29uZmlnGAMgASgL",
"MjEuZ29vZ2xlLmNsb3VkLmdrZW11bHRpY2xvdWQudjEuQXR0YWNoZWRPaWRj",
"Q29uZmlnQgPgQQISHQoQcGxhdGZvcm1fdmVyc2lvbhgEIAEoCUID4EECEhkK",
Expand All @@ -56,41 +56,43 @@ static AttachedResourcesReflection() {
"b25maWcYGCABKAsyMi5nb29nbGUuY2xvdWQuZ2tlbXVsdGljbG91ZC52MS5B",
"dHRhY2hlZFByb3h5Q29uZmlnQgPgQQESVQoUYmluYXJ5X2F1dGhvcml6YXRp",
"b24YGSABKAsyMi5nb29nbGUuY2xvdWQuZ2tlbXVsdGljbG91ZC52MS5CaW5h",
"cnlBdXRob3JpemF0aW9uQgPgQQEaMgoQQW5ub3RhdGlvbnNFbnRyeRILCgNr",
"ZXkYASABKAkSDQoFdmFsdWUYAiABKAk6AjgBInUKBVN0YXRlEhUKEVNUQVRF",
"X1VOU1BFQ0lGSUVEEAASEAoMUFJPVklTSU9OSU5HEAESCwoHUlVOTklORxAC",
"Eg8KC1JFQ09OQ0lMSU5HEAMSDAoIU1RPUFBJTkcQBBIJCgVFUlJPUhAFEgwK",
"CERFR1JBREVE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c2FnZRgB",
"IAEoCSJhChNBdHRhY2hlZFByb3h5Q29uZmlnEkoKEWt1YmVybmV0ZXNfc2Vj",
"cmV0GAEgASgLMi8uZ29vZ2xlLmNsb3VkLmdrZW11bHRpY2xvdWQudjEuS3Vi",
"ZXJuZXRlc1NlY3JldCIzChBLdWJlcm5ldGVzU2VjcmV0EgwKBG5hbWUYASAB",
"KAkSEQoJbmFtZXNwYWNlGAIgASgJQukBCiFjb20uZ29vZ2xlLmNsb3VkLmdr",
"ZW11bHRpY2xvdWQudjFCFkF0dGFjaGVkUmVzb3VyY2VzUHJvdG9QAVpHY2xv",
"dWQuZ29vZ2xlLmNvbS9nby9na2VtdWx0aWNsb3VkL2FwaXYxL2drZW11bHRp",
"Y2xvdWRwYjtna2VtdWx0aWNsb3VkcGKqAh1Hb29nbGUuQ2xvdWQuR2tlTXVs",
"dGlDbG91ZC5WMcoCHUdvb2dsZVxDbG91ZFxHa2VNdWx0aUNsb3VkXFYx6gIg",
"R29vZ2xlOjpDbG91ZDo6R2tlTXVsdGlDbG91ZDo6VjFiBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, global::Google.Cloud.GkeMultiCloud.V1.CommonResourcesReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.TimestampReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.GkeMultiCloud.V1.AttachedCluster), global::Google.Cloud.GkeMultiCloud.V1.AttachedCluster.Parser, new[]{ "Name", "Description", "OidcConfig", "PlatformVersion", "Distribution", "ClusterRegion", "Fleet", "State", "Uid", "Reconciling", "CreateTime", "UpdateTime", "Etag", "KubernetesVersion", "Annotations", "WorkloadIdentityConfig", "LoggingConfig", "Errors", "Authorization", "MonitoringConfig", "ProxyConfig", "BinaryAuthorization" }, null, new[]{ typeof(global::Google.Cloud.GkeMultiCloud.V1.AttachedCluster.Types.State) }, null, new pbr::GeneratedClrTypeInfo[] { null, }),
new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.GkeMultiCloud.V1.AttachedCluster), global::Google.Cloud.GkeMultiCloud.V1.AttachedCluster.Parser, new[]{ "Name", "Description", "OidcConfig", "PlatformVersion", "Distribution", "ClusterRegion", "Fleet", "State", "Uid", "Reconciling", "CreateTime", "UpdateTime", "Etag", "KubernetesVersion", "Annotations", "WorkloadIdentityConfig", "LoggingConfig", "Errors", "Authorization", "MonitoringConfig", "ProxyConfig", "BinaryAuthorization", "SecurityPostureConfig" }, null, new[]{ typeof(global::Google.Cloud.GkeMultiCloud.V1.AttachedCluster.Types.State) }, null, new pbr::GeneratedClrTypeInfo[] { null, }),
new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.GkeMultiCloud.V1.AttachedClustersAuthorization), global::Google.Cloud.GkeMultiCloud.V1.AttachedClustersAuthorization.Parser, new[]{ "AdminUsers", "AdminGroups" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.GkeMultiCloud.V1.AttachedClusterUser), global::Google.Cloud.GkeMultiCloud.V1.AttachedClusterUser.Parser, new[]{ "Username" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.GkeMultiCloud.V1.AttachedClusterGroup), global::Google.Cloud.GkeMultiCloud.V1.AttachedClusterGroup.Parser, new[]{ "Group" }, null, null, null, null),
Expand Down Expand Up @@ -166,6 +168,7 @@ public AttachedCluster(AttachedCluster other) : this() {
monitoringConfig_ = other.monitoringConfig_ != null ? other.monitoringConfig_.Clone() : null;
proxyConfig_ = other.proxyConfig_ != null ? other.proxyConfig_.Clone() : null;
binaryAuthorization_ = other.binaryAuthorization_ != null ? other.binaryAuthorization_.Clone() : null;
securityPostureConfig_ = other.securityPostureConfig_ != null ? other.securityPostureConfig_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}

Expand Down Expand Up @@ -531,6 +534,21 @@ public string KubernetesVersion {
}
}

/// <summary>Field number for the "security_posture_config" field.</summary>
public const int SecurityPostureConfigFieldNumber = 26;
private global::Google.Cloud.GkeMultiCloud.V1.SecurityPostureConfig securityPostureConfig_;
/// <summary>
/// Optional. Security Posture configuration for this cluster.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::Google.Cloud.GkeMultiCloud.V1.SecurityPostureConfig SecurityPostureConfig {
get { return securityPostureConfig_; }
set {
securityPostureConfig_ = value;
}
}

[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
Expand Down Expand Up @@ -568,6 +586,7 @@ public bool Equals(AttachedCluster other) {
if (!object.Equals(MonitoringConfig, other.MonitoringConfig)) return false;
if (!object.Equals(ProxyConfig, other.ProxyConfig)) return false;
if (!object.Equals(BinaryAuthorization, other.BinaryAuthorization)) return false;
if (!object.Equals(SecurityPostureConfig, other.SecurityPostureConfig)) return false;
return Equals(_unknownFields, other._unknownFields);
}

Expand Down Expand Up @@ -597,6 +616,7 @@ public override int GetHashCode() {
if (monitoringConfig_ != null) hash ^= MonitoringConfig.GetHashCode();
if (proxyConfig_ != null) hash ^= ProxyConfig.GetHashCode();
if (binaryAuthorization_ != null) hash ^= BinaryAuthorization.GetHashCode();
if (securityPostureConfig_ != null) hash ^= SecurityPostureConfig.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
Expand Down Expand Up @@ -697,6 +717,10 @@ public void WriteTo(pb::CodedOutputStream output) {
output.WriteRawTag(202, 1);
output.WriteMessage(BinaryAuthorization);
}
if (securityPostureConfig_ != null) {
output.WriteRawTag(210, 1);
output.WriteMessage(SecurityPostureConfig);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
Expand Down Expand Up @@ -789,6 +813,10 @@ public void WriteTo(pb::CodedOutputStream output) {
output.WriteRawTag(202, 1);
output.WriteMessage(BinaryAuthorization);
}
if (securityPostureConfig_ != null) {
output.WriteRawTag(210, 1);
output.WriteMessage(SecurityPostureConfig);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
Expand Down Expand Up @@ -861,6 +889,9 @@ public int CalculateSize() {
if (binaryAuthorization_ != null) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(BinaryAuthorization);
}
if (securityPostureConfig_ != null) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(SecurityPostureConfig);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
Expand Down Expand Up @@ -965,6 +996,12 @@ public void MergeFrom(AttachedCluster other) {
}
BinaryAuthorization.MergeFrom(other.BinaryAuthorization);
}
if (other.securityPostureConfig_ != null) {
if (securityPostureConfig_ == null) {
SecurityPostureConfig = new global::Google.Cloud.GkeMultiCloud.V1.SecurityPostureConfig();
}
SecurityPostureConfig.MergeFrom(other.SecurityPostureConfig);
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}

Expand Down Expand Up @@ -1098,6 +1135,13 @@ public void MergeFrom(pb::CodedInputStream input) {
input.ReadMessage(BinaryAuthorization);
break;
}
case 210: {
if (securityPostureConfig_ == null) {
SecurityPostureConfig = new global::Google.Cloud.GkeMultiCloud.V1.SecurityPostureConfig();
}
input.ReadMessage(SecurityPostureConfig);
break;
}
}
}
#endif
Expand Down Expand Up @@ -1231,6 +1275,13 @@ public void MergeFrom(pb::CodedInputStream input) {
input.ReadMessage(BinaryAuthorization);
break;
}
case 210: {
if (securityPostureConfig_ == null) {
SecurityPostureConfig = new global::Google.Cloud.GkeMultiCloud.V1.SecurityPostureConfig();
}
input.ReadMessage(SecurityPostureConfig);
break;
}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1181,7 +1181,7 @@ public string PlatformVersion {
/// <summary>
/// Required. The Kubernetes distribution of the underlying attached cluster.
///
/// Supported values: ["eks", "aks"].
/// Supported values: ["eks", "aks", "generic"].
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Expand Down Expand Up @@ -1570,6 +1570,7 @@ public bool ValidateOnly {
/// * `platform_version`.
/// * `proxy_config.kubernetes_secret.name`.
/// * `proxy_config.kubernetes_secret.namespace`.
/// * `security_posture_config.vulnerability_mode`
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Expand Down
Loading

0 comments on commit d8adaac

Please sign in to comment.