From d09427918c62c75f4dc62e35752531f54a3f0892 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Sun, 20 Oct 2024 00:22:23 -0700 Subject: [PATCH] feat(all): auto-regenerate discovery clients (#2831) --- apikeys/v2/apikeys-api.json | 6 +- apikeys/v2/apikeys-gen.go | 3 + artifactregistry/v1/artifactregistry-api.json | 67 +++++++++++++++-- artifactregistry/v1/artifactregistry-gen.go | 70 +++++++++++++++--- beyondcorp/v1alpha/beyondcorp-api.json | 4 +- beyondcorp/v1alpha/beyondcorp-gen.go | 4 +- clouddeploy/v1/clouddeploy-api.json | 52 ++++++++++++- clouddeploy/v1/clouddeploy-gen.go | 73 +++++++++++++++++++ dialogflow/v2/dialogflow-api.json | 10 +-- dialogflow/v2/dialogflow-gen.go | 6 +- dialogflow/v2beta1/dialogflow-api.json | 10 +-- dialogflow/v2beta1/dialogflow-gen.go | 6 +- dialogflow/v3/dialogflow-api.json | 10 +-- dialogflow/v3/dialogflow-gen.go | 6 +- dialogflow/v3beta1/dialogflow-api.json | 10 +-- dialogflow/v3beta1/dialogflow-gen.go | 6 +- .../v1alpha/firebaseappdistribution-api.json | 17 ++++- .../v1alpha/firebaseappdistribution-gen.go | 20 +++++ gkehub/v1/gkehub-api.json | 18 ++++- gkehub/v1/gkehub-gen.go | 28 +++++-- gkehub/v1alpha/gkehub-api.json | 18 ++++- gkehub/v1alpha/gkehub-gen.go | 28 +++++-- gkehub/v1beta/gkehub-api.json | 18 ++++- gkehub/v1beta/gkehub-gen.go | 28 +++++-- gkehub/v2alpha/gkehub-api.json | 18 ++++- gkehub/v2alpha/gkehub-gen.go | 28 +++++-- .../v1alpha1/networkconnectivity-api.json | 6 +- .../v1alpha1/networkconnectivity-gen.go | 5 +- .../v1beta1/networkmanagement-api.json | 4 +- .../v1beta1/networkmanagement-gen.go | 7 +- workloadmanager/v1/workloadmanager-api.json | 52 ++++++++++++- workloadmanager/v1/workloadmanager-gen.go | 38 ++++++++++ workstations/v1/workstations-api.json | 52 ++++++++++++- workstations/v1/workstations-gen.go | 63 ++++++++++++++++ workstations/v1beta/workstations-api.json | 9 ++- workstations/v1beta/workstations-gen.go | 3 + 36 files changed, 703 insertions(+), 100 deletions(-) diff --git a/apikeys/v2/apikeys-api.json b/apikeys/v2/apikeys-api.json index 5de86b47d30..d57bb7a96ab 100644 --- a/apikeys/v2/apikeys-api.json +++ b/apikeys/v2/apikeys-api.json @@ -396,7 +396,7 @@ } } }, - "revision": "20240811", + "revision": "20241016", "rootUrl": "https://apikeys.googleapis.com/", "schemas": { "Operation": { @@ -593,6 +593,10 @@ "$ref": "V2Restrictions", "description": "Key restrictions." }, + "serviceAccountEmail": { + "description": "Optional. The email address of [the service account](https://cloud.google.com/iam/docs/service-accounts) the key is bound to.", + "type": "string" + }, "uid": { "description": "Output only. Unique id in UUID4 format.", "readOnly": true, diff --git a/apikeys/v2/apikeys-gen.go b/apikeys/v2/apikeys-gen.go index 3ce249ebc2f..948a7cd7b2e 100644 --- a/apikeys/v2/apikeys-gen.go +++ b/apikeys/v2/apikeys-gen.go @@ -488,6 +488,9 @@ type V2Key struct { Name string `json:"name,omitempty"` // Restrictions: Key restrictions. Restrictions *V2Restrictions `json:"restrictions,omitempty"` + // ServiceAccountEmail: Optional. The email address of the service account + // (https://cloud.google.com/iam/docs/service-accounts) the key is bound to. + ServiceAccountEmail string `json:"serviceAccountEmail,omitempty"` // Uid: Output only. Unique id in UUID4 format. Uid string `json:"uid,omitempty"` // UpdateTime: Output only. A timestamp identifying the time this key was last diff --git a/artifactregistry/v1/artifactregistry-api.json b/artifactregistry/v1/artifactregistry-api.json index 1b91f21b6de..5f1a776dbf8 100644 --- a/artifactregistry/v1/artifactregistry-api.json +++ b/artifactregistry/v1/artifactregistry-api.json @@ -2334,7 +2334,7 @@ ], "parameters": { "name": { - "description": "The name of the rule, for example: \"projects/p1/locations/us-central1/repositories/repo1/rules/rule1\".", + "description": "The name of the rule, for example: `projects/p1/locations/us-central1/repositories/repo1/rules/rule1`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/rules/[^/]+$", "required": true, @@ -2439,7 +2439,7 @@ } } }, - "revision": "20241010", + "revision": "20241011", "rootUrl": "https://artifactregistry.googleapis.com/", "schemas": { "AptArtifact": { @@ -3101,11 +3101,11 @@ "type": "object" }, "GoogleDevtoolsArtifactregistryV1Rule": { - "description": "A Rule applies to repository or package level. It defines the deny or allow action of the operation when the conditions in the rule are met.", + "description": "A rule defines the deny or allow action of the operation it applies to and the conditions required for the rule to apply. You can set one rule for an entire repository and one rule for each package within.", "id": "GoogleDevtoolsArtifactregistryV1Rule", "properties": { "action": { - "description": "The action this rule makes.", + "description": "The action this rule takes.", "enum": [ "ACTION_UNSPECIFIED", "ALLOW", @@ -3120,10 +3120,10 @@ }, "condition": { "$ref": "Expr", - "description": "Optional. The condition of the rule in CEL expression. If not provided, the rule matches all the objects." + "description": "Optional. A CEL expression for conditions that must be met in order for the rule to apply. If not provided, the rule matches all objects." }, "name": { - "description": "The name of the rule, for example: \"projects/p1/locations/us-central1/repositories/repo1/rules/rule1\".", + "description": "The name of the rule, for example: `projects/p1/locations/us-central1/repositories/repo1/rules/rule1`.", "type": "string" }, "operation": { @@ -3138,7 +3138,7 @@ "type": "string" }, "packageId": { - "description": "The package ID the rule applies to. If empty, this rule applies to all the packages inside the repository.", + "description": "The package ID the rule applies to. If empty, this rule applies to all packages inside the repository.", "type": "string" } }, @@ -4174,6 +4174,10 @@ "virtualRepositoryConfig": { "$ref": "VirtualRepositoryConfig", "description": "Configuration specific for a Virtual Repository." + }, + "vulnerabilityScanningConfig": { + "$ref": "VulnerabilityScanningConfig", + "description": "Optional. Config and state for vulnerability scanning of resources within this Repository." } }, "type": "object" @@ -4619,6 +4623,55 @@ }, "type": "object" }, + "VulnerabilityScanningConfig": { + "description": "Config on whether to perform vulnerability scanning for resources in this repository, as well as output fields describing current state.", + "id": "VulnerabilityScanningConfig", + "properties": { + "enablementConfig": { + "description": "Optional. Config for whether this repository has vulnerability scanning disabled.", + "enum": [ + "ENABLEMENT_CONFIG_UNSPECIFIED", + "INHERITED", + "DISABLED" + ], + "enumDescriptions": [ + "Not set. This will be treated as INHERITED.", + "Scanning is Enabled, but dependent on API enablement.", + "No automatic vulnerability scanning will be performed for this repository." + ], + "type": "string" + }, + "enablementState": { + "description": "Output only. State of feature enablement, combining repository enablement config and API enablement state.", + "enum": [ + "ENABLEMENT_STATE_UNSPECIFIED", + "SCANNING_UNSUPPORTED", + "SCANNING_DISABLED", + "SCANNING_ACTIVE" + ], + "enumDescriptions": [ + "Enablement state is unclear.", + "Repository does not support vulnerability scanning.", + "Vulnerability scanning is disabled for this repository.", + "Vulnerability scanning is active for this repository." + ], + "readOnly": true, + "type": "string" + }, + "enablementStateReason": { + "description": "Output only. Reason for the repository state.", + "readOnly": true, + "type": "string" + }, + "lastEnableTime": { + "description": "Output only. The last time this repository config was enabled.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "YumArtifact": { "description": "A detailed representation of a Yum artifact.", "id": "YumArtifact", diff --git a/artifactregistry/v1/artifactregistry-gen.go b/artifactregistry/v1/artifactregistry-gen.go index 0f92c57c480..6553061eb1c 100644 --- a/artifactregistry/v1/artifactregistry-gen.go +++ b/artifactregistry/v1/artifactregistry-gen.go @@ -1316,29 +1316,30 @@ func (s GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigYumRepositoryPubli return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } -// GoogleDevtoolsArtifactregistryV1Rule: A Rule applies to repository or -// package level. It defines the deny or allow action of the operation when the -// conditions in the rule are met. +// GoogleDevtoolsArtifactregistryV1Rule: A rule defines the deny or allow +// action of the operation it applies to and the conditions required for the +// rule to apply. You can set one rule for an entire repository and one rule +// for each package within. type GoogleDevtoolsArtifactregistryV1Rule struct { - // Action: The action this rule makes. + // Action: The action this rule takes. // // Possible values: // "ACTION_UNSPECIFIED" - Action not specified. // "ALLOW" - Allow the operation. // "DENY" - Deny the operation. Action string `json:"action,omitempty"` - // Condition: Optional. The condition of the rule in CEL expression. If not - // provided, the rule matches all the objects. + // Condition: Optional. A CEL expression for conditions that must be met in + // order for the rule to apply. If not provided, the rule matches all objects. Condition *Expr `json:"condition,omitempty"` // Name: The name of the rule, for example: - // "projects/p1/locations/us-central1/repositories/repo1/rules/rule1". + // `projects/p1/locations/us-central1/repositories/repo1/rules/rule1`. Name string `json:"name,omitempty"` // Possible values: // "OPERATION_UNSPECIFIED" - Operation not specified. // "DOWNLOAD" - Download operation. Operation string `json:"operation,omitempty"` // PackageId: The package ID the rule applies to. If empty, this rule applies - // to all the packages inside the repository. + // to all packages inside the repository. PackageId string `json:"packageId,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. @@ -2696,6 +2697,9 @@ type Repository struct { UpdateTime string `json:"updateTime,omitempty"` // VirtualRepositoryConfig: Configuration specific for a Virtual Repository. VirtualRepositoryConfig *VirtualRepositoryConfig `json:"virtualRepositoryConfig,omitempty"` + // VulnerabilityScanningConfig: Optional. Config and state for vulnerability + // scanning of resources within this Repository. + VulnerabilityScanningConfig *VulnerabilityScanningConfig `json:"vulnerabilityScanningConfig,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` @@ -3426,6 +3430,54 @@ func (s VirtualRepositoryConfig) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// VulnerabilityScanningConfig: Config on whether to perform vulnerability +// scanning for resources in this repository, as well as output fields +// describing current state. +type VulnerabilityScanningConfig struct { + // EnablementConfig: Optional. Config for whether this repository has + // vulnerability scanning disabled. + // + // Possible values: + // "ENABLEMENT_CONFIG_UNSPECIFIED" - Not set. This will be treated as + // INHERITED. + // "INHERITED" - Scanning is Enabled, but dependent on API enablement. + // "DISABLED" - No automatic vulnerability scanning will be performed for + // this repository. + EnablementConfig string `json:"enablementConfig,omitempty"` + // EnablementState: Output only. State of feature enablement, combining + // repository enablement config and API enablement state. + // + // Possible values: + // "ENABLEMENT_STATE_UNSPECIFIED" - Enablement state is unclear. + // "SCANNING_UNSUPPORTED" - Repository does not support vulnerability + // scanning. + // "SCANNING_DISABLED" - Vulnerability scanning is disabled for this + // repository. + // "SCANNING_ACTIVE" - Vulnerability scanning is active for this repository. + EnablementState string `json:"enablementState,omitempty"` + // EnablementStateReason: Output only. Reason for the repository state. + EnablementStateReason string `json:"enablementStateReason,omitempty"` + // LastEnableTime: Output only. The last time this repository config was + // enabled. + LastEnableTime string `json:"lastEnableTime,omitempty"` + // ForceSendFields is a list of field names (e.g. "EnablementConfig") 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. "EnablementConfig") 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 VulnerabilityScanningConfig) MarshalJSON() ([]byte, error) { + type NoMethod VulnerabilityScanningConfig + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // YumArtifact: A detailed representation of a Yum artifact. type YumArtifact struct { // Architecture: Output only. Operating system architecture of the artifact. @@ -10773,7 +10825,7 @@ type ProjectsLocationsRepositoriesRulesPatchCall struct { // Patch: Updates a rule. // // - name: The name of the rule, for example: -// "projects/p1/locations/us-central1/repositories/repo1/rules/rule1". +// `projects/p1/locations/us-central1/repositories/repo1/rules/rule1`. func (r *ProjectsLocationsRepositoriesRulesService) Patch(name string, googledevtoolsartifactregistryv1rule *GoogleDevtoolsArtifactregistryV1Rule) *ProjectsLocationsRepositoriesRulesPatchCall { c := &ProjectsLocationsRepositoriesRulesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name diff --git a/beyondcorp/v1alpha/beyondcorp-api.json b/beyondcorp/v1alpha/beyondcorp-api.json index ae84f67ffd1..33ee03b840d 100644 --- a/beyondcorp/v1alpha/beyondcorp-api.json +++ b/beyondcorp/v1alpha/beyondcorp-api.json @@ -4408,7 +4408,7 @@ } } }, - "revision": "20241004", + "revision": "20241011", "rootUrl": "https://beyondcorp.googleapis.com/", "schemas": { "AllocatedConnection": { @@ -6766,7 +6766,7 @@ }, "type": "array" }, - "targetVpcNetwork": { + "targetNetwork": { "description": "Required. The name of the Target VPC network name in the format: `projects/{project}/global/networks/{network}", "type": "string" } diff --git a/beyondcorp/v1alpha/beyondcorp-gen.go b/beyondcorp/v1alpha/beyondcorp-gen.go index ef0f5e12bef..58b15fb9a79 100644 --- a/beyondcorp/v1alpha/beyondcorp-gen.go +++ b/beyondcorp/v1alpha/beyondcorp-gen.go @@ -3067,9 +3067,9 @@ type GoogleCloudBeyondcorpSecuritygatewaysV1alphaPeering struct { // DnsZones: Optional. List of DNS zones for DNS peering with the customer VPC // network. DnsZones []string `json:"dnsZones,omitempty"` - // TargetVpcNetwork: Required. The name of the Target VPC network name in the + // TargetNetwork: Required. The name of the Target VPC network name in the // format: `projects/{project}/global/networks/{network} - TargetVpcNetwork string `json:"targetVpcNetwork,omitempty"` + TargetNetwork string `json:"targetNetwork,omitempty"` // ForceSendFields is a list of field names (e.g. "DnsZones") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See diff --git a/clouddeploy/v1/clouddeploy-api.json b/clouddeploy/v1/clouddeploy-api.json index 562dfa2f0a2..69151b94264 100644 --- a/clouddeploy/v1/clouddeploy-api.json +++ b/clouddeploy/v1/clouddeploy-api.json @@ -2289,7 +2289,7 @@ } } }, - "revision": "20241002", + "revision": "20241010", "rootUrl": "https://clouddeploy.googleapis.com/", "schemas": { "AbandonReleaseRequest": { @@ -2442,6 +2442,27 @@ "properties": {}, "type": "object" }, + "AssociatedEntities": { + "description": "Information about entities associated with a `Target`.", + "id": "AssociatedEntities", + "properties": { + "anthosClusters": { + "description": "Optional. Information specifying Anthos clusters as associated entities.", + "items": { + "$ref": "AnthosCluster" + }, + "type": "array" + }, + "gkeClusters": { + "description": "Optional. Information specifying GKE clusters as associated entities.", + "items": { + "$ref": "GkeCluster" + }, + "type": "array" + } + }, + "type": "object" + }, "AuditConfig": { "description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.", "id": "AuditConfig", @@ -3989,6 +4010,10 @@ "description": "Optional. The label to use when selecting Pods for the Deployment and Service resources. This label must already be present in both resources.", "type": "string" }, + "routeDestinations": { + "$ref": "RouteDestinations", + "description": "Optional. Route destinations allow configuring the Gateway API HTTPRoute to be deployed to additional clusters. This option is available for multi-cluster service mesh set ups that require the route to exist in the clusters that call the service. If unspecified, the HTTPRoute will only be deployed to the Target cluster." + }, "routeUpdateWaitTime": { "description": "Optional. The time to wait for route updates to propagate. The maximum configurable time is 3 hours, in seconds format. If unspecified, there is no wait time.", "format": "google-duration", @@ -6308,6 +6333,24 @@ }, "type": "object" }, + "RouteDestinations": { + "description": "Information about route destinations for the Gateway API service mesh.", + "id": "RouteDestinations", + "properties": { + "destinationIds": { + "description": "Required. The clusters where the Gateway API HTTPRoute resource will be deployed to. Valid entries include the associated entities IDs configured in the Target resource and \"@self\" to include the Target cluster.", + "items": { + "type": "string" + }, + "type": "array" + }, + "propagateService": { + "description": "Optional. Whether to propagate the Kubernetes Service to the route destination clusters. The Service will always be deployed to the Target cluster even if the HTTPRoute is not. This option may be used to facilitiate successful DNS lookup in the route destination clusters. Can only be set to true if destinations are specified.", + "type": "boolean" + } + }, + "type": "object" + }, "RuntimeConfig": { "description": "RuntimeConfig contains the runtime specific configurations for a deployment strategy.", "id": "RuntimeConfig", @@ -6622,6 +6665,13 @@ "$ref": "AnthosCluster", "description": "Optional. Information specifying an Anthos Cluster." }, + "associatedEntities": { + "additionalProperties": { + "$ref": "AssociatedEntities" + }, + "description": "Optional. Map of entity IDs to their associated entities. Associated entities allows specifying places other than the deployment target for specific features. For example, the Gateway API canary can be configured to deploy the HTTPRoute to a different cluster(s) than the deployment cluster using associated entities. An entity ID must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.", + "type": "object" + }, "createTime": { "description": "Output only. Time at which the `Target` was created.", "format": "google-datetime", diff --git a/clouddeploy/v1/clouddeploy-gen.go b/clouddeploy/v1/clouddeploy-gen.go index 6a2a25550ef..d46d3ec43ad 100644 --- a/clouddeploy/v1/clouddeploy-gen.go +++ b/clouddeploy/v1/clouddeploy-gen.go @@ -488,6 +488,32 @@ type ApproveRolloutResponse struct { googleapi.ServerResponse `json:"-"` } +// AssociatedEntities: Information about entities associated with a `Target`. +type AssociatedEntities struct { + // AnthosClusters: Optional. Information specifying Anthos clusters as + // associated entities. + AnthosClusters []*AnthosCluster `json:"anthosClusters,omitempty"` + // GkeClusters: Optional. Information specifying GKE clusters as associated + // entities. + GkeClusters []*GkeCluster `json:"gkeClusters,omitempty"` + // ForceSendFields is a list of field names (e.g. "AnthosClusters") 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. "AnthosClusters") 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 AssociatedEntities) MarshalJSON() ([]byte, error) { + type NoMethod AssociatedEntities + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // AuditConfig: Specifies the audit configuration for a service. The // configuration determines which permission types are logged, and what // identities, if any, are exempted from logging. An AuditConfig must have one @@ -2323,6 +2349,12 @@ type GatewayServiceMesh struct { // Deployment and Service resources. This label must already be present in both // resources. PodSelectorLabel string `json:"podSelectorLabel,omitempty"` + // RouteDestinations: Optional. Route destinations allow configuring the + // Gateway API HTTPRoute to be deployed to additional clusters. This option is + // available for multi-cluster service mesh set ups that require the route to + // exist in the clusters that call the service. If unspecified, the HTTPRoute + // will only be deployed to the Target cluster. + RouteDestinations *RouteDestinations `json:"routeDestinations,omitempty"` // RouteUpdateWaitTime: Optional. The time to wait for route updates to // propagate. The maximum configurable time is 3 hours, in seconds format. If // unspecified, there is no wait time. @@ -4790,6 +4822,38 @@ func (s RolloutUpdateEvent) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// RouteDestinations: Information about route destinations for the Gateway API +// service mesh. +type RouteDestinations struct { + // DestinationIds: Required. The clusters where the Gateway API HTTPRoute + // resource will be deployed to. Valid entries include the associated entities + // IDs configured in the Target resource and "@self" to include the Target + // cluster. + DestinationIds []string `json:"destinationIds,omitempty"` + // PropagateService: Optional. Whether to propagate the Kubernetes Service to + // the route destination clusters. The Service will always be deployed to the + // Target cluster even if the HTTPRoute is not. This option may be used to + // facilitiate successful DNS lookup in the route destination clusters. Can + // only be set to true if destinations are specified. + PropagateService bool `json:"propagateService,omitempty"` + // ForceSendFields is a list of field names (e.g. "DestinationIds") 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. "DestinationIds") 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 RouteDestinations) MarshalJSON() ([]byte, error) { + type NoMethod RouteDestinations + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // RuntimeConfig: RuntimeConfig contains the runtime specific configurations // for a deployment strategy. type RuntimeConfig struct { @@ -5222,6 +5286,15 @@ type Target struct { Annotations map[string]string `json:"annotations,omitempty"` // AnthosCluster: Optional. Information specifying an Anthos Cluster. AnthosCluster *AnthosCluster `json:"anthosCluster,omitempty"` + // AssociatedEntities: Optional. Map of entity IDs to their associated + // entities. Associated entities allows specifying places other than the + // deployment target for specific features. For example, the Gateway API canary + // can be configured to deploy the HTTPRoute to a different cluster(s) than the + // deployment cluster using associated entities. An entity ID must consist of + // lower-case letters, numbers, and hyphens, start with a letter and end with a + // letter or a number, and have a max length of 63 characters. In other words, + // it must match the following regex: `^a-z ([a-z0-9-]{0,61}[a-z0-9])?$`. + AssociatedEntities map[string]AssociatedEntities `json:"associatedEntities,omitempty"` // CreateTime: Output only. Time at which the `Target` was created. CreateTime string `json:"createTime,omitempty"` // CustomTarget: Optional. Information specifying a Custom Target. diff --git a/dialogflow/v2/dialogflow-api.json b/dialogflow/v2/dialogflow-api.json index 682bcb5b48f..49c096d5b80 100644 --- a/dialogflow/v2/dialogflow-api.json +++ b/dialogflow/v2/dialogflow-api.json @@ -8714,7 +8714,7 @@ } } }, - "revision": "20241009", + "revision": "20241018", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { "GoogleCloudDialogflowCxV3AdvancedSettings": { @@ -9043,13 +9043,13 @@ "DATA_STORE_TYPE_UNSPECIFIED", "PUBLIC_WEB", "UNSTRUCTURED", - "FAQ" + "STRUCTURED" ], "enumDescriptions": [ "Not specified. This value indicates that the data store type is not specified, so it will not be used during search.", "A data store that contains public web content.", "A data store that contains unstructured private data.", - "A data store that contains structured data used as FAQ." + "A data store that contains structured data (for example FAQ)." ], "type": "string" } @@ -11350,13 +11350,13 @@ "DATA_STORE_TYPE_UNSPECIFIED", "PUBLIC_WEB", "UNSTRUCTURED", - "FAQ" + "STRUCTURED" ], "enumDescriptions": [ "Not specified. This value indicates that the data store type is not specified, so it will not be used during search.", "A data store that contains public web content.", "A data store that contains unstructured private data.", - "A data store that contains structured data used as FAQ." + "A data store that contains structured data (for example FAQ)." ], "type": "string" } diff --git a/dialogflow/v2/dialogflow-gen.go b/dialogflow/v2/dialogflow-gen.go index 98cd2ed2b55..5914b16adc4 100644 --- a/dialogflow/v2/dialogflow-gen.go +++ b/dialogflow/v2/dialogflow-gen.go @@ -1395,7 +1395,8 @@ type GoogleCloudDialogflowCxV3DataStoreConnection struct { // the data store type is not specified, so it will not be used during search. // "PUBLIC_WEB" - A data store that contains public web content. // "UNSTRUCTURED" - A data store that contains unstructured private data. - // "FAQ" - A data store that contains structured data used as FAQ. + // "STRUCTURED" - A data store that contains structured data (for example + // FAQ). DataStoreType string `json:"dataStoreType,omitempty"` // ForceSendFields is a list of field names (e.g. "DataStore") to // unconditionally include in API requests. By default, fields with empty or @@ -4675,7 +4676,8 @@ type GoogleCloudDialogflowCxV3beta1DataStoreConnection struct { // the data store type is not specified, so it will not be used during search. // "PUBLIC_WEB" - A data store that contains public web content. // "UNSTRUCTURED" - A data store that contains unstructured private data. - // "FAQ" - A data store that contains structured data used as FAQ. + // "STRUCTURED" - A data store that contains structured data (for example + // FAQ). DataStoreType string `json:"dataStoreType,omitempty"` // ForceSendFields is a list of field names (e.g. "DataStore") to // unconditionally include in API requests. By default, fields with empty or diff --git a/dialogflow/v2beta1/dialogflow-api.json b/dialogflow/v2beta1/dialogflow-api.json index ac85b45b87e..dfa13c901b6 100644 --- a/dialogflow/v2beta1/dialogflow-api.json +++ b/dialogflow/v2beta1/dialogflow-api.json @@ -8082,7 +8082,7 @@ } } }, - "revision": "20241009", + "revision": "20241018", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { "GoogleCloudDialogflowCxV3AdvancedSettings": { @@ -8411,13 +8411,13 @@ "DATA_STORE_TYPE_UNSPECIFIED", "PUBLIC_WEB", "UNSTRUCTURED", - "FAQ" + "STRUCTURED" ], "enumDescriptions": [ "Not specified. This value indicates that the data store type is not specified, so it will not be used during search.", "A data store that contains public web content.", "A data store that contains unstructured private data.", - "A data store that contains structured data used as FAQ." + "A data store that contains structured data (for example FAQ)." ], "type": "string" } @@ -10718,13 +10718,13 @@ "DATA_STORE_TYPE_UNSPECIFIED", "PUBLIC_WEB", "UNSTRUCTURED", - "FAQ" + "STRUCTURED" ], "enumDescriptions": [ "Not specified. This value indicates that the data store type is not specified, so it will not be used during search.", "A data store that contains public web content.", "A data store that contains unstructured private data.", - "A data store that contains structured data used as FAQ." + "A data store that contains structured data (for example FAQ)." ], "type": "string" } diff --git a/dialogflow/v2beta1/dialogflow-gen.go b/dialogflow/v2beta1/dialogflow-gen.go index 5c79549cfea..c7ad6f31271 100644 --- a/dialogflow/v2beta1/dialogflow-gen.go +++ b/dialogflow/v2beta1/dialogflow-gen.go @@ -1323,7 +1323,8 @@ type GoogleCloudDialogflowCxV3DataStoreConnection struct { // the data store type is not specified, so it will not be used during search. // "PUBLIC_WEB" - A data store that contains public web content. // "UNSTRUCTURED" - A data store that contains unstructured private data. - // "FAQ" - A data store that contains structured data used as FAQ. + // "STRUCTURED" - A data store that contains structured data (for example + // FAQ). DataStoreType string `json:"dataStoreType,omitempty"` // ForceSendFields is a list of field names (e.g. "DataStore") to // unconditionally include in API requests. By default, fields with empty or @@ -4603,7 +4604,8 @@ type GoogleCloudDialogflowCxV3beta1DataStoreConnection struct { // the data store type is not specified, so it will not be used during search. // "PUBLIC_WEB" - A data store that contains public web content. // "UNSTRUCTURED" - A data store that contains unstructured private data. - // "FAQ" - A data store that contains structured data used as FAQ. + // "STRUCTURED" - A data store that contains structured data (for example + // FAQ). DataStoreType string `json:"dataStoreType,omitempty"` // ForceSendFields is a list of field names (e.g. "DataStore") to // unconditionally include in API requests. By default, fields with empty or diff --git a/dialogflow/v3/dialogflow-api.json b/dialogflow/v3/dialogflow-api.json index a9e698bd4cc..bfc9f0af24d 100644 --- a/dialogflow/v3/dialogflow-api.json +++ b/dialogflow/v3/dialogflow-api.json @@ -4453,7 +4453,7 @@ } } }, - "revision": "20241009", + "revision": "20241018", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { "GoogleCloudDialogflowCxV3AdvancedSettings": { @@ -5284,13 +5284,13 @@ "DATA_STORE_TYPE_UNSPECIFIED", "PUBLIC_WEB", "UNSTRUCTURED", - "FAQ" + "STRUCTURED" ], "enumDescriptions": [ "Not specified. This value indicates that the data store type is not specified, so it will not be used during search.", "A data store that contains public web content.", "A data store that contains unstructured private data.", - "A data store that contains structured data used as FAQ." + "A data store that contains structured data (for example FAQ)." ], "type": "string" } @@ -10549,13 +10549,13 @@ "DATA_STORE_TYPE_UNSPECIFIED", "PUBLIC_WEB", "UNSTRUCTURED", - "FAQ" + "STRUCTURED" ], "enumDescriptions": [ "Not specified. This value indicates that the data store type is not specified, so it will not be used during search.", "A data store that contains public web content.", "A data store that contains unstructured private data.", - "A data store that contains structured data used as FAQ." + "A data store that contains structured data (for example FAQ)." ], "type": "string" } diff --git a/dialogflow/v3/dialogflow-gen.go b/dialogflow/v3/dialogflow-gen.go index e85f7476f8d..dc4c6870a7e 100644 --- a/dialogflow/v3/dialogflow-gen.go +++ b/dialogflow/v3/dialogflow-gen.go @@ -1692,7 +1692,8 @@ type GoogleCloudDialogflowCxV3DataStoreConnection struct { // the data store type is not specified, so it will not be used during search. // "PUBLIC_WEB" - A data store that contains public web content. // "UNSTRUCTURED" - A data store that contains unstructured private data. - // "FAQ" - A data store that contains structured data used as FAQ. + // "STRUCTURED" - A data store that contains structured data (for example + // FAQ). DataStoreType string `json:"dataStoreType,omitempty"` // ForceSendFields is a list of field names (e.g. "DataStore") to // unconditionally include in API requests. By default, fields with empty or @@ -9188,7 +9189,8 @@ type GoogleCloudDialogflowCxV3beta1DataStoreConnection struct { // the data store type is not specified, so it will not be used during search. // "PUBLIC_WEB" - A data store that contains public web content. // "UNSTRUCTURED" - A data store that contains unstructured private data. - // "FAQ" - A data store that contains structured data used as FAQ. + // "STRUCTURED" - A data store that contains structured data (for example + // FAQ). DataStoreType string `json:"dataStoreType,omitempty"` // ForceSendFields is a list of field names (e.g. "DataStore") to // unconditionally include in API requests. By default, fields with empty or diff --git a/dialogflow/v3beta1/dialogflow-api.json b/dialogflow/v3beta1/dialogflow-api.json index bd0b2b426af..992177564d0 100644 --- a/dialogflow/v3beta1/dialogflow-api.json +++ b/dialogflow/v3beta1/dialogflow-api.json @@ -5185,7 +5185,7 @@ } } }, - "revision": "20241009", + "revision": "20241018", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { "GoogleCloudDialogflowCxV3AdvancedSettings": { @@ -5514,13 +5514,13 @@ "DATA_STORE_TYPE_UNSPECIFIED", "PUBLIC_WEB", "UNSTRUCTURED", - "FAQ" + "STRUCTURED" ], "enumDescriptions": [ "Not specified. This value indicates that the data store type is not specified, so it will not be used during search.", "A data store that contains public web content.", "A data store that contains unstructured private data.", - "A data store that contains structured data used as FAQ." + "A data store that contains structured data (for example FAQ)." ], "type": "string" } @@ -8646,13 +8646,13 @@ "DATA_STORE_TYPE_UNSPECIFIED", "PUBLIC_WEB", "UNSTRUCTURED", - "FAQ" + "STRUCTURED" ], "enumDescriptions": [ "Not specified. This value indicates that the data store type is not specified, so it will not be used during search.", "A data store that contains public web content.", "A data store that contains unstructured private data.", - "A data store that contains structured data used as FAQ." + "A data store that contains structured data (for example FAQ)." ], "type": "string" } diff --git a/dialogflow/v3beta1/dialogflow-gen.go b/dialogflow/v3beta1/dialogflow-gen.go index 413f3a6bd19..8d4a2c7ba0b 100644 --- a/dialogflow/v3beta1/dialogflow-gen.go +++ b/dialogflow/v3beta1/dialogflow-gen.go @@ -999,7 +999,8 @@ type GoogleCloudDialogflowCxV3DataStoreConnection struct { // the data store type is not specified, so it will not be used during search. // "PUBLIC_WEB" - A data store that contains public web content. // "UNSTRUCTURED" - A data store that contains unstructured private data. - // "FAQ" - A data store that contains structured data used as FAQ. + // "STRUCTURED" - A data store that contains structured data (for example + // FAQ). DataStoreType string `json:"dataStoreType,omitempty"` // ForceSendFields is a list of field names (e.g. "DataStore") to // unconditionally include in API requests. By default, fields with empty or @@ -5411,7 +5412,8 @@ type GoogleCloudDialogflowCxV3beta1DataStoreConnection struct { // the data store type is not specified, so it will not be used during search. // "PUBLIC_WEB" - A data store that contains public web content. // "UNSTRUCTURED" - A data store that contains unstructured private data. - // "FAQ" - A data store that contains structured data used as FAQ. + // "STRUCTURED" - A data store that contains structured data (for example + // FAQ). DataStoreType string `json:"dataStoreType,omitempty"` // ForceSendFields is a list of field names (e.g. "DataStore") to // unconditionally include in API requests. By default, fields with empty or diff --git a/firebaseappdistribution/v1alpha/firebaseappdistribution-api.json b/firebaseappdistribution/v1alpha/firebaseappdistribution-api.json index 9cb7812606f..bc41ddaa414 100644 --- a/firebaseappdistribution/v1alpha/firebaseappdistribution-api.json +++ b/firebaseappdistribution/v1alpha/firebaseappdistribution-api.json @@ -557,6 +557,21 @@ "pattern": "^projects/[^/]+/apps/[^/]+/releases/[^/]+$", "required": true, "type": "string" + }, + "view": { + "description": "Optional. The requested view on the returned ReleaseTests. Defaults to the basic view.", + "enum": [ + "RELEASE_TEST_VIEW_UNSPECIFIED", + "RELEASE_TEST_VIEW_BASIC", + "RELEASE_TEST_VIEW_FULL" + ], + "enumDescriptions": [ + "The default / unset value. The default view depends on the RPC.", + "Include basic metadata about the release test and its status, but not the full result details. This is the default value for ListReleaseTests.", + "Include everything." + ], + "location": "query", + "type": "string" } }, "path": "v1alpha/{+parent}/tests", @@ -610,7 +625,7 @@ } } }, - "revision": "20241017", + "revision": "20241018", "rootUrl": "https://firebaseappdistribution.googleapis.com/", "schemas": { "AndroidxCrawlerOutputPoint": { diff --git a/firebaseappdistribution/v1alpha/firebaseappdistribution-gen.go b/firebaseappdistribution/v1alpha/firebaseappdistribution-gen.go index 80ef9c073c8..9d5c27ace83 100644 --- a/firebaseappdistribution/v1alpha/firebaseappdistribution-gen.go +++ b/firebaseappdistribution/v1alpha/firebaseappdistribution-gen.go @@ -2965,6 +2965,26 @@ func (c *ProjectsAppsReleasesTestsListCall) PageToken(pageToken string) *Project return c } +// View sets the optional parameter "view": The requested view on the returned +// ReleaseTests. Defaults to the basic view. +// +// Possible values: +// +// "RELEASE_TEST_VIEW_UNSPECIFIED" - The default / unset value. The default +// +// view depends on the RPC. +// +// "RELEASE_TEST_VIEW_BASIC" - Include basic metadata about the release test +// +// and its status, but not the full result details. This is the default value +// for ListReleaseTests. +// +// "RELEASE_TEST_VIEW_FULL" - Include everything. +func (c *ProjectsAppsReleasesTestsListCall) View(view string) *ProjectsAppsReleasesTestsListCall { + c.urlParams_.Set("view", view) + return c +} + // Fields allows partial responses to be retrieved. See // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more // details. diff --git a/gkehub/v1/gkehub-api.json b/gkehub/v1/gkehub-api.json index ae3c5d97133..b9e44b0e703 100644 --- a/gkehub/v1/gkehub-api.json +++ b/gkehub/v1/gkehub-api.json @@ -2111,7 +2111,7 @@ } } }, - "revision": "20240920", + "revision": "20241010", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "AppDevExperienceFeatureSpec": { @@ -2851,6 +2851,22 @@ "description": "State information for ConfigSync", "id": "ConfigManagementConfigSyncState", "properties": { + "clusterLevelStopSyncingState": { + "description": "Whether syncing resources to the cluster is stopped at the cluster level.", + "enum": [ + "STOP_SYNCING_STATE_UNSPECIFIED", + "NOT_STOPPED", + "PENDING", + "STOPPED" + ], + "enumDescriptions": [ + "State cannot be determined", + "Syncing resources to the cluster is not stopped at the cluster level.", + "Some reconcilers stop syncing resources to the cluster, while others are still syncing.", + "Syncing resources to the cluster is stopped at the cluster level." + ], + "type": "string" + }, "deploymentState": { "$ref": "ConfigManagementConfigSyncDeploymentState", "description": "Information about the deployment of ConfigSync, including the version of the various Pods deployed" diff --git a/gkehub/v1/gkehub-gen.go b/gkehub/v1/gkehub-gen.go index f6bf9192de2..cbcad576516 100644 --- a/gkehub/v1/gkehub-gen.go +++ b/gkehub/v1/gkehub-gen.go @@ -1288,6 +1288,18 @@ 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. + // + // Possible values: + // "STOP_SYNCING_STATE_UNSPECIFIED" - State cannot be determined + // "NOT_STOPPED" - Syncing resources to the cluster is not stopped at the + // cluster level. + // "PENDING" - Some reconcilers stop syncing resources to the cluster, while + // others are still syncing. + // "STOPPED" - Syncing resources to the cluster is stopped at the cluster + // level. + ClusterLevelStopSyncingState string `json:"clusterLevelStopSyncingState,omitempty"` // DeploymentState: Information about the deployment of ConfigSync, including // the version of the various Pods deployed DeploymentState *ConfigManagementConfigSyncDeploymentState `json:"deploymentState,omitempty"` @@ -1328,15 +1340,15 @@ type ConfigManagementConfigSyncState struct { SyncState *ConfigManagementSyncState `json:"syncState,omitempty"` // Version: The version of ConfigSync deployed Version *ConfigManagementConfigSyncVersion `json:"version,omitempty"` - // ForceSendFields is a list of field names (e.g. "DeploymentState") 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 is a list of field names (e.g. + // "ClusterLevelStopSyncingState") 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. "DeploymentState") to include in - // API requests with the JSON null value. By default, fields with empty values - // are omitted from API requests. See + // NullFields is a list of field names (e.g. "ClusterLevelStopSyncingState") 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:"-"` } diff --git a/gkehub/v1alpha/gkehub-api.json b/gkehub/v1alpha/gkehub-api.json index 559b026348c..e28b58f1871 100644 --- a/gkehub/v1alpha/gkehub-api.json +++ b/gkehub/v1alpha/gkehub-api.json @@ -2255,7 +2255,7 @@ } } }, - "revision": "20240920", + "revision": "20241010", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "AnthosObservabilityFeatureSpec": { @@ -3196,6 +3196,22 @@ "description": "State information for ConfigSync", "id": "ConfigManagementConfigSyncState", "properties": { + "clusterLevelStopSyncingState": { + "description": "Whether syncing resources to the cluster is stopped at the cluster level.", + "enum": [ + "STOP_SYNCING_STATE_UNSPECIFIED", + "NOT_STOPPED", + "PENDING", + "STOPPED" + ], + "enumDescriptions": [ + "State cannot be determined", + "Syncing resources to the cluster is not stopped at the cluster level.", + "Some reconcilers stop syncing resources to the cluster, while others are still syncing.", + "Syncing resources to the cluster is stopped at the cluster level." + ], + "type": "string" + }, "deploymentState": { "$ref": "ConfigManagementConfigSyncDeploymentState", "description": "Information about the deployment of ConfigSync, including the version of the various Pods deployed" diff --git a/gkehub/v1alpha/gkehub-gen.go b/gkehub/v1alpha/gkehub-gen.go index f777548bd51..9dd4698829e 100644 --- a/gkehub/v1alpha/gkehub-gen.go +++ b/gkehub/v1alpha/gkehub-gen.go @@ -1555,6 +1555,18 @@ 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. + // + // Possible values: + // "STOP_SYNCING_STATE_UNSPECIFIED" - State cannot be determined + // "NOT_STOPPED" - Syncing resources to the cluster is not stopped at the + // cluster level. + // "PENDING" - Some reconcilers stop syncing resources to the cluster, while + // others are still syncing. + // "STOPPED" - Syncing resources to the cluster is stopped at the cluster + // level. + ClusterLevelStopSyncingState string `json:"clusterLevelStopSyncingState,omitempty"` // DeploymentState: Information about the deployment of ConfigSync, including // the version of the various Pods deployed DeploymentState *ConfigManagementConfigSyncDeploymentState `json:"deploymentState,omitempty"` @@ -1595,15 +1607,15 @@ type ConfigManagementConfigSyncState struct { SyncState *ConfigManagementSyncState `json:"syncState,omitempty"` // Version: The version of ConfigSync deployed Version *ConfigManagementConfigSyncVersion `json:"version,omitempty"` - // ForceSendFields is a list of field names (e.g. "DeploymentState") 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 is a list of field names (e.g. + // "ClusterLevelStopSyncingState") 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. "DeploymentState") to include in - // API requests with the JSON null value. By default, fields with empty values - // are omitted from API requests. See + // NullFields is a list of field names (e.g. "ClusterLevelStopSyncingState") 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:"-"` } diff --git a/gkehub/v1beta/gkehub-api.json b/gkehub/v1beta/gkehub-api.json index fb7c321c86b..402f7550532 100644 --- a/gkehub/v1beta/gkehub-api.json +++ b/gkehub/v1beta/gkehub-api.json @@ -2111,7 +2111,7 @@ } } }, - "revision": "20240920", + "revision": "20241010", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "AnthosObservabilityFeatureSpec": { @@ -2936,6 +2936,22 @@ "description": "State information for ConfigSync", "id": "ConfigManagementConfigSyncState", "properties": { + "clusterLevelStopSyncingState": { + "description": "Whether syncing resources to the cluster is stopped at the cluster level.", + "enum": [ + "STOP_SYNCING_STATE_UNSPECIFIED", + "NOT_STOPPED", + "PENDING", + "STOPPED" + ], + "enumDescriptions": [ + "State cannot be determined", + "Syncing resources to the cluster is not stopped at the cluster level.", + "Some reconcilers stop syncing resources to the cluster, while others are still syncing.", + "Syncing resources to the cluster is stopped at the cluster level." + ], + "type": "string" + }, "deploymentState": { "$ref": "ConfigManagementConfigSyncDeploymentState", "description": "Information about the deployment of ConfigSync, including the version of the various Pods deployed" diff --git a/gkehub/v1beta/gkehub-gen.go b/gkehub/v1beta/gkehub-gen.go index 45510a8f6b0..85a3b3b427b 100644 --- a/gkehub/v1beta/gkehub-gen.go +++ b/gkehub/v1beta/gkehub-gen.go @@ -1416,6 +1416,18 @@ 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. + // + // Possible values: + // "STOP_SYNCING_STATE_UNSPECIFIED" - State cannot be determined + // "NOT_STOPPED" - Syncing resources to the cluster is not stopped at the + // cluster level. + // "PENDING" - Some reconcilers stop syncing resources to the cluster, while + // others are still syncing. + // "STOPPED" - Syncing resources to the cluster is stopped at the cluster + // level. + ClusterLevelStopSyncingState string `json:"clusterLevelStopSyncingState,omitempty"` // DeploymentState: Information about the deployment of ConfigSync, including // the version of the various Pods deployed DeploymentState *ConfigManagementConfigSyncDeploymentState `json:"deploymentState,omitempty"` @@ -1456,15 +1468,15 @@ type ConfigManagementConfigSyncState struct { SyncState *ConfigManagementSyncState `json:"syncState,omitempty"` // Version: The version of ConfigSync deployed Version *ConfigManagementConfigSyncVersion `json:"version,omitempty"` - // ForceSendFields is a list of field names (e.g. "DeploymentState") 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 is a list of field names (e.g. + // "ClusterLevelStopSyncingState") 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. "DeploymentState") to include in - // API requests with the JSON null value. By default, fields with empty values - // are omitted from API requests. See + // NullFields is a list of field names (e.g. "ClusterLevelStopSyncingState") 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:"-"` } diff --git a/gkehub/v2alpha/gkehub-api.json b/gkehub/v2alpha/gkehub-api.json index 92b5e1fd3d4..a60b32015c4 100644 --- a/gkehub/v2alpha/gkehub-api.json +++ b/gkehub/v2alpha/gkehub-api.json @@ -471,7 +471,7 @@ } } }, - "revision": "20241006", + "revision": "20241010", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "AppDevExperienceState": { @@ -916,6 +916,22 @@ "description": "State information for ConfigSync.", "id": "ConfigManagementConfigSyncState", "properties": { + "clusterLevelStopSyncingState": { + "description": "Whether syncing resources to the cluster is stopped at the cluster level.", + "enum": [ + "STOP_SYNCING_STATE_UNSPECIFIED", + "NOT_STOPPED", + "PENDING", + "STOPPED" + ], + "enumDescriptions": [ + "State cannot be determined", + "Syncing resources to the cluster is not stopped at the cluster level.", + "Some reconcilers stop syncing resources to the cluster, while others are still syncing.", + "Syncing resources to the cluster is stopped at the cluster level." + ], + "type": "string" + }, "deploymentState": { "$ref": "ConfigManagementConfigSyncDeploymentState", "description": "Information about the deployment of ConfigSync, including the version. of the various Pods deployed" diff --git a/gkehub/v2alpha/gkehub-gen.go b/gkehub/v2alpha/gkehub-gen.go index bc47253bc9a..0a05aa6b11d 100644 --- a/gkehub/v2alpha/gkehub-gen.go +++ b/gkehub/v2alpha/gkehub-gen.go @@ -699,6 +699,18 @@ 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. + // + // Possible values: + // "STOP_SYNCING_STATE_UNSPECIFIED" - State cannot be determined + // "NOT_STOPPED" - Syncing resources to the cluster is not stopped at the + // cluster level. + // "PENDING" - Some reconcilers stop syncing resources to the cluster, while + // others are still syncing. + // "STOPPED" - Syncing resources to the cluster is stopped at the cluster + // level. + ClusterLevelStopSyncingState string `json:"clusterLevelStopSyncingState,omitempty"` // DeploymentState: Information about the deployment of ConfigSync, including // the version. of the various Pods deployed DeploymentState *ConfigManagementConfigSyncDeploymentState `json:"deploymentState,omitempty"` @@ -739,15 +751,15 @@ type ConfigManagementConfigSyncState struct { SyncState *ConfigManagementSyncState `json:"syncState,omitempty"` // Version: The version of ConfigSync deployed. Version *ConfigManagementConfigSyncVersion `json:"version,omitempty"` - // ForceSendFields is a list of field names (e.g. "DeploymentState") 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 is a list of field names (e.g. + // "ClusterLevelStopSyncingState") 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. "DeploymentState") to include in - // API requests with the JSON null value. By default, fields with empty values - // are omitted from API requests. See + // NullFields is a list of field names (e.g. "ClusterLevelStopSyncingState") 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:"-"` } diff --git a/networkconnectivity/v1alpha1/networkconnectivity-api.json b/networkconnectivity/v1alpha1/networkconnectivity-api.json index 1bdd9a742fa..c8e896d4d63 100644 --- a/networkconnectivity/v1alpha1/networkconnectivity-api.json +++ b/networkconnectivity/v1alpha1/networkconnectivity-api.json @@ -1116,7 +1116,7 @@ } } }, - "revision": "20240911", + "revision": "20241009", "rootUrl": "https://networkconnectivity.googleapis.com/", "schemas": { "AuditConfig": { @@ -1395,7 +1395,7 @@ }, "migration": { "$ref": "Migration", - "description": "Optional. Should be present if usage is set to FOR_MIGRATION." + "description": "Optional. Must be present if usage is set to FOR_MIGRATION. This field is for internal use." }, "name": { "description": "Immutable. The name of an internal range. Format: projects/{project}/locations/{location}/internalRanges/{internal_range} See: https://google.aip.dev/122#fields-representing-resource-names", @@ -1467,7 +1467,7 @@ "Unspecified usage is allowed in calls which identify the resource by other fields and do not need Usage set to complete. These are, i.e.: GetInternalRange and DeleteInternalRange. Usage needs to be specified explicitly in CreateInternalRange or UpdateInternalRange calls.", "A VPC resource can use the reserved CIDR block by associating it with the internal range resource if usage is set to FOR_VPC.", "Ranges created with EXTERNAL_TO_VPC cannot be associated with VPC resources and are meant to block out address ranges for various use cases such as usage on-premises, with dynamic route announcements via Interconnect.", - "Ranges created FOR_MIGRATION can be used to lock a CIDR range between a source and target subnet. If usage is set to FOR_MIGRATION the peering value has to be set to FOR_SELF or default to FOR_SELF when unset." + "Ranges created FOR_MIGRATION can be used to lock a CIDR range between a source and target subnet. If usage is set to FOR_MIGRATION the peering value has to be set to FOR_SELF or default to FOR_SELF when unset. This value is for internal use." ], "type": "string" }, diff --git a/networkconnectivity/v1alpha1/networkconnectivity-gen.go b/networkconnectivity/v1alpha1/networkconnectivity-gen.go index db9bc6967c1..520faad1dfa 100644 --- a/networkconnectivity/v1alpha1/networkconnectivity-gen.go +++ b/networkconnectivity/v1alpha1/networkconnectivity-gen.go @@ -651,7 +651,8 @@ type InternalRange struct { IpCidrRange string `json:"ipCidrRange,omitempty"` // Labels: User-defined labels. Labels map[string]string `json:"labels,omitempty"` - // Migration: Optional. Should be present if usage is set to FOR_MIGRATION. + // Migration: Optional. Must be present if usage is set to FOR_MIGRATION. This + // field is for internal use. Migration *Migration `json:"migration,omitempty"` // Name: Immutable. The name of an internal range. Format: // projects/{project}/locations/{location}/internalRanges/{internal_range} See: @@ -728,7 +729,7 @@ type InternalRange struct { // "FOR_MIGRATION" - Ranges created FOR_MIGRATION can be used to lock a CIDR // range between a source and target subnet. If usage is set to FOR_MIGRATION // the peering value has to be set to FOR_SELF or default to FOR_SELF when - // unset. + // unset. This value is for internal use. Usage string `json:"usage,omitempty"` // Users: Output only. The list of resources that refer to this internal range. // Resources that use the internal range for their range allocation are diff --git a/networkmanagement/v1beta1/networkmanagement-api.json b/networkmanagement/v1beta1/networkmanagement-api.json index 2bb23f8b979..ea9079b5ad3 100644 --- a/networkmanagement/v1beta1/networkmanagement-api.json +++ b/networkmanagement/v1beta1/networkmanagement-api.json @@ -758,7 +758,7 @@ } } }, - "revision": "20240918", + "revision": "20241009", "rootUrl": "https://networkmanagement.googleapis.com/", "schemas": { "AbortInfo": { @@ -1410,7 +1410,7 @@ "Packet sent to a load balancer, which requires a proxy-only subnet and the subnet is not found.", "Packet sent to Cloud Nat without active NAT IPs.", "Packet is stuck in a routing loop.", - "Packet is dropped due to an unspecified reason inside a Google-managed service. Used only for return traces.", + "Packet is dropped inside a Google-managed service due to being delivered in return trace to an endpoint that doesn't match the endpoint the packet was sent from in forward trace. Used only for return traces.", "Packet is dropped due to a load balancer backend instance not having a network interface in the network expected by the load balancer.", "Packet is dropped due to a backend service named port not being defined on the instance group level.", "Packet is dropped due to a destination IP range being part of a Private NAT IP range.", diff --git a/networkmanagement/v1beta1/networkmanagement-gen.go b/networkmanagement/v1beta1/networkmanagement-gen.go index 319ef2b9fd6..a1ce037d841 100644 --- a/networkmanagement/v1beta1/networkmanagement-gen.go +++ b/networkmanagement/v1beta1/networkmanagement-gen.go @@ -1022,9 +1022,10 @@ type DropInfo struct { // "CLOUD_NAT_NO_ADDRESSES" - Packet sent to Cloud Nat without active NAT // IPs. // "ROUTING_LOOP" - Packet is stuck in a routing loop. - // "DROPPED_INSIDE_GOOGLE_MANAGED_SERVICE" - Packet is dropped due to an - // unspecified reason inside a Google-managed service. Used only for return - // traces. + // "DROPPED_INSIDE_GOOGLE_MANAGED_SERVICE" - Packet is dropped inside a + // Google-managed service due to being delivered in return trace to an endpoint + // that doesn't match the endpoint the packet was sent from in forward trace. + // Used only for return traces. // "LOAD_BALANCER_BACKEND_INVALID_NETWORK" - Packet is dropped due to a load // balancer backend instance not having a network interface in the network // expected by the load balancer. diff --git a/workloadmanager/v1/workloadmanager-api.json b/workloadmanager/v1/workloadmanager-api.json index 406ffa286e7..65d138bffc9 100644 --- a/workloadmanager/v1/workloadmanager-api.json +++ b/workloadmanager/v1/workloadmanager-api.json @@ -772,7 +772,7 @@ } } }, - "revision": "20241002", + "revision": "20241009", "rootUrl": "https://workloadmanager.googleapis.com/", "schemas": { "AgentCommand": { @@ -1029,6 +1029,14 @@ "description": "The name of execution resource. The format is projects/{project}/locations/{location}/evaluations/{evaluation}/executions/{execution}", "type": "string" }, + "ruleResults": { + "description": "Output only. execution result summary per rule", + "items": { + "$ref": "RuleExecutionResult" + }, + "readOnly": true, + "type": "array" + }, "runType": { "description": "type represent whether the execution executed directly by user or scheduled according evaluation.schedule field.", "enum": [ @@ -1847,6 +1855,48 @@ }, "type": "object" }, + "RuleExecutionResult": { + "description": "Message for execution result summary per rule", + "id": "RuleExecutionResult", + "properties": { + "message": { + "description": "Execution message, if any", + "type": "string" + }, + "resultCount": { + "description": "Number of violations", + "format": "int64", + "type": "string" + }, + "rule": { + "description": "rule name", + "type": "string" + }, + "scannedResourceCount": { + "description": "Number of total scanned resources", + "format": "int64", + "type": "string" + }, + "state": { + "description": "Output only. The execution status", + "enum": [ + "STATE_UNSPECIFIED", + "STATE_SUCCESS", + "STATE_FAILURE", + "STATE_SKIPPED" + ], + "enumDescriptions": [ + "Unknown state", + "execution completed successfully", + "execution completed with failures", + "execution was not executed" + ], + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "RunEvaluationRequest": { "description": "Message for creating a Execution", "id": "RunEvaluationRequest", diff --git a/workloadmanager/v1/workloadmanager-gen.go b/workloadmanager/v1/workloadmanager-gen.go index 556aaefdc6e..7d87e4d9514 100644 --- a/workloadmanager/v1/workloadmanager-gen.go +++ b/workloadmanager/v1/workloadmanager-gen.go @@ -533,6 +533,8 @@ type Execution struct { // projects/{project}/locations/{location}/evaluations/{evaluation}/executions/{ // execution} Name string `json:"name,omitempty"` + // RuleResults: Output only. execution result summary per rule + RuleResults []*RuleExecutionResult `json:"ruleResults,omitempty"` // RunType: type represent whether the execution executed directly by user or // scheduled according evaluation.schedule field. // @@ -1393,6 +1395,42 @@ func (s Rule) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// RuleExecutionResult: Message for execution result summary per rule +type RuleExecutionResult struct { + // Message: Execution message, if any + Message string `json:"message,omitempty"` + // ResultCount: Number of violations + ResultCount int64 `json:"resultCount,omitempty,string"` + // Rule: rule name + Rule string `json:"rule,omitempty"` + // ScannedResourceCount: Number of total scanned resources + ScannedResourceCount int64 `json:"scannedResourceCount,omitempty,string"` + // State: Output only. The execution status + // + // Possible values: + // "STATE_UNSPECIFIED" - Unknown state + // "STATE_SUCCESS" - execution completed successfully + // "STATE_FAILURE" - execution completed with failures + // "STATE_SKIPPED" - execution was not executed + State string `json:"state,omitempty"` + // ForceSendFields is a list of field names (e.g. "Message") 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. "Message") 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 RuleExecutionResult) MarshalJSON() ([]byte, error) { + type NoMethod RuleExecutionResult + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // RunEvaluationRequest: Message for creating a Execution type RunEvaluationRequest struct { // Execution: Required. The resource being created diff --git a/workstations/v1/workstations-api.json b/workstations/v1/workstations-api.json index 2b32c16d6ff..a07b1ea9f33 100644 --- a/workstations/v1/workstations-api.json +++ b/workstations/v1/workstations-api.json @@ -1195,7 +1195,7 @@ } } }, - "revision": "20240904", + "revision": "20241009", "rootUrl": "https://workstations.googleapis.com/", "schemas": { "Accelerator": { @@ -1284,6 +1284,42 @@ }, "type": "object" }, + "BoostConfig": { + "description": "A configuration that workstations can boost to.", + "id": "BoostConfig", + "properties": { + "accelerators": { + "description": "Optional. A list of the type and count of accelerator cards attached to the boost instance. Defaults to `none`.", + "items": { + "$ref": "Accelerator" + }, + "type": "array" + }, + "bootDiskSizeGb": { + "description": "Optional. The size of the boot disk for the VM in gigabytes (GB). The minimum boot disk size is `30` GB. Defaults to `50` GB.", + "format": "int32", + "type": "integer" + }, + "enableNestedVirtualization": { + "description": "Optional. Whether to enable nested virtualization on boosted Cloud Workstations VMs running using this boost configuration. Defaults to false. Nested virtualization lets you run virtual machine (VM) instances inside your workstation. Before enabling nested virtualization, consider the following important considerations. Cloud Workstations instances are subject to the [same restrictions as Compute Engine instances](https://cloud.google.com/compute/docs/instances/nested-virtualization/overview#restrictions): * **Organization policy**: projects, folders, or organizations may be restricted from creating nested VMs if the **Disable VM nested virtualization** constraint is enforced in the organization policy. For more information, see the Compute Engine section, [Checking whether nested virtualization is allowed](https://cloud.google.com/compute/docs/instances/nested-virtualization/managing-constraint#checking_whether_nested_virtualization_is_allowed). * **Performance**: nested VMs might experience a 10% or greater decrease in performance for workloads that are CPU-bound and possibly greater than a 10% decrease for workloads that are input/output bound. * **Machine Type**: nested virtualization can only be enabled on boost configurations that specify a machine_type in the N1 or N2 machine series.", + "type": "boolean" + }, + "id": { + "description": "Optional. Required. The id to be used for the boost configuration.", + "type": "string" + }, + "machineType": { + "description": "Optional. The type of machine that boosted VM instances will use—for example, `e2-standard-4`. For more information about machine types that Cloud Workstations supports, see the list of [available machine types](https://cloud.google.com/workstations/docs/available-machine-types). Defaults to `e2-standard-4`.", + "type": "string" + }, + "poolSize": { + "description": "Optional. The number of boost VMs that the system should keep idle so that workstations can be boosted quickly. Defaults to `0`.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, "CancelOperationRequest": { "description": "The request message for Operations.CancelOperation.", "id": "CancelOperationRequest", @@ -1417,6 +1453,13 @@ }, "type": "array" }, + "boostConfigs": { + "description": "Optional. A list of the boost configurations that workstations created using this workstation configuration are allowed to use.", + "items": { + "$ref": "BoostConfig" + }, + "type": "array" + }, "bootDiskSizeGb": { "description": "Optional. The size of the boot disk for the VM in gigabytes (GB). The minimum boot disk size is `30` GB. Defaults to `50` GB.", "format": "int32", @@ -2286,6 +2329,13 @@ "description": "Immutable. Name of the Compute Engine subnetwork in which instances associated with this workstation cluster will be created. Must be part of the subnetwork specified for this workstation cluster.", "type": "string" }, + "tags": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Tag keys/values directly bound to this resource. For example: \"123/environment\": \"production\", \"123/costCenter\": \"marketing\"", + "type": "object" + }, "uid": { "description": "Output only. A system-assigned unique identifier for this workstation cluster.", "readOnly": true, diff --git a/workstations/v1/workstations-gen.go b/workstations/v1/workstations-gen.go index d22e8732ffa..8a5c6bcbf60 100644 --- a/workstations/v1/workstations-gen.go +++ b/workstations/v1/workstations-gen.go @@ -423,6 +423,63 @@ func (s Binding) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// BoostConfig: A configuration that workstations can boost to. +type BoostConfig struct { + // Accelerators: Optional. A list of the type and count of accelerator cards + // attached to the boost instance. Defaults to `none`. + Accelerators []*Accelerator `json:"accelerators,omitempty"` + // BootDiskSizeGb: Optional. The size of the boot disk for the VM in gigabytes + // (GB). The minimum boot disk size is `30` GB. Defaults to `50` GB. + BootDiskSizeGb int64 `json:"bootDiskSizeGb,omitempty"` + // EnableNestedVirtualization: Optional. Whether to enable nested + // virtualization on boosted Cloud Workstations VMs running using this boost + // configuration. Defaults to false. Nested virtualization lets you run virtual + // machine (VM) instances inside your workstation. Before enabling nested + // virtualization, consider the following important considerations. Cloud + // Workstations instances are subject to the same restrictions as Compute + // Engine instances + // (https://cloud.google.com/compute/docs/instances/nested-virtualization/overview#restrictions): + // * **Organization policy**: projects, folders, or organizations may be + // restricted from creating nested VMs if the **Disable VM nested + // virtualization** constraint is enforced in the organization policy. For more + // information, see the Compute Engine section, Checking whether nested + // virtualization is allowed + // (https://cloud.google.com/compute/docs/instances/nested-virtualization/managing-constraint#checking_whether_nested_virtualization_is_allowed). + // * **Performance**: nested VMs might experience a 10% or greater decrease in + // performance for workloads that are CPU-bound and possibly greater than a 10% + // decrease for workloads that are input/output bound. * **Machine Type**: + // nested virtualization can only be enabled on boost configurations that + // specify a machine_type in the N1 or N2 machine series. + EnableNestedVirtualization bool `json:"enableNestedVirtualization,omitempty"` + // Id: Optional. Required. The id to be used for the boost configuration. + Id string `json:"id,omitempty"` + // MachineType: Optional. The type of machine that boosted VM instances will + // use—for example, `e2-standard-4`. For more information about machine types + // that Cloud Workstations supports, see the list of available machine types + // (https://cloud.google.com/workstations/docs/available-machine-types). + // Defaults to `e2-standard-4`. + MachineType string `json:"machineType,omitempty"` + // PoolSize: Optional. The number of boost VMs that the system should keep idle + // so that workstations can be boosted quickly. Defaults to `0`. + PoolSize int64 `json:"poolSize,omitempty"` + // ForceSendFields is a list of field names (e.g. "Accelerators") 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. "Accelerators") 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 BoostConfig) MarshalJSON() ([]byte, error) { + type NoMethod BoostConfig + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // CancelOperationRequest: The request message for Operations.CancelOperation. type CancelOperationRequest struct { } @@ -634,6 +691,9 @@ type GceInstance struct { // Accelerators: Optional. A list of the type and count of accelerator cards // attached to the instance. Accelerators []*Accelerator `json:"accelerators,omitempty"` + // BoostConfigs: Optional. A list of the boost configurations that workstations + // created using this workstation configuration are allowed to use. + BoostConfigs []*BoostConfig `json:"boostConfigs,omitempty"` // BootDiskSizeGb: Optional. The size of the boot disk for the VM in gigabytes // (GB). The minimum boot disk size is `30` GB. Defaults to `50` GB. BootDiskSizeGb int64 `json:"bootDiskSizeGb,omitempty"` @@ -1777,6 +1837,9 @@ type WorkstationCluster struct { // instances associated with this workstation cluster will be created. Must be // part of the subnetwork specified for this workstation cluster. Subnetwork string `json:"subnetwork,omitempty"` + // Tags: Optional. Tag keys/values directly bound to this resource. For + // example: "123/environment": "production", "123/costCenter": "marketing" + Tags map[string]string `json:"tags,omitempty"` // Uid: Output only. A system-assigned unique identifier for this workstation // cluster. Uid string `json:"uid,omitempty"` diff --git a/workstations/v1beta/workstations-api.json b/workstations/v1beta/workstations-api.json index 122c840b002..1bc6bee9061 100644 --- a/workstations/v1beta/workstations-api.json +++ b/workstations/v1beta/workstations-api.json @@ -1127,7 +1127,7 @@ } } }, - "revision": "20240904", + "revision": "20241009", "rootUrl": "https://workstations.googleapis.com/", "schemas": { "Accelerator": { @@ -2268,6 +2268,13 @@ "description": "Immutable. Name of the Compute Engine subnetwork in which instances associated with this workstation cluster will be created. Must be part of the subnetwork specified for this workstation cluster.", "type": "string" }, + "tags": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Tag keys/values directly bound to this resource. For example: \"123/environment\": \"production\", \"123/costCenter\": \"marketing\"", + "type": "object" + }, "uid": { "description": "Output only. A system-assigned unique identifier for this workstation cluster.", "readOnly": true, diff --git a/workstations/v1beta/workstations-gen.go b/workstations/v1beta/workstations-gen.go index 1063ec4aaa8..09d4df563d4 100644 --- a/workstations/v1beta/workstations-gen.go +++ b/workstations/v1beta/workstations-gen.go @@ -1842,6 +1842,9 @@ type WorkstationCluster struct { // instances associated with this workstation cluster will be created. Must be // part of the subnetwork specified for this workstation cluster. Subnetwork string `json:"subnetwork,omitempty"` + // Tags: Optional. Tag keys/values directly bound to this resource. For + // example: "123/environment": "production", "123/costCenter": "marketing" + Tags map[string]string `json:"tags,omitempty"` // Uid: Output only. A system-assigned unique identifier for this workstation // cluster. Uid string `json:"uid,omitempty"`