From 1f296e5eddfd26f038547b8e3bd0649c716f9bb3 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Sat, 22 Jun 2024 07:12:11 +0000 Subject: [PATCH] feat(all): auto-regenerate discovery clients --- beyondcorp/v1alpha/beyondcorp-api.json | 17 ++++- beyondcorp/v1alpha/beyondcorp-gen.go | 7 ++ .../v1/binaryauthorization-api.json | 11 +++- .../v1/binaryauthorization-gen.go | 10 +++ container/v1beta1/container-api.json | 9 ++- container/v1beta1/container-gen.go | 1 + dataproc/v1/dataproc-api.json | 14 +++- dataproc/v1/dataproc-gen.go | 22 +++++-- .../v1/networkmanagement-api.json | 4 +- networkmanagement/v1/networkmanagement-gen.go | 2 + .../v1beta1/networkmanagement-api.json | 4 +- .../v1beta1/networkmanagement-gen.go | 2 + run/v2/run-api.json | 6 +- run/v2/run-gen.go | 6 +- workloadmanager/v1/workloadmanager-api.json | 64 ++++++++++++------ workloadmanager/v1/workloadmanager-gen.go | 65 ++++++++++++++----- 16 files changed, 188 insertions(+), 56 deletions(-) diff --git a/beyondcorp/v1alpha/beyondcorp-api.json b/beyondcorp/v1alpha/beyondcorp-api.json index 5d1c01602b4..8925af6776a 100644 --- a/beyondcorp/v1alpha/beyondcorp-api.json +++ b/beyondcorp/v1alpha/beyondcorp-api.json @@ -4080,7 +4080,7 @@ } } }, - "revision": "20240508", + "revision": "20240612", "rootUrl": "https://beyondcorp.googleapis.com/", "schemas": { "AllocatedConnection": { @@ -6202,6 +6202,21 @@ "readOnly": true, "type": "string" }, + "subscriberType": { + "description": "Output only. Type of subscriber.", + "enum": [ + "SUBSCRIBER_TYPE_UNSPECIFIED", + "ONLINE", + "OFFLINE" + ], + "enumDescriptions": [ + "Default value. This value is unused.", + "Represents an online subscription.", + "Represents an offline subscription." + ], + "readOnly": true, + "type": "string" + }, "type": { "description": "Required. Type of subscription.", "enum": [ diff --git a/beyondcorp/v1alpha/beyondcorp-gen.go b/beyondcorp/v1alpha/beyondcorp-gen.go index 96340b571af..e552d3648a1 100644 --- a/beyondcorp/v1alpha/beyondcorp-gen.go +++ b/beyondcorp/v1alpha/beyondcorp-gen.go @@ -2750,6 +2750,13 @@ type GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaSubscription struct { // "INACTIVE" - Represents an upcomming subscription. // "COMPLETED" - Represents a completed subscription. State string `json:"state,omitempty"` + // SubscriberType: Output only. Type of subscriber. + // + // Possible values: + // "SUBSCRIBER_TYPE_UNSPECIFIED" - Default value. This value is unused. + // "ONLINE" - Represents an online subscription. + // "OFFLINE" - Represents an offline subscription. + SubscriberType string `json:"subscriberType,omitempty"` // Type: Required. Type of subscription. // // Possible values: diff --git a/binaryauthorization/v1/binaryauthorization-api.json b/binaryauthorization/v1/binaryauthorization-api.json index 3e4bc0b0bda..5cd0fc97441 100644 --- a/binaryauthorization/v1/binaryauthorization-api.json +++ b/binaryauthorization/v1/binaryauthorization-api.json @@ -510,6 +510,11 @@ "name" ], "parameters": { + "etag": { + "description": "Optional. Used to prevent deleting the policy when another request has updated it since it was retrieved.", + "location": "query", + "type": "string" + }, "name": { "description": "Required. The name of the platform policy to delete, in the format `projects/*/platforms/*/policies/*`.", "location": "path", @@ -742,7 +747,7 @@ } } }, - "revision": "20240607", + "revision": "20240614", "rootUrl": "https://binaryauthorization.googleapis.com/", "schemas": { "AdmissionRule": { @@ -1420,6 +1425,10 @@ "description": "Optional. A description comment about the policy.", "type": "string" }, + "etag": { + "description": "Optional. Used to prevent updating the policy when another request has updated it since it was retrieved.", + "type": "string" + }, "gkePolicy": { "$ref": "GkePolicy", "description": "Optional. GKE platform-specific policy." diff --git a/binaryauthorization/v1/binaryauthorization-gen.go b/binaryauthorization/v1/binaryauthorization-gen.go index 24c93d0db03..0b1d032a2c0 100644 --- a/binaryauthorization/v1/binaryauthorization-gen.go +++ b/binaryauthorization/v1/binaryauthorization-gen.go @@ -1374,6 +1374,9 @@ func (s *PkixPublicKeySet) MarshalJSON() ([]byte, error) { type PlatformPolicy struct { // Description: Optional. A description comment about the policy. Description string `json:"description,omitempty"` + // Etag: Optional. Used to prevent updating the policy when another request has + // updated it since it was retrieved. + Etag string `json:"etag,omitempty"` // GkePolicy: Optional. GKE platform-specific policy. GkePolicy *GkePolicy `json:"gkePolicy,omitempty"` // Name: Output only. The relative resource name of the Binary Authorization @@ -3593,6 +3596,13 @@ func (r *ProjectsPlatformsPoliciesService) Delete(name string) *ProjectsPlatform return c } +// Etag sets the optional parameter "etag": Used to prevent deleting the policy +// when another request has updated it since it was retrieved. +func (c *ProjectsPlatformsPoliciesDeleteCall) Etag(etag string) *ProjectsPlatformsPoliciesDeleteCall { + c.urlParams_.Set("etag", etag) + 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/container/v1beta1/container-api.json b/container/v1beta1/container-api.json index cb860525eb5..ac471b27d5a 100644 --- a/container/v1beta1/container-api.json +++ b/container/v1beta1/container-api.json @@ -2565,7 +2565,7 @@ } } }, - "revision": "20240604", + "revision": "20240608", "rootUrl": "https://container.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -5455,7 +5455,8 @@ "DEPLOYMENT", "STATEFULSET", "CADVISOR", - "KUBELET" + "KUBELET", + "DCGM" ], "enumDeprecated": [ false, @@ -5471,6 +5472,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -5487,7 +5489,8 @@ "Deployment", "Statefulset", "CADVISOR", - "KUBELET" + "KUBELET", + "NVIDIA Data Center GPU Manager (DCGM)" ], "type": "string" }, diff --git a/container/v1beta1/container-gen.go b/container/v1beta1/container-gen.go index b3e43ac4d62..40f83a7990d 100644 --- a/container/v1beta1/container-gen.go +++ b/container/v1beta1/container-gen.go @@ -4020,6 +4020,7 @@ type MonitoringComponentConfig struct { // "STATEFULSET" - Statefulset // "CADVISOR" - CADVISOR // "KUBELET" - KUBELET + // "DCGM" - NVIDIA Data Center GPU Manager (DCGM) EnableComponents []string `json:"enableComponents,omitempty"` // ForceSendFields is a list of field names (e.g. "EnableComponents") to // unconditionally include in API requests. By default, fields with empty or diff --git a/dataproc/v1/dataproc-api.json b/dataproc/v1/dataproc-api.json index cd078d6316f..078df9b548b 100644 --- a/dataproc/v1/dataproc-api.json +++ b/dataproc/v1/dataproc-api.json @@ -3072,7 +3072,7 @@ } } }, - "revision": "20240605", + "revision": "20240617", "rootUrl": "https://dataproc.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -3972,6 +3972,16 @@ "description": "Specifies the config of disk options for a group of VM instances.", "id": "DiskConfig", "properties": { + "bootDiskProvisionedIops": { + "description": "Optional. Indicates how many IOPS to provision for the disk. This sets the number of I/O operations per second that the disk can handle. Note: This field is only supported if boot_disk_type is hyperdisk-balanced.", + "format": "int64", + "type": "string" + }, + "bootDiskProvisionedThroughput": { + "description": "Optional. Indicates how much throughput to provision for the disk. This sets the number of throughput mb per second that the disk can handle. Values must be greater than or equal to 1. Note: This field is only supported if boot_disk_type is hyperdisk-balanced.", + "format": "int64", + "type": "string" + }, "bootDiskSizeGb": { "description": "Optional. Size in GB of the boot disk (default is 500GB).", "format": "int32", @@ -4243,7 +4253,7 @@ "type": "string" }, "tags": { - "description": "The Compute Engine tags to add to all instances (see Tagging instances (https://cloud.google.com/compute/docs/label-or-tag-resources#tags)).", + "description": "The Compute Engine network tags to add to all instances (see Tagging instances (https://cloud.google.com/vpc/docs/add-remove-network-tags)).", "items": { "type": "string" }, diff --git a/dataproc/v1/dataproc-gen.go b/dataproc/v1/dataproc-gen.go index bb21c2d084b..70521fc09c2 100644 --- a/dataproc/v1/dataproc-gen.go +++ b/dataproc/v1/dataproc-gen.go @@ -1404,6 +1404,16 @@ func (s *DiagnoseClusterResults) MarshalJSON() ([]byte, error) { // DiskConfig: Specifies the config of disk options for a group of VM // instances. type DiskConfig struct { + // BootDiskProvisionedIops: Optional. Indicates how many IOPS to provision for + // the disk. This sets the number of I/O operations per second that the disk + // can handle. Note: This field is only supported if boot_disk_type is + // hyperdisk-balanced. + BootDiskProvisionedIops int64 `json:"bootDiskProvisionedIops,omitempty,string"` + // BootDiskProvisionedThroughput: Optional. Indicates how much throughput to + // provision for the disk. This sets the number of throughput mb per second + // that the disk can handle. Values must be greater than or equal to 1. Note: + // This field is only supported if boot_disk_type is hyperdisk-balanced. + BootDiskProvisionedThroughput int64 `json:"bootDiskProvisionedThroughput,omitempty,string"` // BootDiskSizeGb: Optional. Size in GB of the boot disk (default is 500GB). BootDiskSizeGb int64 `json:"bootDiskSizeGb,omitempty"` // BootDiskType: Optional. Type of the boot disk (default is "pd-standard"). @@ -1424,15 +1434,15 @@ type DiskConfig struct { // and the boot disk contains only basic config and installed binaries.Note: // Local SSD options may vary by machine type and number of vCPUs selected. NumLocalSsds int64 `json:"numLocalSsds,omitempty"` - // ForceSendFields is a list of field names (e.g. "BootDiskSizeGb") to + // ForceSendFields is a list of field names (e.g. "BootDiskProvisionedIops") 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. "BootDiskSizeGb") 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. "BootDiskProvisionedIops") 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:"-"` } @@ -1809,8 +1819,8 @@ type GceClusterConfig struct { // https://www.googleapis.com/compute/v1/projects/[project_id]/regions/[region]/subnetworks/sub0 // projects/[project_id]/regions/[region]/subnetworks/sub0 sub0 SubnetworkUri string `json:"subnetworkUri,omitempty"` - // Tags: The Compute Engine tags to add to all instances (see Tagging instances - // (https://cloud.google.com/compute/docs/label-or-tag-resources#tags)). + // Tags: The Compute Engine network tags to add to all instances (see Tagging + // instances (https://cloud.google.com/vpc/docs/add-remove-network-tags)). Tags []string `json:"tags,omitempty"` // ZoneUri: Optional. The Compute Engine zone where the Dataproc cluster will // be located. If omitted, the service will pick a zone in the cluster's diff --git a/networkmanagement/v1/networkmanagement-api.json b/networkmanagement/v1/networkmanagement-api.json index e563cea816b..fba564cd565 100644 --- a/networkmanagement/v1/networkmanagement-api.json +++ b/networkmanagement/v1/networkmanagement-api.json @@ -591,7 +591,7 @@ } } }, - "revision": "20240605", + "revision": "20240612", "rootUrl": "https://networkmanagement.googleapis.com/", "schemas": { "AbortInfo": { @@ -1133,6 +1133,7 @@ "PSC_NEG_PRODUCER_FORWARDING_RULE_MULTIPLE_PORTS", "CLOUD_SQL_PSC_NEG_UNSUPPORTED", "NO_NAT_SUBNETS_FOR_PSC_SERVICE_ATTACHMENT", + "PSC_TRANSITIVITY_NOT_PROPAGATED", "HYBRID_NEG_NON_DYNAMIC_ROUTE_MATCHED", "HYBRID_NEG_NON_LOCAL_DYNAMIC_ROUTE_MATCHED", "CLOUD_RUN_REVISION_NOT_READY", @@ -1199,6 +1200,7 @@ "The packet is sent to the Private Service Connect backend (network endpoint group), but the producer PSC forwarding rule has multiple ports specified.", "The packet is sent to the Private Service Connect backend (network endpoint group) targeting a Cloud SQL service attachment, but this configuration is not supported.", "No NAT subnets are defined for the PSC service attachment.", + "PSC endpoint is accessed via NCC, but PSC transitivity configuration is not yet propagated.", "The packet sent from the hybrid NEG proxy matches a non-dynamic route, but such a configuration is not supported.", "The packet sent from the hybrid NEG proxy matches a dynamic route with a next hop in a different region, but such a configuration is not supported.", "Packet sent from a Cloud Run revision that is not ready.", diff --git a/networkmanagement/v1/networkmanagement-gen.go b/networkmanagement/v1/networkmanagement-gen.go index 97c33f1ffbf..3cb20367569 100644 --- a/networkmanagement/v1/networkmanagement-gen.go +++ b/networkmanagement/v1/networkmanagement-gen.go @@ -979,6 +979,8 @@ type DropInfo struct { // service attachment, but this configuration is not supported. // "NO_NAT_SUBNETS_FOR_PSC_SERVICE_ATTACHMENT" - No NAT subnets are defined // for the PSC service attachment. + // "PSC_TRANSITIVITY_NOT_PROPAGATED" - PSC endpoint is accessed via NCC, but + // PSC transitivity configuration is not yet propagated. // "HYBRID_NEG_NON_DYNAMIC_ROUTE_MATCHED" - The packet sent from the hybrid // NEG proxy matches a non-dynamic route, but such a configuration is not // supported. diff --git a/networkmanagement/v1beta1/networkmanagement-api.json b/networkmanagement/v1beta1/networkmanagement-api.json index 0c7b5260552..8060af572c1 100644 --- a/networkmanagement/v1beta1/networkmanagement-api.json +++ b/networkmanagement/v1beta1/networkmanagement-api.json @@ -591,7 +591,7 @@ } } }, - "revision": "20240605", + "revision": "20240612", "rootUrl": "https://networkmanagement.googleapis.com/", "schemas": { "AbortInfo": { @@ -1138,6 +1138,7 @@ "PSC_NEG_PRODUCER_FORWARDING_RULE_MULTIPLE_PORTS", "CLOUD_SQL_PSC_NEG_UNSUPPORTED", "NO_NAT_SUBNETS_FOR_PSC_SERVICE_ATTACHMENT", + "PSC_TRANSITIVITY_NOT_PROPAGATED", "HYBRID_NEG_NON_DYNAMIC_ROUTE_MATCHED", "HYBRID_NEG_NON_LOCAL_DYNAMIC_ROUTE_MATCHED", "CLOUD_RUN_REVISION_NOT_READY", @@ -1204,6 +1205,7 @@ "The packet is sent to the Private Service Connect backend (network endpoint group), but the producer PSC forwarding rule has multiple ports specified.", "The packet is sent to the Private Service Connect backend (network endpoint group) targeting a Cloud SQL service attachment, but this configuration is not supported.", "No NAT subnets are defined for the PSC service attachment.", + "PSC endpoint is accessed via NCC, but PSC transitivity configuration is not yet propagated.", "The packet sent from the hybrid NEG proxy matches a non-dynamic route, but such a configuration is not supported.", "The packet sent from the hybrid NEG proxy matches a dynamic route with a next hop in a different region, but such a configuration is not supported.", "Packet sent from a Cloud Run revision that is not ready.", diff --git a/networkmanagement/v1beta1/networkmanagement-gen.go b/networkmanagement/v1beta1/networkmanagement-gen.go index fbd2a332abb..f6a61ac5844 100644 --- a/networkmanagement/v1beta1/networkmanagement-gen.go +++ b/networkmanagement/v1beta1/networkmanagement-gen.go @@ -983,6 +983,8 @@ type DropInfo struct { // service attachment, but this configuration is not supported. // "NO_NAT_SUBNETS_FOR_PSC_SERVICE_ATTACHMENT" - No NAT subnets are defined // for the PSC service attachment. + // "PSC_TRANSITIVITY_NOT_PROPAGATED" - PSC endpoint is accessed via NCC, but + // PSC transitivity configuration is not yet propagated. // "HYBRID_NEG_NON_DYNAMIC_ROUTE_MATCHED" - The packet sent from the hybrid // NEG proxy matches a non-dynamic route, but such a configuration is not // supported. diff --git a/run/v2/run-api.json b/run/v2/run-api.json index 2942fe2ff5a..13723884cb2 100644 --- a/run/v2/run-api.json +++ b/run/v2/run-api.json @@ -1469,7 +1469,7 @@ } } }, - "revision": "20240607", + "revision": "20240614", "rootUrl": "https://run.googleapis.com/", "schemas": { "GoogleCloudRunV2BinaryAuthorization": { @@ -2282,7 +2282,7 @@ "type": "string" }, "deleteTime": { - "description": "Output only. The deletion time.", + "description": "Output only. The deletion time. It is only populated as a response to a Delete request.", "format": "google-datetime", "readOnly": true, "type": "string" @@ -3083,7 +3083,7 @@ "type": "boolean" }, "deleteTime": { - "description": "Output only. The deletion time.", + "description": "Output only. The deletion time. It is only populated as a response to a Delete request.", "format": "google-datetime", "readOnly": true, "type": "string" diff --git a/run/v2/run-gen.go b/run/v2/run-gen.go index b0ac182b37b..b99e24c276c 100644 --- a/run/v2/run-gen.go +++ b/run/v2/run-gen.go @@ -1159,7 +1159,8 @@ type GoogleCloudRunV2Job struct { CreateTime string `json:"createTime,omitempty"` // Creator: Output only. Email address of the authenticated creator. Creator string `json:"creator,omitempty"` - // DeleteTime: Output only. The deletion time. + // DeleteTime: Output only. The deletion time. It is only populated as a + // response to a Delete request. DeleteTime string `json:"deleteTime,omitempty"` // Etag: Output only. A system-generated fingerprint for this version of the // resource. May be used to detect modification conflict during updates. @@ -2115,7 +2116,8 @@ type GoogleCloudRunV2Service struct { // DefaultUriDisabled: Optional. Disables public resolution of the default URI // of this service. DefaultUriDisabled bool `json:"defaultUriDisabled,omitempty"` - // DeleteTime: Output only. The deletion time. + // DeleteTime: Output only. The deletion time. It is only populated as a + // response to a Delete request. DeleteTime string `json:"deleteTime,omitempty"` // Description: User-provided description of the Service. This field currently // has a 512-character limit. diff --git a/workloadmanager/v1/workloadmanager-api.json b/workloadmanager/v1/workloadmanager-api.json index 8636185e1b7..e20d8816f07 100644 --- a/workloadmanager/v1/workloadmanager-api.json +++ b/workloadmanager/v1/workloadmanager-api.json @@ -287,7 +287,7 @@ ], "parameters": { "filter": { - "description": "Filtering results", + "description": "Filter to be applied when listing the evaluation results.", "location": "query", "type": "string" }, @@ -461,7 +461,7 @@ "results": { "methods": { "list": { - "description": "List the running result of a single Execution.", + "description": "Lists the result of a single evaluation.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/evaluations/{evaluationsId}/executions/{executionsId}/results", "httpMethod": "GET", "id": "workloadmanager.projects.locations.evaluations.executions.results.list", @@ -772,7 +772,7 @@ } } }, - "revision": "20240501", + "revision": "20240616", "rootUrl": "https://workloadmanager.googleapis.com/", "schemas": { "AssetLocation": { @@ -1037,27 +1037,27 @@ "id": "ExecutionResult", "properties": { "documentationUrl": { - "description": "the document url of the rule", + "description": "The URL for the documentation of the rule.", "type": "string" }, "resource": { "$ref": "Resource", - "description": "the violate resource" + "description": "The resource that violates the rule." }, "rule": { - "description": "the rule which violate in execution", + "description": "The rule that is violated in an evaluation.", "type": "string" }, "severity": { - "description": "severity of violation", + "description": "The severity of violation.", "type": "string" }, "violationDetails": { "$ref": "ViolationDetails", - "description": "the details of violation in result" + "description": "The details of violation in an evaluation result." }, "violationMessage": { - "description": "the violation message of an execution", + "description": "The violation message of an execution.", "type": "string" } }, @@ -1488,6 +1488,9 @@ "gcpProjectProxy": { "$ref": "TenantProjectProxy" }, + "placerLocation": { + "$ref": "PlacerLocation" + }, "spannerLocation": { "$ref": "SpannerLocation" } @@ -1573,6 +1576,17 @@ }, "type": "object" }, + "PlacerLocation": { + "description": "Message describing that the location of the customer resource is tied to placer allocations", + "id": "PlacerLocation", + "properties": { + "placerConfig": { + "description": "Directory with a config related to it in placer (e.g. \"/placer/prod/home/my-root/my-dir\")", + "type": "string" + } + }, + "type": "object" + }, "RegionalMigDistributionPolicy": { "description": "To be used for specifying the intended distribution of regional compute.googleapis.com/InstanceGroupManager instances", "id": "RegionalMigDistributionPolicy", @@ -1597,15 +1611,15 @@ "id": "Resource", "properties": { "name": { - "description": "the name of the resource", + "description": "The name of the resource.", "type": "string" }, "serviceAccount": { - "description": "the service account accosiate with resource", + "description": "The service account associated with the resource.", "type": "string" }, "type": { - "description": "the type of reresource", + "description": "The type of resource.", "type": "string" } }, @@ -1808,6 +1822,13 @@ "description": "Required. Pantheon Project in which the resources reside.", "type": "string" }, + "replicationSites": { + "description": "Optional. A list of replication sites used in Disaster Recovery (DR) configurations.", + "items": { + "$ref": "SapDiscoveryComponent" + }, + "type": "array" + }, "resources": { "description": "Optional. The resources in a component.", "items": { @@ -1841,7 +1862,8 @@ "id": "SapDiscoveryComponentApplicationProperties", "properties": { "abap": { - "description": "Optional. Indicates whether this is a Java or ABAP Netweaver instance. true means it is ABAP, false means it is Java.", + "deprecated": true, + "description": "Optional. Deprecated: ApplicationType now tells you whether this is ABAP or Java.", "type": "boolean" }, "appInstanceNumber": { @@ -1852,11 +1874,15 @@ "description": "Required. Type of the application. Netweaver, etc.", "enum": [ "APPLICATION_TYPE_UNSPECIFIED", - "NETWEAVER" + "NETWEAVER", + "NETWEAVER_ABAP", + "NETWEAVER_JAVA" ], "enumDescriptions": [ "Unspecified application type", - "SAP Netweaver" + "SAP Netweaver", + "SAP Netweaver ABAP", + "SAP Netweaver Java" ], "type": "string" }, @@ -2365,22 +2391,22 @@ "type": "object" }, "ViolationDetails": { - "description": "Message describing the violdation in execution result", + "description": "Message describing the violation in an evaluation result.", "id": "ViolationDetails", "properties": { "asset": { - "description": "the name of asset", + "description": "The name of the asset.", "type": "string" }, "observed": { "additionalProperties": { "type": "string" }, - "description": "observed", + "description": "Details of the violation.", "type": "object" }, "serviceAccount": { - "description": "the service account associate with resource", + "description": "The service account associated with the resource.", "type": "string" } }, diff --git a/workloadmanager/v1/workloadmanager-gen.go b/workloadmanager/v1/workloadmanager-gen.go index a07a221c96c..f13f6fc969e 100644 --- a/workloadmanager/v1/workloadmanager-gen.go +++ b/workloadmanager/v1/workloadmanager-gen.go @@ -519,17 +519,17 @@ func (s *Execution) MarshalJSON() ([]byte, error) { // ExecutionResult: Message describing the result of an execution type ExecutionResult struct { - // DocumentationUrl: the document url of the rule + // DocumentationUrl: The URL for the documentation of the rule. DocumentationUrl string `json:"documentationUrl,omitempty"` - // Resource: the violate resource + // Resource: The resource that violates the rule. Resource *Resource `json:"resource,omitempty"` - // Rule: the rule which violate in execution + // Rule: The rule that is violated in an evaluation. Rule string `json:"rule,omitempty"` - // Severity: severity of violation + // Severity: The severity of violation. Severity string `json:"severity,omitempty"` - // ViolationDetails: the details of violation in result + // ViolationDetails: The details of violation in an evaluation result. ViolationDetails *ViolationDetails `json:"violationDetails,omitempty"` - // ViolationMessage: the violation message of an execution + // ViolationMessage: The violation message of an execution. ViolationMessage string `json:"violationMessage,omitempty"` // ForceSendFields is a list of field names (e.g. "DocumentationUrl") to // unconditionally include in API requests. By default, fields with empty or @@ -1005,6 +1005,7 @@ type LocationData struct { ChildAssetLocation *CloudAssetComposition `json:"childAssetLocation,omitempty"` DirectLocation *DirectLocationAssignment `json:"directLocation,omitempty"` GcpProjectProxy *TenantProjectProxy `json:"gcpProjectProxy,omitempty"` + PlacerLocation *PlacerLocation `json:"placerLocation,omitempty"` SpannerLocation *SpannerLocation `json:"spannerLocation,omitempty"` // ForceSendFields is a list of field names (e.g. "BlobstoreLocation") to // unconditionally include in API requests. By default, fields with empty or @@ -1109,6 +1110,30 @@ func (s *OperationMetadata) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) } +// PlacerLocation: Message describing that the location of the customer +// resource is tied to placer allocations +type PlacerLocation struct { + // PlacerConfig: Directory with a config related to it in placer (e.g. + // "/placer/prod/home/my-root/my-dir") + PlacerConfig string `json:"placerConfig,omitempty"` + // ForceSendFields is a list of field names (e.g. "PlacerConfig") 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. "PlacerConfig") 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 *PlacerLocation) MarshalJSON() ([]byte, error) { + type NoMethod PlacerLocation + return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) +} + // RegionalMigDistributionPolicy: To be used for specifying the intended // distribution of regional compute.googleapis.com/InstanceGroupManager // instances @@ -1138,11 +1163,11 @@ func (s *RegionalMigDistributionPolicy) MarshalJSON() ([]byte, error) { // Resource: Message represent resource in execution result type Resource struct { - // Name: the name of the resource + // Name: The name of the resource. Name string `json:"name,omitempty"` - // ServiceAccount: the service account accosiate with resource + // ServiceAccount: The service account associated with the resource. ServiceAccount string `json:"serviceAccount,omitempty"` - // Type: the type of reresource + // Type: The type of resource. Type string `json:"type,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 @@ -1350,6 +1375,9 @@ type SapDiscoveryComponent struct { HaHosts []string `json:"haHosts,omitempty"` // HostProject: Required. Pantheon Project in which the resources reside. HostProject string `json:"hostProject,omitempty"` + // ReplicationSites: Optional. A list of replication sites used in Disaster + // Recovery (DR) configurations. + ReplicationSites []*SapDiscoveryComponent `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 @@ -1383,8 +1411,8 @@ func (s *SapDiscoveryComponent) MarshalJSON() ([]byte, error) { // SapDiscoveryComponentApplicationProperties: A set of properties describing // an SAP Application layer. type SapDiscoveryComponentApplicationProperties struct { - // Abap: Optional. Indicates whether this is a Java or ABAP Netweaver instance. - // true means it is ABAP, false means it is Java. + // Abap: Optional. Deprecated: ApplicationType now tells you whether this is + // ABAP or Java. Abap bool `json:"abap,omitempty"` // AppInstanceNumber: Optional. Instance number of the SAP application // instance. @@ -1394,6 +1422,8 @@ type SapDiscoveryComponentApplicationProperties struct { // Possible values: // "APPLICATION_TYPE_UNSPECIFIED" - Unspecified application type // "NETWEAVER" - SAP Netweaver + // "NETWEAVER_ABAP" - SAP Netweaver ABAP + // "NETWEAVER_JAVA" - SAP Netweaver Java ApplicationType string `json:"applicationType,omitempty"` // AscsInstanceNumber: Optional. Instance number of the ASCS instance. AscsInstanceNumber string `json:"ascsInstanceNumber,omitempty"` @@ -1971,13 +2001,13 @@ func (s *TenantProjectProxy) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields) } -// ViolationDetails: Message describing the violdation in execution result +// ViolationDetails: Message describing the violation in an evaluation result. type ViolationDetails struct { - // Asset: the name of asset + // Asset: The name of the asset. Asset string `json:"asset,omitempty"` - // Observed: observed + // Observed: Details of the violation. Observed map[string]string `json:"observed,omitempty"` - // ServiceAccount: the service account associate with resource + // ServiceAccount: The service account associated with the resource. ServiceAccount string `json:"serviceAccount,omitempty"` // ForceSendFields is a list of field names (e.g. "Asset") to unconditionally // include in API requests. By default, fields with empty or default values are @@ -2687,7 +2717,8 @@ func (r *ProjectsLocationsEvaluationsService) List(parent string) *ProjectsLocat return c } -// Filter sets the optional parameter "filter": Filtering results +// Filter sets the optional parameter "filter": Filter to be applied when +// listing the evaluation results. func (c *ProjectsLocationsEvaluationsListCall) Filter(filter string) *ProjectsLocationsEvaluationsListCall { c.urlParams_.Set("filter", filter) return c @@ -3314,7 +3345,7 @@ type ProjectsLocationsEvaluationsExecutionsResultsListCall struct { header_ http.Header } -// List: List the running result of a single Execution. +// List: Lists the result of a single evaluation. // // - parent: The execution results. Format: // {parent}/evaluations/*/executions/*/results.