From 315f5d494ef8190a94f5e1ceb6fd5d4059839e12 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Sun, 31 Mar 2024 07:12:43 +0000 Subject: [PATCH] feat(all): auto-regenerate discovery clients --- alloydb/v1alpha/alloydb-api.json | 63 ++++++------------ alloydb/v1alpha/alloydb-gen.go | 107 +++++++++++------------------- alloydb/v1beta/alloydb-api.json | 63 ++++++------------ alloydb/v1beta/alloydb-gen.go | 107 +++++++++++------------------- apphub/v1alpha/apphub-api.json | 11 +-- apphub/v1alpha/apphub-gen.go | 8 ++- connectors/v1/connectors-api.json | 4 +- connectors/v1/connectors-gen.go | 5 +- discovery/v1/discovery-api.json | 4 -- discovery/v1/discovery-gen.go | 8 +-- gkehub/v1/gkehub-api.json | 65 +++++++++++++++++- gkehub/v1/gkehub-gen.go | 89 +++++++++++++++++++++---- gkehub/v1alpha/gkehub-api.json | 82 ++++++++++++++++++++++- gkehub/v1alpha/gkehub-gen.go | 74 +++++++++++++++++++++ gkehub/v1beta/gkehub-api.json | 65 +++++++++++++++++- gkehub/v1beta/gkehub-gen.go | 89 +++++++++++++++++++++---- metastore/v1/metastore-api.json | 4 +- metastore/v1/metastore-gen.go | 4 +- tpu/v2/tpu-api.json | 8 ++- tpu/v2/tpu-gen.go | 1 + 20 files changed, 580 insertions(+), 281 deletions(-) diff --git a/alloydb/v1alpha/alloydb-api.json b/alloydb/v1alpha/alloydb-api.json index 00be991caf8..2761e50eb93 100644 --- a/alloydb/v1alpha/alloydb-api.json +++ b/alloydb/v1alpha/alloydb-api.json @@ -1461,7 +1461,7 @@ } } }, - "revision": "20240315", + "revision": "20240320", "rootUrl": "https://alloydb.googleapis.com/", "schemas": { "AuthorizedNetwork": { @@ -1865,6 +1865,11 @@ "description": "Labels as key value pairs", "type": "object" }, + "maintenanceSchedule": { + "$ref": "MaintenanceSchedule", + "description": "Output only. The maintenance schedule for the cluster, generated for a specific rollout if a maintenance window is set.", + "readOnly": true + }, "maintenanceUpdatePolicy": { "$ref": "MaintenanceUpdatePolicy", "description": "Optional. The maintenance update policy determines when to allow or deny updates." @@ -2706,6 +2711,19 @@ }, "type": "object" }, + "MaintenanceSchedule": { + "description": "MaintenanceSchedule stores the maintenance schedule generated from the MaintenanceUpdatePolicy, once a maintenance rollout is triggered, if MaintenanceWindow is set, and if there is no conflicting DenyPeriod. The schedule is cleared once the update takes place. This field cannot be manually changed; modify the MaintenanceUpdatePolicy instead.", + "id": "MaintenanceSchedule", + "properties": { + "startTime": { + "description": "Output only. The scheduled start time for the maintenance.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "MaintenanceUpdatePolicy": { "description": "MaintenanceUpdatePolicy defines the policy for system updates.", "id": "MaintenanceUpdatePolicy", @@ -3000,13 +3018,6 @@ "description": "PscInstanceConfig contains PSC related configuration at an instance level.", "id": "PscInstanceConfig", "properties": { - "allowedConsumerNetworks": { - "description": "Optional. List of consumer networks that are allowed to create PSC endpoints to service-attachments to this instance.", - "items": { - "type": "string" - }, - "type": "array" - }, "allowedConsumerProjects": { "description": "Optional. List of consumer projects that are allowed to create PSC endpoints to service-attachments to this instance.", "items": { @@ -3014,29 +3025,11 @@ }, "type": "array" }, - "outgoingServiceAttachmentLinks": { - "description": "Optional. List of service attachments that this instance has created endpoints to connect with. Currently, only a single outgoing service attachment is supported per instance.", - "items": { - "type": "string" - }, - "type": "array" - }, "pscDnsName": { "description": "Output only. The DNS name of the instance for PSC connectivity. Name convention: ...alloydb-psc.goog", "readOnly": true, "type": "string" }, - "pscEnabled": { - "description": "Optional. Whether PSC connectivity is enabled for this instance. This is populated by referencing the value from the parent cluster.", - "type": "boolean" - }, - "pscInterfaceConfigs": { - "description": "Optional. Configurations for setting up PSC interfaces attached to the instance which are used for outbound connectivity. Only primary instances can have PSC interface attached. All the VMs created for the primary instance will share the same configurations. Currently we only support 0 or 1 PSC interface.", - "items": { - "$ref": "PscInterfaceConfig" - }, - "type": "array" - }, "serviceAttachmentLink": { "description": "Output only. The service attachment created when Private Service Connect (PSC) is enabled for the instance. The name of the resource will be in the format of `projects//regions//serviceAttachments/`", "readOnly": true, @@ -3045,24 +3038,6 @@ }, "type": "object" }, - "PscInterfaceConfig": { - "description": "Configuration for setting up a PSC interface. This information needs to be provided by the customer. PSC interfaces will be created and added to VMs via SLM (adding a network interface will require recreating the VM). For HA instances this will be done via LDTM.", - "id": "PscInterfaceConfig", - "properties": { - "consumerEndpointIps": { - "description": "A list of endpoints in the consumer VPC the interface might initiate outbound connections to. This list has to be provided when the PSC interface is created.", - "items": { - "type": "string" - }, - "type": "array" - }, - "networkAttachment": { - "description": "The NetworkAttachment resource created in the consumer VPC to which the PSC interface will be linked, in the form of: `projects/${CONSUMER_PROJECT}/regions/${REGION}/networkAttachments/${NETWORK_ATTACHMENT_NAME}`. NetworkAttachment has to be provided when the PSC interface is created.", - "type": "string" - } - }, - "type": "object" - }, "QuantityBasedExpiry": { "description": "A backup's position in a quantity-based retention queue, of backups with the same source cluster and type, with length, retention, specified by the backup's retention policy. Once the position is greater than the retention, the backup is eligible to be garbage collected. Example: 5 backups from the same source cluster and type with a quantity-based retention of 3 and denoted by backup_id (position, retention). Safe: backup_5 (1, 3), backup_4, (2, 3), backup_3 (3, 3). Awaiting garbage collection: backup_2 (4, 3), backup_1 (5, 3)", "id": "QuantityBasedExpiry", diff --git a/alloydb/v1alpha/alloydb-gen.go b/alloydb/v1alpha/alloydb-gen.go index 3169eff1a17..8c045d83ea2 100644 --- a/alloydb/v1alpha/alloydb-gen.go +++ b/alloydb/v1alpha/alloydb-gen.go @@ -696,6 +696,11 @@ type Cluster struct { // Labels: Labels as key value pairs Labels map[string]string `json:"labels,omitempty"` + // MaintenanceSchedule: Output only. The maintenance schedule for the + // cluster, generated for a specific rollout if a maintenance window is + // set. + MaintenanceSchedule *MaintenanceSchedule `json:"maintenanceSchedule,omitempty"` + // MaintenanceUpdatePolicy: Optional. The maintenance update policy // determines when to allow or deny updates. MaintenanceUpdatePolicy *MaintenanceUpdatePolicy `json:"maintenanceUpdatePolicy,omitempty"` @@ -2004,6 +2009,39 @@ func (s *MachineConfig) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// MaintenanceSchedule: MaintenanceSchedule stores the maintenance +// schedule generated from the MaintenanceUpdatePolicy, once a +// maintenance rollout is triggered, if MaintenanceWindow is set, and if +// there is no conflicting DenyPeriod. The schedule is cleared once the +// update takes place. This field cannot be manually changed; modify the +// MaintenanceUpdatePolicy instead. +type MaintenanceSchedule struct { + // StartTime: Output only. The scheduled start time for the maintenance. + StartTime string `json:"startTime,omitempty"` + + // ForceSendFields is a list of field names (e.g. "StartTime") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "StartTime") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *MaintenanceSchedule) MarshalJSON() ([]byte, error) { + type NoMethod MaintenanceSchedule + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // MaintenanceUpdatePolicy: MaintenanceUpdatePolicy defines the policy // for system updates. type MaintenanceUpdatePolicy struct { @@ -2503,37 +2541,15 @@ func (s *PscConfig) MarshalJSON() ([]byte, error) { // PscInstanceConfig: PscInstanceConfig contains PSC related // configuration at an instance level. type PscInstanceConfig struct { - // AllowedConsumerNetworks: Optional. List of consumer networks that are - // allowed to create PSC endpoints to service-attachments to this - // instance. - AllowedConsumerNetworks []string `json:"allowedConsumerNetworks,omitempty"` - // AllowedConsumerProjects: Optional. List of consumer projects that are // allowed to create PSC endpoints to service-attachments to this // instance. AllowedConsumerProjects []string `json:"allowedConsumerProjects,omitempty"` - // OutgoingServiceAttachmentLinks: Optional. List of service attachments - // that this instance has created endpoints to connect with. Currently, - // only a single outgoing service attachment is supported per instance. - OutgoingServiceAttachmentLinks []string `json:"outgoingServiceAttachmentLinks,omitempty"` - // PscDnsName: Output only. The DNS name of the instance for PSC // connectivity. Name convention: ...alloydb-psc.goog PscDnsName string `json:"pscDnsName,omitempty"` - // PscEnabled: Optional. Whether PSC connectivity is enabled for this - // instance. This is populated by referencing the value from the parent - // cluster. - PscEnabled bool `json:"pscEnabled,omitempty"` - - // PscInterfaceConfigs: Optional. Configurations for setting up PSC - // interfaces attached to the instance which are used for outbound - // connectivity. Only primary instances can have PSC interface attached. - // All the VMs created for the primary instance will share the same - // configurations. Currently we only support 0 or 1 PSC interface. - PscInterfaceConfigs []*PscInterfaceConfig `json:"pscInterfaceConfigs,omitempty"` - // ServiceAttachmentLink: Output only. The service attachment created // when Private Service Connect (PSC) is enabled for the instance. The // name of the resource will be in the format of @@ -2541,7 +2557,7 @@ type PscInstanceConfig struct { ServiceAttachmentLink string `json:"serviceAttachmentLink,omitempty"` // ForceSendFields is a list of field names (e.g. - // "AllowedConsumerNetworks") to unconditionally include in API + // "AllowedConsumerProjects") to unconditionally include in API // requests. By default, fields with empty or default values are omitted // from API requests. However, any non-pointer, non-interface field // appearing in ForceSendFields will be sent to the server regardless of @@ -2549,7 +2565,7 @@ type PscInstanceConfig struct { // fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AllowedConsumerNetworks") + // NullFields is a list of field names (e.g. "AllowedConsumerProjects") // to include in API requests with the JSON null value. By default, // fields with empty values are omitted from API requests. However, any // field with an empty value appearing in NullFields will be sent to the @@ -2565,49 +2581,6 @@ func (s *PscInstanceConfig) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// PscInterfaceConfig: Configuration for setting up a PSC interface. -// This information needs to be provided by the customer. PSC interfaces -// will be created and added to VMs via SLM (adding a network interface -// will require recreating the VM). For HA instances this will be done -// via LDTM. -type PscInterfaceConfig struct { - // ConsumerEndpointIps: A list of endpoints in the consumer VPC the - // interface might initiate outbound connections to. This list has to be - // provided when the PSC interface is created. - ConsumerEndpointIps []string `json:"consumerEndpointIps,omitempty"` - - // NetworkAttachment: The NetworkAttachment resource created in the - // consumer VPC to which the PSC interface will be linked, in the form - // of: - // `projects/${CONSUMER_PROJECT}/regions/${REGION}/networkAttachments/${N - // ETWORK_ATTACHMENT_NAME}`. NetworkAttachment has to be provided when - // the PSC interface is created. - NetworkAttachment string `json:"networkAttachment,omitempty"` - - // ForceSendFields is a list of field names (e.g. "ConsumerEndpointIps") - // to unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "ConsumerEndpointIps") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *PscInterfaceConfig) MarshalJSON() ([]byte, error) { - type NoMethod PscInterfaceConfig - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - // QuantityBasedExpiry: A backup's position in a quantity-based // retention queue, of backups with the same source cluster and type, // with length, retention, specified by the backup's retention policy. diff --git a/alloydb/v1beta/alloydb-api.json b/alloydb/v1beta/alloydb-api.json index 68cb9d76308..abfc34adfae 100644 --- a/alloydb/v1beta/alloydb-api.json +++ b/alloydb/v1beta/alloydb-api.json @@ -1458,7 +1458,7 @@ } } }, - "revision": "20240315", + "revision": "20240320", "rootUrl": "https://alloydb.googleapis.com/", "schemas": { "AuthorizedNetwork": { @@ -1851,6 +1851,11 @@ "description": "Labels as key value pairs", "type": "object" }, + "maintenanceSchedule": { + "$ref": "MaintenanceSchedule", + "description": "Output only. The maintenance schedule for the cluster, generated for a specific rollout if a maintenance window is set.", + "readOnly": true + }, "maintenanceUpdatePolicy": { "$ref": "MaintenanceUpdatePolicy", "description": "Optional. The maintenance update policy determines when to allow or deny updates." @@ -2682,6 +2687,19 @@ }, "type": "object" }, + "MaintenanceSchedule": { + "description": "MaintenanceSchedule stores the maintenance schedule generated from the MaintenanceUpdatePolicy, once a maintenance rollout is triggered, if MaintenanceWindow is set, and if there is no conflicting DenyPeriod. The schedule is cleared once the update takes place. This field cannot be manually changed; modify the MaintenanceUpdatePolicy instead.", + "id": "MaintenanceSchedule", + "properties": { + "startTime": { + "description": "Output only. The scheduled start time for the maintenance.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "MaintenanceUpdatePolicy": { "description": "MaintenanceUpdatePolicy defines the policy for system updates.", "id": "MaintenanceUpdatePolicy", @@ -2976,13 +2994,6 @@ "description": "PscInstanceConfig contains PSC related configuration at an instance level.", "id": "PscInstanceConfig", "properties": { - "allowedConsumerNetworks": { - "description": "Optional. List of consumer networks that are allowed to create PSC endpoints to service-attachments to this instance.", - "items": { - "type": "string" - }, - "type": "array" - }, "allowedConsumerProjects": { "description": "Optional. List of consumer projects that are allowed to create PSC endpoints to service-attachments to this instance.", "items": { @@ -2990,29 +3001,11 @@ }, "type": "array" }, - "outgoingServiceAttachmentLinks": { - "description": "Optional. List of service attachments that this instance has created endpoints to connect with. Currently, only a single outgoing service attachment is supported per instance.", - "items": { - "type": "string" - }, - "type": "array" - }, "pscDnsName": { "description": "Output only. The DNS name of the instance for PSC connectivity. Name convention: ...alloydb-psc.goog", "readOnly": true, "type": "string" }, - "pscEnabled": { - "description": "Optional. Whether PSC connectivity is enabled for this instance. This is populated by referencing the value from the parent cluster.", - "type": "boolean" - }, - "pscInterfaceConfigs": { - "description": "Optional. Configurations for setting up PSC interfaces attached to the instance which are used for outbound connectivity. Only primary instances can have PSC interface attached. All the VMs created for the primary instance will share the same configurations. Currently we only support 0 or 1 PSC interface.", - "items": { - "$ref": "PscInterfaceConfig" - }, - "type": "array" - }, "serviceAttachmentLink": { "description": "Output only. The service attachment created when Private Service Connect (PSC) is enabled for the instance. The name of the resource will be in the format of `projects//regions//serviceAttachments/`", "readOnly": true, @@ -3021,24 +3014,6 @@ }, "type": "object" }, - "PscInterfaceConfig": { - "description": "Configuration for setting up a PSC interface. This information needs to be provided by the customer. PSC interfaces will be created and added to VMs via SLM (adding a network interface will require recreating the VM). For HA instances this will be done via LDTM.", - "id": "PscInterfaceConfig", - "properties": { - "consumerEndpointIps": { - "description": "A list of endpoints in the consumer VPC the interface might initiate outbound connections to. This list has to be provided when the PSC interface is created.", - "items": { - "type": "string" - }, - "type": "array" - }, - "networkAttachment": { - "description": "The NetworkAttachment resource created in the consumer VPC to which the PSC interface will be linked, in the form of: `projects/${CONSUMER_PROJECT}/regions/${REGION}/networkAttachments/${NETWORK_ATTACHMENT_NAME}`. NetworkAttachment has to be provided when the PSC interface is created.", - "type": "string" - } - }, - "type": "object" - }, "QuantityBasedExpiry": { "description": "A backup's position in a quantity-based retention queue, of backups with the same source cluster and type, with length, retention, specified by the backup's retention policy. Once the position is greater than the retention, the backup is eligible to be garbage collected. Example: 5 backups from the same source cluster and type with a quantity-based retention of 3 and denoted by backup_id (position, retention). Safe: backup_5 (1, 3), backup_4, (2, 3), backup_3 (3, 3). Awaiting garbage collection: backup_2 (4, 3), backup_1 (5, 3)", "id": "QuantityBasedExpiry", diff --git a/alloydb/v1beta/alloydb-gen.go b/alloydb/v1beta/alloydb-gen.go index 85fd79a7192..5c79a40a179 100644 --- a/alloydb/v1beta/alloydb-gen.go +++ b/alloydb/v1beta/alloydb-gen.go @@ -688,6 +688,11 @@ type Cluster struct { // Labels: Labels as key value pairs Labels map[string]string `json:"labels,omitempty"` + // MaintenanceSchedule: Output only. The maintenance schedule for the + // cluster, generated for a specific rollout if a maintenance window is + // set. + MaintenanceSchedule *MaintenanceSchedule `json:"maintenanceSchedule,omitempty"` + // MaintenanceUpdatePolicy: Optional. The maintenance update policy // determines when to allow or deny updates. MaintenanceUpdatePolicy *MaintenanceUpdatePolicy `json:"maintenanceUpdatePolicy,omitempty"` @@ -1990,6 +1995,39 @@ func (s *MachineConfig) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// MaintenanceSchedule: MaintenanceSchedule stores the maintenance +// schedule generated from the MaintenanceUpdatePolicy, once a +// maintenance rollout is triggered, if MaintenanceWindow is set, and if +// there is no conflicting DenyPeriod. The schedule is cleared once the +// update takes place. This field cannot be manually changed; modify the +// MaintenanceUpdatePolicy instead. +type MaintenanceSchedule struct { + // StartTime: Output only. The scheduled start time for the maintenance. + StartTime string `json:"startTime,omitempty"` + + // ForceSendFields is a list of field names (e.g. "StartTime") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "StartTime") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *MaintenanceSchedule) MarshalJSON() ([]byte, error) { + type NoMethod MaintenanceSchedule + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // MaintenanceUpdatePolicy: MaintenanceUpdatePolicy defines the policy // for system updates. type MaintenanceUpdatePolicy struct { @@ -2489,37 +2527,15 @@ func (s *PscConfig) MarshalJSON() ([]byte, error) { // PscInstanceConfig: PscInstanceConfig contains PSC related // configuration at an instance level. type PscInstanceConfig struct { - // AllowedConsumerNetworks: Optional. List of consumer networks that are - // allowed to create PSC endpoints to service-attachments to this - // instance. - AllowedConsumerNetworks []string `json:"allowedConsumerNetworks,omitempty"` - // AllowedConsumerProjects: Optional. List of consumer projects that are // allowed to create PSC endpoints to service-attachments to this // instance. AllowedConsumerProjects []string `json:"allowedConsumerProjects,omitempty"` - // OutgoingServiceAttachmentLinks: Optional. List of service attachments - // that this instance has created endpoints to connect with. Currently, - // only a single outgoing service attachment is supported per instance. - OutgoingServiceAttachmentLinks []string `json:"outgoingServiceAttachmentLinks,omitempty"` - // PscDnsName: Output only. The DNS name of the instance for PSC // connectivity. Name convention: ...alloydb-psc.goog PscDnsName string `json:"pscDnsName,omitempty"` - // PscEnabled: Optional. Whether PSC connectivity is enabled for this - // instance. This is populated by referencing the value from the parent - // cluster. - PscEnabled bool `json:"pscEnabled,omitempty"` - - // PscInterfaceConfigs: Optional. Configurations for setting up PSC - // interfaces attached to the instance which are used for outbound - // connectivity. Only primary instances can have PSC interface attached. - // All the VMs created for the primary instance will share the same - // configurations. Currently we only support 0 or 1 PSC interface. - PscInterfaceConfigs []*PscInterfaceConfig `json:"pscInterfaceConfigs,omitempty"` - // ServiceAttachmentLink: Output only. The service attachment created // when Private Service Connect (PSC) is enabled for the instance. The // name of the resource will be in the format of @@ -2527,7 +2543,7 @@ type PscInstanceConfig struct { ServiceAttachmentLink string `json:"serviceAttachmentLink,omitempty"` // ForceSendFields is a list of field names (e.g. - // "AllowedConsumerNetworks") to unconditionally include in API + // "AllowedConsumerProjects") to unconditionally include in API // requests. By default, fields with empty or default values are omitted // from API requests. However, any non-pointer, non-interface field // appearing in ForceSendFields will be sent to the server regardless of @@ -2535,7 +2551,7 @@ type PscInstanceConfig struct { // fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AllowedConsumerNetworks") + // NullFields is a list of field names (e.g. "AllowedConsumerProjects") // to include in API requests with the JSON null value. By default, // fields with empty values are omitted from API requests. However, any // field with an empty value appearing in NullFields will be sent to the @@ -2551,49 +2567,6 @@ func (s *PscInstanceConfig) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// PscInterfaceConfig: Configuration for setting up a PSC interface. -// This information needs to be provided by the customer. PSC interfaces -// will be created and added to VMs via SLM (adding a network interface -// will require recreating the VM). For HA instances this will be done -// via LDTM. -type PscInterfaceConfig struct { - // ConsumerEndpointIps: A list of endpoints in the consumer VPC the - // interface might initiate outbound connections to. This list has to be - // provided when the PSC interface is created. - ConsumerEndpointIps []string `json:"consumerEndpointIps,omitempty"` - - // NetworkAttachment: The NetworkAttachment resource created in the - // consumer VPC to which the PSC interface will be linked, in the form - // of: - // `projects/${CONSUMER_PROJECT}/regions/${REGION}/networkAttachments/${N - // ETWORK_ATTACHMENT_NAME}`. NetworkAttachment has to be provided when - // the PSC interface is created. - NetworkAttachment string `json:"networkAttachment,omitempty"` - - // ForceSendFields is a list of field names (e.g. "ConsumerEndpointIps") - // to unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. - ForceSendFields []string `json:"-"` - - // NullFields is a list of field names (e.g. "ConsumerEndpointIps") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. - NullFields []string `json:"-"` -} - -func (s *PscInterfaceConfig) MarshalJSON() ([]byte, error) { - type NoMethod PscInterfaceConfig - raw := NoMethod(*s) - return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) -} - // QuantityBasedExpiry: A backup's position in a quantity-based // retention queue, of backups with the same source cluster and type, // with length, retention, specified by the backup's retention policy. diff --git a/apphub/v1alpha/apphub-api.json b/apphub/v1alpha/apphub-api.json index 4d319356523..69e5e5acd8f 100644 --- a/apphub/v1alpha/apphub-api.json +++ b/apphub/v1alpha/apphub-api.json @@ -1438,7 +1438,7 @@ } } }, - "revision": "20240307", + "revision": "20240328", "rootUrl": "https://apphub.googleapis.com/", "schemas": { "Application": { @@ -1649,11 +1649,13 @@ "id": "Criticality", "properties": { "level": { - "description": "Optional. Criticality level. Can contain only lowercase letters, numeric characters, underscores, and dashes. Can have a maximum length of 63 characters.", + "deprecated": true, + "description": "Optional. Criticality level. Can contain only lowercase letters, numeric characters, underscores, and dashes. Can have a maximum length of 63 characters. Deprecated: Please refer to type instead.", "type": "string" }, "missionCritical": { - "description": "Optional. Indicates mission-critical Application, Service, or Workload.", + "deprecated": true, + "description": "Optional. Indicates mission-critical Application, Service, or Workload. Deprecated: Please refer to type instead.", "type": "boolean" }, "type": { @@ -1742,7 +1744,8 @@ "id": "Environment", "properties": { "environment": { - "description": "Optional. Environment name. Can contain only lowercase letters, numeric characters, underscores, and dashes. Can have a maximum length of 63 characters.", + "deprecated": true, + "description": "Optional. Environment name. Can contain only lowercase letters, numeric characters, underscores, and dashes. Can have a maximum length of 63 characters. Deprecated: Please refer to type instead.", "type": "string" }, "type": { diff --git a/apphub/v1alpha/apphub-gen.go b/apphub/v1alpha/apphub-gen.go index aa798c821ea..202c1f7af83 100644 --- a/apphub/v1alpha/apphub-gen.go +++ b/apphub/v1alpha/apphub-gen.go @@ -657,11 +657,12 @@ func (s *ContactInfo) MarshalJSON() ([]byte, error) { type Criticality struct { // Level: Optional. Criticality level. Can contain only lowercase // letters, numeric characters, underscores, and dashes. Can have a - // maximum length of 63 characters. + // maximum length of 63 characters. Deprecated: Please refer to type + // instead. Level string `json:"level,omitempty"` // MissionCritical: Optional. Indicates mission-critical Application, - // Service, or Workload. + // Service, or Workload. Deprecated: Please refer to type instead. MissionCritical bool `json:"missionCritical,omitempty"` // Type: Required. Criticality Type. @@ -817,7 +818,8 @@ type Empty struct { type Environment struct { // Environment: Optional. Environment name. Can contain only lowercase // letters, numeric characters, underscores, and dashes. Can have a - // maximum length of 63 characters. + // maximum length of 63 characters. Deprecated: Please refer to type + // instead. Environment string `json:"environment,omitempty"` // Type: Required. Environment Type. diff --git a/connectors/v1/connectors-api.json b/connectors/v1/connectors-api.json index ff212ed2200..4513a5f7f43 100644 --- a/connectors/v1/connectors-api.json +++ b/connectors/v1/connectors-api.json @@ -523,7 +523,7 @@ "type": "string" }, "updateMask": { - "description": "Required. You can modify only the fields listed below. To lock/unlock a connection: * `lock_config` To suspend/resume a connection: * `suspended` To update the connection details: * `description` * `labels` * `connector_version` * `config_variables` * `auth_config` * `destination_configs` * `node_config` * `log_config` * `ssl_config` * `eventing_enablement_type` * `eventing_config`", + "description": "Required. You can modify only the fields listed below. To lock/unlock a connection: * `lock_config` To suspend/resume a connection: * `suspended` To update the connection details: * `description` * `labels` * `connector_version` * `config_variables` * `auth_config` * `destination_configs` * `node_config` * `log_config` * `ssl_config` * `eventing_enablement_type` * `eventing_config` * `auth_override_enabled`", "format": "google-fieldmask", "location": "query", "type": "string" @@ -2358,7 +2358,7 @@ } } }, - "revision": "20240319", + "revision": "20240320", "rootUrl": "https://connectors.googleapis.com/", "schemas": { "AuditConfig": { diff --git a/connectors/v1/connectors-gen.go b/connectors/v1/connectors-gen.go index 6f6c0ed200f..02876e11042 100644 --- a/connectors/v1/connectors-gen.go +++ b/connectors/v1/connectors-gen.go @@ -8498,7 +8498,8 @@ func (r *ProjectsLocationsConnectionsService) Patch(name string, connection *Con // update the connection details: * `description` * `labels` * // `connector_version` * `config_variables` * `auth_config` * // `destination_configs` * `node_config` * `log_config` * `ssl_config` * -// `eventing_enablement_type` * `eventing_config` +// `eventing_enablement_type` * `eventing_config` * +// `auth_override_enabled` func (c *ProjectsLocationsConnectionsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsConnectionsPatchCall { c.urlParams_.Set("updateMask", updateMask) return c @@ -8611,7 +8612,7 @@ func (c *ProjectsLocationsConnectionsPatchCall) Do(opts ...googleapi.CallOption) // "type": "string" // }, // "updateMask": { - // "description": "Required. You can modify only the fields listed below. To lock/unlock a connection: * `lock_config` To suspend/resume a connection: * `suspended` To update the connection details: * `description` * `labels` * `connector_version` * `config_variables` * `auth_config` * `destination_configs` * `node_config` * `log_config` * `ssl_config` * `eventing_enablement_type` * `eventing_config`", + // "description": "Required. You can modify only the fields listed below. To lock/unlock a connection: * `lock_config` To suspend/resume a connection: * `suspended` To update the connection details: * `description` * `labels` * `connector_version` * `config_variables` * `auth_config` * `destination_configs` * `node_config` * `log_config` * `ssl_config` * `eventing_enablement_type` * `eventing_config` * `auth_override_enabled`", // "format": "google-fieldmask", // "location": "query", // "type": "string" diff --git a/discovery/v1/discovery-api.json b/discovery/v1/discovery-api.json index 7f089290534..03fef01a27a 100644 --- a/discovery/v1/discovery-api.json +++ b/discovery/v1/discovery-api.json @@ -555,10 +555,6 @@ "RestMethod": { "id": "RestMethod", "properties": { - "apiVersion": { - "description": "The API Version of this method, as passed in via the `X-Goog-Api-Version` header or `$apiVersion` query parameter.", - "type": "string" - }, "deprecated": { "description": "Whether this method is deprecated.", "type": "boolean" diff --git a/discovery/v1/discovery-gen.go b/discovery/v1/discovery-gen.go index be0220a487b..9f171093462 100644 --- a/discovery/v1/discovery-gen.go +++ b/discovery/v1/discovery-gen.go @@ -764,10 +764,6 @@ func (s *RestDescriptionIcons) MarshalJSON() ([]byte, error) { } type RestMethod struct { - // ApiVersion: The API Version of this method, as passed in via the - // `X-Goog-Api-Version` header or `$apiVersion` query parameter. - ApiVersion string `json:"apiVersion,omitempty"` - // Deprecated -- Whether this method is deprecated. Deprecated bool `json:"deprecated,omitempty"` @@ -828,7 +824,7 @@ type RestMethod struct { // if the method supports media download. UseMediaDownloadService bool `json:"useMediaDownloadService,omitempty"` - // ForceSendFields is a list of field names (e.g. "ApiVersion") to + // ForceSendFields is a list of field names (e.g. "Deprecated") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -836,7 +832,7 @@ type RestMethod struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "ApiVersion") to include in + // NullFields is a list of field names (e.g. "Deprecated") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as diff --git a/gkehub/v1/gkehub-api.json b/gkehub/v1/gkehub-api.json index 44026358562..46485dcca97 100644 --- a/gkehub/v1/gkehub-api.json +++ b/gkehub/v1/gkehub-api.json @@ -1911,7 +1911,7 @@ } } }, - "revision": "20240318", + "revision": "20240322", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "AppDevExperienceFeatureSpec": { @@ -5710,6 +5710,61 @@ }, "type": "object" }, + "ServiceMeshCondition": { + "description": "Condition being reported.", + "id": "ServiceMeshCondition", + "properties": { + "code": { + "description": "Unique identifier of the condition which describes the condition recognizable to the user.", + "enum": [ + "CODE_UNSPECIFIED", + "MESH_IAM_PERMISSION_DENIED", + "CNI_CONFIG_UNSUPPORTED", + "GKE_SANDBOX_UNSUPPORTED", + "NODEPOOL_WORKLOAD_IDENTITY_FEDERATION_REQUIRED", + "CNI_INSTALLATION_FAILED", + "CNI_POD_UNSCHEDULABLE", + "UNSUPPORTED_MULTIPLE_CONTROL_PLANES" + ], + "enumDescriptions": [ + "Default Unspecified code", + "Mesh IAM permission denied error code", + "CNI config unsupported error code", + "GKE sandbox unsupported error code", + "Nodepool workload identity federation required error code", + "CNI installation failed error code", + "CNI pod unschedulable error code", + "Multiple control planes unsupported error code" + ], + "type": "string" + }, + "details": { + "description": "A short summary about the issue.", + "type": "string" + }, + "documentationLink": { + "description": "Links contains actionable information.", + "type": "string" + }, + "severity": { + "description": "Severity level of the condition.", + "enum": [ + "SEVERITY_UNSPECIFIED", + "ERROR", + "WARNING", + "INFO" + ], + "enumDescriptions": [ + "Unspecified severity", + "Indicates an issue that prevents the mesh from operating correctly", + "Indicates a setting is likely wrong, but the mesh is still able to operate", + "An informational message, not requiring any action" + ], + "type": "string" + } + }, + "type": "object" + }, "ServiceMeshControlPlaneManagement": { "description": "Status of control plane management.", "id": "ServiceMeshControlPlaneManagement", @@ -5826,6 +5881,14 @@ "description": "**Service Mesh**: State for a single Membership, as analyzed by the Service Mesh Hub Controller.", "id": "ServiceMeshMembershipState", "properties": { + "conditions": { + "description": "Output only. List of condition reporting membership statues", + "items": { + "$ref": "ServiceMeshCondition" + }, + "readOnly": true, + "type": "array" + }, "controlPlaneManagement": { "$ref": "ServiceMeshControlPlaneManagement", "description": "Output only. Status of control plane management", diff --git a/gkehub/v1/gkehub-gen.go b/gkehub/v1/gkehub-gen.go index c30840b2517..b214d0984a0 100644 --- a/gkehub/v1/gkehub-gen.go +++ b/gkehub/v1/gkehub-gen.go @@ -6487,6 +6487,65 @@ func (s *SecurityPostureConfig) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// ServiceMeshCondition: Condition being reported. +type ServiceMeshCondition struct { + // Code: Unique identifier of the condition which describes the + // condition recognizable to the user. + // + // Possible values: + // "CODE_UNSPECIFIED" - Default Unspecified code + // "MESH_IAM_PERMISSION_DENIED" - Mesh IAM permission denied error + // code + // "CNI_CONFIG_UNSUPPORTED" - CNI config unsupported error code + // "GKE_SANDBOX_UNSUPPORTED" - GKE sandbox unsupported error code + // "NODEPOOL_WORKLOAD_IDENTITY_FEDERATION_REQUIRED" - Nodepool + // workload identity federation required error code + // "CNI_INSTALLATION_FAILED" - CNI installation failed error code + // "CNI_POD_UNSCHEDULABLE" - CNI pod unschedulable error code + // "UNSUPPORTED_MULTIPLE_CONTROL_PLANES" - Multiple control planes + // unsupported error code + Code string `json:"code,omitempty"` + + // Details: A short summary about the issue. + Details string `json:"details,omitempty"` + + // DocumentationLink: Links contains actionable information. + DocumentationLink string `json:"documentationLink,omitempty"` + + // Severity: Severity level of the condition. + // + // Possible values: + // "SEVERITY_UNSPECIFIED" - Unspecified severity + // "ERROR" - Indicates an issue that prevents the mesh from operating + // correctly + // "WARNING" - Indicates a setting is likely wrong, but the mesh is + // still able to operate + // "INFO" - An informational message, not requiring any action + Severity string `json:"severity,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Code") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Code") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *ServiceMeshCondition) MarshalJSON() ([]byte, error) { + type NoMethod ServiceMeshCondition + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // ServiceMeshControlPlaneManagement: Status of control plane // management. type ServiceMeshControlPlaneManagement struct { @@ -6633,6 +6692,10 @@ func (s *ServiceMeshMembershipSpec) MarshalJSON() ([]byte, error) { // ServiceMeshMembershipState: **Service Mesh**: State for a single // Membership, as analyzed by the Service Mesh Hub Controller. type ServiceMeshMembershipState struct { + // Conditions: Output only. List of condition reporting membership + // statues + Conditions []*ServiceMeshCondition `json:"conditions,omitempty"` + // ControlPlaneManagement: Output only. Status of control plane // management ControlPlaneManagement *ServiceMeshControlPlaneManagement `json:"controlPlaneManagement,omitempty"` @@ -6640,22 +6703,20 @@ type ServiceMeshMembershipState struct { // DataPlaneManagement: Output only. Status of data plane management. DataPlaneManagement *ServiceMeshDataPlaneManagement `json:"dataPlaneManagement,omitempty"` - // ForceSendFields is a list of field names (e.g. - // "ControlPlaneManagement") to unconditionally include in API requests. - // By default, fields with empty or default values are omitted from API - // requests. However, any non-pointer, non-interface field appearing in - // ForceSendFields will be sent to the server regardless of whether the - // field is empty or not. This may be used to include empty fields in - // Patch requests. + // ForceSendFields is a list of field names (e.g. "Conditions") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "ControlPlaneManagement") - // to include in API requests with the JSON null value. By default, - // fields with empty values are omitted from API requests. However, any - // field with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. + // NullFields is a list of field names (e.g. "Conditions") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } diff --git a/gkehub/v1alpha/gkehub-api.json b/gkehub/v1alpha/gkehub-api.json index db9cbb0a0c0..b8b6667525f 100644 --- a/gkehub/v1alpha/gkehub-api.json +++ b/gkehub/v1alpha/gkehub-api.json @@ -2175,7 +2175,7 @@ } } }, - "revision": "20240318", + "revision": "20240322", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "AnthosObservabilityFeatureSpec": { @@ -6453,6 +6453,61 @@ }, "type": "object" }, + "ServiceMeshCondition": { + "description": "Condition being reported.", + "id": "ServiceMeshCondition", + "properties": { + "code": { + "description": "Unique identifier of the condition which describes the condition recognizable to the user.", + "enum": [ + "CODE_UNSPECIFIED", + "MESH_IAM_PERMISSION_DENIED", + "CNI_CONFIG_UNSUPPORTED", + "GKE_SANDBOX_UNSUPPORTED", + "NODEPOOL_WORKLOAD_IDENTITY_FEDERATION_REQUIRED", + "CNI_INSTALLATION_FAILED", + "CNI_POD_UNSCHEDULABLE", + "UNSUPPORTED_MULTIPLE_CONTROL_PLANES" + ], + "enumDescriptions": [ + "Default Unspecified code", + "Mesh IAM permission denied error code", + "CNI config unsupported error code", + "GKE sandbox unsupported error code", + "Nodepool workload identity federation required error code", + "CNI installation failed error code", + "CNI pod unschedulable error code", + "Multiple control planes unsupported error code" + ], + "type": "string" + }, + "details": { + "description": "A short summary about the issue.", + "type": "string" + }, + "documentationLink": { + "description": "Links contains actionable information.", + "type": "string" + }, + "severity": { + "description": "Severity level of the condition.", + "enum": [ + "SEVERITY_UNSPECIFIED", + "ERROR", + "WARNING", + "INFO" + ], + "enumDescriptions": [ + "Unspecified severity", + "Indicates an issue that prevents the mesh from operating correctly", + "Indicates a setting is likely wrong, but the mesh is still able to operate", + "An informational message, not requiring any action" + ], + "type": "string" + } + }, + "type": "object" + }, "ServiceMeshControlPlaneManagement": { "description": "Status of control plane management.", "id": "ServiceMeshControlPlaneManagement", @@ -6464,6 +6519,23 @@ }, "type": "array" }, + "implementation": { + "description": "Output only. Implementation of managed control plane.", + "enum": [ + "IMPLEMENTATION_UNSPECIFIED", + "ISTIOD", + "TRAFFIC_DIRECTOR", + "UPDATING" + ], + "enumDescriptions": [ + "Unspecified", + "A Google build of istiod is used for the managed control plane.", + "Traffic director is used for the managed control plane.", + "The control plane implementation is being updated." + ], + "readOnly": true, + "type": "string" + }, "state": { "description": "LifecycleState of control plane management.", "enum": [ @@ -6608,6 +6680,14 @@ "readOnly": true, "type": "array" }, + "conditions": { + "description": "Output only. List of condition reporting membership statues", + "items": { + "$ref": "ServiceMeshCondition" + }, + "readOnly": true, + "type": "array" + }, "configApiVersion": { "description": "The API version (i.e. Istio CRD version) for configuring service mesh in this cluster. This version is influenced by the `default_channel` field.", "type": "string" diff --git a/gkehub/v1alpha/gkehub-gen.go b/gkehub/v1alpha/gkehub-gen.go index c77aea3e5df..ef1232b8832 100644 --- a/gkehub/v1alpha/gkehub-gen.go +++ b/gkehub/v1alpha/gkehub-gen.go @@ -7308,12 +7308,82 @@ func (s *ServiceMeshAnalysisMessageBase) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// ServiceMeshCondition: Condition being reported. +type ServiceMeshCondition struct { + // Code: Unique identifier of the condition which describes the + // condition recognizable to the user. + // + // Possible values: + // "CODE_UNSPECIFIED" - Default Unspecified code + // "MESH_IAM_PERMISSION_DENIED" - Mesh IAM permission denied error + // code + // "CNI_CONFIG_UNSUPPORTED" - CNI config unsupported error code + // "GKE_SANDBOX_UNSUPPORTED" - GKE sandbox unsupported error code + // "NODEPOOL_WORKLOAD_IDENTITY_FEDERATION_REQUIRED" - Nodepool + // workload identity federation required error code + // "CNI_INSTALLATION_FAILED" - CNI installation failed error code + // "CNI_POD_UNSCHEDULABLE" - CNI pod unschedulable error code + // "UNSUPPORTED_MULTIPLE_CONTROL_PLANES" - Multiple control planes + // unsupported error code + Code string `json:"code,omitempty"` + + // Details: A short summary about the issue. + Details string `json:"details,omitempty"` + + // DocumentationLink: Links contains actionable information. + DocumentationLink string `json:"documentationLink,omitempty"` + + // Severity: Severity level of the condition. + // + // Possible values: + // "SEVERITY_UNSPECIFIED" - Unspecified severity + // "ERROR" - Indicates an issue that prevents the mesh from operating + // correctly + // "WARNING" - Indicates a setting is likely wrong, but the mesh is + // still able to operate + // "INFO" - An informational message, not requiring any action + Severity string `json:"severity,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Code") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Code") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *ServiceMeshCondition) MarshalJSON() ([]byte, error) { + type NoMethod ServiceMeshCondition + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // ServiceMeshControlPlaneManagement: Status of control plane // management. type ServiceMeshControlPlaneManagement struct { // Details: Explanation of state. Details []*ServiceMeshStatusDetails `json:"details,omitempty"` + // Implementation: Output only. Implementation of managed control plane. + // + // Possible values: + // "IMPLEMENTATION_UNSPECIFIED" - Unspecified + // "ISTIOD" - A Google build of istiod is used for the managed control + // plane. + // "TRAFFIC_DIRECTOR" - Traffic director is used for the managed + // control plane. + // "UPDATING" - The control plane implementation is being updated. + Implementation string `json:"implementation,omitempty"` + // State: LifecycleState of control plane management. // // Possible values: @@ -7502,6 +7572,10 @@ type ServiceMeshMembershipState struct { // analyzers. AnalysisMessages []*ServiceMeshAnalysisMessage `json:"analysisMessages,omitempty"` + // Conditions: Output only. List of condition reporting membership + // statues + Conditions []*ServiceMeshCondition `json:"conditions,omitempty"` + // ConfigApiVersion: The API version (i.e. Istio CRD version) for // configuring service mesh in this cluster. This version is influenced // by the `default_channel` field. diff --git a/gkehub/v1beta/gkehub-api.json b/gkehub/v1beta/gkehub-api.json index 2f0159b4f59..d876ea578f6 100644 --- a/gkehub/v1beta/gkehub-api.json +++ b/gkehub/v1beta/gkehub-api.json @@ -2101,7 +2101,7 @@ } } }, - "revision": "20240318", + "revision": "20240322", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "AnthosObservabilityFeatureSpec": { @@ -6092,6 +6092,61 @@ }, "type": "object" }, + "ServiceMeshCondition": { + "description": "Condition being reported.", + "id": "ServiceMeshCondition", + "properties": { + "code": { + "description": "Unique identifier of the condition which describes the condition recognizable to the user.", + "enum": [ + "CODE_UNSPECIFIED", + "MESH_IAM_PERMISSION_DENIED", + "CNI_CONFIG_UNSUPPORTED", + "GKE_SANDBOX_UNSUPPORTED", + "NODEPOOL_WORKLOAD_IDENTITY_FEDERATION_REQUIRED", + "CNI_INSTALLATION_FAILED", + "CNI_POD_UNSCHEDULABLE", + "UNSUPPORTED_MULTIPLE_CONTROL_PLANES" + ], + "enumDescriptions": [ + "Default Unspecified code", + "Mesh IAM permission denied error code", + "CNI config unsupported error code", + "GKE sandbox unsupported error code", + "Nodepool workload identity federation required error code", + "CNI installation failed error code", + "CNI pod unschedulable error code", + "Multiple control planes unsupported error code" + ], + "type": "string" + }, + "details": { + "description": "A short summary about the issue.", + "type": "string" + }, + "documentationLink": { + "description": "Links contains actionable information.", + "type": "string" + }, + "severity": { + "description": "Severity level of the condition.", + "enum": [ + "SEVERITY_UNSPECIFIED", + "ERROR", + "WARNING", + "INFO" + ], + "enumDescriptions": [ + "Unspecified severity", + "Indicates an issue that prevents the mesh from operating correctly", + "Indicates a setting is likely wrong, but the mesh is still able to operate", + "An informational message, not requiring any action" + ], + "type": "string" + } + }, + "type": "object" + }, "ServiceMeshControlPlaneManagement": { "description": "Status of control plane management.", "id": "ServiceMeshControlPlaneManagement", @@ -6208,6 +6263,14 @@ "description": "**Service Mesh**: State for a single Membership, as analyzed by the Service Mesh Hub Controller.", "id": "ServiceMeshMembershipState", "properties": { + "conditions": { + "description": "Output only. List of condition reporting membership statues", + "items": { + "$ref": "ServiceMeshCondition" + }, + "readOnly": true, + "type": "array" + }, "controlPlaneManagement": { "$ref": "ServiceMeshControlPlaneManagement", "description": "Output only. Status of control plane management", diff --git a/gkehub/v1beta/gkehub-gen.go b/gkehub/v1beta/gkehub-gen.go index 55b2c8a1db8..40cff48d2b1 100644 --- a/gkehub/v1beta/gkehub-gen.go +++ b/gkehub/v1beta/gkehub-gen.go @@ -6852,6 +6852,65 @@ func (s *SecurityPostureConfig) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// ServiceMeshCondition: Condition being reported. +type ServiceMeshCondition struct { + // Code: Unique identifier of the condition which describes the + // condition recognizable to the user. + // + // Possible values: + // "CODE_UNSPECIFIED" - Default Unspecified code + // "MESH_IAM_PERMISSION_DENIED" - Mesh IAM permission denied error + // code + // "CNI_CONFIG_UNSUPPORTED" - CNI config unsupported error code + // "GKE_SANDBOX_UNSUPPORTED" - GKE sandbox unsupported error code + // "NODEPOOL_WORKLOAD_IDENTITY_FEDERATION_REQUIRED" - Nodepool + // workload identity federation required error code + // "CNI_INSTALLATION_FAILED" - CNI installation failed error code + // "CNI_POD_UNSCHEDULABLE" - CNI pod unschedulable error code + // "UNSUPPORTED_MULTIPLE_CONTROL_PLANES" - Multiple control planes + // unsupported error code + Code string `json:"code,omitempty"` + + // Details: A short summary about the issue. + Details string `json:"details,omitempty"` + + // DocumentationLink: Links contains actionable information. + DocumentationLink string `json:"documentationLink,omitempty"` + + // Severity: Severity level of the condition. + // + // Possible values: + // "SEVERITY_UNSPECIFIED" - Unspecified severity + // "ERROR" - Indicates an issue that prevents the mesh from operating + // correctly + // "WARNING" - Indicates a setting is likely wrong, but the mesh is + // still able to operate + // "INFO" - An informational message, not requiring any action + Severity string `json:"severity,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Code") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Code") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *ServiceMeshCondition) MarshalJSON() ([]byte, error) { + type NoMethod ServiceMeshCondition + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // ServiceMeshControlPlaneManagement: Status of control plane // management. type ServiceMeshControlPlaneManagement struct { @@ -6998,6 +7057,10 @@ func (s *ServiceMeshMembershipSpec) MarshalJSON() ([]byte, error) { // ServiceMeshMembershipState: **Service Mesh**: State for a single // Membership, as analyzed by the Service Mesh Hub Controller. type ServiceMeshMembershipState struct { + // Conditions: Output only. List of condition reporting membership + // statues + Conditions []*ServiceMeshCondition `json:"conditions,omitempty"` + // ControlPlaneManagement: Output only. Status of control plane // management ControlPlaneManagement *ServiceMeshControlPlaneManagement `json:"controlPlaneManagement,omitempty"` @@ -7005,22 +7068,20 @@ type ServiceMeshMembershipState struct { // DataPlaneManagement: Output only. Status of data plane management. DataPlaneManagement *ServiceMeshDataPlaneManagement `json:"dataPlaneManagement,omitempty"` - // ForceSendFields is a list of field names (e.g. - // "ControlPlaneManagement") to unconditionally include in API requests. - // By default, fields with empty or default values are omitted from API - // requests. However, any non-pointer, non-interface field appearing in - // ForceSendFields will be sent to the server regardless of whether the - // field is empty or not. This may be used to include empty fields in - // Patch requests. + // ForceSendFields is a list of field names (e.g. "Conditions") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "ControlPlaneManagement") - // to include in API requests with the JSON null value. By default, - // fields with empty values are omitted from API requests. However, any - // field with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. + // NullFields is a list of field names (e.g. "Conditions") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } diff --git a/metastore/v1/metastore-api.json b/metastore/v1/metastore-api.json index c3a63d3a436..c06d480405b 100644 --- a/metastore/v1/metastore-api.json +++ b/metastore/v1/metastore-api.json @@ -1367,7 +1367,7 @@ } } }, - "revision": "20240312", + "revision": "20240325", "rootUrl": "https://metastore.googleapis.com/", "schemas": { "AlterMetadataResourceLocationRequest": { @@ -1685,7 +1685,7 @@ "id": "EncryptionConfig", "properties": { "kmsKey": { - "description": "The fully qualified customer provided Cloud KMS key name to use for customer data encryption, in the following form:projects/{project_number}/locations/{location_id}/keyRings/{key_ring_id}/cryptoKeys/{crypto_key_id}.", + "description": "The fully qualified customer provided Cloud KMS key name to use for customer data encryption, in the following format:projects/{project_number}/locations/{location_id}/keyRings/{key_ring_id}/cryptoKeys/{crypto_key_id}.", "type": "string" } }, diff --git a/metastore/v1/metastore-gen.go b/metastore/v1/metastore-gen.go index 62913c73443..47d2271ad31 100644 --- a/metastore/v1/metastore-gen.go +++ b/metastore/v1/metastore-gen.go @@ -822,8 +822,8 @@ type Empty struct { type EncryptionConfig struct { // KmsKey: The fully qualified customer provided Cloud KMS key name to // use for customer data encryption, in the following - // form:projects/{project_number}/locations/{location_id}/keyRings/{key_r - // ing_id}/cryptoKeys/{crypto_key_id}. + // format:projects/{project_number}/locations/{location_id}/keyRings/{key + // _ring_id}/cryptoKeys/{crypto_key_id}. KmsKey string `json:"kmsKey,omitempty"` // ForceSendFields is a list of field names (e.g. "KmsKey") to diff --git a/tpu/v2/tpu-api.json b/tpu/v2/tpu-api.json index 56e951572eb..4a7e3ba709c 100644 --- a/tpu/v2/tpu-api.json +++ b/tpu/v2/tpu-api.json @@ -887,7 +887,7 @@ } } }, - "revision": "20240205", + "revision": "20240321", "rootUrl": "https://tpu.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -904,13 +904,15 @@ "TYPE_UNSPECIFIED", "V2", "V3", - "V4" + "V4", + "V5P" ], "enumDescriptions": [ "Unspecified version.", "TPU v2.", "TPU v3.", - "TPU v4." + "TPU v4.", + "TPU v5p" ], "type": "string" } diff --git a/tpu/v2/tpu-gen.go b/tpu/v2/tpu-gen.go index 10ed6746977..489cbd8bc0f 100644 --- a/tpu/v2/tpu-gen.go +++ b/tpu/v2/tpu-gen.go @@ -248,6 +248,7 @@ type AcceleratorConfig struct { // "V2" - TPU v2. // "V3" - TPU v3. // "V4" - TPU v4. + // "V5P" - TPU v5p Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "Topology") to