diff --git a/alloydb/v1/alloydb-api.json b/alloydb/v1/alloydb-api.json index 3363ab6d0e..b64d81274c 100644 --- a/alloydb/v1/alloydb-api.json +++ b/alloydb/v1/alloydb-api.json @@ -1545,7 +1545,7 @@ } } }, - "revision": "20241204", + "revision": "20241228", "rootUrl": "https://alloydb.googleapis.com/", "schemas": { "AuthorizedNetwork": { @@ -3055,19 +3055,23 @@ "id": "Node", "properties": { "id": { - "description": "The identifier of the VM e.g. \"test-read-0601-407e52be-ms3l\".", + "description": "Output only. The identifier of the VM e.g. \"test-read-0601-407e52be-ms3l\".", + "readOnly": true, "type": "string" }, "ip": { - "description": "The private IP address of the VM e.g. \"10.57.0.34\".", + "description": "Output only. The private IP address of the VM e.g. \"10.57.0.34\".", + "readOnly": true, "type": "string" }, "state": { - "description": "Determined by state of the compute VM and postgres-service health. Compute VM state can have values listed in https://cloud.google.com/compute/docs/instances/instance-life-cycle and postgres-service health can have values: HEALTHY and UNHEALTHY.", + "description": "Output only. Determined by state of the compute VM and postgres-service health. Compute VM state can have values listed in https://cloud.google.com/compute/docs/instances/instance-life-cycle and postgres-service health can have values: HEALTHY and UNHEALTHY.", + "readOnly": true, "type": "string" }, "zoneId": { - "description": "The Compute Engine zone of the VM e.g. \"us-central1-b\".", + "description": "Output only. The Compute Engine zone of the VM e.g. \"us-central1-b\".", + "readOnly": true, "type": "string" } }, @@ -3869,7 +3873,9 @@ "SIGNAL_TYPE_SUPERUSER_WRITING_TO_USER_TABLES", "SIGNAL_TYPE_USER_GRANTED_ALL_PERMISSIONS", "SIGNAL_TYPE_DATA_EXPORT_TO_EXTERNAL_CLOUD_STORAGE_BUCKET", - "SIGNAL_TYPE_DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET" + "SIGNAL_TYPE_DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET", + "SIGNAL_TYPE_WEAK_PASSWORD_HASH_ALGORITHM", + "SIGNAL_TYPE_NO_USER_PASSWORD_POLICY" ], "enumDeprecated": [ false, @@ -3950,6 +3956,8 @@ false, false, false, + false, + false, false ], "enumDescriptions": [ @@ -4031,7 +4039,9 @@ "Detects events where a Cloud SQL superuser (postgres for PostgreSQL servers or root for MySQL users) writes to non-system tables.", "Detects events where a database user or role has been granted all privileges to a database, or to all tables, procedures, or functions in a schema.", "Detects if database instance data exported to a Cloud Storage bucket outside of the organization.", - "Detects if database instance data exported to a Cloud Storage bucket that is owned by the organization and is publicly accessible." + "Detects if database instance data exported to a Cloud Storage bucket that is owned by the organization and is publicly accessible.", + "Detects if a database instance is using a weak password hash algorithm.", + "Detects if a database instance has no user password policy set." ], "type": "string" }, @@ -4402,7 +4412,9 @@ "SIGNAL_TYPE_SUPERUSER_WRITING_TO_USER_TABLES", "SIGNAL_TYPE_USER_GRANTED_ALL_PERMISSIONS", "SIGNAL_TYPE_DATA_EXPORT_TO_EXTERNAL_CLOUD_STORAGE_BUCKET", - "SIGNAL_TYPE_DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET" + "SIGNAL_TYPE_DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET", + "SIGNAL_TYPE_WEAK_PASSWORD_HASH_ALGORITHM", + "SIGNAL_TYPE_NO_USER_PASSWORD_POLICY" ], "enumDeprecated": [ false, @@ -4483,6 +4495,8 @@ false, false, false, + false, + false, false ], "enumDescriptions": [ @@ -4564,7 +4578,9 @@ "Detects events where a Cloud SQL superuser (postgres for PostgreSQL servers or root for MySQL users) writes to non-system tables.", "Detects events where a database user or role has been granted all privileges to a database, or to all tables, procedures, or functions in a schema.", "Detects if database instance data exported to a Cloud Storage bucket outside of the organization.", - "Detects if database instance data exported to a Cloud Storage bucket that is owned by the organization and is publicly accessible." + "Detects if database instance data exported to a Cloud Storage bucket that is owned by the organization and is publicly accessible.", + "Detects if a database instance is using a weak password hash algorithm.", + "Detects if a database instance has no user password policy set." ], "type": "string" } @@ -4634,7 +4650,8 @@ "id": "StorageDatabasecenterPartnerapiV1mainMachineConfiguration", "properties": { "cpuCount": { - "description": "The number of CPUs. TODO(b/342344482, b/342346271) add proto validations again after bug fix.", + "deprecated": true, + "description": "The number of CPUs. Deprecated. Use vcpu_count instead. TODO(b/342344482, b/342346271) add proto validations again after bug fix.", "format": "int32", "type": "integer" }, diff --git a/alloydb/v1/alloydb-gen.go b/alloydb/v1/alloydb-gen.go index 03f1335efe..3d5d3514cf 100644 --- a/alloydb/v1/alloydb-gen.go +++ b/alloydb/v1/alloydb-gen.go @@ -1880,16 +1880,17 @@ func (s NetworkConfig) MarshalJSON() ([]byte, error) { // are ephemereal, they can change during update, failover, autohealing and // resize operations. type Node struct { - // Id: The identifier of the VM e.g. "test-read-0601-407e52be-ms3l". + // Id: Output only. The identifier of the VM e.g. + // "test-read-0601-407e52be-ms3l". Id string `json:"id,omitempty"` - // Ip: The private IP address of the VM e.g. "10.57.0.34". + // Ip: Output only. The private IP address of the VM e.g. "10.57.0.34". Ip string `json:"ip,omitempty"` - // State: Determined by state of the compute VM and postgres-service health. - // Compute VM state can have values listed in + // State: Output only. Determined by state of the compute VM and + // postgres-service health. Compute VM state can have values listed in // https://cloud.google.com/compute/docs/instances/instance-life-cycle and // postgres-service health can have values: HEALTHY and UNHEALTHY. State string `json:"state,omitempty"` - // ZoneId: The Compute Engine zone of the VM e.g. "us-central1-b". + // ZoneId: Output only. The Compute Engine zone of the VM e.g. "us-central1-b". ZoneId string `json:"zoneId,omitempty"` // ForceSendFields is a list of field names (e.g. "Id") to unconditionally // include in API requests. By default, fields with empty or default values are @@ -2964,6 +2965,10 @@ type StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData struc // "SIGNAL_TYPE_DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET" - Detects if // database instance data exported to a Cloud Storage bucket that is owned by // the organization and is publicly accessible. + // "SIGNAL_TYPE_WEAK_PASSWORD_HASH_ALGORITHM" - Detects if a database + // instance is using a weak password hash algorithm. + // "SIGNAL_TYPE_NO_USER_PASSWORD_POLICY" - Detects if a database instance has + // no user password policy set. SignalType string `json:"signalType,omitempty"` // Possible values: // "STATE_UNSPECIFIED" - Unspecified state. @@ -3393,6 +3398,10 @@ type StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalDa // "SIGNAL_TYPE_DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET" - Detects if // database instance data exported to a Cloud Storage bucket that is owned by // the organization and is publicly accessible. + // "SIGNAL_TYPE_WEAK_PASSWORD_HASH_ALGORITHM" - Detects if a database + // instance is using a weak password hash algorithm. + // "SIGNAL_TYPE_NO_USER_PASSWORD_POLICY" - Detects if a database instance has + // no user password policy set. SignalType string `json:"signalType,omitempty"` // ForceSendFields is a list of field names (e.g. "AdditionalMetadata") to // unconditionally include in API requests. By default, fields with empty or @@ -3487,8 +3496,8 @@ func (s StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata) MarshalJS // MachineConfiguration describes the configuration of a machine specific to // Database Resource. type StorageDatabasecenterPartnerapiV1mainMachineConfiguration struct { - // CpuCount: The number of CPUs. TODO(b/342344482, b/342346271) add proto - // validations again after bug fix. + // CpuCount: The number of CPUs. Deprecated. Use vcpu_count instead. + // TODO(b/342344482, b/342346271) add proto validations again after bug fix. CpuCount int64 `json:"cpuCount,omitempty"` // MemorySizeInBytes: Memory size in bytes. TODO(b/342344482, b/342346271) add // proto validations again after bug fix. diff --git a/alloydb/v1alpha/alloydb-api.json b/alloydb/v1alpha/alloydb-api.json index 63cedc065e..23c3339a0a 100644 --- a/alloydb/v1alpha/alloydb-api.json +++ b/alloydb/v1alpha/alloydb-api.json @@ -1573,7 +1573,7 @@ } } }, - "revision": "20241204", + "revision": "20241228", "rootUrl": "https://alloydb.googleapis.com/", "schemas": { "AuthorizedNetwork": { @@ -3166,19 +3166,23 @@ "id": "Node", "properties": { "id": { - "description": "The identifier of the VM e.g. \"test-read-0601-407e52be-ms3l\".", + "description": "Output only. The identifier of the VM e.g. \"test-read-0601-407e52be-ms3l\".", + "readOnly": true, "type": "string" }, "ip": { - "description": "The private IP address of the VM e.g. \"10.57.0.34\".", + "description": "Output only. The private IP address of the VM e.g. \"10.57.0.34\".", + "readOnly": true, "type": "string" }, "state": { - "description": "Determined by state of the compute VM and postgres-service health. Compute VM state can have values listed in https://cloud.google.com/compute/docs/instances/instance-life-cycle and postgres-service health can have values: HEALTHY and UNHEALTHY.", + "description": "Output only. Determined by state of the compute VM and postgres-service health. Compute VM state can have values listed in https://cloud.google.com/compute/docs/instances/instance-life-cycle and postgres-service health can have values: HEALTHY and UNHEALTHY.", + "readOnly": true, "type": "string" }, "zoneId": { - "description": "The Compute Engine zone of the VM e.g. \"us-central1-b\".", + "description": "Output only. The Compute Engine zone of the VM e.g. \"us-central1-b\".", + "readOnly": true, "type": "string" } }, @@ -4069,7 +4073,9 @@ "SIGNAL_TYPE_SUPERUSER_WRITING_TO_USER_TABLES", "SIGNAL_TYPE_USER_GRANTED_ALL_PERMISSIONS", "SIGNAL_TYPE_DATA_EXPORT_TO_EXTERNAL_CLOUD_STORAGE_BUCKET", - "SIGNAL_TYPE_DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET" + "SIGNAL_TYPE_DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET", + "SIGNAL_TYPE_WEAK_PASSWORD_HASH_ALGORITHM", + "SIGNAL_TYPE_NO_USER_PASSWORD_POLICY" ], "enumDeprecated": [ false, @@ -4150,6 +4156,8 @@ false, false, false, + false, + false, false ], "enumDescriptions": [ @@ -4231,7 +4239,9 @@ "Detects events where a Cloud SQL superuser (postgres for PostgreSQL servers or root for MySQL users) writes to non-system tables.", "Detects events where a database user or role has been granted all privileges to a database, or to all tables, procedures, or functions in a schema.", "Detects if database instance data exported to a Cloud Storage bucket outside of the organization.", - "Detects if database instance data exported to a Cloud Storage bucket that is owned by the organization and is publicly accessible." + "Detects if database instance data exported to a Cloud Storage bucket that is owned by the organization and is publicly accessible.", + "Detects if a database instance is using a weak password hash algorithm.", + "Detects if a database instance has no user password policy set." ], "type": "string" }, @@ -4602,7 +4612,9 @@ "SIGNAL_TYPE_SUPERUSER_WRITING_TO_USER_TABLES", "SIGNAL_TYPE_USER_GRANTED_ALL_PERMISSIONS", "SIGNAL_TYPE_DATA_EXPORT_TO_EXTERNAL_CLOUD_STORAGE_BUCKET", - "SIGNAL_TYPE_DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET" + "SIGNAL_TYPE_DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET", + "SIGNAL_TYPE_WEAK_PASSWORD_HASH_ALGORITHM", + "SIGNAL_TYPE_NO_USER_PASSWORD_POLICY" ], "enumDeprecated": [ false, @@ -4683,6 +4695,8 @@ false, false, false, + false, + false, false ], "enumDescriptions": [ @@ -4764,7 +4778,9 @@ "Detects events where a Cloud SQL superuser (postgres for PostgreSQL servers or root for MySQL users) writes to non-system tables.", "Detects events where a database user or role has been granted all privileges to a database, or to all tables, procedures, or functions in a schema.", "Detects if database instance data exported to a Cloud Storage bucket outside of the organization.", - "Detects if database instance data exported to a Cloud Storage bucket that is owned by the organization and is publicly accessible." + "Detects if database instance data exported to a Cloud Storage bucket that is owned by the organization and is publicly accessible.", + "Detects if a database instance is using a weak password hash algorithm.", + "Detects if a database instance has no user password policy set." ], "type": "string" } @@ -4834,7 +4850,8 @@ "id": "StorageDatabasecenterPartnerapiV1mainMachineConfiguration", "properties": { "cpuCount": { - "description": "The number of CPUs. TODO(b/342344482, b/342346271) add proto validations again after bug fix.", + "deprecated": true, + "description": "The number of CPUs. Deprecated. Use vcpu_count instead. TODO(b/342344482, b/342346271) add proto validations again after bug fix.", "format": "int32", "type": "integer" }, diff --git a/alloydb/v1alpha/alloydb-gen.go b/alloydb/v1alpha/alloydb-gen.go index 06b8c6891d..bdcd5f37a8 100644 --- a/alloydb/v1alpha/alloydb-gen.go +++ b/alloydb/v1alpha/alloydb-gen.go @@ -1965,16 +1965,17 @@ func (s NetworkConfig) MarshalJSON() ([]byte, error) { // are ephemereal, they can change during update, failover, autohealing and // resize operations. type Node struct { - // Id: The identifier of the VM e.g. "test-read-0601-407e52be-ms3l". + // Id: Output only. The identifier of the VM e.g. + // "test-read-0601-407e52be-ms3l". Id string `json:"id,omitempty"` - // Ip: The private IP address of the VM e.g. "10.57.0.34". + // Ip: Output only. The private IP address of the VM e.g. "10.57.0.34". Ip string `json:"ip,omitempty"` - // State: Determined by state of the compute VM and postgres-service health. - // Compute VM state can have values listed in + // State: Output only. Determined by state of the compute VM and + // postgres-service health. Compute VM state can have values listed in // https://cloud.google.com/compute/docs/instances/instance-life-cycle and // postgres-service health can have values: HEALTHY and UNHEALTHY. State string `json:"state,omitempty"` - // ZoneId: The Compute Engine zone of the VM e.g. "us-central1-b". + // ZoneId: Output only. The Compute Engine zone of the VM e.g. "us-central1-b". ZoneId string `json:"zoneId,omitempty"` // ForceSendFields is a list of field names (e.g. "Id") to unconditionally // include in API requests. By default, fields with empty or default values are @@ -3162,6 +3163,10 @@ type StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData struc // "SIGNAL_TYPE_DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET" - Detects if // database instance data exported to a Cloud Storage bucket that is owned by // the organization and is publicly accessible. + // "SIGNAL_TYPE_WEAK_PASSWORD_HASH_ALGORITHM" - Detects if a database + // instance is using a weak password hash algorithm. + // "SIGNAL_TYPE_NO_USER_PASSWORD_POLICY" - Detects if a database instance has + // no user password policy set. SignalType string `json:"signalType,omitempty"` // Possible values: // "STATE_UNSPECIFIED" - Unspecified state. @@ -3591,6 +3596,10 @@ type StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalDa // "SIGNAL_TYPE_DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET" - Detects if // database instance data exported to a Cloud Storage bucket that is owned by // the organization and is publicly accessible. + // "SIGNAL_TYPE_WEAK_PASSWORD_HASH_ALGORITHM" - Detects if a database + // instance is using a weak password hash algorithm. + // "SIGNAL_TYPE_NO_USER_PASSWORD_POLICY" - Detects if a database instance has + // no user password policy set. SignalType string `json:"signalType,omitempty"` // ForceSendFields is a list of field names (e.g. "AdditionalMetadata") to // unconditionally include in API requests. By default, fields with empty or @@ -3685,8 +3694,8 @@ func (s StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata) MarshalJS // MachineConfiguration describes the configuration of a machine specific to // Database Resource. type StorageDatabasecenterPartnerapiV1mainMachineConfiguration struct { - // CpuCount: The number of CPUs. TODO(b/342344482, b/342346271) add proto - // validations again after bug fix. + // CpuCount: The number of CPUs. Deprecated. Use vcpu_count instead. + // TODO(b/342344482, b/342346271) add proto validations again after bug fix. CpuCount int64 `json:"cpuCount,omitempty"` // MemorySizeInBytes: Memory size in bytes. TODO(b/342344482, b/342346271) add // proto validations again after bug fix. diff --git a/androidmanagement/v1/androidmanagement-api.json b/androidmanagement/v1/androidmanagement-api.json index 306dd796e6..91b3f7f97e 100644 --- a/androidmanagement/v1/androidmanagement-api.json +++ b/androidmanagement/v1/androidmanagement-api.json @@ -1142,7 +1142,7 @@ "parameterOrder": [], "parameters": { "adminEmail": { - "description": "Optional. Email address used to prefill the admin field of the enterprise signup form. This value is a hint only and can be altered by the user.", + "description": "Optional. Email address used to prefill the admin field of the enterprise signup form. This value is a hint only and can be altered by the user. If allowedDomains is non-empty then this must belong to one of the allowedDomains.", "location": "query", "type": "string" }, @@ -1174,7 +1174,7 @@ } } }, - "revision": "20250106", + "revision": "20250109", "rootUrl": "https://androidmanagement.googleapis.com/", "schemas": { "AdbShellCommandEvent": { diff --git a/androidmanagement/v1/androidmanagement-gen.go b/androidmanagement/v1/androidmanagement-gen.go index a0e66d6e93..06810f7560 100644 --- a/androidmanagement/v1/androidmanagement-gen.go +++ b/androidmanagement/v1/androidmanagement-gen.go @@ -10670,7 +10670,8 @@ func (r *SignupUrlsService) Create() *SignupUrlsCreateCall { // AdminEmail sets the optional parameter "adminEmail": Email address used to // prefill the admin field of the enterprise signup form. This value is a hint -// only and can be altered by the user. +// only and can be altered by the user. If allowedDomains is non-empty then +// this must belong to one of the allowedDomains. func (c *SignupUrlsCreateCall) AdminEmail(adminEmail string) *SignupUrlsCreateCall { c.urlParams_.Set("adminEmail", adminEmail) return c diff --git a/bigqueryreservation/v1/bigqueryreservation-api.json b/bigqueryreservation/v1/bigqueryreservation-api.json index 4b05710927..7d5c7413a1 100644 --- a/bigqueryreservation/v1/bigqueryreservation-api.json +++ b/bigqueryreservation/v1/bigqueryreservation-api.json @@ -935,7 +935,7 @@ } } }, - "revision": "20241209", + "revision": "20241231", "rootUrl": "https://bigqueryreservation.googleapis.com/", "schemas": { "Assignment": { @@ -1360,7 +1360,7 @@ "type": "string" }, "slotCapacity": { - "description": "Baseline slots available to this reservation. A slot is a unit of computational power in BigQuery, and serves as the unit of parallelism. Queries using this reservation might use more slots during runtime if ignore_idle_slots is set to false, or autoscaling is enabled. If edition is EDITION_UNSPECIFIED and total slot_capacity of the reservation and its siblings exceeds the total slot_count of all capacity commitments, the request will fail with `google.rpc.Code.RESOURCE_EXHAUSTED`. If edition is any value but EDITION_UNSPECIFIED, then the above requirement is not needed. The total slot_capacity of the reservation and its siblings may exceed the total slot_count of capacity commitments. In that case, the exceeding slots will be charged with the autoscale SKU. You can increase the number of baseline slots in a reservation every few minutes. If you want to decrease your baseline slots, you are limited to once an hour if you have recently changed your baseline slot capacity and your baseline slots exceed your committed slots. Otherwise, you can decrease your baseline slots every few minutes.", + "description": "Baseline slots available to this reservation. A slot is a unit of computational power in BigQuery, and serves as the unit of parallelism. Queries using this reservation might use more slots during runtime if ignore_idle_slots is set to false, or autoscaling is enabled. The total slot_capacity of the reservation and its siblings may exceed the total slot_count of capacity commitments. In that case, the exceeding slots will be charged with the autoscale SKU. You can increase the number of baseline slots in a reservation every few minutes. If you want to decrease your baseline slots, you are limited to once an hour if you have recently changed your baseline slot capacity and your baseline slots exceed your committed slots. Otherwise, you can decrease your baseline slots every few minutes.", "format": "int64", "type": "string" }, diff --git a/bigqueryreservation/v1/bigqueryreservation-gen.go b/bigqueryreservation/v1/bigqueryreservation-gen.go index 09f2d2d8f4..7331d586f2 100644 --- a/bigqueryreservation/v1/bigqueryreservation-gen.go +++ b/bigqueryreservation/v1/bigqueryreservation-gen.go @@ -720,19 +720,14 @@ type Reservation struct { // SlotCapacity: Baseline slots available to this reservation. A slot is a unit // of computational power in BigQuery, and serves as the unit of parallelism. // Queries using this reservation might use more slots during runtime if - // ignore_idle_slots is set to false, or autoscaling is enabled. If edition is - // EDITION_UNSPECIFIED and total slot_capacity of the reservation and its - // siblings exceeds the total slot_count of all capacity commitments, the - // request will fail with `google.rpc.Code.RESOURCE_EXHAUSTED`. If edition is - // any value but EDITION_UNSPECIFIED, then the above requirement is not needed. - // The total slot_capacity of the reservation and its siblings may exceed the - // total slot_count of capacity commitments. In that case, the exceeding slots - // will be charged with the autoscale SKU. You can increase the number of - // baseline slots in a reservation every few minutes. If you want to decrease - // your baseline slots, you are limited to once an hour if you have recently - // changed your baseline slot capacity and your baseline slots exceed your - // committed slots. Otherwise, you can decrease your baseline slots every few - // minutes. + // ignore_idle_slots is set to false, or autoscaling is enabled. The total + // slot_capacity of the reservation and its siblings may exceed the total + // slot_count of capacity commitments. In that case, the exceeding slots will + // be charged with the autoscale SKU. You can increase the number of baseline + // slots in a reservation every few minutes. If you want to decrease your + // baseline slots, you are limited to once an hour if you have recently changed + // your baseline slot capacity and your baseline slots exceed your committed + // slots. Otherwise, you can decrease your baseline slots every few minutes. SlotCapacity int64 `json:"slotCapacity,omitempty,string"` // UpdateTime: Output only. Last update time of the reservation. UpdateTime string `json:"updateTime,omitempty"` diff --git a/clouddeploy/v1/clouddeploy-api.json b/clouddeploy/v1/clouddeploy-api.json index 07eac5f5d7..aba398a6d2 100644 --- a/clouddeploy/v1/clouddeploy-api.json +++ b/clouddeploy/v1/clouddeploy-api.json @@ -409,7 +409,7 @@ "type": "boolean" }, "name": { - "description": "Optional. Name of the `CustomTargetType`. Format is `projects/{project}/locations/{location}/customTargetTypes/{customTargetType}`. The `customTargetType` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`", + "description": "Identifier. Name of the `CustomTargetType`. Format is `projects/{project}/locations/{location}/customTargetTypes/{customTargetType}`. The `customTargetType` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/customTargetTypes/[^/]+$", "required": true, @@ -685,7 +685,7 @@ "type": "boolean" }, "name": { - "description": "Optional. Name of the `DeliveryPipeline`. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}`. The `deliveryPipeline` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`", + "description": "Identifier. Name of the `DeliveryPipeline`. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}`. The `deliveryPipeline` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/deliveryPipelines/[^/]+$", "required": true, @@ -1765,6 +1765,37 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, + "getIamPolicy": { + "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/deployPolicies/{deployPoliciesId}:getIamPolicy", + "httpMethod": "GET", + "id": "clouddeploy.projects.locations.deployPolicies.getIamPolicy", + "parameterOrder": [ + "resource" + ], + "parameters": { + "options.requestedPolicyVersion": { + "description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", + "format": "int32", + "location": "query", + "type": "integer" + }, + "resource": { + "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/deployPolicies/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:getIamPolicy", + "response": { + "$ref": "Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "list": { "description": "Lists DeployPolicies in a given project and location.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/deployPolicies", @@ -1859,6 +1890,34 @@ "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] + }, + "setIamPolicy": { + "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/deployPolicies/{deployPoliciesId}:setIamPolicy", + "httpMethod": "POST", + "id": "clouddeploy.projects.locations.deployPolicies.setIamPolicy", + "parameterOrder": [ + "resource" + ], + "parameters": { + "resource": { + "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/deployPolicies/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:setIamPolicy", + "request": { + "$ref": "SetIamPolicyRequest" + }, + "response": { + "$ref": "Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] } } }, @@ -2192,7 +2251,7 @@ "type": "boolean" }, "name": { - "description": "Optional. Name of the `Target`. Format is `projects/{project}/locations/{location}/targets/{target}`. The `target` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`", + "description": "Identifier. Name of the `Target`. Format is `projects/{project}/locations/{location}/targets/{target}`. The `target` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/targets/[^/]+$", "required": true, @@ -2289,7 +2348,7 @@ } } }, - "revision": "20241204", + "revision": "20250101", "rootUrl": "https://clouddeploy.googleapis.com/", "schemas": { "AbandonReleaseRequest": { @@ -2642,7 +2701,7 @@ "id": "AutomationResourceSelector", "properties": { "targets": { - "description": "Contains attributes about a target.", + "description": "Optional. Contains attributes about a target.", "items": { "$ref": "TargetAttribute" }, @@ -2931,11 +2990,11 @@ "id": "BuildArtifact", "properties": { "image": { - "description": "Image name in Skaffold configuration.", + "description": "Optional. Image name in Skaffold configuration.", "type": "string" }, "tag": { - "description": "Image tag to use. This will generally be the full path to an image, such as \"gcr.io/my-project/busybox:1.2.3\" or \"gcr.io/my-project/busybox@sha256:abc123\".", + "description": "Optional. Image tag to use. This will generally be the full path to an image, such as \"gcr.io/my-project/busybox:1.2.3\" or \"gcr.io/my-project/busybox@sha256:abc123\".", "type": "string" } }, @@ -2947,11 +3006,11 @@ "properties": { "canaryDeployment": { "$ref": "CanaryDeployment", - "description": "Configures the progressive based deployment for a Target." + "description": "Optional. Configures the progressive based deployment for a Target." }, "customCanaryDeployment": { "$ref": "CustomCanaryDeployment", - "description": "Configures the progressive based deployment for a Target, but allows customizing at the phase level where a phase represents each of the percentage deployments." + "description": "Optional. Configures the progressive based deployment for a Target, but allows customizing at the phase level where a phase represents each of the percentage deployments." }, "runtimeConfig": { "$ref": "RuntimeConfig", @@ -2981,7 +3040,7 @@ "description": "Optional. Configuration for the predeploy job of the first phase. If this is not configured, there will be no predeploy job for this phase." }, "verify": { - "description": "Whether to run verify tests after each percentage deployment.", + "description": "Optional. Whether to run verify tests after each percentage deployment.", "type": "boolean" } }, @@ -3053,7 +3112,7 @@ "id": "CloudRunConfig", "properties": { "automaticTrafficControl": { - "description": "Whether Cloud Deploy should update the traffic stanza in a Cloud Run Service on the user's behalf to facilitate traffic splitting. This is required to be true for CanaryDeployments, but optional for CustomCanaryDeployments.", + "description": "Optional. Whether Cloud Deploy should update the traffic stanza in a Cloud Run Service on the user's behalf to facilitate traffic splitting. This is required to be true for CanaryDeployments, but optional for CustomCanaryDeployments.", "type": "boolean" }, "canaryRevisionTags": { @@ -3271,7 +3330,7 @@ }, "customActions": { "$ref": "CustomTargetSkaffoldActions", - "description": "Configures render and deploy for the `CustomTargetType` using Skaffold custom actions." + "description": "Optional. Configures render and deploy for the `CustomTargetType` using Skaffold custom actions." }, "customTargetTypeId": { "description": "Output only. Resource id of the `CustomTargetType`.", @@ -3294,7 +3353,7 @@ "type": "object" }, "name": { - "description": "Optional. Name of the `CustomTargetType`. Format is `projects/{project}/locations/{location}/customTargetTypes/{customTargetType}`. The `customTargetType` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`", + "description": "Identifier. Name of the `CustomTargetType`. Format is `projects/{project}/locations/{location}/customTargetTypes/{customTargetType}`. The `customTargetType` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`", "type": "string" }, "uid": { @@ -3412,7 +3471,7 @@ "additionalProperties": { "type": "string" }, - "description": "User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy.", + "description": "Optional. User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy.", "type": "object" }, "condition": { @@ -3427,7 +3486,7 @@ "type": "string" }, "description": { - "description": "Description of the `DeliveryPipeline`. Max length is 255 characters.", + "description": "Optional. Description of the `DeliveryPipeline`. Max length is 255 characters.", "type": "string" }, "etag": { @@ -3442,15 +3501,15 @@ "type": "object" }, "name": { - "description": "Optional. Name of the `DeliveryPipeline`. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}`. The `deliveryPipeline` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`", + "description": "Identifier. Name of the `DeliveryPipeline`. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}`. The `deliveryPipeline` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`", "type": "string" }, "serialPipeline": { "$ref": "SerialPipeline", - "description": "SerialPipeline defines a sequential set of stages for a `DeliveryPipeline`." + "description": "Optional. SerialPipeline defines a sequential set of stages for a `DeliveryPipeline`." }, "suspended": { - "description": "When suspended, no new releases or rollouts can be created, but in-progress ones will complete.", + "description": "Optional. When suspended, no new releases or rollouts can be created, but in-progress ones will complete.", "type": "boolean" }, "uid": { @@ -3472,7 +3531,7 @@ "id": "DeliveryPipelineAttribute", "properties": { "id": { - "description": "ID of the `DeliveryPipeline`. The value of this field could be one of the following: * The last segment of a pipeline name * \"*\", all delivery pipelines in a location", + "description": "Optional. ID of the `DeliveryPipeline`. The value of this field could be one of the following: * The last segment of a pipeline name * \"*\", all delivery pipelines in a location", "type": "string" }, "labels": { @@ -3668,7 +3727,7 @@ "additionalProperties": { "type": "string" }, - "description": "User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. Annotations must meet the following constraints: * Annotations are key/value pairs. * Valid annotation keys have two segments: an optional prefix and name, separated by a slash (`/`). * The name segment is required and must be 63 characters or less, beginning and ending with an alphanumeric character (`[a-z0-9A-Z]`) with dashes (`-`), underscores (`_`), dots (`.`), and alphanumerics between. * The prefix is optional. If specified, the prefix must be a DNS subdomain: a series of DNS labels separated by dots(`.`), not longer than 253 characters in total, followed by a slash (`/`). See https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/#syntax-and-character-set for more details.", + "description": "Optional. User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. Annotations must meet the following constraints: * Annotations are key/value pairs. * Valid annotation keys have two segments: an optional prefix and name, separated by a slash (`/`). * The name segment is required and must be 63 characters or less, beginning and ending with an alphanumeric character (`[a-z0-9A-Z]`) with dashes (`-`), underscores (`_`), dots (`.`), and alphanumerics between. * The prefix is optional. If specified, the prefix must be a DNS subdomain: a series of DNS labels separated by dots(`.`), not longer than 253 characters in total, followed by a slash (`/`). See https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/#syntax-and-character-set for more details.", "type": "object" }, "createTime": { @@ -3678,7 +3737,7 @@ "type": "string" }, "description": { - "description": "Description of the `DeployPolicy`. Max length is 255 characters.", + "description": "Optional. Description of the `DeployPolicy`. Max length is 255 characters.", "type": "string" }, "etag": { @@ -3712,7 +3771,7 @@ "type": "array" }, "suspended": { - "description": "When suspended, the policy will not prevent actions from occurring, even if the action violates the policy.", + "description": "Optional. When suspended, the policy will not prevent actions from occurring, even if the action violates the policy.", "type": "boolean" }, "uid": { @@ -4052,8 +4111,12 @@ "description": "Optional. Information specifying a GKE Cluster. Format is `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}`.", "type": "string" }, + "dnsEndpoint": { + "description": "Optional. If set, the cluster will be accessed using the DNS endpoint. Note that both `dns_endpoint` and `internal_ip` cannot be set to true.", + "type": "boolean" + }, "internalIp": { - "description": "Optional. If true, `cluster` is accessed using the private IP address of the control plane endpoint. Otherwise, the default IP address of the control plane endpoint is used. The default IP address is the private IP address for clusters with private control-plane endpoints and the public IP address otherwise. Only specify this option when `cluster` is a [private GKE cluster](https://cloud.google.com/kubernetes-engine/docs/concepts/private-cluster-concept).", + "description": "Optional. If true, `cluster` is accessed using the private IP address of the control plane endpoint. Otherwise, the default IP address of the control plane endpoint is used. The default IP address is the private IP address for clusters with private control-plane endpoints and the public IP address otherwise. Only specify this option when `cluster` is a [private GKE cluster](https://cloud.google.com/kubernetes-engine/docs/concepts/private-cluster-concept). Note that `internal_ip` and `dns_endpoint` cannot both be set to true.", "type": "boolean" }, "proxyUrl": { @@ -4212,7 +4275,7 @@ "type": "string" }, "name": { - "description": "Optional. Name of the `JobRun`. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{releases}/rollouts/{rollouts}/jobRuns/{uuid}`.", + "description": "Identifier. Name of the `JobRun`. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{releases}/rollouts/{rollouts}/jobRuns/{uuid}`.", "type": "string" }, "phaseId": { @@ -4352,11 +4415,11 @@ "properties": { "gatewayServiceMesh": { "$ref": "GatewayServiceMesh", - "description": "Kubernetes Gateway API service mesh configuration." + "description": "Optional. Kubernetes Gateway API service mesh configuration." }, "serviceNetworking": { "$ref": "ServiceNetworking", - "description": "Kubernetes Service networking configuration." + "description": "Optional. Kubernetes Service networking configuration." } }, "type": "object" @@ -4888,14 +4951,14 @@ "description": "Optional. Configuration for the predeploy job of this phase. If this is not configured, there will be no predeploy job for this phase." }, "profiles": { - "description": "Skaffold profiles to use when rendering the manifest for this phase. These are in addition to the profiles list specified in the `DeliveryPipeline` stage.", + "description": "Optional. Skaffold profiles to use when rendering the manifest for this phase. These are in addition to the profiles list specified in the `DeliveryPipeline` stage.", "items": { "type": "string" }, "type": "array" }, "verify": { - "description": "Whether to run verify tests after the deployment.", + "description": "Optional. Whether to run verify tests after the deployment.", "type": "boolean" } }, @@ -4973,7 +5036,7 @@ "properties": { "rolloutRestriction": { "$ref": "RolloutRestriction", - "description": "Rollout restrictions." + "description": "Optional. Rollout restrictions." } }, "type": "object" @@ -5230,11 +5293,11 @@ "additionalProperties": { "type": "string" }, - "description": "User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.", + "description": "Optional. User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.", "type": "object" }, "buildArtifacts": { - "description": "List of artifacts to pass through to Skaffold command.", + "description": "Optional. List of artifacts to pass through to Skaffold command.", "items": { "$ref": "BuildArtifact" }, @@ -5272,7 +5335,7 @@ "type": "object" }, "description": { - "description": "Description of the `Release`. Max length is 255 characters.", + "description": "Optional. Description of the `Release`. Max length is 255 characters.", "type": "string" }, "etag": { @@ -5287,7 +5350,7 @@ "type": "object" }, "name": { - "description": "Optional. Name of the `Release`. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}`. The `release` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`", + "description": "Identifier. Name of the `Release`. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}`. The `release` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`", "type": "string" }, "renderEndTime": { @@ -5320,11 +5383,11 @@ "type": "string" }, "skaffoldConfigPath": { - "description": "Filepath of the Skaffold config inside of the config URI.", + "description": "Optional. Filepath of the Skaffold config inside of the config URI.", "type": "string" }, "skaffoldConfigUri": { - "description": "Cloud Storage URI of tar.gz archive containing Skaffold configuration.", + "description": "Optional. Cloud Storage URI of tar.gz archive containing Skaffold configuration.", "type": "string" }, "skaffoldVersion": { @@ -5927,7 +5990,7 @@ "additionalProperties": { "type": "string" }, - "description": "User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.", + "description": "Optional. User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.", "type": "object" }, "approvalState": { @@ -6011,7 +6074,7 @@ "type": "string" }, "description": { - "description": "Description of the `Rollout` for user purposes. Max length is 255 characters.", + "description": "Optional. Description of the `Rollout` for user purposes. Max length is 255 characters.", "type": "string" }, "enqueueTime": { @@ -6042,7 +6105,7 @@ "readOnly": true }, "name": { - "description": "Optional. Name of the `Rollout`. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`. The `rollout` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`", + "description": "Identifier. Name of the `Rollout`. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`. The `rollout` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`", "type": "string" }, "phases": { @@ -6370,11 +6433,11 @@ "properties": { "cloudRun": { "$ref": "CloudRunConfig", - "description": "Cloud Run runtime configuration." + "description": "Optional. Cloud Run runtime configuration." }, "kubernetes": { "$ref": "KubernetesConfig", - "description": "Kubernetes runtime configuration." + "description": "Optional. Kubernetes runtime configuration." } }, "type": "object" @@ -6384,7 +6447,7 @@ "id": "SerialPipeline", "properties": { "stages": { - "description": "Each stage specifies configuration for a `Target`. The ordering of this list defines the promotion flow.", + "description": "Optional. Each stage specifies configuration for a `Target`. The ordering of this list defines the promotion flow.", "items": { "$ref": "Stage" }, @@ -6498,15 +6561,15 @@ }, "git": { "$ref": "SkaffoldGitSource", - "description": "Remote git repository containing the Skaffold Config modules." + "description": "Optional. Remote git repository containing the Skaffold Config modules." }, "googleCloudBuildRepo": { "$ref": "SkaffoldGCBRepoSource", - "description": "Cloud Build V2 repository containing the Skaffold Config modules." + "description": "Optional. Cloud Build V2 repository containing the Skaffold Config modules." }, "googleCloudStorage": { "$ref": "SkaffoldGCSSource", - "description": "Cloud Storage bucket containing the Skaffold Config modules." + "description": "Optional. Cloud Storage bucket containing the Skaffold Config modules." } }, "type": "object" @@ -6585,7 +6648,7 @@ "type": "array" }, "profiles": { - "description": "Skaffold profiles to use when rendering the manifest for this stage's `Target`.", + "description": "Optional. Skaffold profiles to use when rendering the manifest for this stage's `Target`.", "items": { "type": "string" }, @@ -6596,7 +6659,7 @@ "description": "Optional. The strategy to use for a `Rollout` to this stage." }, "targetId": { - "description": "The target_id to which this stage points. This field refers exclusively to the last segment of a target name. For example, this field would just be `my-target` (rather than `projects/project/locations/location/targets/my-target`). The location of the `Target` is inferred to be the same as the location of the `DeliveryPipeline` that contains this `Stage`.", + "description": "Optional. The target_id to which this stage points. This field refers exclusively to the last segment of a target name. For example, this field would just be `my-target` (rather than `projects/project/locations/location/targets/my-target`). The location of the `Target` is inferred to be the same as the location of the `DeliveryPipeline` that contains this `Stage`.", "type": "string" } }, @@ -6615,7 +6678,7 @@ "description": "Optional. Configuration for the predeploy job. If this is not configured, predeploy job will not be present." }, "verify": { - "description": "Whether to verify a deployment.", + "description": "Optional. Whether to verify a deployment.", "type": "boolean" } }, @@ -6654,11 +6717,11 @@ "properties": { "canary": { "$ref": "Canary", - "description": "Canary deployment strategy provides progressive percentage based deployments to a Target." + "description": "Optional. Canary deployment strategy provides progressive percentage based deployments to a Target." }, "standard": { "$ref": "Standard", - "description": "Standard deployment strategy executes a single deploy and allows verifying the deployment." + "description": "Optional. Standard deployment strategy executes a single deploy and allows verifying the deployment." } }, "type": "object" @@ -6711,7 +6774,7 @@ "type": "string" }, "executionConfigs": { - "description": "Configurations for all execution that relates to this `Target`. Each `ExecutionEnvironmentUsage` value may only be used in a single configuration; using the same value multiple times is an error. When one or more configurations are specified, they must include the `RENDER` and `DEPLOY` `ExecutionEnvironmentUsage` values. When no configurations are specified, execution will use the default specified in `DefaultPool`.", + "description": "Optional. Configurations for all execution that relates to this `Target`. Each `ExecutionEnvironmentUsage` value may only be used in a single configuration; using the same value multiple times is an error. When one or more configurations are specified, they must include the `RENDER` and `DEPLOY` `ExecutionEnvironmentUsage` values. When no configurations are specified, execution will use the default specified in `DefaultPool`.", "items": { "$ref": "ExecutionConfig" }, @@ -6733,7 +6796,7 @@ "description": "Optional. Information specifying a multiTarget." }, "name": { - "description": "Optional. Name of the `Target`. Format is `projects/{project}/locations/{location}/targets/{target}`. The `target` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`", + "description": "Identifier. Name of the `Target`. Format is `projects/{project}/locations/{location}/targets/{target}`. The `target` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`", "type": "string" }, "requireApproval": { @@ -6798,7 +6861,7 @@ "id": "TargetAttribute", "properties": { "id": { - "description": "ID of the `Target`. The value of this field could be one of the following: * The last segment of a target name * \"*\", all targets in a location", + "description": "Optional. ID of the `Target`. The value of this field could be one of the following: * The last segment of a target name * \"*\", all targets in a location", "type": "string" }, "labels": { diff --git a/clouddeploy/v1/clouddeploy-gen.go b/clouddeploy/v1/clouddeploy-gen.go index f5b888e042..ccb1be22ab 100644 --- a/clouddeploy/v1/clouddeploy-gen.go +++ b/clouddeploy/v1/clouddeploy-gen.go @@ -722,7 +722,7 @@ func (s AutomationEvent) MarshalJSON() ([]byte, error) { // information to select the resources to which an Automation is going to be // applied. type AutomationResourceSelector struct { - // Targets: Contains attributes about a target. + // Targets: Optional. Contains attributes about a target. Targets []*TargetAttribute `json:"targets,omitempty"` // ForceSendFields is a list of field names (e.g. "Targets") to unconditionally // include in API requests. By default, fields with empty or default values are @@ -1071,10 +1071,10 @@ func (s Binding) MarshalJSON() ([]byte, error) { // BuildArtifact: Description of an a image to use during Skaffold rendering. type BuildArtifact struct { - // Image: Image name in Skaffold configuration. + // Image: Optional. Image name in Skaffold configuration. Image string `json:"image,omitempty"` - // Tag: Image tag to use. This will generally be the full path to an image, - // such as "gcr.io/my-project/busybox:1.2.3" or + // Tag: Optional. Image tag to use. This will generally be the full path to an + // image, such as "gcr.io/my-project/busybox:1.2.3" or // "gcr.io/my-project/busybox@sha256:abc123". Tag string `json:"tag,omitempty"` // ForceSendFields is a list of field names (e.g. "Image") to unconditionally @@ -1097,11 +1097,12 @@ func (s BuildArtifact) MarshalJSON() ([]byte, error) { // Canary: Canary represents the canary deployment strategy. type Canary struct { - // CanaryDeployment: Configures the progressive based deployment for a Target. + // CanaryDeployment: Optional. Configures the progressive based deployment for + // a Target. CanaryDeployment *CanaryDeployment `json:"canaryDeployment,omitempty"` - // CustomCanaryDeployment: Configures the progressive based deployment for a - // Target, but allows customizing at the phase level where a phase represents - // each of the percentage deployments. + // CustomCanaryDeployment: Optional. Configures the progressive based + // deployment for a Target, but allows customizing at the phase level where a + // phase represents each of the percentage deployments. CustomCanaryDeployment *CustomCanaryDeployment `json:"customCanaryDeployment,omitempty"` // RuntimeConfig: Optional. Runtime specific configurations for the deployment // strategy. The runtime configuration is used to determine how Cloud Deploy @@ -1140,7 +1141,8 @@ type CanaryDeployment struct { // Predeploy: Optional. Configuration for the predeploy job of the first phase. // If this is not configured, there will be no predeploy job for this phase. Predeploy *Predeploy `json:"predeploy,omitempty"` - // Verify: Whether to run verify tests after each percentage deployment. + // Verify: Optional. Whether to run verify tests after each percentage + // deployment. Verify bool `json:"verify,omitempty"` // ForceSendFields is a list of field names (e.g. "Percentages") to // unconditionally include in API requests. By default, fields with empty or @@ -1230,10 +1232,10 @@ func (s ChildRolloutJobs) MarshalJSON() ([]byte, error) { // CloudRunConfig: CloudRunConfig contains the Cloud Run runtime configuration. type CloudRunConfig struct { - // AutomaticTrafficControl: Whether Cloud Deploy should update the traffic - // stanza in a Cloud Run Service on the user's behalf to facilitate traffic - // splitting. This is required to be true for CanaryDeployments, but optional - // for CustomCanaryDeployments. + // AutomaticTrafficControl: Optional. Whether Cloud Deploy should update the + // traffic stanza in a Cloud Run Service on the user's behalf to facilitate + // traffic splitting. This is required to be true for CanaryDeployments, but + // optional for CustomCanaryDeployments. AutomaticTrafficControl bool `json:"automaticTrafficControl,omitempty"` // CanaryRevisionTags: Optional. A list of tags that are added to the canary // revision while the canary phase is in progress. @@ -1546,8 +1548,8 @@ type CustomTargetType struct { Annotations map[string]string `json:"annotations,omitempty"` // CreateTime: Output only. Time at which the `CustomTargetType` was created. CreateTime string `json:"createTime,omitempty"` - // CustomActions: Configures render and deploy for the `CustomTargetType` using - // Skaffold custom actions. + // CustomActions: Optional. Configures render and deploy for the + // `CustomTargetType` using Skaffold custom actions. CustomActions *CustomTargetSkaffoldActions `json:"customActions,omitempty"` // CustomTargetTypeId: Output only. Resource id of the `CustomTargetType`. CustomTargetTypeId string `json:"customTargetTypeId,omitempty"` @@ -1567,7 +1569,7 @@ type CustomTargetType struct { // of 64 labels. Both keys and values are additionally constrained to be <= 128 // bytes. Labels map[string]string `json:"labels,omitempty"` - // Name: Optional. Name of the `CustomTargetType`. Format is + // Name: Identifier. Name of the `CustomTargetType`. Format is // `projects/{project}/locations/{location}/customTargetTypes/{customTargetType} // `. The `customTargetType` component must match // `[a-z]([a-z0-9-]{0,61}[a-z0-9])?` @@ -1713,16 +1715,16 @@ func (s DefaultPool) MarshalJSON() ([]byte, error) { // `DeliveryPipeline` defines a pipeline through which a Skaffold configuration // can progress. type DeliveryPipeline struct { - // Annotations: User annotations. These attributes can only be set and used by - // the user, and not by Cloud Deploy. + // Annotations: Optional. User annotations. These attributes can only be set + // and used by the user, and not by Cloud Deploy. Annotations map[string]string `json:"annotations,omitempty"` // Condition: Output only. Information around the state of the Delivery // Pipeline. Condition *PipelineCondition `json:"condition,omitempty"` // CreateTime: Output only. Time at which the pipeline was created. CreateTime string `json:"createTime,omitempty"` - // Description: Description of the `DeliveryPipeline`. Max length is 255 - // characters. + // Description: Optional. Description of the `DeliveryPipeline`. Max length is + // 255 characters. Description string `json:"description,omitempty"` // Etag: This checksum is computed by the server based on the value of other // fields, and may be sent on update and delete requests to ensure the client @@ -1737,16 +1739,16 @@ type DeliveryPipeline struct { // labels. Both keys and values are additionally constrained to be <= 128 // bytes. Labels map[string]string `json:"labels,omitempty"` - // Name: Optional. Name of the `DeliveryPipeline`. Format is + // Name: Identifier. Name of the `DeliveryPipeline`. Format is // `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline} // `. The `deliveryPipeline` component must match // `[a-z]([a-z0-9-]{0,61}[a-z0-9])?` Name string `json:"name,omitempty"` - // SerialPipeline: SerialPipeline defines a sequential set of stages for a - // `DeliveryPipeline`. + // SerialPipeline: Optional. SerialPipeline defines a sequential set of stages + // for a `DeliveryPipeline`. SerialPipeline *SerialPipeline `json:"serialPipeline,omitempty"` - // Suspended: When suspended, no new releases or rollouts can be created, but - // in-progress ones will complete. + // Suspended: Optional. When suspended, no new releases or rollouts can be + // created, but in-progress ones will complete. Suspended bool `json:"suspended,omitempty"` // Uid: Output only. Unique identifier of the `DeliveryPipeline`. Uid string `json:"uid,omitempty"` @@ -1776,9 +1778,9 @@ func (s DeliveryPipeline) MarshalJSON() ([]byte, error) { // DeliveryPipelineAttribute: Contains criteria for selecting // DeliveryPipelines. type DeliveryPipelineAttribute struct { - // Id: ID of the `DeliveryPipeline`. The value of this field could be one of - // the following: * The last segment of a pipeline name * "*", all delivery - // pipelines in a location + // Id: Optional. ID of the `DeliveryPipeline`. The value of this field could be + // one of the following: * The last segment of a pipeline name * "*", all + // delivery pipelines in a location Id string `json:"id,omitempty"` // Labels: DeliveryPipeline labels. Labels map[string]string `json:"labels,omitempty"` @@ -1989,22 +1991,22 @@ func (s DeployParameters) MarshalJSON() ([]byte, error) { // `DeployPolicy` inhibits manual or automation-driven actions within a // Delivery Pipeline or Target. type DeployPolicy struct { - // Annotations: User annotations. These attributes can only be set and used by - // the user, and not by Cloud Deploy. Annotations must meet the following - // constraints: * Annotations are key/value pairs. * Valid annotation keys have - // two segments: an optional prefix and name, separated by a slash (`/`). * The - // name segment is required and must be 63 characters or less, beginning and - // ending with an alphanumeric character (`[a-z0-9A-Z]`) with dashes (`-`), - // underscores (`_`), dots (`.`), and alphanumerics between. * The prefix is - // optional. If specified, the prefix must be a DNS subdomain: a series of DNS - // labels separated by dots(`.`), not longer than 253 characters in total, - // followed by a slash (`/`). See + // Annotations: Optional. User annotations. These attributes can only be set + // and used by the user, and not by Cloud Deploy. Annotations must meet the + // following constraints: * Annotations are key/value pairs. * Valid annotation + // keys have two segments: an optional prefix and name, separated by a slash + // (`/`). * The name segment is required and must be 63 characters or less, + // beginning and ending with an alphanumeric character (`[a-z0-9A-Z]`) with + // dashes (`-`), underscores (`_`), dots (`.`), and alphanumerics between. * + // The prefix is optional. If specified, the prefix must be a DNS subdomain: a + // series of DNS labels separated by dots(`.`), not longer than 253 characters + // in total, followed by a slash (`/`). See // https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/#syntax-and-character-set // for more details. Annotations map[string]string `json:"annotations,omitempty"` // CreateTime: Output only. Time at which the deploy policy was created. CreateTime string `json:"createTime,omitempty"` - // Description: Description of the `DeployPolicy`. Max length is 255 + // Description: Optional. Description of the `DeployPolicy`. Max length is 255 // characters. Description string `json:"description,omitempty"` // Etag: The weak etag of the `Automation` resource. This checksum is computed @@ -2032,8 +2034,8 @@ type DeployPolicy struct { // policy applies. For example, if there are two selectors and the action being // attempted matches one of them, the policy will apply to that action. Selectors []*DeployPolicyResourceSelector `json:"selectors,omitempty"` - // Suspended: When suspended, the policy will not prevent actions from - // occurring, even if the action violates the policy. + // Suspended: Optional. When suspended, the policy will not prevent actions + // from occurring, even if the action violates the policy. Suspended bool `json:"suspended,omitempty"` // Uid: Output only. Unique identifier of the `DeployPolicy`. Uid string `json:"uid,omitempty"` @@ -2403,6 +2405,10 @@ type GkeCluster struct { // Cluster: Optional. Information specifying a GKE Cluster. Format is // `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}`. Cluster string `json:"cluster,omitempty"` + // DnsEndpoint: Optional. If set, the cluster will be accessed using the DNS + // endpoint. Note that both `dns_endpoint` and `internal_ip` cannot be set to + // true. + DnsEndpoint bool `json:"dnsEndpoint,omitempty"` // InternalIp: Optional. If true, `cluster` is accessed using the private IP // address of the control plane endpoint. Otherwise, the default IP address of // the control plane endpoint is used. The default IP address is the private IP @@ -2410,6 +2416,7 @@ type GkeCluster struct { // address otherwise. Only specify this option when `cluster` is a private GKE // cluster // (https://cloud.google.com/kubernetes-engine/docs/concepts/private-cluster-concept). + // Note that `internal_ip` and `dns_endpoint` cannot both be set to true. InternalIp bool `json:"internalIp,omitempty"` // ProxyUrl: Optional. If set, used to configure a proxy // (https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/#proxy) @@ -2541,7 +2548,7 @@ type JobRun struct { Etag string `json:"etag,omitempty"` // JobId: Output only. ID of the `Rollout` job this `JobRun` corresponds to. JobId string `json:"jobId,omitempty"` - // Name: Optional. Name of the `JobRun`. Format is + // Name: Identifier. Name of the `JobRun`. Format is // `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline} // /releases/{releases}/rollouts/{rollouts}/jobRuns/{uuid}`. Name string `json:"name,omitempty"` @@ -2645,9 +2652,10 @@ func (s JobRunNotificationEvent) MarshalJSON() ([]byte, error) { // KubernetesConfig: KubernetesConfig contains the Kubernetes runtime // configuration. type KubernetesConfig struct { - // GatewayServiceMesh: Kubernetes Gateway API service mesh configuration. + // GatewayServiceMesh: Optional. Kubernetes Gateway API service mesh + // configuration. GatewayServiceMesh *GatewayServiceMesh `json:"gatewayServiceMesh,omitempty"` - // ServiceNetworking: Kubernetes Service networking configuration. + // ServiceNetworking: Optional. Kubernetes Service networking configuration. ServiceNetworking *ServiceNetworking `json:"serviceNetworking,omitempty"` // ForceSendFields is a list of field names (e.g. "GatewayServiceMesh") to // unconditionally include in API requests. By default, fields with empty or @@ -3291,11 +3299,11 @@ type PhaseConfig struct { // Predeploy: Optional. Configuration for the predeploy job of this phase. If // this is not configured, there will be no predeploy job for this phase. Predeploy *Predeploy `json:"predeploy,omitempty"` - // Profiles: Skaffold profiles to use when rendering the manifest for this - // phase. These are in addition to the profiles list specified in the + // Profiles: Optional. Skaffold profiles to use when rendering the manifest for + // this phase. These are in addition to the profiles list specified in the // `DeliveryPipeline` stage. Profiles []string `json:"profiles,omitempty"` - // Verify: Whether to run verify tests after the deployment. + // Verify: Optional. Whether to run verify tests after the deployment. Verify bool `json:"verify,omitempty"` // ForceSendFields is a list of field names (e.g. "Percentage") to // unconditionally include in API requests. By default, fields with empty or @@ -3465,7 +3473,7 @@ func (s Policy) MarshalJSON() ([]byte, error) { // PolicyRule: Deploy Policy rule. type PolicyRule struct { - // RolloutRestriction: Rollout restrictions. + // RolloutRestriction: Optional. Rollout restrictions. RolloutRestriction *RolloutRestriction `json:"rolloutRestriction,omitempty"` // ForceSendFields is a list of field names (e.g. "RolloutRestriction") to // unconditionally include in API requests. By default, fields with empty or @@ -3828,12 +3836,13 @@ func (s PromoteReleaseRule) MarshalJSON() ([]byte, error) { type Release struct { // Abandoned: Output only. Indicates whether this is an abandoned release. Abandoned bool `json:"abandoned,omitempty"` - // Annotations: User annotations. These attributes can only be set and used by - // the user, and not by Cloud Deploy. See + // Annotations: Optional. User annotations. These attributes can only be set + // and used by the user, and not by Cloud Deploy. See // https://google.aip.dev/128#annotations for more details such as format and // size limitations. Annotations map[string]string `json:"annotations,omitempty"` - // BuildArtifacts: List of artifacts to pass through to Skaffold command. + // BuildArtifacts: Optional. List of artifacts to pass through to Skaffold + // command. BuildArtifacts []*BuildArtifact `json:"buildArtifacts,omitempty"` // Condition: Output only. Information around the state of the Release. Condition *ReleaseCondition `json:"condition,omitempty"` @@ -3848,7 +3857,8 @@ type Release struct { // DeployParameters: Optional. The deploy parameters to use for all targets in // this release. DeployParameters map[string]string `json:"deployParameters,omitempty"` - // Description: Description of the `Release`. Max length is 255 characters. + // Description: Optional. Description of the `Release`. Max length is 255 + // characters. Description string `json:"description,omitempty"` // Etag: This checksum is computed by the server based on the value of other // fields, and may be sent on update and delete requests to ensure the client @@ -3863,7 +3873,7 @@ type Release struct { // labels. Both keys and values are additionally constrained to be <= 128 // bytes. Labels map[string]string `json:"labels,omitempty"` - // Name: Optional. Name of the `Release`. Format is + // Name: Identifier. Name of the `Release`. Format is // `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline} // /releases/{release}`. The `release` component must match // `[a-z]([a-z0-9-]{0,61}[a-z0-9])?` @@ -3881,11 +3891,11 @@ type Release struct { // failed. // "IN_PROGRESS" - Rendering has started and is not complete. RenderState string `json:"renderState,omitempty"` - // SkaffoldConfigPath: Filepath of the Skaffold config inside of the config - // URI. + // SkaffoldConfigPath: Optional. Filepath of the Skaffold config inside of the + // config URI. SkaffoldConfigPath string `json:"skaffoldConfigPath,omitempty"` - // SkaffoldConfigUri: Cloud Storage URI of tar.gz archive containing Skaffold - // configuration. + // SkaffoldConfigUri: Optional. Cloud Storage URI of tar.gz archive containing + // Skaffold configuration. SkaffoldConfigUri string `json:"skaffoldConfigUri,omitempty"` // SkaffoldVersion: Optional. The Skaffold version to use when operating on // this release, such as "1.20.0". Not all versions are valid; Cloud Deploy @@ -4536,8 +4546,8 @@ type Rollout struct { // ActiveRepairAutomationRun: Output only. The AutomationRun actively repairing // the rollout. ActiveRepairAutomationRun string `json:"activeRepairAutomationRun,omitempty"` - // Annotations: User annotations. These attributes can only be set and used by - // the user, and not by Cloud Deploy. See + // Annotations: Optional. User annotations. These attributes can only be set + // and used by the user, and not by Cloud Deploy. See // https://google.aip.dev/128#annotations for more details such as format and // size limitations. Annotations map[string]string `json:"annotations,omitempty"` @@ -4589,8 +4599,8 @@ type Rollout struct { // object that is used to deploy the Rollout. Format is // `projects/{project}/locations/{location}/builds/{build}`. DeployingBuild string `json:"deployingBuild,omitempty"` - // Description: Description of the `Rollout` for user purposes. Max length is - // 255 characters. + // Description: Optional. Description of the `Rollout` for user purposes. Max + // length is 255 characters. Description string `json:"description,omitempty"` // EnqueueTime: Output only. Time at which the `Rollout` was enqueued. EnqueueTime string `json:"enqueueTime,omitempty"` @@ -4612,7 +4622,7 @@ type Rollout struct { Labels map[string]string `json:"labels,omitempty"` // Metadata: Output only. Metadata contains information about the rollout. Metadata *Metadata `json:"metadata,omitempty"` - // Name: Optional. Name of the `Rollout`. Format is + // Name: Identifier. Name of the `Rollout`. Format is // `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline} // /releases/{release}/rollouts/{rollout}`. The `rollout` component must match // `[a-z]([a-z0-9-]{0,61}[a-z0-9])?` @@ -4871,9 +4881,9 @@ func (s RouteDestinations) MarshalJSON() ([]byte, error) { // RuntimeConfig: RuntimeConfig contains the runtime specific configurations // for a deployment strategy. type RuntimeConfig struct { - // CloudRun: Cloud Run runtime configuration. + // CloudRun: Optional. Cloud Run runtime configuration. CloudRun *CloudRunConfig `json:"cloudRun,omitempty"` - // Kubernetes: Kubernetes runtime configuration. + // Kubernetes: Optional. Kubernetes runtime configuration. Kubernetes *KubernetesConfig `json:"kubernetes,omitempty"` // ForceSendFields is a list of field names (e.g. "CloudRun") to // unconditionally include in API requests. By default, fields with empty or @@ -4896,8 +4906,8 @@ func (s RuntimeConfig) MarshalJSON() ([]byte, error) { // SerialPipeline: SerialPipeline defines a sequential set of stages for a // `DeliveryPipeline`. type SerialPipeline struct { - // Stages: Each stage specifies configuration for a `Target`. The ordering of - // this list defines the promotion flow. + // Stages: Optional. Each stage specifies configuration for a `Target`. The + // ordering of this list defines the promotion flow. Stages []*Stage `json:"stages,omitempty"` // ForceSendFields is a list of field names (e.g. "Stages") to unconditionally // include in API requests. By default, fields with empty or default values are @@ -5068,13 +5078,13 @@ type SkaffoldModules struct { // Configs: Optional. The Skaffold Config modules to use from the specified // source. Configs []string `json:"configs,omitempty"` - // Git: Remote git repository containing the Skaffold Config modules. + // Git: Optional. Remote git repository containing the Skaffold Config modules. Git *SkaffoldGitSource `json:"git,omitempty"` - // GoogleCloudBuildRepo: Cloud Build V2 repository containing the Skaffold - // Config modules. + // GoogleCloudBuildRepo: Optional. Cloud Build V2 repository containing the + // Skaffold Config modules. GoogleCloudBuildRepo *SkaffoldGCBRepoSource `json:"googleCloudBuildRepo,omitempty"` - // GoogleCloudStorage: Cloud Storage bucket containing the Skaffold Config - // modules. + // GoogleCloudStorage: Optional. Cloud Storage bucket containing the Skaffold + // Config modules. GoogleCloudStorage *SkaffoldGCSSource `json:"googleCloudStorage,omitempty"` // ForceSendFields is a list of field names (e.g. "Configs") to unconditionally // include in API requests. By default, fields with empty or default values are @@ -5172,14 +5182,14 @@ type Stage struct { // DeployParameters: Optional. The deploy parameters to use for the target in // this stage. DeployParameters []*DeployParameters `json:"deployParameters,omitempty"` - // Profiles: Skaffold profiles to use when rendering the manifest for this - // stage's `Target`. + // Profiles: Optional. Skaffold profiles to use when rendering the manifest for + // this stage's `Target`. Profiles []string `json:"profiles,omitempty"` // Strategy: Optional. The strategy to use for a `Rollout` to this stage. Strategy *Strategy `json:"strategy,omitempty"` - // TargetId: The target_id to which this stage points. This field refers - // exclusively to the last segment of a target name. For example, this field - // would just be `my-target` (rather than + // TargetId: Optional. The target_id to which this stage points. This field + // refers exclusively to the last segment of a target name. For example, this + // field would just be `my-target` (rather than // `projects/project/locations/location/targets/my-target`). The location of // the `Target` is inferred to be the same as the location of the // `DeliveryPipeline` that contains this `Stage`. @@ -5210,7 +5220,7 @@ type Standard struct { // Predeploy: Optional. Configuration for the predeploy job. If this is not // configured, predeploy job will not be present. Predeploy *Predeploy `json:"predeploy,omitempty"` - // Verify: Whether to verify a deployment. + // Verify: Optional. Whether to verify a deployment. Verify bool `json:"verify,omitempty"` // ForceSendFields is a list of field names (e.g. "Postdeploy") to // unconditionally include in API requests. By default, fields with empty or @@ -5266,11 +5276,11 @@ func (s Status) MarshalJSON() ([]byte, error) { // Strategy: Strategy contains deployment strategy information. type Strategy struct { - // Canary: Canary deployment strategy provides progressive percentage based - // deployments to a Target. + // Canary: Optional. Canary deployment strategy provides progressive percentage + // based deployments to a Target. Canary *Canary `json:"canary,omitempty"` - // Standard: Standard deployment strategy executes a single deploy and allows - // verifying the deployment. + // Standard: Optional. Standard deployment strategy executes a single deploy + // and allows verifying the deployment. Standard *Standard `json:"standard,omitempty"` // ForceSendFields is a list of field names (e.g. "Canary") to unconditionally // include in API requests. By default, fields with empty or default values are @@ -5322,8 +5332,8 @@ type Target struct { // of other fields, and may be sent on update and delete requests to ensure the // client has an up-to-date value before proceeding. Etag string `json:"etag,omitempty"` - // ExecutionConfigs: Configurations for all execution that relates to this - // `Target`. Each `ExecutionEnvironmentUsage` value may only be used in a + // ExecutionConfigs: Optional. Configurations for all execution that relates to + // this `Target`. Each `ExecutionEnvironmentUsage` value may only be used in a // single configuration; using the same value multiple times is an error. When // one or more configurations are specified, they must include the `RENDER` and // `DEPLOY` `ExecutionEnvironmentUsage` values. When no configurations are @@ -5342,7 +5352,7 @@ type Target struct { Labels map[string]string `json:"labels,omitempty"` // MultiTarget: Optional. Information specifying a multiTarget. MultiTarget *MultiTarget `json:"multiTarget,omitempty"` - // Name: Optional. Name of the `Target`. Format is + // Name: Identifier. Name of the `Target`. Format is // `projects/{project}/locations/{location}/targets/{target}`. The `target` // component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?` Name string `json:"name,omitempty"` @@ -5413,8 +5423,8 @@ func (s TargetArtifact) MarshalJSON() ([]byte, error) { // TargetAttribute: Contains criteria for selecting Targets. This could be used // to select targets for a Deploy Policy or for an Automation. type TargetAttribute struct { - // Id: ID of the `Target`. The value of this field could be one of the - // following: * The last segment of a target name * "*", all targets in a + // Id: Optional. ID of the `Target`. The value of this field could be one of + // the following: * The last segment of a target name * "*", all targets in a // location Id string `json:"id,omitempty"` // Labels: Target labels. @@ -7038,7 +7048,7 @@ type ProjectsLocationsCustomTargetTypesPatchCall struct { // Patch: Updates a single CustomTargetType. // -// - name: Optional. Name of the `CustomTargetType`. Format is +// - name: Identifier. Name of the `CustomTargetType`. Format is // `projects/{project}/locations/{location}/customTargetTypes/{customTargetTyp // e}`. The `customTargetType` component must match // `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`. @@ -7981,7 +7991,7 @@ type ProjectsLocationsDeliveryPipelinesPatchCall struct { // Patch: Updates the parameters of a single DeliveryPipeline. // -// - name: Optional. Name of the `DeliveryPipeline`. Format is +// - name: Identifier. Name of the `DeliveryPipeline`. Format is // `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipelin // e}`. The `deliveryPipeline` component must match // `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`. @@ -11778,6 +11788,135 @@ func (c *ProjectsLocationsDeployPoliciesGetCall) Do(opts ...googleapi.CallOption return ret, nil } +type ProjectsLocationsDeployPoliciesGetIamPolicyCall struct { + s *Service + resource string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// GetIamPolicy: Gets the access control policy for a resource. Returns an +// empty policy if the resource exists and does not have a policy set. +// +// - resource: REQUIRED: The resource for which the policy is being requested. +// See Resource names (https://cloud.google.com/apis/design/resource_names) +// for the appropriate value for this field. +func (r *ProjectsLocationsDeployPoliciesService) GetIamPolicy(resource string) *ProjectsLocationsDeployPoliciesGetIamPolicyCall { + c := &ProjectsLocationsDeployPoliciesGetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.resource = resource + return c +} + +// OptionsRequestedPolicyVersion sets the optional parameter +// "options.requestedPolicyVersion": The maximum policy version that will be +// used to format the policy. Valid values are 0, 1, and 3. Requests specifying +// an invalid value will be rejected. Requests for policies with any +// conditional role bindings must specify version 3. Policies with no +// conditional role bindings may specify any valid value or leave the field +// unset. The policy in the response might use the policy version that you +// specified, or it might use a lower policy version. For example, if you +// specify version 3, but the policy has no conditional role bindings, the +// response uses version 1. To learn which resources support conditions in +// their IAM policies, see the IAM documentation +// (https://cloud.google.com/iam/help/conditions/resource-policies). +func (c *ProjectsLocationsDeployPoliciesGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *ProjectsLocationsDeployPoliciesGetIamPolicyCall { + c.urlParams_.Set("options.requestedPolicyVersion", fmt.Sprint(optionsRequestedPolicyVersion)) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more +// details. +func (c *ProjectsLocationsDeployPoliciesGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsDeployPoliciesGetIamPolicyCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets an optional parameter which makes the operation fail if the +// object's ETag matches the given value. This is useful for getting updates +// only after the object has changed since the last request. +func (c *ProjectsLocationsDeployPoliciesGetIamPolicyCall) IfNoneMatch(entityTag string) *ProjectsLocationsDeployPoliciesGetIamPolicyCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. +func (c *ProjectsLocationsDeployPoliciesGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsDeployPoliciesGetIamPolicyCall { + c.ctx_ = ctx + return c +} + +// Header returns a http.Header that can be modified by the caller to add +// headers to the request. +func (c *ProjectsLocationsDeployPoliciesGetIamPolicyCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsDeployPoliciesGetIamPolicyCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+resource}:getIamPolicy") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, nil) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "resource": c.resource, + }) + c.s.logger.DebugContext(c.ctx_, "api request", "serviceName", apiName, "rpcName", "clouddeploy.projects.locations.deployPolicies.getIamPolicy", "request", internallog.HTTPRequest(req, nil)) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "clouddeploy.projects.locations.deployPolicies.getIamPolicy" call. +// Any non-2xx status code is an error. Response headers are in either +// *Policy.ServerResponse.Header or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was returned. +func (c *ProjectsLocationsDeployPoliciesGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, gensupport.WrapError(&googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + }) + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, gensupport.WrapError(err) + } + ret := &Policy{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + b, err := gensupport.DecodeResponseBytes(target, res) + if err != nil { + return nil, err + } + c.s.logger.DebugContext(c.ctx_, "api response", "serviceName", apiName, "rpcName", "clouddeploy.projects.locations.deployPolicies.getIamPolicy", "response", internallog.HTTPResponse(res, b)) + return ret, nil +} + type ProjectsLocationsDeployPoliciesListCall struct { s *Service parent string @@ -12091,6 +12230,113 @@ func (c *ProjectsLocationsDeployPoliciesPatchCall) Do(opts ...googleapi.CallOpti return ret, nil } +type ProjectsLocationsDeployPoliciesSetIamPolicyCall struct { + s *Service + resource string + setiampolicyrequest *SetIamPolicyRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// SetIamPolicy: Sets the access control policy on the specified resource. +// Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, +// and `PERMISSION_DENIED` errors. +// +// - resource: REQUIRED: The resource for which the policy is being specified. +// See Resource names (https://cloud.google.com/apis/design/resource_names) +// for the appropriate value for this field. +func (r *ProjectsLocationsDeployPoliciesService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsDeployPoliciesSetIamPolicyCall { + c := &ProjectsLocationsDeployPoliciesSetIamPolicyCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.resource = resource + c.setiampolicyrequest = setiampolicyrequest + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more +// details. +func (c *ProjectsLocationsDeployPoliciesSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsDeployPoliciesSetIamPolicyCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. +func (c *ProjectsLocationsDeployPoliciesSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsDeployPoliciesSetIamPolicyCall { + c.ctx_ = ctx + return c +} + +// Header returns a http.Header that can be modified by the caller to add +// headers to the request. +func (c *ProjectsLocationsDeployPoliciesSetIamPolicyCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsDeployPoliciesSetIamPolicyCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_) + body, err := googleapi.WithoutDataWrapper.JSONBuffer(c.setiampolicyrequest) + if err != nil { + return nil, err + } + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+resource}:setIamPolicy") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "resource": c.resource, + }) + c.s.logger.DebugContext(c.ctx_, "api request", "serviceName", apiName, "rpcName", "clouddeploy.projects.locations.deployPolicies.setIamPolicy", "request", internallog.HTTPRequest(req, body.Bytes())) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "clouddeploy.projects.locations.deployPolicies.setIamPolicy" call. +// Any non-2xx status code is an error. Response headers are in either +// *Policy.ServerResponse.Header or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was returned. +func (c *ProjectsLocationsDeployPoliciesSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, gensupport.WrapError(&googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + }) + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, gensupport.WrapError(err) + } + ret := &Policy{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + b, err := gensupport.DecodeResponseBytes(target, res) + if err != nil { + return nil, err + } + c.s.logger.DebugContext(c.ctx_, "api response", "serviceName", apiName, "rpcName", "clouddeploy.projects.locations.deployPolicies.setIamPolicy", "response", internallog.HTTPResponse(res, b)) + return ret, nil +} + type ProjectsLocationsOperationsCancelCall struct { s *Service name string @@ -13251,7 +13497,7 @@ type ProjectsLocationsTargetsPatchCall struct { // Patch: Updates the parameters of a single Target. // -// - name: Optional. Name of the `Target`. Format is +// - name: Identifier. Name of the `Target`. Format is // `projects/{project}/locations/{location}/targets/{target}`. The `target` // component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`. func (r *ProjectsLocationsTargetsService) Patch(name string, target *Target) *ProjectsLocationsTargetsPatchCall { diff --git a/contactcenterinsights/v1/contactcenterinsights-api.json b/contactcenterinsights/v1/contactcenterinsights-api.json index aca3ab2515..187be647fa 100644 --- a/contactcenterinsights/v1/contactcenterinsights-api.json +++ b/contactcenterinsights/v1/contactcenterinsights-api.json @@ -2609,7 +2609,7 @@ } } }, - "revision": "20241218", + "revision": "20250106", "rootUrl": "https://contactcenterinsights.googleapis.com/", "schemas": { "GoogleCloudContactcenterinsightsV1Analysis": { @@ -2735,7 +2735,7 @@ "description": "Selector of annotators to run and the phrase matchers to use for conversations that matches the conversation_filter. If not specified, NO annotators will be run." }, "conversationFilter": { - "description": "Filter for the conversations that should apply this analysis rule. An empty filter means this analysis rule applies to all conversations.", + "description": "Filter for the conversations that should apply this analysis rule. An empty filter means this analysis rule applies to all conversations. Refer to https://cloud.google.com/contact-center/insights/docs/filtering for details.", "type": "string" }, "createTime": { @@ -5109,7 +5109,7 @@ "id": "GoogleCloudContactcenterinsightsV1IssueModelInputDataConfig", "properties": { "filter": { - "description": "A filter to reduce the conversations used for training the model to a specific subset.", + "description": "A filter to reduce the conversations used for training the model to a specific subset. Refer to https://cloud.google.com/contact-center/insights/docs/filtering for details.", "type": "string" }, "medium": { @@ -6037,7 +6037,12 @@ "GoogleCloudContactcenterinsightsV1QueryMetricsMetadata": { "description": "The metadata from querying metrics.", "id": "GoogleCloudContactcenterinsightsV1QueryMetricsMetadata", - "properties": {}, + "properties": { + "resultIsTruncated": { + "description": "Whether the result rows were truncated because the result row size is too large to materialize.", + "type": "boolean" + } + }, "type": "object" }, "GoogleCloudContactcenterinsightsV1QueryMetricsRequest": { @@ -6645,7 +6650,7 @@ "type": "string" }, "value": { - "description": "String with specific view properties, must be non-empty.", + "description": "A filter to reduce conversation results to a specific subset. Refer to https://cloud.google.com/contact-center/insights/docs/filtering for details.", "type": "string" } }, @@ -8783,7 +8788,7 @@ "id": "GoogleCloudContactcenterinsightsV1alpha1IssueModelInputDataConfig", "properties": { "filter": { - "description": "A filter to reduce the conversations used for training the model to a specific subset.", + "description": "A filter to reduce the conversations used for training the model to a specific subset. Refer to https://cloud.google.com/contact-center/insights/docs/filtering for details.", "type": "string" }, "medium": { @@ -9168,7 +9173,12 @@ "GoogleCloudContactcenterinsightsV1alpha1QueryMetricsMetadata": { "description": "The metadata from querying metrics.", "id": "GoogleCloudContactcenterinsightsV1alpha1QueryMetricsMetadata", - "properties": {}, + "properties": { + "resultIsTruncated": { + "description": "Whether the result rows were truncated because the result row size is too large to materialize.", + "type": "boolean" + } + }, "type": "object" }, "GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponse": { diff --git a/contactcenterinsights/v1/contactcenterinsights-gen.go b/contactcenterinsights/v1/contactcenterinsights-gen.go index 694187a3a8..fd09beb41a 100644 --- a/contactcenterinsights/v1/contactcenterinsights-gen.go +++ b/contactcenterinsights/v1/contactcenterinsights-gen.go @@ -504,7 +504,8 @@ type GoogleCloudContactcenterinsightsV1AnalysisRule struct { AnnotatorSelector *GoogleCloudContactcenterinsightsV1AnnotatorSelector `json:"annotatorSelector,omitempty"` // ConversationFilter: Filter for the conversations that should apply this // analysis rule. An empty filter means this analysis rule applies to all - // conversations. + // conversations. Refer to + // https://cloud.google.com/contact-center/insights/docs/filtering for details. ConversationFilter string `json:"conversationFilter,omitempty"` // CreateTime: Output only. The time at which this analysis rule was created. CreateTime string `json:"createTime,omitempty"` @@ -3515,7 +3516,8 @@ func (s GoogleCloudContactcenterinsightsV1IssueModel) MarshalJSON() ([]byte, err // input data used to create the issue model. type GoogleCloudContactcenterinsightsV1IssueModelInputDataConfig struct { // Filter: A filter to reduce the conversations used for training the model to - // a specific subset. + // a specific subset. Refer to + // https://cloud.google.com/contact-center/insights/docs/filtering for details. Filter string `json:"filter,omitempty"` // Medium: Medium of conversations used in training data. This field is being // deprecated. To specify the medium to be used in training a new issue model, @@ -4741,6 +4743,25 @@ func (s GoogleCloudContactcenterinsightsV1QaScorecardRevision) MarshalJSON() ([] // GoogleCloudContactcenterinsightsV1QueryMetricsMetadata: The metadata from // querying metrics. type GoogleCloudContactcenterinsightsV1QueryMetricsMetadata struct { + // ResultIsTruncated: Whether the result rows were truncated because the result + // row size is too large to materialize. + ResultIsTruncated bool `json:"resultIsTruncated,omitempty"` + // ForceSendFields is a list of field names (e.g. "ResultIsTruncated") to + // unconditionally include in API requests. By default, fields with empty or + // default values are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "ResultIsTruncated") to include in + // API requests with the JSON null value. By default, fields with empty values + // are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s GoogleCloudContactcenterinsightsV1QueryMetricsMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudContactcenterinsightsV1QueryMetricsMetadata + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // GoogleCloudContactcenterinsightsV1QueryMetricsRequest: The request for @@ -5610,7 +5631,9 @@ type GoogleCloudContactcenterinsightsV1View struct { Name string `json:"name,omitempty"` // UpdateTime: Output only. The most recent time at which the view was updated. UpdateTime string `json:"updateTime,omitempty"` - // Value: String with specific view properties, must be non-empty. + // Value: A filter to reduce conversation results to a specific subset. Refer + // to https://cloud.google.com/contact-center/insights/docs/filtering for + // details. Value string `json:"value,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. @@ -8299,7 +8322,8 @@ func (s GoogleCloudContactcenterinsightsV1alpha1IssueModel) MarshalJSON() ([]byt // for the input data used to create the issue model. type GoogleCloudContactcenterinsightsV1alpha1IssueModelInputDataConfig struct { // Filter: A filter to reduce the conversations used for training the model to - // a specific subset. + // a specific subset. Refer to + // https://cloud.google.com/contact-center/insights/docs/filtering for details. Filter string `json:"filter,omitempty"` // Medium: Medium of conversations used in training data. This field is being // deprecated. To specify the medium to be used in training a new issue model, @@ -8800,6 +8824,25 @@ func (s *GoogleCloudContactcenterinsightsV1alpha1QaScorecardResultScoreSource) U // GoogleCloudContactcenterinsightsV1alpha1QueryMetricsMetadata: The metadata // from querying metrics. type GoogleCloudContactcenterinsightsV1alpha1QueryMetricsMetadata struct { + // ResultIsTruncated: Whether the result rows were truncated because the result + // row size is too large to materialize. + ResultIsTruncated bool `json:"resultIsTruncated,omitempty"` + // ForceSendFields is a list of field names (e.g. "ResultIsTruncated") to + // unconditionally include in API requests. By default, fields with empty or + // default values are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "ResultIsTruncated") to include in + // API requests with the JSON null value. By default, fields with empty values + // are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s GoogleCloudContactcenterinsightsV1alpha1QueryMetricsMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudContactcenterinsightsV1alpha1QueryMetricsMetadata + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } // GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponse: The response diff --git a/dataflow/v1b3/dataflow-api.json b/dataflow/v1b3/dataflow-api.json index b747d2a532..09bcc42473 100644 --- a/dataflow/v1b3/dataflow-api.json +++ b/dataflow/v1b3/dataflow-api.json @@ -2208,7 +2208,7 @@ } } }, - "revision": "20241209", + "revision": "20250106", "rootUrl": "https://dataflow.googleapis.com/", "schemas": { "ApproximateProgress": { @@ -2413,6 +2413,47 @@ }, "type": "object" }, + "BoundedTrie": { + "description": "The message type used for encoding metrics of type bounded trie.", + "id": "BoundedTrie", + "properties": { + "bound": { + "description": "The maximum number of elements to store before truncation.", + "format": "int32", + "type": "integer" + }, + "root": { + "$ref": "BoundedTrieNode", + "description": "A compact representation of all the elements in this trie." + }, + "singleton": { + "description": "A more efficient representation for metrics consisting of a single value.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "BoundedTrieNode": { + "description": "A single node in a BoundedTrie.", + "id": "BoundedTrieNode", + "properties": { + "children": { + "additionalProperties": { + "$ref": "BoundedTrieNode" + }, + "description": "Children of this node. Must be empty if truncated is true.", + "type": "object" + }, + "truncated": { + "description": "Whether this node has been truncated. A truncated leaf represents possibly many children with the same prefix.", + "type": "boolean" + } + }, + "type": "object" + }, "BucketOptions": { "description": "`BucketOptions` describes the bucket boundaries used in the histogram.", "id": "BucketOptions", @@ -2731,13 +2772,17 @@ "type": "object" }, "CounterUpdate": { - "description": "An update to a Counter sent from a worker.", + "description": "An update to a Counter sent from a worker. Next ID: 17", "id": "CounterUpdate", "properties": { "boolean": { "description": "Boolean value for And, Or.", "type": "boolean" }, + "boundedTrie": { + "$ref": "BoundedTrie", + "description": "Bounded trie data" + }, "cumulative": { "description": "True if this counter is reported as the total cumulative aggregate value accumulated since the worker started working on this WorkItem. By default this is false, indicating that this counter is reported as a delta.", "type": "boolean" @@ -4708,7 +4753,7 @@ "type": "object" }, "MetricUpdate": { - "description": "Describes the state of a metric.", + "description": "Describes the state of a metric. Next ID: 14", "id": "MetricUpdate", "properties": { "cumulative": { @@ -4748,7 +4793,11 @@ "type": "any" }, "set": { - "description": "Worker-computed aggregate value for the \"Set\" aggregation kind. The only possible value type is a list of Values whose type can be Long, Double, or String, according to the metric's type. All Values in the list must be of the same type.", + "description": "Worker-computed aggregate value for the \"Set\" aggregation kind. The only possible value type is a list of Values whose type can be Long, Double, String, or BoundedTrie according to the metric's type. All Values in the list must be of the same type.", + "type": "any" + }, + "trie": { + "description": "Worker-computed aggregate value for the \"Trie\" aggregation kind. The only possible value type is a BoundedTrieNode.", "type": "any" }, "updateTime": { diff --git a/dataflow/v1b3/dataflow-gen.go b/dataflow/v1b3/dataflow-gen.go index 186ba8fc70..5a39e3c92e 100644 --- a/dataflow/v1b3/dataflow-gen.go +++ b/dataflow/v1b3/dataflow-gen.go @@ -690,6 +690,59 @@ func (s BigTableIODetails) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// BoundedTrie: The message type used for encoding metrics of type bounded +// trie. +type BoundedTrie struct { + // Bound: The maximum number of elements to store before truncation. + Bound int64 `json:"bound,omitempty"` + // Root: A compact representation of all the elements in this trie. + Root *BoundedTrieNode `json:"root,omitempty"` + // Singleton: A more efficient representation for metrics consisting of a + // single value. + Singleton []string `json:"singleton,omitempty"` + // ForceSendFields is a list of field names (e.g. "Bound") to unconditionally + // include in API requests. By default, fields with empty or default values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "Bound") to include in API + // requests with the JSON null value. By default, fields with empty values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s BoundedTrie) MarshalJSON() ([]byte, error) { + type NoMethod BoundedTrie + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// BoundedTrieNode: A single node in a BoundedTrie. +type BoundedTrieNode struct { + // Children: Children of this node. Must be empty if truncated is true. + Children map[string]BoundedTrieNode `json:"children,omitempty"` + // Truncated: Whether this node has been truncated. A truncated leaf represents + // possibly many children with the same prefix. + Truncated bool `json:"truncated,omitempty"` + // ForceSendFields is a list of field names (e.g. "Children") to + // unconditionally include in API requests. By default, fields with empty or + // default values are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "Children") to include in API + // requests with the JSON null value. By default, fields with empty values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s BoundedTrieNode) MarshalJSON() ([]byte, error) { + type NoMethod BoundedTrieNode + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // BucketOptions: `BucketOptions` describes the bucket boundaries used in the // histogram. type BucketOptions struct { @@ -1051,10 +1104,12 @@ func (s CounterStructuredNameAndMetadata) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } -// CounterUpdate: An update to a Counter sent from a worker. +// CounterUpdate: An update to a Counter sent from a worker. Next ID: 17 type CounterUpdate struct { // Boolean: Boolean value for And, Or. Boolean bool `json:"boolean,omitempty"` + // BoundedTrie: Bounded trie data + BoundedTrie *BoundedTrie `json:"boundedTrie,omitempty"` // Cumulative: True if this counter is reported as the total cumulative // aggregate value accumulated since the worker started working on this // WorkItem. By default this is false, indicating that this counter is reported @@ -3571,7 +3626,7 @@ func (s MetricStructuredName) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } -// MetricUpdate: Describes the state of a metric. +// MetricUpdate: Describes the state of a metric. Next ID: 14 type MetricUpdate struct { // Cumulative: True if this metric is reported as the total cumulative // aggregate value accumulated since the worker started working on this @@ -3611,9 +3666,12 @@ type MetricUpdate struct { Scalar interface{} `json:"scalar,omitempty"` // Set: Worker-computed aggregate value for the "Set" aggregation kind. The // only possible value type is a list of Values whose type can be Long, Double, - // or String, according to the metric's type. All Values in the list must be of - // the same type. + // String, or BoundedTrie according to the metric's type. All Values in the + // list must be of the same type. Set interface{} `json:"set,omitempty"` + // Trie: Worker-computed aggregate value for the "Trie" aggregation kind. The + // only possible value type is a BoundedTrieNode. + Trie interface{} `json:"trie,omitempty"` // UpdateTime: Timestamp associated with the metric value. Optional when // workers are reporting work progress; it will be filled in responses from the // metrics API. diff --git a/datastream/v1/datastream-api.json b/datastream/v1/datastream-api.json index 7133664b1a..18771c84b0 100644 --- a/datastream/v1/datastream-api.json +++ b/datastream/v1/datastream-api.json @@ -1250,7 +1250,7 @@ } } }, - "revision": "20241204", + "revision": "20250101", "rootUrl": "https://datastream.googleapis.com/", "schemas": { "AppendOnly": { @@ -2683,6 +2683,10 @@ "format": "int32", "type": "integer" }, + "sslConfig": { + "$ref": "PostgresqlSslConfig", + "description": "Optional. SSL configuration for the PostgreSQL connection. In case PostgresqlSslConfig is not set, the connection will use the default SSL mode, which is `prefer` (i.e. this mode will only use encryption if enabled from database side, otherwise will use unencrypted communication)" + }, "username": { "description": "Required. Username for the PostgreSQL connection.", "type": "string" @@ -2750,6 +2754,21 @@ }, "type": "object" }, + "PostgresqlSslConfig": { + "description": "PostgreSQL SSL configuration information.", + "id": "PostgresqlSslConfig", + "properties": { + "serverAndClientVerification": { + "$ref": "ServerAndClientVerification", + "description": "If this field is set, the communication will be encrypted with TLS encryption and both the server identity and the client identity will be authenticated." + }, + "serverVerification": { + "$ref": "ServerVerification", + "description": " If this field is set, the communication will be encrypted with TLS encryption and the server identity will be authenticated." + } + }, + "type": "object" + }, "PostgresqlTable": { "description": "PostgreSQL table.", "id": "PostgresqlTable", @@ -2903,6 +2922,36 @@ }, "type": "object" }, + "ServerAndClientVerification": { + "description": "Message represents the option where Datastream will enforce the encryption and authenticate the server identity as well as the client identity. ca_certificate, client_certificate and client_key must be set if user selects this option.", + "id": "ServerAndClientVerification", + "properties": { + "caCertificate": { + "description": "Required. Input only. PEM-encoded server root CA certificate.", + "type": "string" + }, + "clientCertificate": { + "description": "Required. Input only. PEM-encoded certificate used by the source database to authenticate the client identity (i.e., the Datastream's identity). This certificate is signed by either a root certificate trusted by the server or one or more intermediate certificates (which is stored with the leaf certificate) to link the this certificate to the trusted root certificate.", + "type": "string" + }, + "clientKey": { + "description": "Required. Input only. PEM-encoded private key associated with the client certificate. This value will be used during the SSL/TLS handshake, allowing the PostgreSQL server to authenticate the client's identity, i.e. identity of the Datastream.", + "type": "string" + } + }, + "type": "object" + }, + "ServerVerification": { + "description": "Message represents the option where Datastream will enforce the encryption and authenticate the server identity. ca_certificate must be set if user selects this option.", + "id": "ServerVerification", + "properties": { + "caCertificate": { + "description": "Required. Input only. PEM-encoded server root CA certificate.", + "type": "string" + } + }, + "type": "object" + }, "SingleTargetDataset": { "description": "A single target dataset to which all data will be streamed.", "id": "SingleTargetDataset", diff --git a/datastream/v1/datastream-gen.go b/datastream/v1/datastream-gen.go index e1d2f66e18..0a8516789d 100644 --- a/datastream/v1/datastream-gen.go +++ b/datastream/v1/datastream-gen.go @@ -1868,6 +1868,11 @@ type PostgresqlProfile struct { Password string `json:"password,omitempty"` // Port: Port for the PostgreSQL connection, default value is 5432. Port int64 `json:"port,omitempty"` + // SslConfig: Optional. SSL configuration for the PostgreSQL connection. In + // case PostgresqlSslConfig is not set, the connection will use the default SSL + // mode, which is `prefer` (i.e. this mode will only use encryption if enabled + // from database side, otherwise will use unencrypted communication) + SslConfig *PostgresqlSslConfig `json:"sslConfig,omitempty"` // Username: Required. Username for the PostgreSQL connection. Username string `json:"username,omitempty"` // ForceSendFields is a list of field names (e.g. "Database") to @@ -1968,6 +1973,33 @@ func (s PostgresqlSourceConfig) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// PostgresqlSslConfig: PostgreSQL SSL configuration information. +type PostgresqlSslConfig struct { + // ServerAndClientVerification: If this field is set, the communication will be + // encrypted with TLS encryption and both the server identity and the client + // identity will be authenticated. + ServerAndClientVerification *ServerAndClientVerification `json:"serverAndClientVerification,omitempty"` + // ServerVerification: If this field is set, the communication will be + // encrypted with TLS encryption and the server identity will be authenticated. + ServerVerification *ServerVerification `json:"serverVerification,omitempty"` + // ForceSendFields is a list of field names (e.g. + // "ServerAndClientVerification") to unconditionally include in API requests. + // By default, fields with empty or default values are omitted from API + // requests. See https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields + // for more details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "ServerAndClientVerification") to + // include in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s PostgresqlSslConfig) MarshalJSON() ([]byte, error) { + type NoMethod PostgresqlSslConfig + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // PostgresqlTable: PostgreSQL table. type PostgresqlTable struct { // PostgresqlColumns: PostgreSQL columns in the schema. When unspecified as @@ -2131,6 +2163,67 @@ func (s RunStreamRequest) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// ServerAndClientVerification: Message represents the option where Datastream +// will enforce the encryption and authenticate the server identity as well as +// the client identity. ca_certificate, client_certificate and client_key must +// be set if user selects this option. +type ServerAndClientVerification struct { + // CaCertificate: Required. Input only. PEM-encoded server root CA certificate. + CaCertificate string `json:"caCertificate,omitempty"` + // ClientCertificate: Required. Input only. PEM-encoded certificate used by the + // source database to authenticate the client identity (i.e., the Datastream's + // identity). This certificate is signed by either a root certificate trusted + // by the server or one or more intermediate certificates (which is stored with + // the leaf certificate) to link the this certificate to the trusted root + // certificate. + ClientCertificate string `json:"clientCertificate,omitempty"` + // ClientKey: Required. Input only. PEM-encoded private key associated with the + // client certificate. This value will be used during the SSL/TLS handshake, + // allowing the PostgreSQL server to authenticate the client's identity, i.e. + // identity of the Datastream. + ClientKey string `json:"clientKey,omitempty"` + // ForceSendFields is a list of field names (e.g. "CaCertificate") to + // unconditionally include in API requests. By default, fields with empty or + // default values are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "CaCertificate") to include in API + // requests with the JSON null value. By default, fields with empty values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s ServerAndClientVerification) MarshalJSON() ([]byte, error) { + type NoMethod ServerAndClientVerification + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// ServerVerification: Message represents the option where Datastream will +// enforce the encryption and authenticate the server identity. ca_certificate +// must be set if user selects this option. +type ServerVerification struct { + // CaCertificate: Required. Input only. PEM-encoded server root CA certificate. + CaCertificate string `json:"caCertificate,omitempty"` + // ForceSendFields is a list of field names (e.g. "CaCertificate") to + // unconditionally include in API requests. By default, fields with empty or + // default values are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "CaCertificate") to include in API + // requests with the JSON null value. By default, fields with empty values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s ServerVerification) MarshalJSON() ([]byte, error) { + type NoMethod ServerVerification + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // SingleTargetDataset: A single target dataset to which all data will be // streamed. type SingleTargetDataset struct { diff --git a/dialogflow/v2/dialogflow-api.json b/dialogflow/v2/dialogflow-api.json index 9c8ede6d6d..165fc3c4b1 100644 --- a/dialogflow/v2/dialogflow-api.json +++ b/dialogflow/v2/dialogflow-api.json @@ -8714,7 +8714,7 @@ } } }, - "revision": "20241216", + "revision": "20250103", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { "GoogleCloudDialogflowCxV3AdvancedSettings": { @@ -14280,6 +14280,11 @@ "format": "google-datetime", "readOnly": true, "type": "string" + }, + "telephonyConnectionInfo": { + "$ref": "GoogleCloudDialogflowV2ConversationTelephonyConnectionInfo", + "description": "Output only. The telephony connection information.", + "readOnly": true } }, "type": "object" @@ -14522,6 +14527,12 @@ "description": "Represents a phone number for telephony integration. It allows for connecting a particular conversation over telephony.", "id": "GoogleCloudDialogflowV2ConversationPhoneNumber", "properties": { + "countryCode": { + "description": "Output only. Desired country code for the phone number.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, "phoneNumber": { "description": "Output only. The phone number to connect to this conversation.", "readOnly": true, @@ -14605,6 +14616,69 @@ }, "type": "object" }, + "GoogleCloudDialogflowV2ConversationTelephonyConnectionInfo": { + "description": "The information about phone calls connected via phone gateway to the conversation.", + "id": "GoogleCloudDialogflowV2ConversationTelephonyConnectionInfo", + "properties": { + "dialedNumber": { + "description": "Output only. The number dialed to connect this call in E.164 format.", + "readOnly": true, + "type": "string" + }, + "extraMimeContents": { + "description": "Output only. The mime content from the initial SIP INVITE.", + "items": { + "$ref": "GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoMimeContent" + }, + "readOnly": true, + "type": "array" + }, + "sdp": { + "description": "Optional. SDP of the call. It's initially the SDP answer to the endpoint, but maybe later updated for the purpose of making the link active, etc.", + "type": "string" + }, + "sipHeaders": { + "description": "Output only. The SIP headers from the initial SIP INVITE.", + "items": { + "$ref": "GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoSipHeader" + }, + "readOnly": true, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoMimeContent": { + "description": "The mime content from the initial SIP INVITE.", + "id": "GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoMimeContent", + "properties": { + "content": { + "description": "Optional. The content payload.", + "format": "byte", + "type": "string" + }, + "mimeType": { + "description": "Optional. The mime type of the content.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoSipHeader": { + "description": "The SIP headers from the initial SIP INVITE.", + "id": "GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoSipHeader", + "properties": { + "name": { + "description": "Optional. The name of the header.", + "type": "string" + }, + "value": { + "description": "Optional. The value of the header.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDialogflowV2CreateConversationDatasetOperationMetadata": { "description": "Metadata for CreateConversationDataset.", "id": "GoogleCloudDialogflowV2CreateConversationDatasetOperationMetadata", diff --git a/dialogflow/v2/dialogflow-gen.go b/dialogflow/v2/dialogflow-gen.go index 1012423e6c..f3a8f4ffcf 100644 --- a/dialogflow/v2/dialogflow-gen.go +++ b/dialogflow/v2/dialogflow-gen.go @@ -8735,6 +8735,8 @@ type GoogleCloudDialogflowV2Conversation struct { PhoneNumber *GoogleCloudDialogflowV2ConversationPhoneNumber `json:"phoneNumber,omitempty"` // StartTime: Output only. The time the conversation was started. StartTime string `json:"startTime,omitempty"` + // TelephonyConnectionInfo: Output only. The telephony connection information. + TelephonyConnectionInfo *GoogleCloudDialogflowV2ConversationTelephonyConnectionInfo `json:"telephonyConnectionInfo,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` @@ -9031,15 +9033,17 @@ func (s GoogleCloudDialogflowV2ConversationModelEvaluation) MarshalJSON() ([]byt // for telephony integration. It allows for connecting a particular // conversation over telephony. type GoogleCloudDialogflowV2ConversationPhoneNumber struct { + // CountryCode: Output only. Desired country code for the phone number. + CountryCode int64 `json:"countryCode,omitempty"` // PhoneNumber: Output only. The phone number to connect to this conversation. PhoneNumber string `json:"phoneNumber,omitempty"` - // ForceSendFields is a list of field names (e.g. "PhoneNumber") to + // ForceSendFields is a list of field names (e.g. "CountryCode") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "PhoneNumber") to include in API + // NullFields is a list of field names (e.g. "CountryCode") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. @@ -9128,6 +9132,89 @@ func (s GoogleCloudDialogflowV2ConversationProfile) MarshalJSON() ([]byte, error return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// GoogleCloudDialogflowV2ConversationTelephonyConnectionInfo: The information +// about phone calls connected via phone gateway to the conversation. +type GoogleCloudDialogflowV2ConversationTelephonyConnectionInfo struct { + // DialedNumber: Output only. The number dialed to connect this call in E.164 + // format. + DialedNumber string `json:"dialedNumber,omitempty"` + // ExtraMimeContents: Output only. The mime content from the initial SIP + // INVITE. + ExtraMimeContents []*GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoMimeContent `json:"extraMimeContents,omitempty"` + // Sdp: Optional. SDP of the call. It's initially the SDP answer to the + // endpoint, but maybe later updated for the purpose of making the link active, + // etc. + Sdp string `json:"sdp,omitempty"` + // SipHeaders: Output only. The SIP headers from the initial SIP INVITE. + SipHeaders []*GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoSipHeader `json:"sipHeaders,omitempty"` + // ForceSendFields is a list of field names (e.g. "DialedNumber") to + // unconditionally include in API requests. By default, fields with empty or + // default values are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "DialedNumber") to include in API + // requests with the JSON null value. By default, fields with empty values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s GoogleCloudDialogflowV2ConversationTelephonyConnectionInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2ConversationTelephonyConnectionInfo + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoMimeContent: The +// mime content from the initial SIP INVITE. +type GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoMimeContent struct { + // Content: Optional. The content payload. + Content string `json:"content,omitempty"` + // MimeType: Optional. The mime type of the content. + MimeType string `json:"mimeType,omitempty"` + // ForceSendFields is a list of field names (e.g. "Content") to unconditionally + // include in API requests. By default, fields with empty or default values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "Content") to include in API + // requests with the JSON null value. By default, fields with empty values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoMimeContent) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoMimeContent + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoSipHeader: The SIP +// headers from the initial SIP INVITE. +type GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoSipHeader struct { + // Name: Optional. The name of the header. + Name string `json:"name,omitempty"` + // Value: Optional. The value of the header. + Value string `json:"value,omitempty"` + // ForceSendFields is a list of field names (e.g. "Name") to unconditionally + // include in API requests. By default, fields with empty or default values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "Name") to include in API requests + // with the JSON null value. By default, fields with empty values are omitted + // from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoSipHeader) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoSipHeader + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // GoogleCloudDialogflowV2CreateConversationDatasetOperationMetadata: Metadata // for CreateConversationDataset. type GoogleCloudDialogflowV2CreateConversationDatasetOperationMetadata struct { diff --git a/dialogflow/v2beta1/dialogflow-api.json b/dialogflow/v2beta1/dialogflow-api.json index 95ae815423..8b9958d7bf 100644 --- a/dialogflow/v2beta1/dialogflow-api.json +++ b/dialogflow/v2beta1/dialogflow-api.json @@ -8239,7 +8239,7 @@ } } }, - "revision": "20241216", + "revision": "20250103", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { "GoogleCloudDialogflowCxV3AdvancedSettings": { @@ -16425,6 +16425,11 @@ "format": "google-datetime", "readOnly": true, "type": "string" + }, + "telephonyConnectionInfo": { + "$ref": "GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfo", + "description": "Output only. The telephony connection information.", + "readOnly": true } }, "type": "object" @@ -16492,6 +16497,12 @@ "description": "Represents a phone number for telephony integration. It allows for connecting a particular conversation over telephony.", "id": "GoogleCloudDialogflowV2beta1ConversationPhoneNumber", "properties": { + "countryCode": { + "description": "Output only. Desired country code for the phone number.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, "phoneNumber": { "description": "Output only. The phone number to connect to this conversation.", "readOnly": true, @@ -16575,6 +16586,69 @@ }, "type": "object" }, + "GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfo": { + "description": "The information about phone calls connected via phone gateway to the conversation.", + "id": "GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfo", + "properties": { + "dialedNumber": { + "description": "Output only. The number dialed to connect this call in E.164 format.", + "readOnly": true, + "type": "string" + }, + "extraMimeContents": { + "description": "Output only. The mime content from the initial SIP INVITE.", + "items": { + "$ref": "GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfoMimeContent" + }, + "readOnly": true, + "type": "array" + }, + "sdp": { + "description": "Optional. SDP of the call. It's initially the SDP answer to the endpoint, but maybe later updated for the purpose of making the link active, etc.", + "type": "string" + }, + "sipHeaders": { + "description": "Output only. The SIP headers from the initial SIP INVITE.", + "items": { + "$ref": "GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfoSipHeader" + }, + "readOnly": true, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfoMimeContent": { + "description": "The mime content from the initial SIP INVITE.", + "id": "GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfoMimeContent", + "properties": { + "content": { + "description": "Optional. The content payload.", + "format": "byte", + "type": "string" + }, + "mimeType": { + "description": "Optional. The mime type of the content.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfoSipHeader": { + "description": "The SIP headers from the initial SIP INVITE.", + "id": "GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfoSipHeader", + "properties": { + "name": { + "description": "Optional. The name of the header.", + "type": "string" + }, + "value": { + "description": "Optional. The value of the header.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDialogflowV2beta1CreateMessageRequest": { "description": "The request message to create one Message. Currently it is only used in BatchCreateMessagesRequest.", "id": "GoogleCloudDialogflowV2beta1CreateMessageRequest", diff --git a/dialogflow/v2beta1/dialogflow-gen.go b/dialogflow/v2beta1/dialogflow-gen.go index c8a1d64854..82c3ed16e4 100644 --- a/dialogflow/v2beta1/dialogflow-gen.go +++ b/dialogflow/v2beta1/dialogflow-gen.go @@ -12225,6 +12225,8 @@ type GoogleCloudDialogflowV2beta1Conversation struct { PhoneNumber *GoogleCloudDialogflowV2beta1ConversationPhoneNumber `json:"phoneNumber,omitempty"` // StartTime: Output only. The time the conversation was started. StartTime string `json:"startTime,omitempty"` + // TelephonyConnectionInfo: Output only. The telephony connection information. + TelephonyConnectionInfo *GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfo `json:"telephonyConnectionInfo,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` @@ -12329,15 +12331,17 @@ func (s GoogleCloudDialogflowV2beta1ConversationEvent) MarshalJSON() ([]byte, er // number for telephony integration. It allows for connecting a particular // conversation over telephony. type GoogleCloudDialogflowV2beta1ConversationPhoneNumber struct { + // CountryCode: Output only. Desired country code for the phone number. + CountryCode int64 `json:"countryCode,omitempty"` // PhoneNumber: Output only. The phone number to connect to this conversation. PhoneNumber string `json:"phoneNumber,omitempty"` - // ForceSendFields is a list of field names (e.g. "PhoneNumber") to + // ForceSendFields is a list of field names (e.g. "CountryCode") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "PhoneNumber") to include in API + // NullFields is a list of field names (e.g. "CountryCode") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. @@ -12426,6 +12430,90 @@ func (s GoogleCloudDialogflowV2beta1ConversationProfile) MarshalJSON() ([]byte, return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfo: The +// information about phone calls connected via phone gateway to the +// conversation. +type GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfo struct { + // DialedNumber: Output only. The number dialed to connect this call in E.164 + // format. + DialedNumber string `json:"dialedNumber,omitempty"` + // ExtraMimeContents: Output only. The mime content from the initial SIP + // INVITE. + ExtraMimeContents []*GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfoMimeContent `json:"extraMimeContents,omitempty"` + // Sdp: Optional. SDP of the call. It's initially the SDP answer to the + // endpoint, but maybe later updated for the purpose of making the link active, + // etc. + Sdp string `json:"sdp,omitempty"` + // SipHeaders: Output only. The SIP headers from the initial SIP INVITE. + SipHeaders []*GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfoSipHeader `json:"sipHeaders,omitempty"` + // ForceSendFields is a list of field names (e.g. "DialedNumber") to + // unconditionally include in API requests. By default, fields with empty or + // default values are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "DialedNumber") to include in API + // requests with the JSON null value. By default, fields with empty values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfo) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfo + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfoMimeContent: +// The mime content from the initial SIP INVITE. +type GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfoMimeContent struct { + // Content: Optional. The content payload. + Content string `json:"content,omitempty"` + // MimeType: Optional. The mime type of the content. + MimeType string `json:"mimeType,omitempty"` + // ForceSendFields is a list of field names (e.g. "Content") to unconditionally + // include in API requests. By default, fields with empty or default values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "Content") to include in API + // requests with the JSON null value. By default, fields with empty values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfoMimeContent) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfoMimeContent + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfoSipHeader: +// The SIP headers from the initial SIP INVITE. +type GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfoSipHeader struct { + // Name: Optional. The name of the header. + Name string `json:"name,omitempty"` + // Value: Optional. The value of the header. + Value string `json:"value,omitempty"` + // ForceSendFields is a list of field names (e.g. "Name") to unconditionally + // include in API requests. By default, fields with empty or default values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "Name") to include in API requests + // with the JSON null value. By default, fields with empty values are omitted + // from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfoSipHeader) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfoSipHeader + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // GoogleCloudDialogflowV2beta1CreateMessageRequest: The request message to // create one Message. Currently it is only used in BatchCreateMessagesRequest. type GoogleCloudDialogflowV2beta1CreateMessageRequest struct { diff --git a/dialogflow/v3/dialogflow-api.json b/dialogflow/v3/dialogflow-api.json index f12a522dc8..171b045048 100644 --- a/dialogflow/v3/dialogflow-api.json +++ b/dialogflow/v3/dialogflow-api.json @@ -4453,7 +4453,7 @@ } } }, - "revision": "20241216", + "revision": "20250103", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { "GoogleCloudDialogflowCxV3AdvancedSettings": { @@ -4621,6 +4621,16 @@ "$ref": "GoogleCloudDialogflowCxV3AgentPersonalizationSettings", "description": "Optional. Settings for end user personalization." }, + "satisfiesPzi": { + "description": "Optional. Output only. A read only boolean field reflecting Zone Isolation status of the agent.", + "readOnly": true, + "type": "boolean" + }, + "satisfiesPzs": { + "description": "Optional. Output only. A read only boolean field reflecting Zone Separation status of the agent.", + "readOnly": true, + "type": "boolean" + }, "securitySettings": { "description": "Name of the SecuritySettings reference for the agent. Format: `projects//locations//securitySettings/`.", "type": "string" diff --git a/dialogflow/v3/dialogflow-gen.go b/dialogflow/v3/dialogflow-gen.go index 69620f6bea..1e9700e9c7 100644 --- a/dialogflow/v3/dialogflow-gen.go +++ b/dialogflow/v3/dialogflow-gen.go @@ -677,6 +677,12 @@ type GoogleCloudDialogflowCxV3Agent struct { Name string `json:"name,omitempty"` // PersonalizationSettings: Optional. Settings for end user personalization. PersonalizationSettings *GoogleCloudDialogflowCxV3AgentPersonalizationSettings `json:"personalizationSettings,omitempty"` + // SatisfiesPzi: Optional. Output only. A read only boolean field reflecting + // Zone Isolation status of the agent. + SatisfiesPzi bool `json:"satisfiesPzi,omitempty"` + // SatisfiesPzs: Optional. Output only. A read only boolean field reflecting + // Zone Separation status of the agent. + SatisfiesPzs bool `json:"satisfiesPzs,omitempty"` // SecuritySettings: Name of the SecuritySettings reference for the agent. // Format: `projects//locations//securitySettings/`. SecuritySettings string `json:"securitySettings,omitempty"` diff --git a/firebasedataconnect/v1beta/firebasedataconnect-api.json b/firebasedataconnect/v1beta/firebasedataconnect-api.json index f51466b4eb..d32bb65b93 100644 --- a/firebasedataconnect/v1beta/firebasedataconnect-api.json +++ b/firebasedataconnect/v1beta/firebasedataconnect-api.json @@ -1070,7 +1070,7 @@ } } }, - "revision": "20241208", + "revision": "20250105", "rootUrl": "https://firebasedataconnect.googleapis.com/", "schemas": { "CancelOperationRequest": { @@ -1619,8 +1619,20 @@ "description": "Required. Name of the PostgreSQL database.", "type": "string" }, + "schemaMigration": { + "description": "Optional. Configure how to perform Postgresql schema migration.", + "enum": [ + "SQL_SCHEMA_MIGRATION_UNSPECIFIED", + "MIGRATE_COMPATIBLE" + ], + "enumDescriptions": [ + "Unspecified SQL schema migration.", + "Connect to the SQL database and identify any missing SQL resources used in the given Firebase Data Connect Schema. Automatically create necessary SQL resources (SQL table, column, etc) before deploying the schema. During migration steps, the SQL Schema must comply with the previous before_deploy setting in case the migration is interrupted. Therefore, the previous before_deploy setting must not be `schema_validation=STRICT`." + ], + "type": "string" + }, "schemaValidation": { - "description": "Optional. Configure how much Postgresql schema validation to perform. Default to `STRICT` if not specified.", + "description": "Optional. Configure how much Postgresql schema validation to perform.", "enum": [ "SQL_SCHEMA_VALIDATION_UNSPECIFIED", "NONE", diff --git a/firebasedataconnect/v1beta/firebasedataconnect-gen.go b/firebasedataconnect/v1beta/firebasedataconnect-gen.go index 7304adb831..e9941c26fe 100644 --- a/firebasedataconnect/v1beta/firebasedataconnect-gen.go +++ b/firebasedataconnect/v1beta/firebasedataconnect-gen.go @@ -953,8 +953,21 @@ type PostgreSql struct { CloudSql *CloudSqlInstance `json:"cloudSql,omitempty"` // Database: Required. Name of the PostgreSQL database. Database string `json:"database,omitempty"` + // SchemaMigration: Optional. Configure how to perform Postgresql schema + // migration. + // + // Possible values: + // "SQL_SCHEMA_MIGRATION_UNSPECIFIED" - Unspecified SQL schema migration. + // "MIGRATE_COMPATIBLE" - Connect to the SQL database and identify any + // missing SQL resources used in the given Firebase Data Connect Schema. + // Automatically create necessary SQL resources (SQL table, column, etc) before + // deploying the schema. During migration steps, the SQL Schema must comply + // with the previous before_deploy setting in case the migration is + // interrupted. Therefore, the previous before_deploy setting must not be + // `schema_validation=STRICT`. + SchemaMigration string `json:"schemaMigration,omitempty"` // SchemaValidation: Optional. Configure how much Postgresql schema validation - // to perform. Default to `STRICT` if not specified. + // to perform. // // Possible values: // "SQL_SCHEMA_VALIDATION_UNSPECIFIED" - Unspecified SQL schema validation. diff --git a/gkehub/v1/gkehub-api.json b/gkehub/v1/gkehub-api.json index bf3e820f9a..71b1da3643 100644 --- a/gkehub/v1/gkehub-api.json +++ b/gkehub/v1/gkehub-api.json @@ -2111,7 +2111,7 @@ } } }, - "revision": "20241206", + "revision": "20250103", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "AppDevExperienceFeatureSpec": { @@ -2647,36 +2647,36 @@ "properties": { "allowVerticalScale": { "deprecated": true, - "description": "Set to true to allow the vertical scaling. Defaults to false which disallows vertical scaling. This field is deprecated.", + "description": "Optional. Set to true to allow the vertical scaling. Defaults to false which disallows vertical scaling. This field is deprecated.", "type": "boolean" }, "enabled": { - "description": "Enables the installation of ConfigSync. If set to true, ConfigSync resources will be created and the other ConfigSync fields will be applied if exist. If set to false, all other ConfigSync fields will be ignored, ConfigSync resources will be deleted. If omitted, ConfigSync resources will be managed depends on the presence of the git or oci field.", + "description": "Optional. Enables the installation of ConfigSync. If set to true, ConfigSync resources will be created and the other ConfigSync fields will be applied if exist. If set to false, all other ConfigSync fields will be ignored, ConfigSync resources will be deleted. If omitted, ConfigSync resources will be managed depends on the presence of the git or oci field.", "type": "boolean" }, "git": { "$ref": "ConfigManagementGitConfig", - "description": "Git repo configuration for the cluster." + "description": "Optional. Git repo configuration for the cluster." }, "metricsGcpServiceAccountEmail": { "deprecated": true, - "description": "The Email of the Google Cloud Service Account (GSA) used for exporting Config Sync metrics to Cloud Monitoring and Cloud Monarch when Workload Identity is enabled. The GSA should have the Monitoring Metric Writer (roles/monitoring.metricWriter) IAM role. The Kubernetes ServiceAccount `default` in the namespace `config-management-monitoring` should be bound to the GSA. Deprecated: If Workload Identity Federation for GKE is enabled, Google Cloud Service Account is no longer needed for exporting Config Sync metrics: https://cloud.google.com/kubernetes-engine/enterprise/config-sync/docs/how-to/monitor-config-sync-cloud-monitoring#custom-monitoring.", + "description": "Optional. The Email of the Google Cloud Service Account (GSA) used for exporting Config Sync metrics to Cloud Monitoring and Cloud Monarch when Workload Identity is enabled. The GSA should have the Monitoring Metric Writer (roles/monitoring.metricWriter) IAM role. The Kubernetes ServiceAccount `default` in the namespace `config-management-monitoring` should be bound to the GSA. Deprecated: If Workload Identity Federation for GKE is enabled, Google Cloud Service Account is no longer needed for exporting Config Sync metrics: https://cloud.google.com/kubernetes-engine/enterprise/config-sync/docs/how-to/monitor-config-sync-cloud-monitoring#custom-monitoring.", "type": "string" }, "oci": { "$ref": "ConfigManagementOciConfig", - "description": "OCI repo configuration for the cluster" + "description": "Optional. OCI repo configuration for the cluster" }, "preventDrift": { - "description": "Set to true to enable the Config Sync admission webhook to prevent drifts. If set to `false`, disables the Config Sync admission webhook and does not prevent drifts.", + "description": "Optional. Set to true to enable the Config Sync admission webhook to prevent drifts. If set to `false`, disables the Config Sync admission webhook and does not prevent drifts.", "type": "boolean" }, "sourceFormat": { - "description": "Specifies whether the Config Sync Repo is in \"hierarchical\" or \"unstructured\" mode.", + "description": "Optional. Specifies whether the Config Sync Repo is in \"hierarchical\" or \"unstructured\" mode.", "type": "string" }, "stopSyncing": { - "description": "Set to true to stop syncing configs for a single cluster. Default to false.", + "description": "Optional. Set to true to stop syncing configs for a single cluster. Default to false.", "type": "boolean" } }, @@ -2867,7 +2867,7 @@ "id": "ConfigManagementConfigSyncState", "properties": { "clusterLevelStopSyncingState": { - "description": "Whether syncing resources to the cluster is stopped at the cluster level.", + "description": "Output only. Whether syncing resources to the cluster is stopped at the cluster level.", "enum": [ "STOP_SYNCING_STATE_UNSPECIFIED", "NOT_STOPPED", @@ -2880,6 +2880,7 @@ "Some reconcilers stop syncing resources to the cluster, while others are still syncing.", "Syncing resources to the cluster is stopped at the cluster level." ], + "readOnly": true, "type": "string" }, "crCount": { @@ -2890,17 +2891,19 @@ }, "deploymentState": { "$ref": "ConfigManagementConfigSyncDeploymentState", - "description": "Information about the deployment of ConfigSync, including the version of the various Pods deployed" + "description": "Output only. Information about the deployment of ConfigSync, including the version of the various Pods deployed", + "readOnly": true }, "errors": { - "description": "Errors pertaining to the installation of Config Sync.", + "description": "Output only. Errors pertaining to the installation of Config Sync.", "items": { "$ref": "ConfigManagementConfigSyncError" }, + "readOnly": true, "type": "array" }, "reposyncCrd": { - "description": "The state of the Reposync CRD", + "description": "Output only. The state of the Reposync CRD", "enum": [ "CRD_STATE_UNSPECIFIED", "NOT_INSTALLED", @@ -2915,10 +2918,11 @@ "CRD is terminating (i.e., it has been deleted and is cleaning up)", "CRD is installing" ], + "readOnly": true, "type": "string" }, "rootsyncCrd": { - "description": "The state of the RootSync CRD", + "description": "Output only. The state of the RootSync CRD", "enum": [ "CRD_STATE_UNSPECIFIED", "NOT_INSTALLED", @@ -2933,10 +2937,11 @@ "CRD is terminating (i.e., it has been deleted and is cleaning up)", "CRD is installing" ], + "readOnly": true, "type": "string" }, "state": { - "description": "The state of CS This field summarizes the other fields in this message.", + "description": "Output only. The state of CS This field summarizes the other fields in this message.", "enum": [ "STATE_UNSPECIFIED", "CONFIG_SYNC_NOT_INSTALLED", @@ -2951,15 +2956,18 @@ "CS encounters errors.", "CS is installing or terminating." ], + "readOnly": true, "type": "string" }, "syncState": { "$ref": "ConfigManagementSyncState", - "description": "The state of ConfigSync's process to sync configs to a cluster" + "description": "Output only. The state of ConfigSync's process to sync configs to a cluster", + "readOnly": true }, "version": { "$ref": "ConfigManagementConfigSyncVersion", - "description": "The version of ConfigSync deployed" + "description": "Output only. The version of ConfigSync deployed", + "readOnly": true } }, "type": "object" @@ -3096,35 +3104,35 @@ "id": "ConfigManagementGitConfig", "properties": { "gcpServiceAccountEmail": { - "description": "The Google Cloud Service Account Email used for auth when secret_type is gcpServiceAccount.", + "description": "Optional. The Google Cloud Service Account Email used for auth when secret_type is gcpServiceAccount.", "type": "string" }, "httpsProxy": { - "description": "URL for the HTTPS proxy to be used when communicating with the Git repo.", + "description": "Optional. URL for the HTTPS proxy to be used when communicating with the Git repo.", "type": "string" }, "policyDir": { - "description": "The path within the Git repository that represents the top level of the repo to sync. Default: the root directory of the repository.", + "description": "Optional. The path within the Git repository that represents the top level of the repo to sync. Default: the root directory of the repository.", "type": "string" }, "secretType": { - "description": "Type of secret configured for access to the Git repo. Must be one of ssh, cookiefile, gcenode, token, gcpserviceaccount or none. The validation of this is case-sensitive. Required.", + "description": "Required. Type of secret configured for access to the Git repo. Must be one of ssh, cookiefile, gcenode, token, gcpserviceaccount or none. The validation of this is case-sensitive. Required.", "type": "string" }, "syncBranch": { - "description": "The branch of the repository to sync from. Default: master.", + "description": "Optional. The branch of the repository to sync from. Default: master.", "type": "string" }, "syncRepo": { - "description": "The URL of the Git repository to use as the source of truth.", + "description": "Optional. The URL of the Git repository to use as the source of truth.", "type": "string" }, "syncRev": { - "description": "Git revision (tag or hash) to check out. Default HEAD.", + "description": "Optional. Git revision (tag or hash) to check out. Default HEAD.", "type": "string" }, "syncWaitSecs": { - "description": "Period in seconds between consecutive syncs. Default: 15.", + "description": "Optional. Period in seconds between consecutive syncs. Default: 15.", "format": "int64", "type": "string" } @@ -3258,19 +3266,20 @@ "id": "ConfigManagementMembershipSpec", "properties": { "cluster": { - "description": "The user-specified cluster name used by Config Sync cluster-name-selector annotation or ClusterSelector, for applying configs to only a subset of clusters. Omit this field if the cluster's fleet membership name is used by Config Sync cluster-name-selector annotation or ClusterSelector. Set this field if a name different from the cluster's fleet membership name is used by Config Sync cluster-name-selector annotation or ClusterSelector.", + "description": "Optional. The user-specified cluster name used by Config Sync cluster-name-selector annotation or ClusterSelector, for applying configs to only a subset of clusters. Omit this field if the cluster's fleet membership name is used by Config Sync cluster-name-selector annotation or ClusterSelector. Set this field if a name different from the cluster's fleet membership name is used by Config Sync cluster-name-selector annotation or ClusterSelector.", "type": "string" }, "configSync": { "$ref": "ConfigManagementConfigSync", - "description": "Config Sync configuration for the cluster." + "description": "Optional. Config Sync configuration for the cluster." }, "hierarchyController": { "$ref": "ConfigManagementHierarchyControllerConfig", - "description": "Hierarchy Controller configuration for the cluster. Deprecated: Configuring Hierarchy Controller through the configmanagement feature is no longer recommended. Use https://github.com/kubernetes-sigs/hierarchical-namespaces instead." + "deprecated": true, + "description": "Optional. Hierarchy Controller configuration for the cluster. Deprecated: Configuring Hierarchy Controller through the configmanagement feature is no longer recommended. Use https://github.com/kubernetes-sigs/hierarchical-namespaces instead." }, "management": { - "description": "Enables automatic Feature management.", + "description": "Optional. Enables automatic Feature management.", "enum": [ "MANAGEMENT_UNSPECIFIED", "MANAGEMENT_AUTOMATIC", @@ -3285,10 +3294,11 @@ }, "policyController": { "$ref": "ConfigManagementPolicyController", - "description": "Policy Controller configuration for the cluster. Deprecated: Configuring Policy Controller through the configmanagement feature is no longer recommended. Use the policycontroller feature instead." + "deprecated": true, + "description": "Optional. Policy Controller configuration for the cluster. Deprecated: Configuring Policy Controller through the configmanagement feature is no longer recommended. Use the policycontroller feature instead." }, "version": { - "description": "Version of ACM installed.", + "description": "Optional. Version of ACM installed.", "type": "string" } }, @@ -3299,28 +3309,34 @@ "id": "ConfigManagementMembershipState", "properties": { "clusterName": { - "description": "This field is set to the `cluster_name` field of the Membership Spec if it is not empty. Otherwise, it is set to the cluster's fleet membership name.", + "description": "Output only. This field is set to the `cluster_name` field of the Membership Spec if it is not empty. Otherwise, it is set to the cluster's fleet membership name.", + "readOnly": true, "type": "string" }, "configSyncState": { "$ref": "ConfigManagementConfigSyncState", - "description": "Current sync status" + "description": "Output only. Current sync status", + "readOnly": true }, "hierarchyControllerState": { "$ref": "ConfigManagementHierarchyControllerState", - "description": "Hierarchy Controller status" + "description": "Output only. Hierarchy Controller status", + "readOnly": true }, "membershipSpec": { "$ref": "ConfigManagementMembershipSpec", - "description": "Membership configuration in the cluster. This represents the actual state in the cluster, while the MembershipSpec in the FeatureSpec represents the intended state" + "description": "Output only. Membership configuration in the cluster. This represents the actual state in the cluster, while the MembershipSpec in the FeatureSpec represents the intended state", + "readOnly": true }, "operatorState": { "$ref": "ConfigManagementOperatorState", - "description": "Current install status of ACM's Operator" + "description": "Output only. Current install status of ACM's Operator", + "readOnly": true }, "policyControllerState": { "$ref": "ConfigManagementPolicyControllerState", - "description": "PolicyController status" + "description": "Output only. PolicyController status", + "readOnly": true } }, "type": "object" @@ -3330,23 +3346,23 @@ "id": "ConfigManagementOciConfig", "properties": { "gcpServiceAccountEmail": { - "description": "The Google Cloud Service Account Email used for auth when secret_type is gcpServiceAccount.", + "description": "Optional. The Google Cloud Service Account Email used for auth when secret_type is gcpServiceAccount.", "type": "string" }, "policyDir": { - "description": "The absolute path of the directory that contains the local resources. Default: the root directory of the image.", + "description": "Optional. The absolute path of the directory that contains the local resources. Default: the root directory of the image.", "type": "string" }, "secretType": { - "description": "Type of secret configured for access to the Git repo.", + "description": "Optional. Type of secret configured for access to the Git repo.", "type": "string" }, "syncRepo": { - "description": "The OCI image repository URL for the package to sync from. e.g. `LOCATION-docker.pkg.dev/PROJECT_ID/REPOSITORY_NAME/PACKAGE_NAME`.", + "description": "Optional. The OCI image repository URL for the package to sync from. e.g. `LOCATION-docker.pkg.dev/PROJECT_ID/REPOSITORY_NAME/PACKAGE_NAME`.", "type": "string" }, "syncWaitSecs": { - "description": "Period in seconds between consecutive syncs. Default: 15.", + "description": "Optional. Period in seconds between consecutive syncs. Default: 15.", "format": "int64", "type": "string" } diff --git a/gkehub/v1/gkehub-gen.go b/gkehub/v1/gkehub-gen.go index c431a42eb0..bc23dbfce6 100644 --- a/gkehub/v1/gkehub-gen.go +++ b/gkehub/v1/gkehub-gen.go @@ -1125,38 +1125,39 @@ func (s ComplianceStandard) MarshalJSON() ([]byte, error) { // ConfigManagementConfigSync: Configuration for Config Sync type ConfigManagementConfigSync struct { - // AllowVerticalScale: Set to true to allow the vertical scaling. Defaults to - // false which disallows vertical scaling. This field is deprecated. + // AllowVerticalScale: Optional. Set to true to allow the vertical scaling. + // Defaults to false which disallows vertical scaling. This field is + // deprecated. AllowVerticalScale bool `json:"allowVerticalScale,omitempty"` - // Enabled: Enables the installation of ConfigSync. If set to true, ConfigSync - // resources will be created and the other ConfigSync fields will be applied if - // exist. If set to false, all other ConfigSync fields will be ignored, - // ConfigSync resources will be deleted. If omitted, ConfigSync resources will - // be managed depends on the presence of the git or oci field. + // Enabled: Optional. Enables the installation of ConfigSync. If set to true, + // ConfigSync resources will be created and the other ConfigSync fields will be + // applied if exist. If set to false, all other ConfigSync fields will be + // ignored, ConfigSync resources will be deleted. If omitted, ConfigSync + // resources will be managed depends on the presence of the git or oci field. Enabled bool `json:"enabled,omitempty"` - // Git: Git repo configuration for the cluster. + // Git: Optional. Git repo configuration for the cluster. Git *ConfigManagementGitConfig `json:"git,omitempty"` - // MetricsGcpServiceAccountEmail: The Email of the Google Cloud Service Account - // (GSA) used for exporting Config Sync metrics to Cloud Monitoring and Cloud - // Monarch when Workload Identity is enabled. The GSA should have the - // Monitoring Metric Writer (roles/monitoring.metricWriter) IAM role. The - // Kubernetes ServiceAccount `default` in the namespace + // MetricsGcpServiceAccountEmail: Optional. The Email of the Google Cloud + // Service Account (GSA) used for exporting Config Sync metrics to Cloud + // Monitoring and Cloud Monarch when Workload Identity is enabled. The GSA + // should have the Monitoring Metric Writer (roles/monitoring.metricWriter) IAM + // role. The Kubernetes ServiceAccount `default` in the namespace // `config-management-monitoring` should be bound to the GSA. Deprecated: If // Workload Identity Federation for GKE is enabled, Google Cloud Service // Account is no longer needed for exporting Config Sync metrics: // https://cloud.google.com/kubernetes-engine/enterprise/config-sync/docs/how-to/monitor-config-sync-cloud-monitoring#custom-monitoring. MetricsGcpServiceAccountEmail string `json:"metricsGcpServiceAccountEmail,omitempty"` - // Oci: OCI repo configuration for the cluster + // Oci: Optional. OCI repo configuration for the cluster Oci *ConfigManagementOciConfig `json:"oci,omitempty"` - // PreventDrift: Set to true to enable the Config Sync admission webhook to - // prevent drifts. If set to `false`, disables the Config Sync admission - // webhook and does not prevent drifts. + // PreventDrift: Optional. Set to true to enable the Config Sync admission + // webhook to prevent drifts. If set to `false`, disables the Config Sync + // admission webhook and does not prevent drifts. PreventDrift bool `json:"preventDrift,omitempty"` - // SourceFormat: Specifies whether the Config Sync Repo is in "hierarchical" or - // "unstructured" mode. + // SourceFormat: Optional. Specifies whether the Config Sync Repo is in + // "hierarchical" or "unstructured" mode. SourceFormat string `json:"sourceFormat,omitempty"` - // StopSyncing: Set to true to stop syncing configs for a single cluster. - // Default to false. + // StopSyncing: Optional. Set to true to stop syncing configs for a single + // cluster. Default to false. StopSyncing bool `json:"stopSyncing,omitempty"` // ForceSendFields is a list of field names (e.g. "AllowVerticalScale") to // unconditionally include in API requests. By default, fields with empty or @@ -1304,8 +1305,8 @@ func (s ConfigManagementConfigSyncError) MarshalJSON() ([]byte, error) { // ConfigManagementConfigSyncState: State information for ConfigSync type ConfigManagementConfigSyncState struct { - // ClusterLevelStopSyncingState: Whether syncing resources to the cluster is - // stopped at the cluster level. + // ClusterLevelStopSyncingState: Output only. Whether syncing resources to the + // cluster is stopped at the cluster level. // // Possible values: // "STOP_SYNCING_STATE_UNSPECIFIED" - State cannot be determined @@ -1319,12 +1320,12 @@ type ConfigManagementConfigSyncState struct { // CrCount: Output only. The number of RootSync and RepoSync CRs in the // cluster. CrCount int64 `json:"crCount,omitempty"` - // DeploymentState: Information about the deployment of ConfigSync, including - // the version of the various Pods deployed + // DeploymentState: Output only. Information about the deployment of + // ConfigSync, including the version of the various Pods deployed DeploymentState *ConfigManagementConfigSyncDeploymentState `json:"deploymentState,omitempty"` - // Errors: Errors pertaining to the installation of Config Sync. + // Errors: Output only. Errors pertaining to the installation of Config Sync. Errors []*ConfigManagementConfigSyncError `json:"errors,omitempty"` - // ReposyncCrd: The state of the Reposync CRD + // ReposyncCrd: Output only. The state of the Reposync CRD // // Possible values: // "CRD_STATE_UNSPECIFIED" - CRD's state cannot be determined @@ -1334,7 +1335,7 @@ type ConfigManagementConfigSyncState struct { // cleaning up) // "INSTALLING" - CRD is installing ReposyncCrd string `json:"reposyncCrd,omitempty"` - // RootsyncCrd: The state of the RootSync CRD + // RootsyncCrd: Output only. The state of the RootSync CRD // // Possible values: // "CRD_STATE_UNSPECIFIED" - CRD's state cannot be determined @@ -1344,8 +1345,8 @@ type ConfigManagementConfigSyncState struct { // cleaning up) // "INSTALLING" - CRD is installing RootsyncCrd string `json:"rootsyncCrd,omitempty"` - // State: The state of CS This field summarizes the other fields in this - // message. + // State: Output only. The state of CS This field summarizes the other fields + // in this message. // // Possible values: // "STATE_UNSPECIFIED" - CS's state cannot be determined. @@ -1355,9 +1356,10 @@ type ConfigManagementConfigSyncState struct { // "CONFIG_SYNC_ERROR" - CS encounters errors. // "CONFIG_SYNC_PENDING" - CS is installing or terminating. State string `json:"state,omitempty"` - // SyncState: The state of ConfigSync's process to sync configs to a cluster + // SyncState: Output only. The state of ConfigSync's process to sync configs to + // a cluster SyncState *ConfigManagementSyncState `json:"syncState,omitempty"` - // Version: The version of ConfigSync deployed + // Version: Output only. The version of ConfigSync deployed Version *ConfigManagementConfigSyncVersion `json:"version,omitempty"` // ForceSendFields is a list of field names (e.g. // "ClusterLevelStopSyncingState") to unconditionally include in API requests. @@ -1498,26 +1500,30 @@ func (s ConfigManagementGatekeeperDeploymentState) MarshalJSON() ([]byte, error) // ConfigManagementGitConfig: Git repo configuration for a single cluster. type ConfigManagementGitConfig struct { - // GcpServiceAccountEmail: The Google Cloud Service Account Email used for auth - // when secret_type is gcpServiceAccount. + // GcpServiceAccountEmail: Optional. The Google Cloud Service Account Email + // used for auth when secret_type is gcpServiceAccount. GcpServiceAccountEmail string `json:"gcpServiceAccountEmail,omitempty"` - // HttpsProxy: URL for the HTTPS proxy to be used when communicating with the - // Git repo. + // HttpsProxy: Optional. URL for the HTTPS proxy to be used when communicating + // with the Git repo. HttpsProxy string `json:"httpsProxy,omitempty"` - // PolicyDir: The path within the Git repository that represents the top level - // of the repo to sync. Default: the root directory of the repository. + // PolicyDir: Optional. The path within the Git repository that represents the + // top level of the repo to sync. Default: the root directory of the + // repository. PolicyDir string `json:"policyDir,omitempty"` - // SecretType: Type of secret configured for access to the Git repo. Must be - // one of ssh, cookiefile, gcenode, token, gcpserviceaccount or none. The - // validation of this is case-sensitive. Required. + // SecretType: Required. Type of secret configured for access to the Git repo. + // Must be one of ssh, cookiefile, gcenode, token, gcpserviceaccount or none. + // The validation of this is case-sensitive. Required. SecretType string `json:"secretType,omitempty"` - // SyncBranch: The branch of the repository to sync from. Default: master. + // SyncBranch: Optional. The branch of the repository to sync from. Default: + // master. SyncBranch string `json:"syncBranch,omitempty"` - // SyncRepo: The URL of the Git repository to use as the source of truth. + // SyncRepo: Optional. The URL of the Git repository to use as the source of + // truth. SyncRepo string `json:"syncRepo,omitempty"` - // SyncRev: Git revision (tag or hash) to check out. Default HEAD. + // SyncRev: Optional. Git revision (tag or hash) to check out. Default HEAD. SyncRev string `json:"syncRev,omitempty"` - // SyncWaitSecs: Period in seconds between consecutive syncs. Default: 15. + // SyncWaitSecs: Optional. Period in seconds between consecutive syncs. + // Default: 15. SyncWaitSecs int64 `json:"syncWaitSecs,omitempty,string"` // ForceSendFields is a list of field names (e.g. "GcpServiceAccountEmail") to // unconditionally include in API requests. By default, fields with empty or @@ -1705,7 +1711,7 @@ func (s ConfigManagementInstallError) MarshalJSON() ([]byte, error) { // ConfigManagementMembershipSpec: **Anthos Config Management**: Configuration // for a single cluster. Intended to parallel the ConfigManagement CR. type ConfigManagementMembershipSpec struct { - // Cluster: The user-specified cluster name used by Config Sync + // Cluster: Optional. The user-specified cluster name used by Config Sync // cluster-name-selector annotation or ClusterSelector, for applying configs to // only a subset of clusters. Omit this field if the cluster's fleet membership // name is used by Config Sync cluster-name-selector annotation or @@ -1713,14 +1719,14 @@ type ConfigManagementMembershipSpec struct { // membership name is used by Config Sync cluster-name-selector annotation or // ClusterSelector. Cluster string `json:"cluster,omitempty"` - // ConfigSync: Config Sync configuration for the cluster. + // ConfigSync: Optional. Config Sync configuration for the cluster. ConfigSync *ConfigManagementConfigSync `json:"configSync,omitempty"` - // HierarchyController: Hierarchy Controller configuration for the cluster. - // Deprecated: Configuring Hierarchy Controller through the configmanagement - // feature is no longer recommended. Use + // HierarchyController: Optional. Hierarchy Controller configuration for the + // cluster. Deprecated: Configuring Hierarchy Controller through the + // configmanagement feature is no longer recommended. Use // https://github.com/kubernetes-sigs/hierarchical-namespaces instead. HierarchyController *ConfigManagementHierarchyControllerConfig `json:"hierarchyController,omitempty"` - // Management: Enables automatic Feature management. + // Management: Optional. Enables automatic Feature management. // // Possible values: // "MANAGEMENT_UNSPECIFIED" - Unspecified @@ -1728,11 +1734,11 @@ type ConfigManagementMembershipSpec struct { // "MANAGEMENT_MANUAL" - User will manually manage the Feature for the // cluster. Management string `json:"management,omitempty"` - // PolicyController: Policy Controller configuration for the cluster. + // PolicyController: Optional. Policy Controller configuration for the cluster. // Deprecated: Configuring Policy Controller through the configmanagement // feature is no longer recommended. Use the policycontroller feature instead. PolicyController *ConfigManagementPolicyController `json:"policyController,omitempty"` - // Version: Version of ACM installed. + // Version: Optional. Version of ACM installed. Version string `json:"version,omitempty"` // ForceSendFields is a list of field names (e.g. "Cluster") to unconditionally // include in API requests. By default, fields with empty or default values are @@ -1755,21 +1761,21 @@ func (s ConfigManagementMembershipSpec) MarshalJSON() ([]byte, error) { // ConfigManagementMembershipState: **Anthos Config Management**: State for a // single cluster. type ConfigManagementMembershipState struct { - // ClusterName: This field is set to the `cluster_name` field of the Membership - // Spec if it is not empty. Otherwise, it is set to the cluster's fleet - // membership name. + // ClusterName: Output only. This field is set to the `cluster_name` field of + // the Membership Spec if it is not empty. Otherwise, it is set to the + // cluster's fleet membership name. ClusterName string `json:"clusterName,omitempty"` - // ConfigSyncState: Current sync status + // ConfigSyncState: Output only. Current sync status ConfigSyncState *ConfigManagementConfigSyncState `json:"configSyncState,omitempty"` - // HierarchyControllerState: Hierarchy Controller status + // HierarchyControllerState: Output only. Hierarchy Controller status HierarchyControllerState *ConfigManagementHierarchyControllerState `json:"hierarchyControllerState,omitempty"` - // MembershipSpec: Membership configuration in the cluster. This represents the - // actual state in the cluster, while the MembershipSpec in the FeatureSpec - // represents the intended state + // MembershipSpec: Output only. Membership configuration in the cluster. This + // represents the actual state in the cluster, while the MembershipSpec in the + // FeatureSpec represents the intended state MembershipSpec *ConfigManagementMembershipSpec `json:"membershipSpec,omitempty"` - // OperatorState: Current install status of ACM's Operator + // OperatorState: Output only. Current install status of ACM's Operator OperatorState *ConfigManagementOperatorState `json:"operatorState,omitempty"` - // PolicyControllerState: PolicyController status + // PolicyControllerState: Output only. PolicyController status PolicyControllerState *ConfigManagementPolicyControllerState `json:"policyControllerState,omitempty"` // ForceSendFields is a list of field names (e.g. "ClusterName") to // unconditionally include in API requests. By default, fields with empty or @@ -1791,18 +1797,20 @@ func (s ConfigManagementMembershipState) MarshalJSON() ([]byte, error) { // ConfigManagementOciConfig: OCI repo configuration for a single cluster type ConfigManagementOciConfig struct { - // GcpServiceAccountEmail: The Google Cloud Service Account Email used for auth - // when secret_type is gcpServiceAccount. + // GcpServiceAccountEmail: Optional. The Google Cloud Service Account Email + // used for auth when secret_type is gcpServiceAccount. GcpServiceAccountEmail string `json:"gcpServiceAccountEmail,omitempty"` - // PolicyDir: The absolute path of the directory that contains the local - // resources. Default: the root directory of the image. + // PolicyDir: Optional. The absolute path of the directory that contains the + // local resources. Default: the root directory of the image. PolicyDir string `json:"policyDir,omitempty"` - // SecretType: Type of secret configured for access to the Git repo. + // SecretType: Optional. Type of secret configured for access to the Git repo. SecretType string `json:"secretType,omitempty"` - // SyncRepo: The OCI image repository URL for the package to sync from. e.g. + // SyncRepo: Optional. The OCI image repository URL for the package to sync + // from. e.g. // `LOCATION-docker.pkg.dev/PROJECT_ID/REPOSITORY_NAME/PACKAGE_NAME`. SyncRepo string `json:"syncRepo,omitempty"` - // SyncWaitSecs: Period in seconds between consecutive syncs. Default: 15. + // SyncWaitSecs: Optional. Period in seconds between consecutive syncs. + // Default: 15. SyncWaitSecs int64 `json:"syncWaitSecs,omitempty,string"` // ForceSendFields is a list of field names (e.g. "GcpServiceAccountEmail") to // unconditionally include in API requests. By default, fields with empty or diff --git a/gkehub/v2beta/gkehub-api.json b/gkehub/v2beta/gkehub-api.json index 125eccde7f..74360def6b 100644 --- a/gkehub/v2beta/gkehub-api.json +++ b/gkehub/v2beta/gkehub-api.json @@ -471,7 +471,7 @@ } } }, - "revision": "20241206", + "revision": "20250103", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "AppDevExperienceState": { @@ -702,36 +702,36 @@ "properties": { "allowVerticalScale": { "deprecated": true, - "description": "Set to true to allow the vertical scaling. Defaults to false which disallows vertical scaling. This field is deprecated.", + "description": "Optional. Set to true to allow the vertical scaling. Defaults to false which disallows vertical scaling. This field is deprecated.", "type": "boolean" }, "enabled": { - "description": "Enables the installation of ConfigSync. If set to true, ConfigSync resources will be created and the other ConfigSync fields will be applied if exist. If set to false, all other ConfigSync fields will be ignored, ConfigSync resources will be deleted. If omitted, ConfigSync resources will be managed depends on the presence of the git or oci field.", + "description": "Optional. Enables the installation of ConfigSync. If set to true, ConfigSync resources will be created and the other ConfigSync fields will be applied if exist. If set to false, all other ConfigSync fields will be ignored, ConfigSync resources will be deleted. If omitted, ConfigSync resources will be managed depends on the presence of the git or oci field.", "type": "boolean" }, "git": { "$ref": "ConfigManagementGitConfig", - "description": "Git repo configuration for the cluster." + "description": "Optional. Git repo configuration for the cluster." }, "metricsGcpServiceAccountEmail": { "deprecated": true, - "description": "The Email of the Google Cloud Service Account (GSA) used for exporting Config Sync metrics to Cloud Monitoring and Cloud Monarch when Workload Identity is enabled. The GSA should have the Monitoring Metric Writer (roles/monitoring.metricWriter) IAM role. The Kubernetes ServiceAccount `default` in the namespace `config-management-monitoring` should be bound to the GSA. Deprecated: If Workload Identity Federation for GKE is enabled, Google Cloud Service Account is no longer needed for exporting Config Sync metrics: https://cloud.google.com/kubernetes-engine/enterprise/config-sync/docs/how-to/monitor-config-sync-cloud-monitoring#custom-monitoring.", + "description": "Optional. The Email of the Google Cloud Service Account (GSA) used for exporting Config Sync metrics to Cloud Monitoring and Cloud Monarch when Workload Identity is enabled. The GSA should have the Monitoring Metric Writer (roles/monitoring.metricWriter) IAM role. The Kubernetes ServiceAccount `default` in the namespace `config-management-monitoring` should be bound to the GSA. Deprecated: If Workload Identity Federation for GKE is enabled, Google Cloud Service Account is no longer needed for exporting Config Sync metrics: https://cloud.google.com/kubernetes-engine/enterprise/config-sync/docs/how-to/monitor-config-sync-cloud-monitoring#custom-monitoring.", "type": "string" }, "oci": { "$ref": "ConfigManagementOciConfig", - "description": "OCI repo configuration for the cluster." + "description": "Optional. OCI repo configuration for the cluster." }, "preventDrift": { - "description": "Set to true to enable the Config Sync admission webhook to prevent drifts. If set to `false`, disables the Config Sync admission webhook and does not prevent drifts.", + "description": "Optional. Set to true to enable the Config Sync admission webhook to prevent drifts. If set to `false`, disables the Config Sync admission webhook and does not prevent drifts.", "type": "boolean" }, "sourceFormat": { - "description": "Specifies whether the Config Sync Repo is in \"hierarchical\" or \"unstructured\" mode.", + "description": "Optional. Specifies whether the Config Sync Repo is in \"hierarchical\" or \"unstructured\" mode.", "type": "string" }, "stopSyncing": { - "description": "Set to true to stop syncing configs for a single cluster. Default to false.", + "description": "Optional. Set to true to stop syncing configs for a single cluster. Default to false.", "type": "boolean" } }, @@ -922,7 +922,7 @@ "id": "ConfigManagementConfigSyncState", "properties": { "clusterLevelStopSyncingState": { - "description": "Whether syncing resources to the cluster is stopped at the cluster level.", + "description": "Output only. Whether syncing resources to the cluster is stopped at the cluster level.", "enum": [ "STOP_SYNCING_STATE_UNSPECIFIED", "NOT_STOPPED", @@ -935,6 +935,7 @@ "Some reconcilers stop syncing resources to the cluster, while others are still syncing.", "Syncing resources to the cluster is stopped at the cluster level." ], + "readOnly": true, "type": "string" }, "crCount": { @@ -945,17 +946,19 @@ }, "deploymentState": { "$ref": "ConfigManagementConfigSyncDeploymentState", - "description": "Information about the deployment of ConfigSync, including the version. of the various Pods deployed" + "description": "Output only. Information about the deployment of ConfigSync, including the version. of the various Pods deployed", + "readOnly": true }, "errors": { - "description": "Errors pertaining to the installation of Config Sync.", + "description": "Output only. Errors pertaining to the installation of Config Sync.", "items": { "$ref": "ConfigManagementConfigSyncError" }, + "readOnly": true, "type": "array" }, "reposyncCrd": { - "description": "The state of the Reposync CRD", + "description": "Output only. The state of the Reposync CRD", "enum": [ "CRD_STATE_UNSPECIFIED", "NOT_INSTALLED", @@ -970,10 +973,11 @@ "CRD is terminating (i.e., it has been deleted and is cleaning up)", "CRD is installing" ], + "readOnly": true, "type": "string" }, "rootsyncCrd": { - "description": "The state of the RootSync CRD", + "description": "Output only. The state of the RootSync CRD", "enum": [ "CRD_STATE_UNSPECIFIED", "NOT_INSTALLED", @@ -988,10 +992,11 @@ "CRD is terminating (i.e., it has been deleted and is cleaning up)", "CRD is installing" ], + "readOnly": true, "type": "string" }, "state": { - "description": "The state of CS This field summarizes the other fields in this message.", + "description": "Output only. The state of CS This field summarizes the other fields in this message.", "enum": [ "STATE_UNSPECIFIED", "CONFIG_SYNC_NOT_INSTALLED", @@ -1006,15 +1011,18 @@ "CS encounters errors.", "CS is installing or terminating." ], + "readOnly": true, "type": "string" }, "syncState": { "$ref": "ConfigManagementSyncState", - "description": "The state of ConfigSync's process to sync configs to a cluster." + "description": "Output only. The state of ConfigSync's process to sync configs to a cluster.", + "readOnly": true }, "version": { "$ref": "ConfigManagementConfigSyncVersion", - "description": "The version of ConfigSync deployed." + "description": "Output only. The version of ConfigSync deployed.", + "readOnly": true } }, "type": "object" @@ -1151,35 +1159,35 @@ "id": "ConfigManagementGitConfig", "properties": { "gcpServiceAccountEmail": { - "description": "The Google Cloud Service Account Email used for auth when secret_type is gcpServiceAccount.", + "description": "Optional. The Google Cloud Service Account Email used for auth when secret_type is gcpServiceAccount.", "type": "string" }, "httpsProxy": { - "description": "URL for the HTTPS proxy to be used when communicating with the Git repo.", + "description": "Optional. URL for the HTTPS proxy to be used when communicating with the Git repo.", "type": "string" }, "policyDir": { - "description": "The path within the Git repository that represents the top level of the repo to sync. Default: the root directory of the repository.", + "description": "Optional. The path within the Git repository that represents the top level of the repo to sync. Default: the root directory of the repository.", "type": "string" }, "secretType": { - "description": "Type of secret configured for access to the Git repo. Must be one of ssh, cookiefile, gcenode, token, gcpserviceaccount or none. The validation of this is case-sensitive. Required.", + "description": "Required. Type of secret configured for access to the Git repo. Must be one of ssh, cookiefile, gcenode, token, gcpserviceaccount or none. The validation of this is case-sensitive. Required.", "type": "string" }, "syncBranch": { - "description": "The branch of the repository to sync from. Default: master.", + "description": "Optional. The branch of the repository to sync from. Default: master.", "type": "string" }, "syncRepo": { - "description": "The URL of the Git repository to use as the source of truth.", + "description": "Optional. The URL of the Git repository to use as the source of truth.", "type": "string" }, "syncRev": { - "description": "Git revision (tag or hash) to check out. Default HEAD.", + "description": "Optional. Git revision (tag or hash) to check out. Default HEAD.", "type": "string" }, "syncWaitSecs": { - "description": "Period in seconds between consecutive syncs. Default: 15.", + "description": "Optional. Period in seconds between consecutive syncs. Default: 15.", "format": "int64", "type": "string" } @@ -1313,23 +1321,23 @@ "id": "ConfigManagementOciConfig", "properties": { "gcpServiceAccountEmail": { - "description": "The Google Cloud Service Account Email used for auth when secret_type is gcpServiceAccount.", + "description": "Optional. The Google Cloud Service Account Email used for auth when secret_type is gcpServiceAccount.", "type": "string" }, "policyDir": { - "description": "The absolute path of the directory that contains the local resources. Default: the root directory of the image.", + "description": "Optional. The absolute path of the directory that contains the local resources. Default: the root directory of the image.", "type": "string" }, "secretType": { - "description": "Type of secret configured for access to the Git repo.", + "description": "Optional. Type of secret configured for access to the Git repo.", "type": "string" }, "syncRepo": { - "description": "The OCI image repository URL for the package to sync from. e.g. `LOCATION-docker.pkg.dev/PROJECT_ID/REPOSITORY_NAME/PACKAGE_NAME`.", + "description": "Optional. The OCI image repository URL for the package to sync from. e.g. `LOCATION-docker.pkg.dev/PROJECT_ID/REPOSITORY_NAME/PACKAGE_NAME`.", "type": "string" }, "syncWaitSecs": { - "description": "Period in seconds between consecutive syncs. Default: 15.", + "description": "Optional. Period in seconds between consecutive syncs. Default: 15.", "format": "int64", "type": "string" } @@ -1508,22 +1516,23 @@ "binauthz": { "$ref": "ConfigManagementBinauthzConfig", "deprecated": true, - "description": "Binauthz conifguration for the cluster. Deprecated: This field will be ignored and should not be set." + "description": "Optional. Binauthz conifguration for the cluster. Deprecated: This field will be ignored and should not be set." }, "cluster": { - "description": "The user-specified cluster name used by Config Sync cluster-name-selector annotation or ClusterSelector, for applying configs to only a subset of clusters. Omit this field if the cluster's fleet membership name is used by Config Sync cluster-name-selector annotation or ClusterSelector. Set this field if a name different from the cluster's fleet membership name is used by Config Sync cluster-name-selector annotation or ClusterSelector.", + "description": "Optional. The user-specified cluster name used by Config Sync cluster-name-selector annotation or ClusterSelector, for applying configs to only a subset of clusters. Omit this field if the cluster's fleet membership name is used by Config Sync cluster-name-selector annotation or ClusterSelector. Set this field if a name different from the cluster's fleet membership name is used by Config Sync cluster-name-selector annotation or ClusterSelector.", "type": "string" }, "configSync": { "$ref": "ConfigManagementConfigSync", - "description": "Config Sync configuration for the cluster." + "description": "Optional. Config Sync configuration for the cluster." }, "hierarchyController": { "$ref": "ConfigManagementHierarchyControllerConfig", - "description": "Hierarchy Controller configuration for the cluster. Deprecated: Configuring Hierarchy Controller through the configmanagement feature is no longer recommended. Use https://github.com/kubernetes-sigs/hierarchical-namespaces instead." + "deprecated": true, + "description": "Optional. Hierarchy Controller configuration for the cluster. Deprecated: Configuring Hierarchy Controller through the configmanagement feature is no longer recommended. Use https://github.com/kubernetes-sigs/hierarchical-namespaces instead." }, "management": { - "description": "Enables automatic Feature management.", + "description": "Optional. Enables automatic Feature management.", "enum": [ "MANAGEMENT_UNSPECIFIED", "MANAGEMENT_AUTOMATIC", @@ -1538,10 +1547,11 @@ }, "policyController": { "$ref": "ConfigManagementPolicyController", - "description": "Policy Controller configuration for the cluster. Deprecated: Configuring Policy Controller through the configmanagement feature is no longer recommended. Use the policycontroller feature instead." + "deprecated": true, + "description": "Optional. Policy Controller configuration for the cluster. Deprecated: Configuring Policy Controller through the configmanagement feature is no longer recommended. Use the policycontroller feature instead." }, "version": { - "description": "Version of ACM installed.", + "description": "Optional. Version of ACM installed.", "type": "string" } }, @@ -1553,31 +1563,38 @@ "properties": { "binauthzState": { "$ref": "ConfigManagementBinauthzState", - "description": "Binauthz status." + "description": "Output only. Binauthz status.", + "readOnly": true }, "clusterName": { - "description": "This field is set to the `cluster_name` field of the Membership Spec if it is not empty. Otherwise, it is set to the cluster's fleet membership name.", + "description": "Output only. This field is set to the `cluster_name` field of the Membership Spec if it is not empty. Otherwise, it is set to the cluster's fleet membership name.", + "readOnly": true, "type": "string" }, "configSyncState": { "$ref": "ConfigManagementConfigSyncState", - "description": "Current sync status." + "description": "Output only. Current sync status.", + "readOnly": true }, "hierarchyControllerState": { "$ref": "ConfigManagementHierarchyControllerState", - "description": "Hierarchy Controller status." + "description": "Output only. Hierarchy Controller status.", + "readOnly": true }, "membershipSpec": { "$ref": "ConfigManagementSpec", - "description": "Membership configuration in the cluster. This represents the actual state in the cluster, while the MembershipSpec in the FeatureSpec represents the intended state." + "description": "Output only. Membership configuration in the cluster. This represents the actual state in the cluster, while the MembershipSpec in the FeatureSpec represents the intended state.", + "readOnly": true }, "operatorState": { "$ref": "ConfigManagementOperatorState", - "description": "Current install status of ACM's Operator." + "description": "Output only. Current install status of ACM's Operator.", + "readOnly": true }, "policyControllerState": { "$ref": "ConfigManagementPolicyControllerState", - "description": "PolicyController status." + "description": "Output only. PolicyController status.", + "readOnly": true } }, "type": "object" diff --git a/gkehub/v2beta/gkehub-gen.go b/gkehub/v2beta/gkehub-gen.go index a3ddb13859..7c7e41c6af 100644 --- a/gkehub/v2beta/gkehub-gen.go +++ b/gkehub/v2beta/gkehub-gen.go @@ -529,38 +529,39 @@ func (s ConfigManagementBinauthzVersion) MarshalJSON() ([]byte, error) { // ConfigManagementConfigSync: Configuration for Config Sync type ConfigManagementConfigSync struct { - // AllowVerticalScale: Set to true to allow the vertical scaling. Defaults to - // false which disallows vertical scaling. This field is deprecated. + // AllowVerticalScale: Optional. Set to true to allow the vertical scaling. + // Defaults to false which disallows vertical scaling. This field is + // deprecated. AllowVerticalScale bool `json:"allowVerticalScale,omitempty"` - // Enabled: Enables the installation of ConfigSync. If set to true, ConfigSync - // resources will be created and the other ConfigSync fields will be applied if - // exist. If set to false, all other ConfigSync fields will be ignored, - // ConfigSync resources will be deleted. If omitted, ConfigSync resources will - // be managed depends on the presence of the git or oci field. + // Enabled: Optional. Enables the installation of ConfigSync. If set to true, + // ConfigSync resources will be created and the other ConfigSync fields will be + // applied if exist. If set to false, all other ConfigSync fields will be + // ignored, ConfigSync resources will be deleted. If omitted, ConfigSync + // resources will be managed depends on the presence of the git or oci field. Enabled bool `json:"enabled,omitempty"` - // Git: Git repo configuration for the cluster. + // Git: Optional. Git repo configuration for the cluster. Git *ConfigManagementGitConfig `json:"git,omitempty"` - // MetricsGcpServiceAccountEmail: The Email of the Google Cloud Service Account - // (GSA) used for exporting Config Sync metrics to Cloud Monitoring and Cloud - // Monarch when Workload Identity is enabled. The GSA should have the - // Monitoring Metric Writer (roles/monitoring.metricWriter) IAM role. The - // Kubernetes ServiceAccount `default` in the namespace + // MetricsGcpServiceAccountEmail: Optional. The Email of the Google Cloud + // Service Account (GSA) used for exporting Config Sync metrics to Cloud + // Monitoring and Cloud Monarch when Workload Identity is enabled. The GSA + // should have the Monitoring Metric Writer (roles/monitoring.metricWriter) IAM + // role. The Kubernetes ServiceAccount `default` in the namespace // `config-management-monitoring` should be bound to the GSA. Deprecated: If // Workload Identity Federation for GKE is enabled, Google Cloud Service // Account is no longer needed for exporting Config Sync metrics: // https://cloud.google.com/kubernetes-engine/enterprise/config-sync/docs/how-to/monitor-config-sync-cloud-monitoring#custom-monitoring. MetricsGcpServiceAccountEmail string `json:"metricsGcpServiceAccountEmail,omitempty"` - // Oci: OCI repo configuration for the cluster. + // Oci: Optional. OCI repo configuration for the cluster. Oci *ConfigManagementOciConfig `json:"oci,omitempty"` - // PreventDrift: Set to true to enable the Config Sync admission webhook to - // prevent drifts. If set to `false`, disables the Config Sync admission - // webhook and does not prevent drifts. + // PreventDrift: Optional. Set to true to enable the Config Sync admission + // webhook to prevent drifts. If set to `false`, disables the Config Sync + // admission webhook and does not prevent drifts. PreventDrift bool `json:"preventDrift,omitempty"` - // SourceFormat: Specifies whether the Config Sync Repo is in "hierarchical" or - // "unstructured" mode. + // SourceFormat: Optional. Specifies whether the Config Sync Repo is in + // "hierarchical" or "unstructured" mode. SourceFormat string `json:"sourceFormat,omitempty"` - // StopSyncing: Set to true to stop syncing configs for a single cluster. - // Default to false. + // StopSyncing: Optional. Set to true to stop syncing configs for a single + // cluster. Default to false. StopSyncing bool `json:"stopSyncing,omitempty"` // ForceSendFields is a list of field names (e.g. "AllowVerticalScale") to // unconditionally include in API requests. By default, fields with empty or @@ -708,8 +709,8 @@ func (s ConfigManagementConfigSyncError) MarshalJSON() ([]byte, error) { // ConfigManagementConfigSyncState: State information for ConfigSync. type ConfigManagementConfigSyncState struct { - // ClusterLevelStopSyncingState: Whether syncing resources to the cluster is - // stopped at the cluster level. + // ClusterLevelStopSyncingState: Output only. Whether syncing resources to the + // cluster is stopped at the cluster level. // // Possible values: // "STOP_SYNCING_STATE_UNSPECIFIED" - State cannot be determined @@ -723,12 +724,12 @@ type ConfigManagementConfigSyncState struct { // CrCount: Output only. The number of RootSync and RepoSync CRs in the // cluster. CrCount int64 `json:"crCount,omitempty"` - // DeploymentState: Information about the deployment of ConfigSync, including - // the version. of the various Pods deployed + // DeploymentState: Output only. Information about the deployment of + // ConfigSync, including the version. of the various Pods deployed DeploymentState *ConfigManagementConfigSyncDeploymentState `json:"deploymentState,omitempty"` - // Errors: Errors pertaining to the installation of Config Sync. + // Errors: Output only. Errors pertaining to the installation of Config Sync. Errors []*ConfigManagementConfigSyncError `json:"errors,omitempty"` - // ReposyncCrd: The state of the Reposync CRD + // ReposyncCrd: Output only. The state of the Reposync CRD // // Possible values: // "CRD_STATE_UNSPECIFIED" - CRD's state cannot be determined @@ -738,7 +739,7 @@ type ConfigManagementConfigSyncState struct { // cleaning up) // "INSTALLING" - CRD is installing ReposyncCrd string `json:"reposyncCrd,omitempty"` - // RootsyncCrd: The state of the RootSync CRD + // RootsyncCrd: Output only. The state of the RootSync CRD // // Possible values: // "CRD_STATE_UNSPECIFIED" - CRD's state cannot be determined @@ -748,8 +749,8 @@ type ConfigManagementConfigSyncState struct { // cleaning up) // "INSTALLING" - CRD is installing RootsyncCrd string `json:"rootsyncCrd,omitempty"` - // State: The state of CS This field summarizes the other fields in this - // message. + // State: Output only. The state of CS This field summarizes the other fields + // in this message. // // Possible values: // "STATE_UNSPECIFIED" - CS's state cannot be determined. @@ -759,9 +760,10 @@ type ConfigManagementConfigSyncState struct { // "CONFIG_SYNC_ERROR" - CS encounters errors. // "CONFIG_SYNC_PENDING" - CS is installing or terminating. State string `json:"state,omitempty"` - // SyncState: The state of ConfigSync's process to sync configs to a cluster. + // SyncState: Output only. The state of ConfigSync's process to sync configs to + // a cluster. SyncState *ConfigManagementSyncState `json:"syncState,omitempty"` - // Version: The version of ConfigSync deployed. + // Version: Output only. The version of ConfigSync deployed. Version *ConfigManagementConfigSyncVersion `json:"version,omitempty"` // ForceSendFields is a list of field names (e.g. // "ClusterLevelStopSyncingState") to unconditionally include in API requests. @@ -902,26 +904,30 @@ func (s ConfigManagementGatekeeperDeploymentState) MarshalJSON() ([]byte, error) // ConfigManagementGitConfig: Git repo configuration for a single cluster. type ConfigManagementGitConfig struct { - // GcpServiceAccountEmail: The Google Cloud Service Account Email used for auth - // when secret_type is gcpServiceAccount. + // GcpServiceAccountEmail: Optional. The Google Cloud Service Account Email + // used for auth when secret_type is gcpServiceAccount. GcpServiceAccountEmail string `json:"gcpServiceAccountEmail,omitempty"` - // HttpsProxy: URL for the HTTPS proxy to be used when communicating with the - // Git repo. + // HttpsProxy: Optional. URL for the HTTPS proxy to be used when communicating + // with the Git repo. HttpsProxy string `json:"httpsProxy,omitempty"` - // PolicyDir: The path within the Git repository that represents the top level - // of the repo to sync. Default: the root directory of the repository. + // PolicyDir: Optional. The path within the Git repository that represents the + // top level of the repo to sync. Default: the root directory of the + // repository. PolicyDir string `json:"policyDir,omitempty"` - // SecretType: Type of secret configured for access to the Git repo. Must be - // one of ssh, cookiefile, gcenode, token, gcpserviceaccount or none. The - // validation of this is case-sensitive. Required. + // SecretType: Required. Type of secret configured for access to the Git repo. + // Must be one of ssh, cookiefile, gcenode, token, gcpserviceaccount or none. + // The validation of this is case-sensitive. Required. SecretType string `json:"secretType,omitempty"` - // SyncBranch: The branch of the repository to sync from. Default: master. + // SyncBranch: Optional. The branch of the repository to sync from. Default: + // master. SyncBranch string `json:"syncBranch,omitempty"` - // SyncRepo: The URL of the Git repository to use as the source of truth. + // SyncRepo: Optional. The URL of the Git repository to use as the source of + // truth. SyncRepo string `json:"syncRepo,omitempty"` - // SyncRev: Git revision (tag or hash) to check out. Default HEAD. + // SyncRev: Optional. Git revision (tag or hash) to check out. Default HEAD. SyncRev string `json:"syncRev,omitempty"` - // SyncWaitSecs: Period in seconds between consecutive syncs. Default: 15. + // SyncWaitSecs: Optional. Period in seconds between consecutive syncs. + // Default: 15. SyncWaitSecs int64 `json:"syncWaitSecs,omitempty,string"` // ForceSendFields is a list of field names (e.g. "GcpServiceAccountEmail") to // unconditionally include in API requests. By default, fields with empty or @@ -1109,18 +1115,20 @@ func (s ConfigManagementInstallError) MarshalJSON() ([]byte, error) { // ConfigManagementOciConfig: OCI repo configuration for a single cluster. type ConfigManagementOciConfig struct { - // GcpServiceAccountEmail: The Google Cloud Service Account Email used for auth - // when secret_type is gcpServiceAccount. + // GcpServiceAccountEmail: Optional. The Google Cloud Service Account Email + // used for auth when secret_type is gcpServiceAccount. GcpServiceAccountEmail string `json:"gcpServiceAccountEmail,omitempty"` - // PolicyDir: The absolute path of the directory that contains the local - // resources. Default: the root directory of the image. + // PolicyDir: Optional. The absolute path of the directory that contains the + // local resources. Default: the root directory of the image. PolicyDir string `json:"policyDir,omitempty"` - // SecretType: Type of secret configured for access to the Git repo. + // SecretType: Optional. Type of secret configured for access to the Git repo. SecretType string `json:"secretType,omitempty"` - // SyncRepo: The OCI image repository URL for the package to sync from. e.g. + // SyncRepo: Optional. The OCI image repository URL for the package to sync + // from. e.g. // `LOCATION-docker.pkg.dev/PROJECT_ID/REPOSITORY_NAME/PACKAGE_NAME`. SyncRepo string `json:"syncRepo,omitempty"` - // SyncWaitSecs: Period in seconds between consecutive syncs. Default: 15. + // SyncWaitSecs: Optional. Period in seconds between consecutive syncs. + // Default: 15. SyncWaitSecs int64 `json:"syncWaitSecs,omitempty,string"` // ForceSendFields is a list of field names (e.g. "GcpServiceAccountEmail") to // unconditionally include in API requests. By default, fields with empty or @@ -1334,10 +1342,10 @@ func (s ConfigManagementPolicyControllerVersion) MarshalJSON() ([]byte, error) { // ConfigManagementSpec: **Anthos Config Management**: Configuration for a // single cluster. Intended to parallel the ConfigManagement CR. type ConfigManagementSpec struct { - // Binauthz: Binauthz conifguration for the cluster. Deprecated: This field - // will be ignored and should not be set. + // Binauthz: Optional. Binauthz conifguration for the cluster. Deprecated: This + // field will be ignored and should not be set. Binauthz *ConfigManagementBinauthzConfig `json:"binauthz,omitempty"` - // Cluster: The user-specified cluster name used by Config Sync + // Cluster: Optional. The user-specified cluster name used by Config Sync // cluster-name-selector annotation or ClusterSelector, for applying configs to // only a subset of clusters. Omit this field if the cluster's fleet membership // name is used by Config Sync cluster-name-selector annotation or @@ -1345,14 +1353,14 @@ type ConfigManagementSpec struct { // membership name is used by Config Sync cluster-name-selector annotation or // ClusterSelector. Cluster string `json:"cluster,omitempty"` - // ConfigSync: Config Sync configuration for the cluster. + // ConfigSync: Optional. Config Sync configuration for the cluster. ConfigSync *ConfigManagementConfigSync `json:"configSync,omitempty"` - // HierarchyController: Hierarchy Controller configuration for the cluster. - // Deprecated: Configuring Hierarchy Controller through the configmanagement - // feature is no longer recommended. Use + // HierarchyController: Optional. Hierarchy Controller configuration for the + // cluster. Deprecated: Configuring Hierarchy Controller through the + // configmanagement feature is no longer recommended. Use // https://github.com/kubernetes-sigs/hierarchical-namespaces instead. HierarchyController *ConfigManagementHierarchyControllerConfig `json:"hierarchyController,omitempty"` - // Management: Enables automatic Feature management. + // Management: Optional. Enables automatic Feature management. // // Possible values: // "MANAGEMENT_UNSPECIFIED" - Unspecified @@ -1360,11 +1368,11 @@ type ConfigManagementSpec struct { // "MANAGEMENT_MANUAL" - User will manually manage the Feature for the // cluster. Management string `json:"management,omitempty"` - // PolicyController: Policy Controller configuration for the cluster. + // PolicyController: Optional. Policy Controller configuration for the cluster. // Deprecated: Configuring Policy Controller through the configmanagement // feature is no longer recommended. Use the policycontroller feature instead. PolicyController *ConfigManagementPolicyController `json:"policyController,omitempty"` - // Version: Version of ACM installed. + // Version: Optional. Version of ACM installed. Version string `json:"version,omitempty"` // ForceSendFields is a list of field names (e.g. "Binauthz") to // unconditionally include in API requests. By default, fields with empty or @@ -1387,23 +1395,23 @@ func (s ConfigManagementSpec) MarshalJSON() ([]byte, error) { // ConfigManagementState: **Anthos Config Management**: State for a single // cluster. type ConfigManagementState struct { - // BinauthzState: Binauthz status. + // BinauthzState: Output only. Binauthz status. BinauthzState *ConfigManagementBinauthzState `json:"binauthzState,omitempty"` - // ClusterName: This field is set to the `cluster_name` field of the Membership - // Spec if it is not empty. Otherwise, it is set to the cluster's fleet - // membership name. + // ClusterName: Output only. This field is set to the `cluster_name` field of + // the Membership Spec if it is not empty. Otherwise, it is set to the + // cluster's fleet membership name. ClusterName string `json:"clusterName,omitempty"` - // ConfigSyncState: Current sync status. + // ConfigSyncState: Output only. Current sync status. ConfigSyncState *ConfigManagementConfigSyncState `json:"configSyncState,omitempty"` - // HierarchyControllerState: Hierarchy Controller status. + // HierarchyControllerState: Output only. Hierarchy Controller status. HierarchyControllerState *ConfigManagementHierarchyControllerState `json:"hierarchyControllerState,omitempty"` - // MembershipSpec: Membership configuration in the cluster. This represents the - // actual state in the cluster, while the MembershipSpec in the FeatureSpec - // represents the intended state. + // MembershipSpec: Output only. Membership configuration in the cluster. This + // represents the actual state in the cluster, while the MembershipSpec in the + // FeatureSpec represents the intended state. MembershipSpec *ConfigManagementSpec `json:"membershipSpec,omitempty"` - // OperatorState: Current install status of ACM's Operator. + // OperatorState: Output only. Current install status of ACM's Operator. OperatorState *ConfigManagementOperatorState `json:"operatorState,omitempty"` - // PolicyControllerState: PolicyController status. + // PolicyControllerState: Output only. PolicyController status. PolicyControllerState *ConfigManagementPolicyControllerState `json:"policyControllerState,omitempty"` // ForceSendFields is a list of field names (e.g. "BinauthzState") to // unconditionally include in API requests. By default, fields with empty or diff --git a/monitoring/v3/monitoring-api.json b/monitoring/v3/monitoring-api.json index 65be5e5a64..f222207feb 100644 --- a/monitoring/v3/monitoring-api.json +++ b/monitoring/v3/monitoring-api.json @@ -2715,7 +2715,7 @@ } } }, - "revision": "20241114", + "revision": "20250102", "rootUrl": "https://monitoring.googleapis.com/", "schemas": { "Aggregation": { @@ -5711,7 +5711,7 @@ "description": "Schedule the query to execute every so many minutes." }, "query": { - "description": "Required. The Log Analytics SQL query to run, as a string. The query must conform to the required shape. Specifically, the query must not try to filter the input by time. A filter will automatically be applied to filter the input so that the query receives all rows received since the last time the query was run.For example, the following query extracts all log entries containing an HTTP request:SELECT timestamp, log_name, severity, http_request, resource, labels FROM my-project.global._Default._AllLogs WHERE http_request IS NOT NULL", + "description": "Required. The Log Analytics SQL query to run, as a string. The query must conform to the required shape. Specifically, the query must not try to filter the input by time. A filter will automatically be applied to filter the input so that the query receives all rows received since the last time the query was run.For example, the following query extracts all log entries containing an HTTP request: SELECT timestamp, log_name, severity, http_request, resource, labels FROM my-project.global._Default._AllLogs WHERE http_request IS NOT NULL ", "type": "string" }, "rowCountTest": { diff --git a/monitoring/v3/monitoring-gen.go b/monitoring/v3/monitoring-gen.go index e66db86b4f..50cc2fff8e 100644 --- a/monitoring/v3/monitoring-gen.go +++ b/monitoring/v3/monitoring-gen.go @@ -5049,7 +5049,7 @@ type SqlCondition struct { // filter the input by time. A filter will automatically be applied to filter // the input so that the query receives all rows received since the last time // the query was run.For example, the following query extracts all log entries - // containing an HTTP request:SELECT timestamp, log_name, severity, + // containing an HTTP request: SELECT timestamp, log_name, severity, // http_request, resource, labels FROM my-project.global._Default._AllLogs // WHERE http_request IS NOT NULL Query string `json:"query,omitempty"` diff --git a/networkconnectivity/v1alpha1/networkconnectivity-api.json b/networkconnectivity/v1alpha1/networkconnectivity-api.json index ea8787a554..28bffbd2d1 100644 --- a/networkconnectivity/v1alpha1/networkconnectivity-api.json +++ b/networkconnectivity/v1alpha1/networkconnectivity-api.json @@ -722,7 +722,7 @@ "operations": { "methods": { "cancel": { - "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", + "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", "httpMethod": "POST", "id": "networkconnectivity.projects.locations.operations.cancel", @@ -1116,7 +1116,7 @@ } } }, - "revision": "20241030", + "revision": "20250101", "rootUrl": "https://networkconnectivity.googleapis.com/", "schemas": { "AuditConfig": { @@ -1370,7 +1370,7 @@ "type": "object" }, "InternalRange": { - "description": "The internal range resource for IPAM operations within a VPC network. Used to represent a private address range along with behavioral characterstics of that range (its usage and peering behavior). Networking resources can link to this range if they are created as belonging to it.", + "description": "The internal range resource for IPAM operations within a VPC network. Used to represent a private address range along with behavioral characteristics of that range (its usage and peering behavior). Networking resources can link to this range if they are created as belonging to it.", "id": "InternalRange", "properties": { "createTime": { diff --git a/networkconnectivity/v1alpha1/networkconnectivity-gen.go b/networkconnectivity/v1alpha1/networkconnectivity-gen.go index f1a1eaaefc..466cc08adc 100644 --- a/networkconnectivity/v1alpha1/networkconnectivity-gen.go +++ b/networkconnectivity/v1alpha1/networkconnectivity-gen.go @@ -640,7 +640,7 @@ func (s Hub) MarshalJSON() ([]byte, error) { // InternalRange: The internal range resource for IPAM operations within a VPC // network. Used to represent a private address range along with behavioral -// characterstics of that range (its usage and peering behavior). Networking +// characteristics of that range (its usage and peering behavior). Networking // resources can link to this range if they are created as belonging to it. type InternalRange struct { // CreateTime: Time when the internal range was created. @@ -3509,7 +3509,7 @@ type ProjectsLocationsOperationsCancelCall struct { // other methods to check whether the cancellation succeeded or whether the // operation completed despite cancellation. On successful cancellation, the // operation is not deleted; instead, it becomes an operation with an -// Operation.error value with a google.rpc.Status.code of 1, corresponding to +// Operation.error value with a google.rpc.Status.code of `1`, corresponding to // `Code.CANCELLED`. // // - name: The name of the operation resource to be cancelled. diff --git a/networkmanagement/v1/networkmanagement-api.json b/networkmanagement/v1/networkmanagement-api.json index 7d4145e117..5a02b3cdfc 100644 --- a/networkmanagement/v1/networkmanagement-api.json +++ b/networkmanagement/v1/networkmanagement-api.json @@ -758,7 +758,7 @@ } } }, - "revision": "20241210", + "revision": "20250101", "rootUrl": "https://networkmanagement.googleapis.com/", "schemas": { "AbortInfo": { @@ -1699,7 +1699,8 @@ "NETWORK_FIREWALL_POLICY_RULE", "NETWORK_REGIONAL_FIREWALL_POLICY_RULE", "UNSUPPORTED_FIREWALL_POLICY_RULE", - "TRACKING_STATE" + "TRACKING_STATE", + "ANALYSIS_SKIPPED" ], "enumDescriptions": [ "Unspecified type.", @@ -1710,7 +1711,8 @@ "Global network firewall policy rule. For details, see [Network firewall policies](https://cloud.google.com/vpc/docs/network-firewall-policies).", "Regional network firewall policy rule. For details, see [Regional network firewall policies](https://cloud.google.com/firewall/docs/regional-firewall-policies).", "Firewall policy rule containing attributes not yet supported in Connectivity tests. Firewall analysis is skipped if such a rule can potentially be matched. Please see the [list of unsupported configurations](https://cloud.google.com/network-intelligence-center/docs/connectivity-tests/concepts/overview#unsupported-configs).", - "Tracking state for response traffic created when request traffic goes through allow firewall rule. For details, see [firewall rules specifications](https://cloud.google.com/firewall/docs/firewalls#specifications)" + "Tracking state for response traffic created when request traffic goes through allow firewall rule. For details, see [firewall rules specifications](https://cloud.google.com/firewall/docs/firewalls#specifications)", + "Firewall analysis was skipped due to executing Connectivity Test in the BypassFirewallChecks mode" ], "type": "string" }, diff --git a/networkmanagement/v1/networkmanagement-gen.go b/networkmanagement/v1/networkmanagement-gen.go index 0c0e526d6f..7af12c3d03 100644 --- a/networkmanagement/v1/networkmanagement-gen.go +++ b/networkmanagement/v1/networkmanagement-gen.go @@ -1388,6 +1388,8 @@ type FirewallInfo struct { // rules // specifications](https://cloud.google.com/firewall/docs/firewalls#specificatio // ns) + // "ANALYSIS_SKIPPED" - Firewall analysis was skipped due to executing + // Connectivity Test in the BypassFirewallChecks mode FirewallRuleType string `json:"firewallRuleType,omitempty"` // NetworkUri: The URI of the VPC network that the firewall rule is associated // with. This field is not applicable to hierarchical firewall policy rules. diff --git a/networkmanagement/v1beta1/networkmanagement-api.json b/networkmanagement/v1beta1/networkmanagement-api.json index 19ff115ae2..763e5a4520 100644 --- a/networkmanagement/v1beta1/networkmanagement-api.json +++ b/networkmanagement/v1beta1/networkmanagement-api.json @@ -758,7 +758,7 @@ } } }, - "revision": "20241210", + "revision": "20250101", "rootUrl": "https://networkmanagement.googleapis.com/", "schemas": { "AbortInfo": { @@ -1699,7 +1699,8 @@ "NETWORK_FIREWALL_POLICY_RULE", "NETWORK_REGIONAL_FIREWALL_POLICY_RULE", "UNSUPPORTED_FIREWALL_POLICY_RULE", - "TRACKING_STATE" + "TRACKING_STATE", + "ANALYSIS_SKIPPED" ], "enumDescriptions": [ "Unspecified type.", @@ -1710,7 +1711,8 @@ "Global network firewall policy rule. For details, see [Network firewall policies](https://cloud.google.com/vpc/docs/network-firewall-policies).", "Regional network firewall policy rule. For details, see [Regional network firewall policies](https://cloud.google.com/firewall/docs/regional-firewall-policies).", "Firewall policy rule containing attributes not yet supported in Connectivity tests. Firewall analysis is skipped if such a rule can potentially be matched. Please see the [list of unsupported configurations](https://cloud.google.com/network-intelligence-center/docs/connectivity-tests/concepts/overview#unsupported-configs).", - "Tracking state for response traffic created when request traffic goes through allow firewall rule. For details, see [firewall rules specifications](https://cloud.google.com/firewall/docs/firewalls#specifications)" + "Tracking state for response traffic created when request traffic goes through allow firewall rule. For details, see [firewall rules specifications](https://cloud.google.com/firewall/docs/firewalls#specifications)", + "Firewall analysis was skipped due to executing Connectivity Test in the BypassFirewallChecks mode" ], "type": "string" }, diff --git a/networkmanagement/v1beta1/networkmanagement-gen.go b/networkmanagement/v1beta1/networkmanagement-gen.go index 5e6d6b43a6..00a719a9d1 100644 --- a/networkmanagement/v1beta1/networkmanagement-gen.go +++ b/networkmanagement/v1beta1/networkmanagement-gen.go @@ -1388,6 +1388,8 @@ type FirewallInfo struct { // rules // specifications](https://cloud.google.com/firewall/docs/firewalls#specificatio // ns) + // "ANALYSIS_SKIPPED" - Firewall analysis was skipped due to executing + // Connectivity Test in the BypassFirewallChecks mode FirewallRuleType string `json:"firewallRuleType,omitempty"` // NetworkUri: The URI of the VPC network that the firewall rule is associated // with. This field is not applicable to hierarchical firewall policy rules. diff --git a/networksecurity/v1beta1/networksecurity-api.json b/networksecurity/v1beta1/networksecurity-api.json index 4c1e5ed807..f301e681d4 100644 --- a/networksecurity/v1beta1/networksecurity-api.json +++ b/networksecurity/v1beta1/networksecurity-api.json @@ -4887,7 +4887,7 @@ } } }, - "revision": "20241208", + "revision": "20250101", "rootUrl": "https://networksecurity.googleapis.com/", "schemas": { "AddAddressGroupItemsRequest": { @@ -5988,7 +5988,7 @@ "type": "object" }, "InterceptDeployment": { - "description": "Message describing InterceptDeployment object", + "description": "Message describing InterceptDeployment object NEXT ID: 10", "id": "InterceptDeployment", "properties": { "createTime": { @@ -5997,6 +5997,10 @@ "readOnly": true, "type": "string" }, + "description": { + "description": "Optional. User-provided description of the deployment. Used as additional context for the deployment.", + "type": "string" + }, "forwardingRule": { "description": "Required. Immutable. The regional load balancer which the intercepted traffic should be forwarded to. Format is: projects/{project}/regions/{region}/forwardingRules/{forwardingRule}", "type": "string" @@ -6052,7 +6056,7 @@ "type": "object" }, "InterceptDeploymentGroup": { - "description": "Message describing InterceptDeploymentGroup object", + "description": "Message describing InterceptDeploymentGroup object NEXT ID: 10", "id": "InterceptDeploymentGroup", "properties": { "connectedEndpointGroups": { @@ -6069,6 +6073,10 @@ "readOnly": true, "type": "string" }, + "description": { + "description": "Optional. User-provided description of the deployment group. Used as additional context for the deployment group.", + "type": "string" + }, "labels": { "additionalProperties": { "type": "string" diff --git a/networksecurity/v1beta1/networksecurity-gen.go b/networksecurity/v1beta1/networksecurity-gen.go index b4bcc82906..f2a8a4b5b2 100644 --- a/networksecurity/v1beta1/networksecurity-gen.go +++ b/networksecurity/v1beta1/networksecurity-gen.go @@ -2053,10 +2053,14 @@ func (s HttpHeaderMatch) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } -// InterceptDeployment: Message describing InterceptDeployment object +// InterceptDeployment: Message describing InterceptDeployment object NEXT ID: +// 10 type InterceptDeployment struct { // CreateTime: Output only. [Output only] Create time stamp CreateTime string `json:"createTime,omitempty"` + // Description: Optional. User-provided description of the deployment. Used as + // additional context for the deployment. + Description string `json:"description,omitempty"` // ForwardingRule: Required. Immutable. The regional load balancer which the // intercepted traffic should be forwarded to. Format is: // projects/{project}/regions/{region}/forwardingRules/{forwardingRule} @@ -2112,12 +2116,16 @@ func (s InterceptDeployment) MarshalJSON() ([]byte, error) { } // InterceptDeploymentGroup: Message describing InterceptDeploymentGroup object +// NEXT ID: 10 type InterceptDeploymentGroup struct { // ConnectedEndpointGroups: Output only. The list of Intercept Endpoint Groups // that are connected to this resource. ConnectedEndpointGroups []*InterceptDeploymentGroupConnectedEndpointGroup `json:"connectedEndpointGroups,omitempty"` // CreateTime: Output only. [Output only] Create time stamp CreateTime string `json:"createTime,omitempty"` + // Description: Optional. User-provided description of the deployment group. + // Used as additional context for the deployment group. + Description string `json:"description,omitempty"` // Labels: Optional. Labels as key value pairs Labels map[string]string `json:"labels,omitempty"` // Name: Immutable. Identifier. Then name of the InterceptDeploymentGroup. diff --git a/notebooks/v2/notebooks-api.json b/notebooks/v2/notebooks-api.json index ed8f8b24f7..7f8d0222e8 100644 --- a/notebooks/v2/notebooks-api.json +++ b/notebooks/v2/notebooks-api.json @@ -904,7 +904,7 @@ } } }, - "revision": "20241204", + "revision": "20250101", "rootUrl": "https://notebooks.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -927,6 +927,8 @@ "NVIDIA_TESLA_A100", "NVIDIA_A100_80GB", "NVIDIA_L4", + "NVIDIA_H100_80GB", + "NVIDIA_H100_MEGA_80GB", "NVIDIA_TESLA_T4_VWS", "NVIDIA_TESLA_P100_VWS", "NVIDIA_TESLA_P4_VWS" @@ -940,6 +942,8 @@ "Accelerator type is Nvidia Tesla A100 - 40GB.", "Accelerator type is Nvidia Tesla A100 - 80GB.", "Accelerator type is Nvidia Tesla L4.", + "Accelerator type is Nvidia Tesla H100 - 80GB.", + "Accelerator type is Nvidia Tesla H100 - MEGA 80GB.", "Accelerator type is NVIDIA Tesla T4 Virtual Workstations.", "Accelerator type is NVIDIA Tesla P100 Virtual Workstations.", "Accelerator type is NVIDIA Tesla P4 Virtual Workstations." diff --git a/notebooks/v2/notebooks-gen.go b/notebooks/v2/notebooks-gen.go index d6149ca0b4..c805d046c5 100644 --- a/notebooks/v2/notebooks-gen.go +++ b/notebooks/v2/notebooks-gen.go @@ -221,6 +221,9 @@ type AcceleratorConfig struct { // "NVIDIA_TESLA_A100" - Accelerator type is Nvidia Tesla A100 - 40GB. // "NVIDIA_A100_80GB" - Accelerator type is Nvidia Tesla A100 - 80GB. // "NVIDIA_L4" - Accelerator type is Nvidia Tesla L4. + // "NVIDIA_H100_80GB" - Accelerator type is Nvidia Tesla H100 - 80GB. + // "NVIDIA_H100_MEGA_80GB" - Accelerator type is Nvidia Tesla H100 - MEGA + // 80GB. // "NVIDIA_TESLA_T4_VWS" - Accelerator type is NVIDIA Tesla T4 Virtual // Workstations. // "NVIDIA_TESLA_P100_VWS" - Accelerator type is NVIDIA Tesla P100 Virtual diff --git a/redis/v1/redis-api.json b/redis/v1/redis-api.json index cdfa0a1756..f9559aeecd 100644 --- a/redis/v1/redis-api.json +++ b/redis/v1/redis-api.json @@ -1067,7 +1067,7 @@ } } }, - "revision": "20241212", + "revision": "20250104", "rootUrl": "https://redis.googleapis.com/", "schemas": { "AOFConfig": { @@ -1205,6 +1205,11 @@ "readOnly": true, "type": "string" }, + "encryptionInfo": { + "$ref": "EncryptionInfo", + "description": "Output only. Encryption information of the backup.", + "readOnly": true + }, "engineVersion": { "description": "Output only. redis-7.2, valkey-7.5", "readOnly": true, @@ -1314,6 +1319,11 @@ "readOnly": true, "type": "string" }, + "kmsKey": { + "description": "Output only. The KMS key used to encrypt the backups under this backup collection.", + "readOnly": true, + "type": "string" + }, "name": { "description": "Identifier. Full resource path of the backup collection.", "type": "string" @@ -1487,10 +1497,19 @@ "readOnly": true, "type": "array" }, + "encryptionInfo": { + "$ref": "EncryptionInfo", + "description": "Output only. Encryption information of the data at rest of the cluster.", + "readOnly": true + }, "gcsSource": { "$ref": "GcsBackupSource", "description": "Optional. Backups stored in Cloud Storage buckets. The Cloud Storage buckets need to be the same region as the clusters. Read permission is required to import from the provided Cloud Storage objects." }, + "kmsKey": { + "description": "Optional. The KMS key used to encrypt the at-rest data of the cluster.", + "type": "string" + }, "maintenancePolicy": { "$ref": "ClusterMaintenancePolicy", "description": "Optional. ClusterMaintenancePolicy determines when to allow or deny updates." @@ -2825,6 +2844,69 @@ "properties": {}, "type": "object" }, + "EncryptionInfo": { + "description": "EncryptionInfo describes the encryption information of a cluster or a backup.", + "id": "EncryptionInfo", + "properties": { + "encryptionType": { + "description": "Output only. Type of encryption.", + "enum": [ + "TYPE_UNSPECIFIED", + "GOOGLE_DEFAULT_ENCRYPTION", + "CUSTOMER_MANAGED_ENCRYPTION" + ], + "enumDescriptions": [ + "Encryption type not specified. Defaults to GOOGLE_DEFAULT_ENCRYPTION.", + "The data is encrypted at rest with a key that is fully managed by Google. No key version will be populated. This is the default state.", + "The data is encrypted at rest with a key that is managed by the customer. KMS key versions will be populated." + ], + "readOnly": true, + "type": "string" + }, + "kmsKeyPrimaryState": { + "description": "Output only. The state of the primary version of the KMS key perceived by the system. This field is not populated in backups.", + "enum": [ + "KMS_KEY_STATE_UNSPECIFIED", + "ENABLED", + "PERMISSION_DENIED", + "DISABLED", + "DESTROYED", + "DESTROY_SCHEDULED", + "EKM_KEY_UNREACHABLE_DETECTED", + "BILLING_DISABLED", + "UNKNOWN_FAILURE" + ], + "enumDescriptions": [ + "The default value. This value is unused.", + "The KMS key is enabled and correctly configured.", + "Permission denied on the KMS key.", + "The KMS key is disabled.", + "The KMS key is destroyed.", + "The KMS key is scheduled to be destroyed.", + "The EKM key is unreachable.", + "Billing is disabled for the project.", + "All other unknown failures." + ], + "readOnly": true, + "type": "string" + }, + "kmsKeyVersions": { + "description": "Output only. KMS key versions that are being used to protect the data at-rest.", + "items": { + "type": "string" + }, + "readOnly": true, + "type": "array" + }, + "lastUpdateTime": { + "description": "Output only. The most recent time when the encryption info was updated.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "Entitlement": { "description": "Proto representing the access that a user has to a specific feature/service. NextId: 3.", "id": "Entitlement", @@ -3501,7 +3583,8 @@ "id": "MachineConfiguration", "properties": { "cpuCount": { - "description": "The number of CPUs. TODO(b/342344482, b/342346271) add proto validations again after bug fix.", + "deprecated": true, + "description": "The number of CPUs. Deprecated. Use vcpu_count instead. TODO(b/342344482, b/342346271) add proto validations again after bug fix.", "format": "int32", "type": "integer" }, diff --git a/redis/v1/redis-gen.go b/redis/v1/redis-gen.go index af7b3963a3..aec6005ccc 100644 --- a/redis/v1/redis-gen.go +++ b/redis/v1/redis-gen.go @@ -368,6 +368,8 @@ type Backup struct { ClusterUid string `json:"clusterUid,omitempty"` // CreateTime: Output only. The time when the backup was created. CreateTime string `json:"createTime,omitempty"` + // EncryptionInfo: Output only. Encryption information of the backup. + EncryptionInfo *EncryptionInfo `json:"encryptionInfo,omitempty"` // EngineVersion: Output only. redis-7.2, valkey-7.5 EngineVersion string `json:"engineVersion,omitempty"` // ExpireTime: Output only. The time when the backup will expire. @@ -459,6 +461,9 @@ type BackupCollection struct { Cluster string `json:"cluster,omitempty"` // ClusterUid: Output only. The cluster uid of the backup collection. ClusterUid string `json:"clusterUid,omitempty"` + // KmsKey: Output only. The KMS key used to encrypt the backups under this + // backup collection. + KmsKey string `json:"kmsKey,omitempty"` // Name: Identifier. Full resource path of the backup collection. Name string `json:"name,omitempty"` // Uid: Output only. System assigned unique identifier of the backup @@ -656,10 +661,16 @@ type Cluster struct { // for Redis clients to connect to the cluster. Currently only one discovery // endpoint is supported. DiscoveryEndpoints []*DiscoveryEndpoint `json:"discoveryEndpoints,omitempty"` + // EncryptionInfo: Output only. Encryption information of the data at rest of + // the cluster. + EncryptionInfo *EncryptionInfo `json:"encryptionInfo,omitempty"` // GcsSource: Optional. Backups stored in Cloud Storage buckets. The Cloud // Storage buckets need to be the same region as the clusters. Read permission // is required to import from the provided Cloud Storage objects. GcsSource *GcsBackupSource `json:"gcsSource,omitempty"` + // KmsKey: Optional. The KMS key used to encrypt the at-rest data of the + // cluster. + KmsKey string `json:"kmsKey,omitempty"` // MaintenancePolicy: Optional. ClusterMaintenancePolicy determines when to // allow or deny updates. MaintenancePolicy *ClusterMaintenancePolicy `json:"maintenancePolicy,omitempty"` @@ -1855,6 +1866,58 @@ type Empty struct { googleapi.ServerResponse `json:"-"` } +// EncryptionInfo: EncryptionInfo describes the encryption information of a +// cluster or a backup. +type EncryptionInfo struct { + // EncryptionType: Output only. Type of encryption. + // + // Possible values: + // "TYPE_UNSPECIFIED" - Encryption type not specified. Defaults to + // GOOGLE_DEFAULT_ENCRYPTION. + // "GOOGLE_DEFAULT_ENCRYPTION" - The data is encrypted at rest with a key + // that is fully managed by Google. No key version will be populated. This is + // the default state. + // "CUSTOMER_MANAGED_ENCRYPTION" - The data is encrypted at rest with a key + // that is managed by the customer. KMS key versions will be populated. + EncryptionType string `json:"encryptionType,omitempty"` + // KmsKeyPrimaryState: Output only. The state of the primary version of the KMS + // key perceived by the system. This field is not populated in backups. + // + // Possible values: + // "KMS_KEY_STATE_UNSPECIFIED" - The default value. This value is unused. + // "ENABLED" - The KMS key is enabled and correctly configured. + // "PERMISSION_DENIED" - Permission denied on the KMS key. + // "DISABLED" - The KMS key is disabled. + // "DESTROYED" - The KMS key is destroyed. + // "DESTROY_SCHEDULED" - The KMS key is scheduled to be destroyed. + // "EKM_KEY_UNREACHABLE_DETECTED" - The EKM key is unreachable. + // "BILLING_DISABLED" - Billing is disabled for the project. + // "UNKNOWN_FAILURE" - All other unknown failures. + KmsKeyPrimaryState string `json:"kmsKeyPrimaryState,omitempty"` + // KmsKeyVersions: Output only. KMS key versions that are being used to protect + // the data at-rest. + KmsKeyVersions []string `json:"kmsKeyVersions,omitempty"` + // LastUpdateTime: Output only. The most recent time when the encryption info + // was updated. + LastUpdateTime string `json:"lastUpdateTime,omitempty"` + // ForceSendFields is a list of field names (e.g. "EncryptionType") to + // unconditionally include in API requests. By default, fields with empty or + // default values are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "EncryptionType") to include in + // API requests with the JSON null value. By default, fields with empty values + // are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s EncryptionInfo) MarshalJSON() ([]byte, error) { + type NoMethod EncryptionInfo + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // Entitlement: Proto representing the access that a user has to a specific // feature/service. NextId: 3. type Entitlement struct { @@ -2686,8 +2749,8 @@ func (s Location) MarshalJSON() ([]byte, error) { // MachineConfiguration: MachineConfiguration describes the configuration of a // machine specific to Database Resource. type MachineConfiguration struct { - // CpuCount: The number of CPUs. TODO(b/342344482, b/342346271) add proto - // validations again after bug fix. + // CpuCount: The number of CPUs. Deprecated. Use vcpu_count instead. + // TODO(b/342344482, b/342346271) add proto validations again after bug fix. CpuCount int64 `json:"cpuCount,omitempty"` // MemorySizeInBytes: Memory size in bytes. TODO(b/342344482, b/342346271) add // proto validations again after bug fix. diff --git a/redis/v1beta1/redis-api.json b/redis/v1beta1/redis-api.json index 5ff1c381f1..518fdd0207 100644 --- a/redis/v1beta1/redis-api.json +++ b/redis/v1beta1/redis-api.json @@ -1067,7 +1067,7 @@ } } }, - "revision": "20241212", + "revision": "20250104", "rootUrl": "https://redis.googleapis.com/", "schemas": { "AOFConfig": { @@ -1205,6 +1205,11 @@ "readOnly": true, "type": "string" }, + "encryptionInfo": { + "$ref": "EncryptionInfo", + "description": "Output only. Encryption information of the backup.", + "readOnly": true + }, "engineVersion": { "description": "Output only. redis-7.2, valkey-7.5", "readOnly": true, @@ -1314,6 +1319,11 @@ "readOnly": true, "type": "string" }, + "kmsKey": { + "description": "Output only. The KMS key used to encrypt the backups under this backup collection.", + "readOnly": true, + "type": "string" + }, "name": { "description": "Identifier. Full resource path of the backup collection.", "type": "string" @@ -1487,10 +1497,19 @@ "readOnly": true, "type": "array" }, + "encryptionInfo": { + "$ref": "EncryptionInfo", + "description": "Output only. Encryption information of the data at rest of the cluster.", + "readOnly": true + }, "gcsSource": { "$ref": "GcsBackupSource", "description": "Optional. Backups stored in Cloud Storage buckets. The Cloud Storage buckets need to be the same region as the clusters. Read permission is required to import from the provided Cloud Storage objects." }, + "kmsKey": { + "description": "Optional. The KMS key used to encrypt the at-rest data of the cluster.", + "type": "string" + }, "maintenancePolicy": { "$ref": "ClusterMaintenancePolicy", "description": "Optional. ClusterMaintenancePolicy determines when to allow or deny updates." @@ -2825,6 +2844,69 @@ "properties": {}, "type": "object" }, + "EncryptionInfo": { + "description": "EncryptionInfo describes the encryption information of a cluster or a backup.", + "id": "EncryptionInfo", + "properties": { + "encryptionType": { + "description": "Output only. Type of encryption.", + "enum": [ + "TYPE_UNSPECIFIED", + "GOOGLE_DEFAULT_ENCRYPTION", + "CUSTOMER_MANAGED_ENCRYPTION" + ], + "enumDescriptions": [ + "Encryption type not specified. Defaults to GOOGLE_DEFAULT_ENCRYPTION.", + "The data is encrypted at rest with a key that is fully managed by Google. No key version will be populated. This is the default state.", + "The data is encrypted at rest with a key that is managed by the customer. KMS key versions will be populated." + ], + "readOnly": true, + "type": "string" + }, + "kmsKeyPrimaryState": { + "description": "Output only. The state of the primary version of the KMS key perceived by the system. This field is not populated in backups.", + "enum": [ + "KMS_KEY_STATE_UNSPECIFIED", + "ENABLED", + "PERMISSION_DENIED", + "DISABLED", + "DESTROYED", + "DESTROY_SCHEDULED", + "EKM_KEY_UNREACHABLE_DETECTED", + "BILLING_DISABLED", + "UNKNOWN_FAILURE" + ], + "enumDescriptions": [ + "The default value. This value is unused.", + "The KMS key is enabled and correctly configured.", + "Permission denied on the KMS key.", + "The KMS key is disabled.", + "The KMS key is destroyed.", + "The KMS key is scheduled to be destroyed.", + "The EKM key is unreachable.", + "Billing is disabled for the project.", + "All other unknown failures." + ], + "readOnly": true, + "type": "string" + }, + "kmsKeyVersions": { + "description": "Output only. KMS key versions that are being used to protect the data at-rest.", + "items": { + "type": "string" + }, + "readOnly": true, + "type": "array" + }, + "lastUpdateTime": { + "description": "Output only. The most recent time when the encryption info was updated.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "Entitlement": { "description": "Proto representing the access that a user has to a specific feature/service. NextId: 3.", "id": "Entitlement", @@ -3508,7 +3590,8 @@ "id": "MachineConfiguration", "properties": { "cpuCount": { - "description": "The number of CPUs. TODO(b/342344482, b/342346271) add proto validations again after bug fix.", + "deprecated": true, + "description": "The number of CPUs. Deprecated. Use vcpu_count instead. TODO(b/342344482, b/342346271) add proto validations again after bug fix.", "format": "int32", "type": "integer" }, diff --git a/redis/v1beta1/redis-gen.go b/redis/v1beta1/redis-gen.go index f40ba45895..901e1984d9 100644 --- a/redis/v1beta1/redis-gen.go +++ b/redis/v1beta1/redis-gen.go @@ -368,6 +368,8 @@ type Backup struct { ClusterUid string `json:"clusterUid,omitempty"` // CreateTime: Output only. The time when the backup was created. CreateTime string `json:"createTime,omitempty"` + // EncryptionInfo: Output only. Encryption information of the backup. + EncryptionInfo *EncryptionInfo `json:"encryptionInfo,omitempty"` // EngineVersion: Output only. redis-7.2, valkey-7.5 EngineVersion string `json:"engineVersion,omitempty"` // ExpireTime: Output only. The time when the backup will expire. @@ -459,6 +461,9 @@ type BackupCollection struct { Cluster string `json:"cluster,omitempty"` // ClusterUid: Output only. The cluster uid of the backup collection. ClusterUid string `json:"clusterUid,omitempty"` + // KmsKey: Output only. The KMS key used to encrypt the backups under this + // backup collection. + KmsKey string `json:"kmsKey,omitempty"` // Name: Identifier. Full resource path of the backup collection. Name string `json:"name,omitempty"` // Uid: Output only. System assigned unique identifier of the backup @@ -656,10 +661,16 @@ type Cluster struct { // for Redis clients to connect to the cluster. Currently only one discovery // endpoint is supported. DiscoveryEndpoints []*DiscoveryEndpoint `json:"discoveryEndpoints,omitempty"` + // EncryptionInfo: Output only. Encryption information of the data at rest of + // the cluster. + EncryptionInfo *EncryptionInfo `json:"encryptionInfo,omitempty"` // GcsSource: Optional. Backups stored in Cloud Storage buckets. The Cloud // Storage buckets need to be the same region as the clusters. Read permission // is required to import from the provided Cloud Storage objects. GcsSource *GcsBackupSource `json:"gcsSource,omitempty"` + // KmsKey: Optional. The KMS key used to encrypt the at-rest data of the + // cluster. + KmsKey string `json:"kmsKey,omitempty"` // MaintenancePolicy: Optional. ClusterMaintenancePolicy determines when to // allow or deny updates. MaintenancePolicy *ClusterMaintenancePolicy `json:"maintenancePolicy,omitempty"` @@ -1855,6 +1866,58 @@ type Empty struct { googleapi.ServerResponse `json:"-"` } +// EncryptionInfo: EncryptionInfo describes the encryption information of a +// cluster or a backup. +type EncryptionInfo struct { + // EncryptionType: Output only. Type of encryption. + // + // Possible values: + // "TYPE_UNSPECIFIED" - Encryption type not specified. Defaults to + // GOOGLE_DEFAULT_ENCRYPTION. + // "GOOGLE_DEFAULT_ENCRYPTION" - The data is encrypted at rest with a key + // that is fully managed by Google. No key version will be populated. This is + // the default state. + // "CUSTOMER_MANAGED_ENCRYPTION" - The data is encrypted at rest with a key + // that is managed by the customer. KMS key versions will be populated. + EncryptionType string `json:"encryptionType,omitempty"` + // KmsKeyPrimaryState: Output only. The state of the primary version of the KMS + // key perceived by the system. This field is not populated in backups. + // + // Possible values: + // "KMS_KEY_STATE_UNSPECIFIED" - The default value. This value is unused. + // "ENABLED" - The KMS key is enabled and correctly configured. + // "PERMISSION_DENIED" - Permission denied on the KMS key. + // "DISABLED" - The KMS key is disabled. + // "DESTROYED" - The KMS key is destroyed. + // "DESTROY_SCHEDULED" - The KMS key is scheduled to be destroyed. + // "EKM_KEY_UNREACHABLE_DETECTED" - The EKM key is unreachable. + // "BILLING_DISABLED" - Billing is disabled for the project. + // "UNKNOWN_FAILURE" - All other unknown failures. + KmsKeyPrimaryState string `json:"kmsKeyPrimaryState,omitempty"` + // KmsKeyVersions: Output only. KMS key versions that are being used to protect + // the data at-rest. + KmsKeyVersions []string `json:"kmsKeyVersions,omitempty"` + // LastUpdateTime: Output only. The most recent time when the encryption info + // was updated. + LastUpdateTime string `json:"lastUpdateTime,omitempty"` + // ForceSendFields is a list of field names (e.g. "EncryptionType") to + // unconditionally include in API requests. By default, fields with empty or + // default values are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "EncryptionType") to include in + // API requests with the JSON null value. By default, fields with empty values + // are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s EncryptionInfo) MarshalJSON() ([]byte, error) { + type NoMethod EncryptionInfo + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // Entitlement: Proto representing the access that a user has to a specific // feature/service. NextId: 3. type Entitlement struct { @@ -2690,8 +2753,8 @@ func (s Location) MarshalJSON() ([]byte, error) { // MachineConfiguration: MachineConfiguration describes the configuration of a // machine specific to Database Resource. type MachineConfiguration struct { - // CpuCount: The number of CPUs. TODO(b/342344482, b/342346271) add proto - // validations again after bug fix. + // CpuCount: The number of CPUs. Deprecated. Use vcpu_count instead. + // TODO(b/342344482, b/342346271) add proto validations again after bug fix. CpuCount int64 `json:"cpuCount,omitempty"` // MemorySizeInBytes: Memory size in bytes. TODO(b/342344482, b/342346271) add // proto validations again after bug fix. diff --git a/securitycenter/v1beta1/securitycenter-api.json b/securitycenter/v1beta1/securitycenter-api.json index 8a5288af79..db5db49285 100644 --- a/securitycenter/v1beta1/securitycenter-api.json +++ b/securitycenter/v1beta1/securitycenter-api.json @@ -913,7 +913,7 @@ } } }, - "revision": "20241206", + "revision": "20250103", "rootUrl": "https://securitycenter.googleapis.com/", "schemas": { "Access": { @@ -1105,14 +1105,26 @@ "type": "string" }, "volumeBps": { - "description": "Total BPS (bytes per second) volume of attack.", + "deprecated": true, + "description": "Total BPS (bytes per second) volume of attack. Deprecated - refer to volume_bps_long instead.", "format": "int32", "type": "integer" }, + "volumeBpsLong": { + "description": "Total BPS (bytes per second) volume of attack.", + "format": "int64", + "type": "string" + }, "volumePps": { - "description": "Total PPS (packets per second) volume of attack.", + "deprecated": true, + "description": "Total PPS (packets per second) volume of attack. Deprecated - refer to volume_pps_long instead.", "format": "int32", "type": "integer" + }, + "volumePpsLong": { + "description": "Total PPS (packets per second) volume of attack.", + "format": "int64", + "type": "string" } }, "type": "object" @@ -3802,14 +3814,26 @@ "type": "string" }, "volumeBps": { - "description": "Total BPS (bytes per second) volume of attack.", + "deprecated": true, + "description": "Total BPS (bytes per second) volume of attack. Deprecated - refer to volume_bps_long instead.", "format": "int32", "type": "integer" }, + "volumeBpsLong": { + "description": "Total BPS (bytes per second) volume of attack.", + "format": "int64", + "type": "string" + }, "volumePps": { - "description": "Total PPS (packets per second) volume of attack.", + "deprecated": true, + "description": "Total PPS (packets per second) volume of attack. Deprecated - refer to volume_pps_long instead.", "format": "int32", "type": "integer" + }, + "volumePpsLong": { + "description": "Total PPS (packets per second) volume of attack.", + "format": "int64", + "type": "string" } }, "type": "object" diff --git a/securitycenter/v1beta1/securitycenter-gen.go b/securitycenter/v1beta1/securitycenter-gen.go index f441a95f70..4d6cd6ccb3 100644 --- a/securitycenter/v1beta1/securitycenter-gen.go +++ b/securitycenter/v1beta1/securitycenter-gen.go @@ -477,10 +477,16 @@ type Attack struct { // Classification: Type of attack, for example, 'SYN-flood', 'NTP-udp', or // 'CHARGEN-udp'. Classification string `json:"classification,omitempty"` - // VolumeBps: Total BPS (bytes per second) volume of attack. + // VolumeBps: Total BPS (bytes per second) volume of attack. Deprecated - refer + // to volume_bps_long instead. VolumeBps int64 `json:"volumeBps,omitempty"` - // VolumePps: Total PPS (packets per second) volume of attack. + // VolumeBpsLong: Total BPS (bytes per second) volume of attack. + VolumeBpsLong int64 `json:"volumeBpsLong,omitempty,string"` + // VolumePps: Total PPS (packets per second) volume of attack. Deprecated - + // refer to volume_pps_long instead. VolumePps int64 `json:"volumePps,omitempty"` + // VolumePpsLong: Total PPS (packets per second) volume of attack. + VolumePpsLong int64 `json:"volumePpsLong,omitempty,string"` // ForceSendFields is a list of field names (e.g. "Classification") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See @@ -3817,10 +3823,16 @@ type GoogleCloudSecuritycenterV2Attack struct { // Classification: Type of attack, for example, 'SYN-flood', 'NTP-udp', or // 'CHARGEN-udp'. Classification string `json:"classification,omitempty"` - // VolumeBps: Total BPS (bytes per second) volume of attack. + // VolumeBps: Total BPS (bytes per second) volume of attack. Deprecated - refer + // to volume_bps_long instead. VolumeBps int64 `json:"volumeBps,omitempty"` - // VolumePps: Total PPS (packets per second) volume of attack. + // VolumeBpsLong: Total BPS (bytes per second) volume of attack. + VolumeBpsLong int64 `json:"volumeBpsLong,omitempty,string"` + // VolumePps: Total PPS (packets per second) volume of attack. Deprecated - + // refer to volume_pps_long instead. VolumePps int64 `json:"volumePps,omitempty"` + // VolumePpsLong: Total PPS (packets per second) volume of attack. + VolumePpsLong int64 `json:"volumePpsLong,omitempty,string"` // ForceSendFields is a list of field names (e.g. "Classification") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See diff --git a/securitycenter/v1beta2/securitycenter-api.json b/securitycenter/v1beta2/securitycenter-api.json index 53764c63f6..42f7e6c8aa 100644 --- a/securitycenter/v1beta2/securitycenter-api.json +++ b/securitycenter/v1beta2/securitycenter-api.json @@ -2003,7 +2003,7 @@ } } }, - "revision": "20241206", + "revision": "20250103", "rootUrl": "https://securitycenter.googleapis.com/", "schemas": { "Access": { @@ -2131,14 +2131,26 @@ "type": "string" }, "volumeBps": { - "description": "Total BPS (bytes per second) volume of attack.", + "deprecated": true, + "description": "Total BPS (bytes per second) volume of attack. Deprecated - refer to volume_bps_long instead.", "format": "int32", "type": "integer" }, + "volumeBpsLong": { + "description": "Total BPS (bytes per second) volume of attack.", + "format": "int64", + "type": "string" + }, "volumePps": { - "description": "Total PPS (packets per second) volume of attack.", + "deprecated": true, + "description": "Total PPS (packets per second) volume of attack. Deprecated - refer to volume_pps_long instead.", "format": "int32", "type": "integer" + }, + "volumePpsLong": { + "description": "Total PPS (packets per second) volume of attack.", + "format": "int64", + "type": "string" } }, "type": "object" @@ -4795,14 +4807,26 @@ "type": "string" }, "volumeBps": { - "description": "Total BPS (bytes per second) volume of attack.", + "deprecated": true, + "description": "Total BPS (bytes per second) volume of attack. Deprecated - refer to volume_bps_long instead.", "format": "int32", "type": "integer" }, + "volumeBpsLong": { + "description": "Total BPS (bytes per second) volume of attack.", + "format": "int64", + "type": "string" + }, "volumePps": { - "description": "Total PPS (packets per second) volume of attack.", + "deprecated": true, + "description": "Total PPS (packets per second) volume of attack. Deprecated - refer to volume_pps_long instead.", "format": "int32", "type": "integer" + }, + "volumePpsLong": { + "description": "Total PPS (packets per second) volume of attack.", + "format": "int64", + "type": "string" } }, "type": "object" diff --git a/securitycenter/v1beta2/securitycenter-gen.go b/securitycenter/v1beta2/securitycenter-gen.go index c976257119..f6202b30ec 100644 --- a/securitycenter/v1beta2/securitycenter-gen.go +++ b/securitycenter/v1beta2/securitycenter-gen.go @@ -627,10 +627,16 @@ type Attack struct { // Classification: Type of attack, for example, 'SYN-flood', 'NTP-udp', or // 'CHARGEN-udp'. Classification string `json:"classification,omitempty"` - // VolumeBps: Total BPS (bytes per second) volume of attack. + // VolumeBps: Total BPS (bytes per second) volume of attack. Deprecated - refer + // to volume_bps_long instead. VolumeBps int64 `json:"volumeBps,omitempty"` - // VolumePps: Total PPS (packets per second) volume of attack. + // VolumeBpsLong: Total BPS (bytes per second) volume of attack. + VolumeBpsLong int64 `json:"volumeBpsLong,omitempty,string"` + // VolumePps: Total PPS (packets per second) volume of attack. Deprecated - + // refer to volume_pps_long instead. VolumePps int64 `json:"volumePps,omitempty"` + // VolumePpsLong: Total PPS (packets per second) volume of attack. + VolumePpsLong int64 `json:"volumePpsLong,omitempty,string"` // ForceSendFields is a list of field names (e.g. "Classification") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See @@ -3768,10 +3774,16 @@ type GoogleCloudSecuritycenterV2Attack struct { // Classification: Type of attack, for example, 'SYN-flood', 'NTP-udp', or // 'CHARGEN-udp'. Classification string `json:"classification,omitempty"` - // VolumeBps: Total BPS (bytes per second) volume of attack. + // VolumeBps: Total BPS (bytes per second) volume of attack. Deprecated - refer + // to volume_bps_long instead. VolumeBps int64 `json:"volumeBps,omitempty"` - // VolumePps: Total PPS (packets per second) volume of attack. + // VolumeBpsLong: Total BPS (bytes per second) volume of attack. + VolumeBpsLong int64 `json:"volumeBpsLong,omitempty,string"` + // VolumePps: Total PPS (packets per second) volume of attack. Deprecated - + // refer to volume_pps_long instead. VolumePps int64 `json:"volumePps,omitempty"` + // VolumePpsLong: Total PPS (packets per second) volume of attack. + VolumePpsLong int64 `json:"volumePpsLong,omitempty,string"` // ForceSendFields is a list of field names (e.g. "Classification") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See diff --git a/tpu/v2/tpu-api.json b/tpu/v2/tpu-api.json index b484068b67..81cfe41de8 100644 --- a/tpu/v2/tpu-api.json +++ b/tpu/v2/tpu-api.json @@ -887,7 +887,7 @@ } } }, - "revision": "20241126", + "revision": "20250103", "rootUrl": "https://tpu.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -1491,7 +1491,14 @@ }, "networkConfig": { "$ref": "NetworkConfig", - "description": "Network configurations for the TPU node." + "description": "Network configurations for the TPU node. network_config and network_configs are mutually exclusive, you can only specify one of them. If both are specified, an error will be returned." + }, + "networkConfigs": { + "description": "Optional. Repeated network configurations for the TPU node. This field is used to specify multiple networks configs for the TPU node. network_config and network_configs are mutually exclusive, you can only specify one of them. If both are specified, an error will be returned.", + "items": { + "$ref": "NetworkConfig" + }, + "type": "array" }, "networkEndpoints": { "description": "Output only. The network endpoints where TPU workers can be accessed and sent work. It is recommended that runtime clients of the node reach out to the 0th entry in this map first.", diff --git a/tpu/v2/tpu-gen.go b/tpu/v2/tpu-gen.go index 1e5c1fcc73..cd699d2bb7 100644 --- a/tpu/v2/tpu-gen.go +++ b/tpu/v2/tpu-gen.go @@ -973,8 +973,15 @@ type Node struct { MultisliceNode bool `json:"multisliceNode,omitempty"` // Name: Output only. Immutable. The name of the TPU. Name string `json:"name,omitempty"` - // NetworkConfig: Network configurations for the TPU node. + // NetworkConfig: Network configurations for the TPU node. network_config and + // network_configs are mutually exclusive, you can only specify one of them. If + // both are specified, an error will be returned. NetworkConfig *NetworkConfig `json:"networkConfig,omitempty"` + // NetworkConfigs: Optional. Repeated network configurations for the TPU node. + // This field is used to specify multiple networks configs for the TPU node. + // network_config and network_configs are mutually exclusive, you can only + // specify one of them. If both are specified, an error will be returned. + NetworkConfigs []*NetworkConfig `json:"networkConfigs,omitempty"` // NetworkEndpoints: Output only. The network endpoints where TPU workers can // be accessed and sent work. It is recommended that runtime clients of the // node reach out to the 0th entry in this map first. diff --git a/workloadmanager/v1/workloadmanager-api.json b/workloadmanager/v1/workloadmanager-api.json index bae04fa011..2c4b26634e 100644 --- a/workloadmanager/v1/workloadmanager-api.json +++ b/workloadmanager/v1/workloadmanager-api.json @@ -772,7 +772,7 @@ } } }, - "revision": "20241209", + "revision": "20250101", "rootUrl": "https://workloadmanager.googleapis.com/", "schemas": { "AgentCommand": { @@ -972,7 +972,7 @@ }, "resultSummary": { "$ref": "Summary", - "description": "Output only. [Output only] Result summary", + "description": "Output only. [Output only] Result summary for the execution", "readOnly": true }, "ruleResults": { @@ -1676,10 +1676,14 @@ "description": "Required. Pantheon Project in which the resources reside.", "type": "string" }, + "region": { + "description": "Optional. The region this component's resources are primarily located in.", + "type": "string" + }, "replicationSites": { "description": "Optional. A list of replication sites used in Disaster Recovery (DR) configurations.", "items": { - "$ref": "SapDiscoveryComponent" + "$ref": "SapDiscoveryComponentReplicationSite" }, "type": "array" }, @@ -1806,6 +1810,21 @@ }, "type": "object" }, + "SapDiscoveryComponentReplicationSite": { + "description": "A replication site used in Disaster Recovery (DR) configurations.", + "id": "SapDiscoveryComponentReplicationSite", + "properties": { + "component": { + "$ref": "SapDiscoveryComponent", + "description": "Optional. The system component for the site." + }, + "sourceSite": { + "description": "Optional. The name of the source site from which this one replicates.", + "type": "string" + } + }, + "type": "object" + }, "SapDiscoveryMetadata": { "description": "Message describing SAP discovery system metadata", "id": "SapDiscoveryMetadata", diff --git a/workloadmanager/v1/workloadmanager-gen.go b/workloadmanager/v1/workloadmanager-gen.go index e45df37100..aa78ee94fa 100644 --- a/workloadmanager/v1/workloadmanager-gen.go +++ b/workloadmanager/v1/workloadmanager-gen.go @@ -429,7 +429,7 @@ type Execution struct { Name string `json:"name,omitempty"` // Notices: Output only. Additional information generated by the execution Notices []*Notice `json:"notices,omitempty"` - // ResultSummary: Output only. [Output only] Result summary + // ResultSummary: Output only. [Output only] Result summary for the execution ResultSummary *Summary `json:"resultSummary,omitempty"` // RuleResults: Output only. execution result summary per rule RuleResults []*RuleExecutionResult `json:"ruleResults,omitempty"` @@ -1202,9 +1202,12 @@ type SapDiscoveryComponent struct { HaHosts []string `json:"haHosts,omitempty"` // HostProject: Required. Pantheon Project in which the resources reside. HostProject string `json:"hostProject,omitempty"` + // Region: Optional. The region this component's resources are primarily + // located in. + Region string `json:"region,omitempty"` // ReplicationSites: Optional. A list of replication sites used in Disaster // Recovery (DR) configurations. - ReplicationSites []*SapDiscoveryComponent `json:"replicationSites,omitempty"` + ReplicationSites []*SapDiscoveryComponentReplicationSite `json:"replicationSites,omitempty"` // Resources: Optional. The resources in a component. Resources []*SapDiscoveryResource `json:"resources,omitempty"` // Sid: Optional. The SAP identifier, used by the SAP software and helps @@ -1324,6 +1327,32 @@ func (s SapDiscoveryComponentDatabaseProperties) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// SapDiscoveryComponentReplicationSite: A replication site used in Disaster +// Recovery (DR) configurations. +type SapDiscoveryComponentReplicationSite struct { + // Component: Optional. The system component for the site. + Component *SapDiscoveryComponent `json:"component,omitempty"` + // SourceSite: Optional. The name of the source site from which this one + // replicates. + SourceSite string `json:"sourceSite,omitempty"` + // ForceSendFields is a list of field names (e.g. "Component") to + // unconditionally include in API requests. By default, fields with empty or + // default values are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "Component") to include in API + // requests with the JSON null value. By default, fields with empty values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s SapDiscoveryComponentReplicationSite) MarshalJSON() ([]byte, error) { + type NoMethod SapDiscoveryComponentReplicationSite + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // SapDiscoveryMetadata: Message describing SAP discovery system metadata type SapDiscoveryMetadata struct { // CustomerRegion: Optional. Customer region string for customer's use. Does