diff --git a/androidenterprise/v1/androidenterprise-api.json b/androidenterprise/v1/androidenterprise-api.json index aa841e8e566..1a3504370e5 100644 --- a/androidenterprise/v1/androidenterprise-api.json +++ b/androidenterprise/v1/androidenterprise-api.json @@ -2649,7 +2649,7 @@ } } }, - "revision": "20231018", + "revision": "20231107", "rootUrl": "https://androidenterprise.googleapis.com/", "schemas": { "Administrator": { @@ -3097,7 +3097,7 @@ "type": "array" }, "autoInstallMode": { - "description": "The auto-install mode. If unset defaults to \"doNotAutoInstall\".", + "description": "The auto-install mode. If unset, defaults to \"doNotAutoInstall\". An app is automatically installed regardless of a set maintenance window.", "enum": [ "autoInstallModeUnspecified", "doNotAutoInstall", diff --git a/androidenterprise/v1/androidenterprise-gen.go b/androidenterprise/v1/androidenterprise-gen.go index f74880f34ce..185f41ab31e 100644 --- a/androidenterprise/v1/androidenterprise-gen.go +++ b/androidenterprise/v1/androidenterprise-gen.go @@ -1077,8 +1077,9 @@ type AutoInstallPolicy struct { // You can specify a maximum of one constraint. AutoInstallConstraint []*AutoInstallConstraint `json:"autoInstallConstraint,omitempty"` - // AutoInstallMode: The auto-install mode. If unset defaults to - // "doNotAutoInstall". + // AutoInstallMode: The auto-install mode. If unset, defaults to + // "doNotAutoInstall". An app is automatically installed regardless of a + // set maintenance window. // // Possible values: // "autoInstallModeUnspecified" diff --git a/assuredworkloads/v1/assuredworkloads-api.json b/assuredworkloads/v1/assuredworkloads-api.json index 94306a4df88..32211edd12d 100644 --- a/assuredworkloads/v1/assuredworkloads-api.json +++ b/assuredworkloads/v1/assuredworkloads-api.json @@ -566,13 +566,27 @@ } } }, - "revision": "20231023", + "revision": "20231106", "rootUrl": "https://assuredworkloads.googleapis.com/", "schemas": { "GoogleCloudAssuredworkloadsV1AcknowledgeViolationRequest": { "description": "Request for acknowledging the violation Next Id: 5", "id": "GoogleCloudAssuredworkloadsV1AcknowledgeViolationRequest", "properties": { + "acknowledgeType": { + "description": "Optional. Acknowledge type of specified violation.", + "enum": [ + "ACKNOWLEDGE_TYPE_UNSPECIFIED", + "SINGLE_VIOLATION", + "EXISTING_CHILD_RESOURCE_VIOLATIONS" + ], + "enumDescriptions": [ + "Acknowledge type unspecified.", + "Acknowledge only the specific violation.", + "Acknowledge specified orgPolicy violation and also associated resource violations." + ], + "type": "string" + }, "comment": { "description": "Required. Business justification explaining the need for violation acknowledgement", "type": "string" @@ -846,6 +860,11 @@ "format": "google-datetime", "type": "string" }, + "associatedOrgPolicyViolationId": { + "description": "Optional. Output only. Violation Id of the org-policy violation due to which the resource violation is caused. Empty for org-policy violations.", + "readOnly": true, + "type": "string" + }, "auditLogLink": { "description": "Output only. Immutable. Audit Log Link for violated resource Format: https://console.cloud.google.com/logs/query;query={logName}{protoPayload.resourceName}{timeRange}{folder}", "readOnly": true, @@ -896,6 +915,11 @@ "readOnly": true, "type": "string" }, + "parentProjectNumber": { + "description": "Optional. Output only. Parent project number where resource is present. Empty for org-policy violations.", + "readOnly": true, + "type": "string" + }, "remediation": { "$ref": "GoogleCloudAssuredworkloadsV1ViolationRemediation", "description": "Output only. Compliance violation remediation", @@ -907,6 +931,16 @@ "readOnly": true, "type": "string" }, + "resourceName": { + "description": "Optional. Output only. Name of the resource like //storage.googleapis.com/myprojectxyz-testbucket. Empty for org-policy violations.", + "readOnly": true, + "type": "string" + }, + "resourceType": { + "description": "Optional. Output only. Type of the resource like compute.googleapis.com/Disk, etc. Empty for org-policy violations.", + "readOnly": true, + "type": "string" + }, "state": { "description": "Output only. State of the violation", "enum": [ @@ -929,6 +963,21 @@ "format": "google-datetime", "readOnly": true, "type": "string" + }, + "violationType": { + "description": "Output only. Type of the violation", + "enum": [ + "VIOLATION_TYPE_UNSPECIFIED", + "ORG_POLICY", + "RESOURCE" + ], + "enumDescriptions": [ + "Unspecified type.", + "Org Policy Violation.", + "Resource Violation." + ], + "readOnly": true, + "type": "string" } }, "type": "object" @@ -975,14 +1024,16 @@ "REMEDIATION_BOOLEAN_ORG_POLICY_VIOLATION", "REMEDIATION_LIST_ALLOWED_VALUES_ORG_POLICY_VIOLATION", "REMEDIATION_LIST_DENIED_VALUES_ORG_POLICY_VIOLATION", - "REMEDIATION_RESTRICT_CMEK_CRYPTO_KEY_PROJECTS_ORG_POLICY_VIOLATION" + "REMEDIATION_RESTRICT_CMEK_CRYPTO_KEY_PROJECTS_ORG_POLICY_VIOLATION", + "REMEDIATION_RESOURCE_VIOLATION" ], "enumDescriptions": [ "Unspecified remediation type", "Remediation type for boolean org policy", "Remediation type for list org policy which have allowed values in the monitoring rule", "Remediation type for list org policy which have denied values in the monitoring rule", - "Remediation type for gcp.restrictCmekCryptoKeyProjects" + "Remediation type for gcp.restrictCmekCryptoKeyProjects", + "Remediation type for resource violation." ], "readOnly": true, "type": "string" @@ -1244,11 +1295,21 @@ "description": "Represents the Compliance Status of this workload", "id": "GoogleCloudAssuredworkloadsV1WorkloadComplianceStatus", "properties": { + "acknowledgedResourceViolationCount": { + "description": "Number of current resource violations which are not acknowledged.", + "format": "int32", + "type": "integer" + }, "acknowledgedViolationCount": { "description": "Number of current orgPolicy violations which are acknowledged.", "format": "int32", "type": "integer" }, + "activeResourceViolationCount": { + "description": "Number of current resource violations which are acknowledged.", + "format": "int32", + "type": "integer" + }, "activeViolationCount": { "description": "Number of current orgPolicy violations which are not acknowledged.", "format": "int32", diff --git a/assuredworkloads/v1/assuredworkloads-gen.go b/assuredworkloads/v1/assuredworkloads-gen.go index 3c70e17b2b2..bdb8743d840 100644 --- a/assuredworkloads/v1/assuredworkloads-gen.go +++ b/assuredworkloads/v1/assuredworkloads-gen.go @@ -211,6 +211,15 @@ type OrganizationsLocationsWorkloadsViolationsService struct { // GoogleCloudAssuredworkloadsV1AcknowledgeViolationRequest: Request for // acknowledging the violation Next Id: 5 type GoogleCloudAssuredworkloadsV1AcknowledgeViolationRequest struct { + // AcknowledgeType: Optional. Acknowledge type of specified violation. + // + // Possible values: + // "ACKNOWLEDGE_TYPE_UNSPECIFIED" - Acknowledge type unspecified. + // "SINGLE_VIOLATION" - Acknowledge only the specific violation. + // "EXISTING_CHILD_RESOURCE_VIOLATIONS" - Acknowledge specified + // orgPolicy violation and also associated resource violations. + AcknowledgeType string `json:"acknowledgeType,omitempty"` + // Comment: Required. Business justification explaining the need for // violation acknowledgement Comment string `json:"comment,omitempty"` @@ -223,7 +232,7 @@ type GoogleCloudAssuredworkloadsV1AcknowledgeViolationRequest struct { // organizations/{organization_id}/policies/{constraint_name} NonCompliantOrgPolicy string `json:"nonCompliantOrgPolicy,omitempty"` - // ForceSendFields is a list of field names (e.g. "Comment") to + // ForceSendFields is a list of field names (e.g. "AcknowledgeType") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -231,12 +240,13 @@ type GoogleCloudAssuredworkloadsV1AcknowledgeViolationRequest struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Comment") to include in - // API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. However, any field with an - // empty value appearing in NullFields will be sent to the server as - // null. It is an error if a field in this list has a non-empty value. - // This may be used to include null fields in Patch requests. + // NullFields is a list of field names (e.g. "AcknowledgeType") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. NullFields []string `json:"-"` } @@ -679,6 +689,11 @@ type GoogleCloudAssuredworkloadsV1Violation struct { // marked as false. AcknowledgementTime string `json:"acknowledgementTime,omitempty"` + // AssociatedOrgPolicyViolationId: Optional. Output only. Violation Id + // of the org-policy violation due to which the resource violation is + // caused. Empty for org-policy violations. + AssociatedOrgPolicyViolationId string `json:"associatedOrgPolicyViolationId,omitempty"` + // AuditLogLink: Output only. Immutable. Audit Log Link for violated // resource Format: // https://console.cloud.google.com/logs/query;query={logName}{protoPayload.resourceName}{timeRange}{folder} @@ -723,6 +738,10 @@ type GoogleCloudAssuredworkloadsV1Violation struct { // this violation. OrgPolicyConstraint string `json:"orgPolicyConstraint,omitempty"` + // ParentProjectNumber: Optional. Output only. Parent project number + // where resource is present. Empty for org-policy violations. + ParentProjectNumber string `json:"parentProjectNumber,omitempty"` + // Remediation: Output only. Compliance violation remediation Remediation *GoogleCloudAssuredworkloadsV1ViolationRemediation `json:"remediation,omitempty"` @@ -730,6 +749,15 @@ type GoogleCloudAssuredworkloadsV1Violation struct { // Violation. If the violation is ACTIVE this will be empty. ResolveTime string `json:"resolveTime,omitempty"` + // ResourceName: Optional. Output only. Name of the resource like + // //storage.googleapis.com/myprojectxyz-testbucket. Empty for + // org-policy violations. + ResourceName string `json:"resourceName,omitempty"` + + // ResourceType: Optional. Output only. Type of the resource like + // compute.googleapis.com/Disk, etc. Empty for org-policy violations. + ResourceType string `json:"resourceType,omitempty"` + // State: Output only. State of the violation // // Possible values: @@ -743,6 +771,14 @@ type GoogleCloudAssuredworkloadsV1Violation struct { // updated. UpdateTime string `json:"updateTime,omitempty"` + // ViolationType: Output only. Type of the violation + // + // Possible values: + // "VIOLATION_TYPE_UNSPECIFIED" - Unspecified type. + // "ORG_POLICY" - Org Policy Violation. + // "RESOURCE" - Resource Violation. + ViolationType string `json:"violationType,omitempty"` + // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` @@ -837,6 +873,8 @@ type GoogleCloudAssuredworkloadsV1ViolationRemediation struct { // // "REMEDIATION_RESTRICT_CMEK_CRYPTO_KEY_PROJECTS_ORG_POLICY_VIOLATION" // - Remediation type for gcp.restrictCmekCryptoKeyProjects + // "REMEDIATION_RESOURCE_VIOLATION" - Remediation type for resource + // violation. RemediationType string `json:"remediationType,omitempty"` // ForceSendFields is a list of field names (e.g. "CompliantValues") to @@ -1160,26 +1198,34 @@ func (s *GoogleCloudAssuredworkloadsV1Workload) MarshalJSON() ([]byte, error) { // GoogleCloudAssuredworkloadsV1WorkloadComplianceStatus: Represents the // Compliance Status of this workload type GoogleCloudAssuredworkloadsV1WorkloadComplianceStatus struct { + // AcknowledgedResourceViolationCount: Number of current resource + // violations which are not acknowledged. + AcknowledgedResourceViolationCount int64 `json:"acknowledgedResourceViolationCount,omitempty"` + // AcknowledgedViolationCount: Number of current orgPolicy violations // which are acknowledged. AcknowledgedViolationCount int64 `json:"acknowledgedViolationCount,omitempty"` + // ActiveResourceViolationCount: Number of current resource violations + // which are acknowledged. + ActiveResourceViolationCount int64 `json:"activeResourceViolationCount,omitempty"` + // ActiveViolationCount: Number of current orgPolicy violations which // are not acknowledged. ActiveViolationCount int64 `json:"activeViolationCount,omitempty"` // ForceSendFields is a list of field names (e.g. - // "AcknowledgedViolationCount") to unconditionally include in API - // requests. By default, fields with empty or default values are omitted - // from API requests. However, any non-pointer, non-interface field - // appearing in ForceSendFields will be sent to the server regardless of - // whether the field is empty or not. This may be used to include empty - // fields in Patch requests. + // "AcknowledgedResourceViolationCount") to unconditionally include in + // API requests. By default, fields with empty or default values are + // omitted from API requests. However, any non-pointer, non-interface + // field appearing in ForceSendFields will be sent to the server + // regardless of whether the field is empty or not. This may be used to + // include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. - // "AcknowledgedViolationCount") to include in API requests with the - // JSON null value. By default, fields with empty values are omitted + // "AcknowledgedResourceViolationCount") to include in API requests with + // the JSON null value. By default, fields with empty values are omitted // from API requests. However, any field with an empty value appearing // in NullFields will be sent to the server as null. It is an error if a // field in this list has a non-empty value. This may be used to include diff --git a/cloudasset/v1/cloudasset-api.json b/cloudasset/v1/cloudasset-api.json index b31ceed99d5..1582087074d 100644 --- a/cloudasset/v1/cloudasset-api.json +++ b/cloudasset/v1/cloudasset-api.json @@ -623,7 +623,7 @@ "type": "string" }, "savedAnalysisQuery": { - "description": "Optional. The name of a saved query, which must be in the format of: * projects/project_number/savedQueries/saved_query_id * folders/folder_number/savedQueries/saved_query_id * organizations/organization_number/savedQueries/saved_query_id If both `analysis_query` and `saved_analysis_query` are provided, they will be merged together with the `saved_analysis_query` as base and the `analysis_query` as overrides. For more details of the merge behavior, please refer to the [MergeFrom](https://developers.google.com/protocol-buffers/docs/reference/cpp/google.protobuf.message#Message.MergeFrom.details) page. Note that you cannot override primitive fields with default value, such as 0 or empty string, etc., because we use proto3, which doesn't support field presence yet.", + "description": "Optional. The name of a saved query, which must be in the format of: * projects/project_number/savedQueries/saved_query_id * folders/folder_number/savedQueries/saved_query_id * organizations/organization_number/savedQueries/saved_query_id If both `analysis_query` and `saved_analysis_query` are provided, they will be merged together with the `saved_analysis_query` as base and the `analysis_query` as overrides. For more details of the merge behavior, refer to the [MergeFrom](https://developers.google.com/protocol-buffers/docs/reference/cpp/google.protobuf.message#Message.MergeFrom.details) page. Note that you cannot override primitive fields with default value, such as 0 or empty string, etc., because we use proto3, which doesn't support field presence yet.", "location": "query", "type": "string" }, @@ -1066,7 +1066,7 @@ "type": "string" }, "query": { - "description": "Optional. The query statement. See [how to construct a query](https://cloud.google.com/asset-inventory/docs/searching-resources#how_to_construct_a_query) for more information. If not specified or empty, it will search all the resources within the specified `scope`. Examples: * `name:Important` to find Google Cloud resources whose name contains `Important` as a word. * `name=Important` to find the Google Cloud resource whose name is exactly `Important`. * `displayName:Impor*` to find Google Cloud resources whose display name contains `Impor` as a prefix of any word in the field. * `location:us-west*` to find Google Cloud resources whose location contains both `us` and `west` as prefixes. * `labels:prod` to find Google Cloud resources whose labels contain `prod` as a key or value. * `labels.env:prod` to find Google Cloud resources that have a label `env` and its value is `prod`. * `labels.env:*` to find Google Cloud resources that have a label `env`. * `tagKeys:env` to find Google Cloud resources that have directly attached tags where the [`TagKey`](https://cloud.google.com/resource-manager/reference/rest/v3/tagKeys#resource:-tagkey) .`namespacedName` contains `env`. * `tagValues:prod*` to find Google Cloud resources that have directly attached tags where the [`TagValue`](https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue) .`namespacedName` contains a word prefixed by `prod`. * `tagValueIds=tagValues/123` to find Google Cloud resources that have directly attached tags where the [`TagValue`](https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue) .`name` is exactly `tagValues/123`. * `effectiveTagKeys:env` to find Google Cloud resources that have directly attached or inherited tags where the [`TagKey`](https://cloud.google.com/resource-manager/reference/rest/v3/tagKeys#resource:-tagkey) .`namespacedName` contains `env`. * `effectiveTagValues:prod*` to find Google Cloud resources that have directly attached or inherited tags where the [`TagValue`](https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue) .`namespacedName` contains a word prefixed by `prod`. * `effectiveTagValueIds=tagValues/123` to find Google Cloud resources that have directly attached or inherited tags where the [`TagValue`](https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue) .`name` is exactly `tagValues/123`. * `kmsKey:key` to find Google Cloud resources encrypted with a customer-managed encryption key whose name contains `key` as a word. This field is deprecated. Please use the `kmsKeys` field to retrieve Cloud KMS key information. * `kmsKeys:key` to find Google Cloud resources encrypted with customer-managed encryption keys whose name contains the word `key`. * `relationships:instance-group-1` to find Google Cloud resources that have relationships with `instance-group-1` in the related resource name. * `relationships:INSTANCE_TO_INSTANCEGROUP` to find Compute Engine instances that have relationships of type `INSTANCE_TO_INSTANCEGROUP`. * `relationships.INSTANCE_TO_INSTANCEGROUP:instance-group-1` to find Compute Engine instances that have relationships with `instance-group-1` in the Compute Engine instance group resource name, for relationship type `INSTANCE_TO_INSTANCEGROUP`. * `sccSecurityMarks.key=value` to find Cloud resources that are attached with security marks whose key is `key` and value is `value'. * `sccSecurityMarks.key:*` to find Cloud resources that are attached with security marks whose key is `key`. * `state:ACTIVE` to find Google Cloud resources whose state contains `ACTIVE` as a word. * `NOT state:ACTIVE` to find Google Cloud resources whose state doesn't contain `ACTIVE` as a word. * `createTime\u003c1609459200` to find Google Cloud resources that were created before `2021-01-01 00:00:00 UTC`. `1609459200` is the epoch timestamp of `2021-01-01 00:00:00 UTC` in seconds. * `updateTime\u003e1609459200` to find Google Cloud resources that were updated after `2021-01-01 00:00:00 UTC`. `1609459200` is the epoch timestamp of `2021-01-01 00:00:00 UTC` in seconds. * `Important` to find Google Cloud resources that contain `Important` as a word in any of the searchable fields. * `Impor*` to find Google Cloud resources that contain `Impor` as a prefix of any word in any of the searchable fields. * `Important location:(us-west1 OR global)` to find Google Cloud resources that contain `Important` as a word in any of the searchable fields and are also located in the `us-west1` region or the `global` location.", + "description": "Optional. The query statement. See [how to construct a query](https://cloud.google.com/asset-inventory/docs/searching-resources#how_to_construct_a_query) for more information. If not specified or empty, it will search all the resources within the specified `scope`. Examples: * `name:Important` to find Google Cloud resources whose name contains `Important` as a word. * `name=Important` to find the Google Cloud resource whose name is exactly `Important`. * `displayName:Impor*` to find Google Cloud resources whose display name contains `Impor` as a prefix of any word in the field. * `location:us-west*` to find Google Cloud resources whose location contains both `us` and `west` as prefixes. * `labels:prod` to find Google Cloud resources whose labels contain `prod` as a key or value. * `labels.env:prod` to find Google Cloud resources that have a label `env` and its value is `prod`. * `labels.env:*` to find Google Cloud resources that have a label `env`. * `tagKeys:env` to find Google Cloud resources that have directly attached tags where the [`TagKey.namespacedName`](https://cloud.google.com/resource-manager/reference/rest/v3/tagKeys#resource:-tagkey) contains `env`. * `tagValues:prod*` to find Google Cloud resources that have directly attached tags where the [`TagValue.namespacedName`](https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue) contains a word prefixed by `prod`. * `tagValueIds=tagValues/123` to find Google Cloud resources that have directly attached tags where the [`TagValue.name`](https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue) is exactly `tagValues/123`. * `effectiveTagKeys:env` to find Google Cloud resources that have directly attached or inherited tags where the [`TagKey.namespacedName`](https://cloud.google.com/resource-manager/reference/rest/v3/tagKeys#resource:-tagkey) contains `env`. * `effectiveTagValues:prod*` to find Google Cloud resources that have directly attached or inherited tags where the [`TagValue.namespacedName`](https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue) contains a word prefixed by `prod`. * `effectiveTagValueIds=tagValues/123` to find Google Cloud resources that have directly attached or inherited tags where the [`TagValue.name`](https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue) is exactly `tagValues/123`. * `kmsKey:key` to find Google Cloud resources encrypted with a customer-managed encryption key whose name contains `key` as a word. This field is deprecated. Use the `kmsKeys` field to retrieve Cloud KMS key information. * `kmsKeys:key` to find Google Cloud resources encrypted with customer-managed encryption keys whose name contains the word `key`. * `relationships:instance-group-1` to find Google Cloud resources that have relationships with `instance-group-1` in the related resource name. * `relationships:INSTANCE_TO_INSTANCEGROUP` to find Compute Engine instances that have relationships of type `INSTANCE_TO_INSTANCEGROUP`. * `relationships.INSTANCE_TO_INSTANCEGROUP:instance-group-1` to find Compute Engine instances that have relationships with `instance-group-1` in the Compute Engine instance group resource name, for relationship type `INSTANCE_TO_INSTANCEGROUP`. * `sccSecurityMarks.key=value` to find Cloud resources that are attached with security marks whose key is `key` and value is `value`. * `sccSecurityMarks.key:*` to find Cloud resources that are attached with security marks whose key is `key`. * `state:ACTIVE` to find Google Cloud resources whose state contains `ACTIVE` as a word. * `NOT state:ACTIVE` to find Google Cloud resources whose state doesn't contain `ACTIVE` as a word. * `createTime\u003c1609459200` to find Google Cloud resources that were created before `2021-01-01 00:00:00 UTC`. `1609459200` is the epoch timestamp of `2021-01-01 00:00:00 UTC` in seconds. * `updateTime\u003e1609459200` to find Google Cloud resources that were updated after `2021-01-01 00:00:00 UTC`. `1609459200` is the epoch timestamp of `2021-01-01 00:00:00 UTC` in seconds. * `Important` to find Google Cloud resources that contain `Important` as a word in any of the searchable fields. * `Impor*` to find Google Cloud resources that contain `Impor` as a prefix of any word in any of the searchable fields. * `Important location:(us-west1 OR global)` to find Google Cloud resources that contain `Important` as a word in any of the searchable fields and are also located in the `us-west1` region or the `global` location.", "location": "query", "type": "string" }, @@ -1095,7 +1095,7 @@ } } }, - "revision": "20231013", + "revision": "20231103", "rootUrl": "https://cloudasset.googleapis.com/", "schemas": { "AccessSelector": { @@ -1145,7 +1145,7 @@ "description": "Required. Output configuration indicating where the results will be output to." }, "savedAnalysisQuery": { - "description": "Optional. The name of a saved query, which must be in the format of: * projects/project_number/savedQueries/saved_query_id * folders/folder_number/savedQueries/saved_query_id * organizations/organization_number/savedQueries/saved_query_id If both `analysis_query` and `saved_analysis_query` are provided, they will be merged together with the `saved_analysis_query` as base and the `analysis_query` as overrides. For more details of the merge behavior, please refer to the [MergeFrom](https://developers.google.com/protocol-buffers/docs/reference/cpp/google.protobuf.message#Message.MergeFrom.details) doc. Note that you cannot override primitive fields with default value, such as 0 or empty string, etc., because we use proto3, which doesn't support field presence yet.", + "description": "Optional. The name of a saved query, which must be in the format of: * projects/project_number/savedQueries/saved_query_id * folders/folder_number/savedQueries/saved_query_id * organizations/organization_number/savedQueries/saved_query_id If both `analysis_query` and `saved_analysis_query` are provided, they will be merged together with the `saved_analysis_query` as base and the `analysis_query` as overrides. For more details of the merge behavior, refer to the [MergeFrom](https://developers.google.com/protocol-buffers/docs/reference/cpp/google.protobuf.message#Message.MergeFrom.details) doc. Note that you cannot override primitive fields with default value, such as 0 or empty string, etc., because we use proto3, which doesn't support field presence yet.", "type": "string" } }, @@ -1310,11 +1310,11 @@ "properties": { "accessLevel": { "$ref": "GoogleIdentityAccesscontextmanagerV1AccessLevel", - "description": "Please also refer to the [access level user guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels)." + "description": "Also refer to the [access level user guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels)." }, "accessPolicy": { "$ref": "GoogleIdentityAccesscontextmanagerV1AccessPolicy", - "description": "Please also refer to the [access policy user guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies)." + "description": "Also refer to the [access policy user guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies)." }, "ancestors": { "description": "The ancestry path of an asset in Google Cloud [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), represented as a list of relative resource names. An ancestry path starts with the closest ancestor in the hierarchy and ends at root. If the asset is a project, folder, or organization, the ancestry path starts from the asset itself. Example: `[\"projects/123456789\", \"folders/5432\", \"organizations/1234\"]`", @@ -1361,7 +1361,7 @@ }, "servicePerimeter": { "$ref": "GoogleIdentityAccesscontextmanagerV1ServicePerimeter", - "description": "Please also refer to the [service perimeter user guide](https://cloud.google.com/vpc-service-controls/docs/overview)." + "description": "Also refer to the [service perimeter user guide](https://cloud.google.com/vpc-service-controls/docs/overview)." }, "updateTime": { "description": "The last update timestamp of an asset. update_time is updated when create/update/delete operation is performed.", @@ -4070,7 +4070,7 @@ }, "kmsKey": { "deprecated": true, - "description": "The Cloud KMS [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys) name or [CryptoKeyVersion](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys.cryptoKeyVersions) name. This field only presents for the purpose of backward compatibility. Please use the `kms_keys` field to retrieve Cloud KMS key information. This field is available only when the resource's Protobuf contains it and will only be populated for [these resource types](https://cloud.google.com/asset-inventory/docs/legacy-field-names#resource_types_with_the_to_be_deprecated_kmskey_field) for backward compatible purposes. To search against the `kms_key`: * Use a field query. Example: `kmsKey:key` * Use a free text query. Example: `key`", + "description": "The Cloud KMS [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys) name or [CryptoKeyVersion](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys.cryptoKeyVersions) name. This field only presents for the purpose of backward compatibility. Use the `kms_keys` field to retrieve Cloud KMS key information. This field is available only when the resource's Protobuf contains it and will only be populated for [these resource types](https://cloud.google.com/asset-inventory/docs/legacy-field-names#resource_types_with_the_to_be_deprecated_kmskey_field) for backward compatible purposes. To search against the `kms_key`: * Use a field query. Example: `kmsKey:key` * Use a free text query. Example: `key`", "type": "string" }, "kmsKeys": { @@ -4129,7 +4129,7 @@ "additionalProperties": { "type": "string" }, - "description": "The actual content of Security Command Center security marks associated with the asset. Note that both staging \u0026 prod SecurityMarks are attached on prod resources. In CAS preprod/prod, both staging \u0026 prod SecurityMarks are ingested and returned in the following `security_marks` map. In that case, the prefix \"staging.\" will be added to the keys of all the staging marks. To search against SCC SecurityMarks field: * Use a field query: - query by a given key value pair. Example: `sccSecurityMarks.foo=bar` - query by a given key's existence. Example: `sccSecurityMarks.foo:*`", + "description": "The actual content of Security Command Center security marks associated with the asset. To search against SCC SecurityMarks field: * Use a field query: - query by a given key value pair. Example: `sccSecurityMarks.foo=bar` - query by a given key's existence. Example: `sccSecurityMarks.foo:*`", "type": "object" }, "state": { @@ -4138,7 +4138,7 @@ }, "tagKeys": { "deprecated": true, - "description": "This field is only present for the purpose of backward compatibility. Please use the `tags` field instead. TagKey namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}. To search against the `tagKeys`: * Use a field query. Example: - `tagKeys:\"123456789/env*\"` - `tagKeys=\"123456789/env\"` - `tagKeys:\"env\"` * Use a free text query. Example: - `env`", + "description": "This field is only present for the purpose of backward compatibility. Use the `tags` field instead. TagKey namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}. To search against the `tagKeys`: * Use a field query. Example: - `tagKeys:\"123456789/env*\"` - `tagKeys=\"123456789/env\"` - `tagKeys:\"env\"` * Use a free text query. Example: - `env`", "items": { "type": "string" }, @@ -4146,7 +4146,7 @@ }, "tagValueIds": { "deprecated": true, - "description": "This field is only present for the purpose of backward compatibility. Please use the `tags` field instead. TagValue IDs, in the format of tagValues/{TAG_VALUE_ID}. To search against the `tagValueIds`: * Use a field query. Example: - `tagValueIds=\"tagValues/456\"` * Use a free text query. Example: - `456`", + "description": "This field is only present for the purpose of backward compatibility. Use the `tags` field instead. TagValue IDs, in the format of tagValues/{TAG_VALUE_ID}. To search against the `tagValueIds`: * Use a field query. Example: - `tagValueIds=\"tagValues/456\"` * Use a free text query. Example: - `456`", "items": { "type": "string" }, @@ -4154,7 +4154,7 @@ }, "tagValues": { "deprecated": true, - "description": "This field is only present for the purpose of backward compatibility. Please use the `tags` field instead. TagValue namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}. To search against the `tagValues`: * Use a field query. Example: - `tagValues:\"env\"` - `tagValues:\"env/prod\"` - `tagValues:\"123456789/env/prod*\"` - `tagValues=\"123456789/env/prod\"` * Use a free text query. Example: - `prod`", + "description": "This field is only present for the purpose of backward compatibility. Use the `tags` field instead. TagValue namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}. To search against the `tagValues`: * Use a field query. Example: - `tagValues:\"env\"` - `tagValues:\"env/prod\"` - `tagValues:\"123456789/env/prod*\"` - `tagValues=\"123456789/env/prod\"` * Use a free text query. Example: - `prod`", "items": { "type": "string" }, diff --git a/cloudasset/v1/cloudasset-gen.go b/cloudasset/v1/cloudasset-gen.go index e20b92cb920..f5c6eceb82c 100644 --- a/cloudasset/v1/cloudasset-gen.go +++ b/cloudasset/v1/cloudasset-gen.go @@ -302,7 +302,7 @@ type AnalyzeIamPolicyLongrunningRequest struct { // `analysis_query` and `saved_analysis_query` are provided, they will // be merged together with the `saved_analysis_query` as base and the // `analysis_query` as overrides. For more details of the merge - // behavior, please refer to the MergeFrom + // behavior, refer to the MergeFrom // (https://developers.google.com/protocol-buffers/docs/reference/cpp/google.protobuf.message#Message.MergeFrom.details) // doc. Note that you cannot override primitive fields with default // value, such as 0 or empty string, etc., because we use proto3, which @@ -640,11 +640,11 @@ func (s *AnalyzerOrgPolicyConstraint) MarshalJSON() ([]byte, error) { // (https://cloud.google.com/asset-inventory/docs/supported-asset-types) // for more information. type Asset struct { - // AccessLevel: Please also refer to the access level user guide + // AccessLevel: Also refer to the access level user guide // (https://cloud.google.com/access-context-manager/docs/overview#access-levels). AccessLevel *GoogleIdentityAccesscontextmanagerV1AccessLevel `json:"accessLevel,omitempty"` - // AccessPolicy: Please also refer to the access policy user guide + // AccessPolicy: Also refer to the access policy user guide // (https://cloud.google.com/access-context-manager/docs/overview#access-policies). AccessPolicy *GoogleIdentityAccesscontextmanagerV1AccessPolicy `json:"accessPolicy,omitempty"` @@ -706,8 +706,8 @@ type Asset struct { // Resource: A representation of the resource. Resource *Resource `json:"resource,omitempty"` - // ServicePerimeter: Please also refer to the service perimeter user - // guide (https://cloud.google.com/vpc-service-controls/docs/overview). + // ServicePerimeter: Also refer to the service perimeter user guide + // (https://cloud.google.com/vpc-service-controls/docs/overview). ServicePerimeter *GoogleIdentityAccesscontextmanagerV1ServicePerimeter `json:"servicePerimeter,omitempty"` // UpdateTime: The last update timestamp of an asset. update_time is @@ -6107,8 +6107,8 @@ type ResourceSearchResult struct { // name or CryptoKeyVersion // (https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys.cryptoKeyVersions) // name. This field only presents for the purpose of backward - // compatibility. Please use the `kms_keys` field to retrieve Cloud KMS - // key information. This field is available only when the resource's + // compatibility. Use the `kms_keys` field to retrieve Cloud KMS key + // information. This field is available only when the resource's // Protobuf contains it and will only be populated for these resource // types // (https://cloud.google.com/asset-inventory/docs/legacy-field-names#resource_types_with_the_to_be_deprecated_kmskey_field) @@ -6203,14 +6203,10 @@ type ResourceSearchResult struct { Relationships map[string]RelatedResources `json:"relationships,omitempty"` // SccSecurityMarks: The actual content of Security Command Center - // security marks associated with the asset. Note that both staging & - // prod SecurityMarks are attached on prod resources. In CAS - // preprod/prod, both staging & prod SecurityMarks are ingested and - // returned in the following `security_marks` map. In that case, the - // prefix "staging." will be added to the keys of all the staging marks. - // To search against SCC SecurityMarks field: * Use a field query: - - // query by a given key value pair. Example: `sccSecurityMarks.foo=bar` - // - query by a given key's existence. Example: `sccSecurityMarks.foo:*` + // security marks associated with the asset. To search against SCC + // SecurityMarks field: * Use a field query: - query by a given key + // value pair. Example: `sccSecurityMarks.foo=bar` - query by a given + // key's existence. Example: `sccSecurityMarks.foo:*` SccSecurityMarks map[string]string `json:"sccSecurityMarks,omitempty"` // State: The state of this resource. Different resources types have @@ -6231,24 +6227,24 @@ type ResourceSearchResult struct { State string `json:"state,omitempty"` // TagKeys: This field is only present for the purpose of backward - // compatibility. Please use the `tags` field instead. TagKey namespaced - // names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}. To search - // against the `tagKeys`: * Use a field query. Example: - - // `tagKeys:"123456789/env*" - `tagKeys="123456789/env" - - // `tagKeys:"env" * Use a free text query. Example: - `env` + // compatibility. Use the `tags` field instead. TagKey namespaced names, + // in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}. To search against the + // `tagKeys`: * Use a field query. Example: - `tagKeys:"123456789/env*" + // - `tagKeys="123456789/env" - `tagKeys:"env" * Use a free text + // query. Example: - `env` TagKeys []string `json:"tagKeys,omitempty"` // TagValueIds: This field is only present for the purpose of backward - // compatibility. Please use the `tags` field instead. TagValue IDs, in - // the format of tagValues/{TAG_VALUE_ID}. To search against the + // compatibility. Use the `tags` field instead. TagValue IDs, in the + // format of tagValues/{TAG_VALUE_ID}. To search against the // `tagValueIds`: * Use a field query. Example: - // `tagValueIds="tagValues/456" * Use a free text query. Example: - // `456` TagValueIds []string `json:"tagValueIds,omitempty"` // TagValues: This field is only present for the purpose of backward - // compatibility. Please use the `tags` field instead. TagValue - // namespaced names, in the format of + // compatibility. Use the `tags` field instead. TagValue namespaced + // names, in the format of // {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}. To search // against the `tagValues`: * Use a field query. Example: - // `tagValues:"env" - `tagValues:"env/prod" - @@ -9510,7 +9506,7 @@ func (c *V1AnalyzeIamPolicyCall) ExecutionTimeout(executionTimeout string) *V1An // `analysis_query` and `saved_analysis_query` are provided, they will // be merged together with the `saved_analysis_query` as base and the // `analysis_query` as overrides. For more details of the merge -// behavior, please refer to the MergeFrom +// behavior, refer to the MergeFrom // (https://developers.google.com/protocol-buffers/docs/reference/cpp/google.protobuf.message#Message.MergeFrom.details) // page. Note that you cannot override primitive fields with default // value, such as 0 or empty string, etc., because we use proto3, which @@ -9692,7 +9688,7 @@ func (c *V1AnalyzeIamPolicyCall) Do(opts ...googleapi.CallOption) (*AnalyzeIamPo // "type": "string" // }, // "savedAnalysisQuery": { - // "description": "Optional. The name of a saved query, which must be in the format of: * projects/project_number/savedQueries/saved_query_id * folders/folder_number/savedQueries/saved_query_id * organizations/organization_number/savedQueries/saved_query_id If both `analysis_query` and `saved_analysis_query` are provided, they will be merged together with the `saved_analysis_query` as base and the `analysis_query` as overrides. For more details of the merge behavior, please refer to the [MergeFrom](https://developers.google.com/protocol-buffers/docs/reference/cpp/google.protobuf.message#Message.MergeFrom.details) page. Note that you cannot override primitive fields with default value, such as 0 or empty string, etc., because we use proto3, which doesn't support field presence yet.", + // "description": "Optional. The name of a saved query, which must be in the format of: * projects/project_number/savedQueries/saved_query_id * folders/folder_number/savedQueries/saved_query_id * organizations/organization_number/savedQueries/saved_query_id If both `analysis_query` and `saved_analysis_query` are provided, they will be merged together with the `saved_analysis_query` as base and the `analysis_query` as overrides. For more details of the merge behavior, refer to the [MergeFrom](https://developers.google.com/protocol-buffers/docs/reference/cpp/google.protobuf.message#Message.MergeFrom.details) page. Note that you cannot override primitive fields with default value, such as 0 or empty string, etc., because we use proto3, which doesn't support field presence yet.", // "location": "query", // "type": "string" // }, @@ -11776,44 +11772,45 @@ func (c *V1SearchAllResourcesCall) PageToken(pageToken string) *V1SearchAllResou // Cloud resources that have a label `env` and its value is `prod`. * // `labels.env:*` to find Google Cloud resources that have a label // `env`. * `tagKeys:env` to find Google Cloud resources that have -// directly attached tags where the `TagKey` +// directly attached tags where the `TagKey.namespacedName` // (https://cloud.google.com/resource-manager/reference/rest/v3/tagKeys#resource:-tagkey) -// .`namespacedName` contains `env`. * `tagValues:prod*` to find Google -// Cloud resources that have directly attached tags where the `TagValue` +// contains `env`. * `tagValues:prod*` to find Google Cloud resources +// that have directly attached tags where the `TagValue.namespacedName` // (https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue) -// .`namespacedName` contains a word prefixed by `prod`. * -// `tagValueIds=tagValues/123` to find Google Cloud resources that have -// directly attached tags where the `TagValue` +// contains a word prefixed by `prod`. * `tagValueIds=tagValues/123` to +// find Google Cloud resources that have directly attached tags where +// the `TagValue.name` // (https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue) -// .`name` is exactly `tagValues/123`. * `effectiveTagKeys:env` to find -// Google Cloud resources that have directly attached or inherited tags -// where the `TagKey` +// is exactly `tagValues/123`. * `effectiveTagKeys:env` to find Google +// Cloud resources that have directly attached or inherited tags where +// the `TagKey.namespacedName` // (https://cloud.google.com/resource-manager/reference/rest/v3/tagKeys#resource:-tagkey) -// .`namespacedName` contains `env`. * `effectiveTagValues:prod*` to -// find Google Cloud resources that have directly attached or inherited -// tags where the `TagValue` +// contains `env`. * `effectiveTagValues:prod*` to find Google Cloud +// resources that have directly attached or inherited tags where the +// `TagValue.namespacedName` // (https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue) -// .`namespacedName` contains a word prefixed by `prod`. * +// contains a word prefixed by `prod`. * // `effectiveTagValueIds=tagValues/123` to find Google Cloud resources -// that have directly attached or inherited tags where the `TagValue` +// that have directly attached or inherited tags where the +// `TagValue.name` // (https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue) -// .`name` is exactly `tagValues/123`. * `kmsKey:key` to find Google -// Cloud resources encrypted with a customer-managed encryption key -// whose name contains `key` as a word. This field is deprecated. Please -// use the `kmsKeys` field to retrieve Cloud KMS key information. * -// `kmsKeys:key` to find Google Cloud resources encrypted with -// customer-managed encryption keys whose name contains the word `key`. -// * `relationships:instance-group-1` to find Google Cloud resources -// that have relationships with `instance-group-1` in the related -// resource name. * `relationships:INSTANCE_TO_INSTANCEGROUP` to find -// Compute Engine instances that have relationships of type +// is exactly `tagValues/123`. * `kmsKey:key` to find Google Cloud +// resources encrypted with a customer-managed encryption key whose name +// contains `key` as a word. This field is deprecated. Use the `kmsKeys` +// field to retrieve Cloud KMS key information. * `kmsKeys:key` to find +// Google Cloud resources encrypted with customer-managed encryption +// keys whose name contains the word `key`. * +// `relationships:instance-group-1` to find Google Cloud resources that +// have relationships with `instance-group-1` in the related resource +// name. * `relationships:INSTANCE_TO_INSTANCEGROUP` to find Compute +// Engine instances that have relationships of type // `INSTANCE_TO_INSTANCEGROUP`. * // `relationships.INSTANCE_TO_INSTANCEGROUP:instance-group-1` to find // Compute Engine instances that have relationships with // `instance-group-1` in the Compute Engine instance group resource // name, for relationship type `INSTANCE_TO_INSTANCEGROUP`. * // `sccSecurityMarks.key=value` to find Cloud resources that are -// attached with security marks whose key is `key` and value is `value'. +// attached with security marks whose key is `key` and value is `value`. // * `sccSecurityMarks.key:*` to find Cloud resources that are attached // with security marks whose key is `key`. * `state:ACTIVE` to find // Google Cloud resources whose state contains `ACTIVE` as a word. * @@ -11986,7 +11983,7 @@ func (c *V1SearchAllResourcesCall) Do(opts ...googleapi.CallOption) (*SearchAllR // "type": "string" // }, // "query": { - // "description": "Optional. The query statement. See [how to construct a query](https://cloud.google.com/asset-inventory/docs/searching-resources#how_to_construct_a_query) for more information. If not specified or empty, it will search all the resources within the specified `scope`. Examples: * `name:Important` to find Google Cloud resources whose name contains `Important` as a word. * `name=Important` to find the Google Cloud resource whose name is exactly `Important`. * `displayName:Impor*` to find Google Cloud resources whose display name contains `Impor` as a prefix of any word in the field. * `location:us-west*` to find Google Cloud resources whose location contains both `us` and `west` as prefixes. * `labels:prod` to find Google Cloud resources whose labels contain `prod` as a key or value. * `labels.env:prod` to find Google Cloud resources that have a label `env` and its value is `prod`. * `labels.env:*` to find Google Cloud resources that have a label `env`. * `tagKeys:env` to find Google Cloud resources that have directly attached tags where the [`TagKey`](https://cloud.google.com/resource-manager/reference/rest/v3/tagKeys#resource:-tagkey) .`namespacedName` contains `env`. * `tagValues:prod*` to find Google Cloud resources that have directly attached tags where the [`TagValue`](https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue) .`namespacedName` contains a word prefixed by `prod`. * `tagValueIds=tagValues/123` to find Google Cloud resources that have directly attached tags where the [`TagValue`](https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue) .`name` is exactly `tagValues/123`. * `effectiveTagKeys:env` to find Google Cloud resources that have directly attached or inherited tags where the [`TagKey`](https://cloud.google.com/resource-manager/reference/rest/v3/tagKeys#resource:-tagkey) .`namespacedName` contains `env`. * `effectiveTagValues:prod*` to find Google Cloud resources that have directly attached or inherited tags where the [`TagValue`](https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue) .`namespacedName` contains a word prefixed by `prod`. * `effectiveTagValueIds=tagValues/123` to find Google Cloud resources that have directly attached or inherited tags where the [`TagValue`](https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue) .`name` is exactly `tagValues/123`. * `kmsKey:key` to find Google Cloud resources encrypted with a customer-managed encryption key whose name contains `key` as a word. This field is deprecated. Please use the `kmsKeys` field to retrieve Cloud KMS key information. * `kmsKeys:key` to find Google Cloud resources encrypted with customer-managed encryption keys whose name contains the word `key`. * `relationships:instance-group-1` to find Google Cloud resources that have relationships with `instance-group-1` in the related resource name. * `relationships:INSTANCE_TO_INSTANCEGROUP` to find Compute Engine instances that have relationships of type `INSTANCE_TO_INSTANCEGROUP`. * `relationships.INSTANCE_TO_INSTANCEGROUP:instance-group-1` to find Compute Engine instances that have relationships with `instance-group-1` in the Compute Engine instance group resource name, for relationship type `INSTANCE_TO_INSTANCEGROUP`. * `sccSecurityMarks.key=value` to find Cloud resources that are attached with security marks whose key is `key` and value is `value'. * `sccSecurityMarks.key:*` to find Cloud resources that are attached with security marks whose key is `key`. * `state:ACTIVE` to find Google Cloud resources whose state contains `ACTIVE` as a word. * `NOT state:ACTIVE` to find Google Cloud resources whose state doesn't contain `ACTIVE` as a word. * `createTime\u003c1609459200` to find Google Cloud resources that were created before `2021-01-01 00:00:00 UTC`. `1609459200` is the epoch timestamp of `2021-01-01 00:00:00 UTC` in seconds. * `updateTime\u003e1609459200` to find Google Cloud resources that were updated after `2021-01-01 00:00:00 UTC`. `1609459200` is the epoch timestamp of `2021-01-01 00:00:00 UTC` in seconds. * `Important` to find Google Cloud resources that contain `Important` as a word in any of the searchable fields. * `Impor*` to find Google Cloud resources that contain `Impor` as a prefix of any word in any of the searchable fields. * `Important location:(us-west1 OR global)` to find Google Cloud resources that contain `Important` as a word in any of the searchable fields and are also located in the `us-west1` region or the `global` location.", + // "description": "Optional. The query statement. See [how to construct a query](https://cloud.google.com/asset-inventory/docs/searching-resources#how_to_construct_a_query) for more information. If not specified or empty, it will search all the resources within the specified `scope`. Examples: * `name:Important` to find Google Cloud resources whose name contains `Important` as a word. * `name=Important` to find the Google Cloud resource whose name is exactly `Important`. * `displayName:Impor*` to find Google Cloud resources whose display name contains `Impor` as a prefix of any word in the field. * `location:us-west*` to find Google Cloud resources whose location contains both `us` and `west` as prefixes. * `labels:prod` to find Google Cloud resources whose labels contain `prod` as a key or value. * `labels.env:prod` to find Google Cloud resources that have a label `env` and its value is `prod`. * `labels.env:*` to find Google Cloud resources that have a label `env`. * `tagKeys:env` to find Google Cloud resources that have directly attached tags where the [`TagKey.namespacedName`](https://cloud.google.com/resource-manager/reference/rest/v3/tagKeys#resource:-tagkey) contains `env`. * `tagValues:prod*` to find Google Cloud resources that have directly attached tags where the [`TagValue.namespacedName`](https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue) contains a word prefixed by `prod`. * `tagValueIds=tagValues/123` to find Google Cloud resources that have directly attached tags where the [`TagValue.name`](https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue) is exactly `tagValues/123`. * `effectiveTagKeys:env` to find Google Cloud resources that have directly attached or inherited tags where the [`TagKey.namespacedName`](https://cloud.google.com/resource-manager/reference/rest/v3/tagKeys#resource:-tagkey) contains `env`. * `effectiveTagValues:prod*` to find Google Cloud resources that have directly attached or inherited tags where the [`TagValue.namespacedName`](https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue) contains a word prefixed by `prod`. * `effectiveTagValueIds=tagValues/123` to find Google Cloud resources that have directly attached or inherited tags where the [`TagValue.name`](https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue) is exactly `tagValues/123`. * `kmsKey:key` to find Google Cloud resources encrypted with a customer-managed encryption key whose name contains `key` as a word. This field is deprecated. Use the `kmsKeys` field to retrieve Cloud KMS key information. * `kmsKeys:key` to find Google Cloud resources encrypted with customer-managed encryption keys whose name contains the word `key`. * `relationships:instance-group-1` to find Google Cloud resources that have relationships with `instance-group-1` in the related resource name. * `relationships:INSTANCE_TO_INSTANCEGROUP` to find Compute Engine instances that have relationships of type `INSTANCE_TO_INSTANCEGROUP`. * `relationships.INSTANCE_TO_INSTANCEGROUP:instance-group-1` to find Compute Engine instances that have relationships with `instance-group-1` in the Compute Engine instance group resource name, for relationship type `INSTANCE_TO_INSTANCEGROUP`. * `sccSecurityMarks.key=value` to find Cloud resources that are attached with security marks whose key is `key` and value is `value`. * `sccSecurityMarks.key:*` to find Cloud resources that are attached with security marks whose key is `key`. * `state:ACTIVE` to find Google Cloud resources whose state contains `ACTIVE` as a word. * `NOT state:ACTIVE` to find Google Cloud resources whose state doesn't contain `ACTIVE` as a word. * `createTime\u003c1609459200` to find Google Cloud resources that were created before `2021-01-01 00:00:00 UTC`. `1609459200` is the epoch timestamp of `2021-01-01 00:00:00 UTC` in seconds. * `updateTime\u003e1609459200` to find Google Cloud resources that were updated after `2021-01-01 00:00:00 UTC`. `1609459200` is the epoch timestamp of `2021-01-01 00:00:00 UTC` in seconds. * `Important` to find Google Cloud resources that contain `Important` as a word in any of the searchable fields. * `Impor*` to find Google Cloud resources that contain `Impor` as a prefix of any word in any of the searchable fields. * `Important location:(us-west1 OR global)` to find Google Cloud resources that contain `Important` as a word in any of the searchable fields and are also located in the `us-west1` region or the `global` location.", // "location": "query", // "type": "string" // }, diff --git a/clouderrorreporting/v1beta1/clouderrorreporting-api.json b/clouderrorreporting/v1beta1/clouderrorreporting-api.json index 9f0392842d6..55825afe25d 100644 --- a/clouderrorreporting/v1beta1/clouderrorreporting-api.json +++ b/clouderrorreporting/v1beta1/clouderrorreporting-api.json @@ -15,6 +15,7 @@ "description": "Groups and counts similar errors from cloud services and applications, reports new errors, and provides access to error groups and their associated errors. ", "discoveryVersion": "v1", "documentationLink": "https://cloud.google.com/error-reporting/", + "fullyEncodeReservedExpansion": true, "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", "x32": "http://www.google.com/images/icons/product/search-32.gif" @@ -430,7 +431,7 @@ } } }, - "revision": "20230901", + "revision": "20231106", "rootUrl": "https://clouderrorreporting.googleapis.com/", "schemas": { "DeleteEventsResponse": { diff --git a/dataplex/v1/dataplex-api.json b/dataplex/v1/dataplex-api.json index f812c4e4cb7..c6bfac42cb0 100644 --- a/dataplex/v1/dataplex-api.json +++ b/dataplex/v1/dataplex-api.json @@ -4360,7 +4360,7 @@ } } }, - "revision": "20231018", + "revision": "20231103", "rootUrl": "https://dataplex.googleapis.com/", "schemas": { "Empty": { @@ -6285,6 +6285,14 @@ "description": "Data quality result for data scan job.", "id": "GoogleCloudDataplexV1DataScanEventDataQualityResult", "properties": { + "columnScore": { + "additionalProperties": { + "format": "float", + "type": "number" + }, + "description": "The score of each column scanned in the data scan job. The key of the map is the name of the column. The value is the data quality score for the column.The score ranges between 0, 100 (up to two decimal points).", + "type": "object" + }, "dimensionPassed": { "additionalProperties": { "type": "boolean" @@ -6292,6 +6300,14 @@ "description": "The result of each dimension for data quality result. The key of the map is the name of the dimension. The value is the bool value depicting whether the dimension result was pass or not.", "type": "object" }, + "dimensionScore": { + "additionalProperties": { + "format": "float", + "type": "number" + }, + "description": "The score of each dimension for data quality result. The key of the map is the name of the dimension. The value is the data quality score for the dimension.The score ranges between 0, 100 (up to two decimal points).", + "type": "object" + }, "passed": { "description": "Whether the data quality result was pass or not.", "type": "boolean" @@ -6300,6 +6316,11 @@ "description": "The count of rows processed in the data scan job.", "format": "int64", "type": "string" + }, + "score": { + "description": "The table-level data quality score for the data scan job.The data quality score ranges between 0, 100 (up to two decimal points).", + "format": "float", + "type": "number" } }, "type": "object" @@ -7054,7 +7075,10 @@ "BIGQUERY_POLICY_TAG_CREATE", "BIGQUERY_POLICY_TAG_DELETE", "BIGQUERY_POLICY_TAG_SET_IAM_POLICY", - "ACCESS_POLICY_UPDATE" + "ACCESS_POLICY_UPDATE", + "GOVERNANCE_RULE_MATCHED_RESOURCES", + "GOVERNANCE_RULE_SEARCH_LIMIT_EXCEEDS", + "GOVERNANCE_RULE_ERRORS" ], "enumDescriptions": [ "An unspecified event type.", @@ -7069,7 +7093,10 @@ "BigQuery policy tag created.", "BigQuery policy tag deleted.", "BigQuery set iam policy for policy tag.", - "Access policy update event." + "Access policy update event.", + "Number of resources matched with particular Query.", + "Rule processing exceeds the allowed limit.", + "Rule processing errors." ], "type": "string" }, diff --git a/dataplex/v1/dataplex-gen.go b/dataplex/v1/dataplex-gen.go index 513ffcbcc8c..b2daf7c5e40 100644 --- a/dataplex/v1/dataplex-gen.go +++ b/dataplex/v1/dataplex-gen.go @@ -3476,19 +3476,35 @@ func (s *GoogleCloudDataplexV1DataScanEventDataQualityAppliedConfigs) UnmarshalJ // GoogleCloudDataplexV1DataScanEventDataQualityResult: Data quality // result for data scan job. type GoogleCloudDataplexV1DataScanEventDataQualityResult struct { + // ColumnScore: The score of each column scanned in the data scan job. + // The key of the map is the name of the column. The value is the data + // quality score for the column.The score ranges between 0, 100 (up to + // two decimal points). + ColumnScore map[string]float64 `json:"columnScore,omitempty"` + // DimensionPassed: The result of each dimension for data quality // result. The key of the map is the name of the dimension. The value is // the bool value depicting whether the dimension result was pass or // not. DimensionPassed map[string]bool `json:"dimensionPassed,omitempty"` + // DimensionScore: The score of each dimension for data quality result. + // The key of the map is the name of the dimension. The value is the + // data quality score for the dimension.The score ranges between 0, 100 + // (up to two decimal points). + DimensionScore map[string]float64 `json:"dimensionScore,omitempty"` + // Passed: Whether the data quality result was pass or not. Passed bool `json:"passed,omitempty"` // RowCount: The count of rows processed in the data scan job. RowCount int64 `json:"rowCount,omitempty,string"` - // ForceSendFields is a list of field names (e.g. "DimensionPassed") to + // Score: The table-level data quality score for the data scan job.The + // data quality score ranges between 0, 100 (up to two decimal points). + Score float64 `json:"score,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ColumnScore") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -3496,13 +3512,12 @@ type GoogleCloudDataplexV1DataScanEventDataQualityResult struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "DimensionPassed") to - // include in API requests with the JSON null value. By default, fields - // with empty values are omitted from API requests. However, any field - // with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. + // NullFields is a list of field names (e.g. "ColumnScore") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` } @@ -3512,6 +3527,20 @@ func (s *GoogleCloudDataplexV1DataScanEventDataQualityResult) MarshalJSON() ([]b return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +func (s *GoogleCloudDataplexV1DataScanEventDataQualityResult) UnmarshalJSON(data []byte) error { + type NoMethod GoogleCloudDataplexV1DataScanEventDataQualityResult + var s1 struct { + Score gensupport.JSONFloat64 `json:"score"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.Score = float64(s1.Score) + return nil +} + // GoogleCloudDataplexV1DataScanEventPostScanActionsResult: Post scan // actions result for data scan job. type GoogleCloudDataplexV1DataScanEventPostScanActionsResult struct { @@ -4579,6 +4608,11 @@ type GoogleCloudDataplexV1GovernanceEvent struct { // "BIGQUERY_POLICY_TAG_SET_IAM_POLICY" - BigQuery set iam policy for // policy tag. // "ACCESS_POLICY_UPDATE" - Access policy update event. + // "GOVERNANCE_RULE_MATCHED_RESOURCES" - Number of resources matched + // with particular Query. + // "GOVERNANCE_RULE_SEARCH_LIMIT_EXCEEDS" - Rule processing exceeds + // the allowed limit. + // "GOVERNANCE_RULE_ERRORS" - Rule processing errors. EventType string `json:"eventType,omitempty"` // Message: The log message. diff --git a/gmail/v1/gmail-api.json b/gmail/v1/gmail-api.json index cc583a2d789..a7d6704fd12 100644 --- a/gmail/v1/gmail-api.json +++ b/gmail/v1/gmail-api.json @@ -3077,7 +3077,7 @@ } } }, - "revision": "20231023", + "revision": "20231106", "rootUrl": "https://gmail.googleapis.com/", "schemas": { "AutoForwarding": { @@ -3846,6 +3846,10 @@ "$ref": "Label" }, "type": "array" + }, + "productId": { + "format": "int32", + "type": "integer" } }, "type": "object" diff --git a/gmail/v1/gmail-gen.go b/gmail/v1/gmail-gen.go index d4b49b269c2..2a062d02692 100644 --- a/gmail/v1/gmail-gen.go +++ b/gmail/v1/gmail-gen.go @@ -1676,6 +1676,8 @@ type ListLabelsResponse struct { // `type`. The labels.get method can fetch additional label details. Labels []*Label `json:"labels,omitempty"` + ProductId int64 `json:"productId,omitempty"` + // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` diff --git a/playintegrity/v1/playintegrity-api.json b/playintegrity/v1/playintegrity-api.json index 4f846d92874..00a4f75992a 100644 --- a/playintegrity/v1/playintegrity-api.json +++ b/playintegrity/v1/playintegrity-api.json @@ -138,7 +138,7 @@ } } }, - "revision": "20231105", + "revision": "20231107", "rootUrl": "https://playintegrity.googleapis.com/", "schemas": { "AccountActivity": { @@ -195,6 +195,53 @@ }, "type": "object" }, + "AppAccessRiskVerdict": { + "description": "Contains signals about others apps on the device which could be used to access or control the requesting app.", + "id": "AppAccessRiskVerdict", + "properties": { + "otherApps": { + "description": "Required. App access risk verdict related to apps that are not installed by Google Play, and are not preloaded on the system image by the device manufacturer.", + "enum": [ + "UNKNOWN", + "UNEVALUATED", + "NOT_INSTALLED", + "INSTALLED", + "CAPTURING", + "CONTROLLING" + ], + "enumDescriptions": [ + "Risk type is unknown.", + "App access risk was not evaluated because a requirement was missed, such as the device not being trusted enough.", + "No apps under this field are installed on the device. This is only valid for the other apps field.", + "One or more apps under this field are installed on the device.", + "Apps under this field are running that could be used to read or capture inputs and outputs of the requesting app, such as screen recording apps.", + "Apps under this field are running that could be used to control the device and inputs and outputs of the requesting app, such as remote controlling apps." + ], + "type": "string" + }, + "playOrSystemApps": { + "description": "Required. App access risk verdict related to apps that are not installed by the Google Play Store, and are not preloaded on the system image by the device manufacturer.", + "enum": [ + "UNKNOWN", + "UNEVALUATED", + "NOT_INSTALLED", + "INSTALLED", + "CAPTURING", + "CONTROLLING" + ], + "enumDescriptions": [ + "Risk type is unknown.", + "App access risk was not evaluated because a requirement was missed, such as the device not being trusted enough.", + "No apps under this field are installed on the device. This is only valid for the other apps field.", + "One or more apps under this field are installed on the device.", + "Apps under this field are running that could be used to read or capture inputs and outputs of the requesting app, such as screen recording apps.", + "Apps under this field are running that could be used to control the device and inputs and outputs of the requesting app, such as remote controlling apps." + ], + "type": "string" + } + }, + "type": "object" + }, "AppIntegrity": { "description": "Contains the application integrity information.", "id": "AppIntegrity", @@ -290,6 +337,10 @@ "description": "Contains information about the environment Play Integrity API runs in, e.g. Play Protect verdict.", "id": "EnvironmentDetails", "properties": { + "appAccessRiskVerdict": { + "$ref": "AppAccessRiskVerdict", + "description": "The evaluation of the App Access Risk verdicts." + }, "playProtectVerdict": { "description": "The evaluation of Play Protect verdict.", "enum": [ diff --git a/playintegrity/v1/playintegrity-gen.go b/playintegrity/v1/playintegrity-gen.go index d733d1fe549..78eb50e31a2 100644 --- a/playintegrity/v1/playintegrity-gen.go +++ b/playintegrity/v1/playintegrity-gen.go @@ -247,6 +247,72 @@ func (s *AccountDetails) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// AppAccessRiskVerdict: Contains signals about others apps on the +// device which could be used to access or control the requesting app. +type AppAccessRiskVerdict struct { + // OtherApps: Required. App access risk verdict related to apps that are + // not installed by Google Play, and are not preloaded on the system + // image by the device manufacturer. + // + // Possible values: + // "UNKNOWN" - Risk type is unknown. + // "UNEVALUATED" - App access risk was not evaluated because a + // requirement was missed, such as the device not being trusted enough. + // "NOT_INSTALLED" - No apps under this field are installed on the + // device. This is only valid for the other apps field. + // "INSTALLED" - One or more apps under this field are installed on + // the device. + // "CAPTURING" - Apps under this field are running that could be used + // to read or capture inputs and outputs of the requesting app, such as + // screen recording apps. + // "CONTROLLING" - Apps under this field are running that could be + // used to control the device and inputs and outputs of the requesting + // app, such as remote controlling apps. + OtherApps string `json:"otherApps,omitempty"` + + // PlayOrSystemApps: Required. App access risk verdict related to apps + // that are not installed by the Google Play Store, and are not + // preloaded on the system image by the device manufacturer. + // + // Possible values: + // "UNKNOWN" - Risk type is unknown. + // "UNEVALUATED" - App access risk was not evaluated because a + // requirement was missed, such as the device not being trusted enough. + // "NOT_INSTALLED" - No apps under this field are installed on the + // device. This is only valid for the other apps field. + // "INSTALLED" - One or more apps under this field are installed on + // the device. + // "CAPTURING" - Apps under this field are running that could be used + // to read or capture inputs and outputs of the requesting app, such as + // screen recording apps. + // "CONTROLLING" - Apps under this field are running that could be + // used to control the device and inputs and outputs of the requesting + // app, such as remote controlling apps. + PlayOrSystemApps string `json:"playOrSystemApps,omitempty"` + + // ForceSendFields is a list of field names (e.g. "OtherApps") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "OtherApps") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *AppAccessRiskVerdict) MarshalJSON() ([]byte, error) { + type NoMethod AppAccessRiskVerdict + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // AppIntegrity: Contains the application integrity information. type AppIntegrity struct { // AppRecognitionVerdict: Required. Details about the app recognition @@ -419,6 +485,9 @@ func (s *DeviceIntegrity) MarshalJSON() ([]byte, error) { // EnvironmentDetails: Contains information about the environment Play // Integrity API runs in, e.g. Play Protect verdict. type EnvironmentDetails struct { + // AppAccessRiskVerdict: The evaluation of the App Access Risk verdicts. + AppAccessRiskVerdict *AppAccessRiskVerdict `json:"appAccessRiskVerdict,omitempty"` + // PlayProtectVerdict: The evaluation of Play Protect verdict. // // Possible values: @@ -434,15 +503,16 @@ type EnvironmentDetails struct { // "POSSIBLE_RISK" - Play Protect is turned off. Turn on Play Protect. PlayProtectVerdict string `json:"playProtectVerdict,omitempty"` - // ForceSendFields is a list of field names (e.g. "PlayProtectVerdict") - // to unconditionally include in API requests. By default, fields with - // empty or default values are omitted from API requests. However, any - // non-pointer, non-interface field appearing in ForceSendFields will be - // sent to the server regardless of whether the field is empty or not. - // This may be used to include empty fields in Patch requests. + // ForceSendFields is a list of field names (e.g. + // "AppAccessRiskVerdict") to unconditionally include in API requests. + // By default, fields with empty or default values are omitted from API + // requests. However, any non-pointer, non-interface field appearing in + // ForceSendFields will be sent to the server regardless of whether the + // field is empty or not. This may be used to include empty fields in + // Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "PlayProtectVerdict") to + // NullFields is a list of field names (e.g. "AppAccessRiskVerdict") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the diff --git a/retail/v2/retail-api.json b/retail/v2/retail-api.json index fa30af812ef..214202d2a82 100644 --- a/retail/v2/retail-api.json +++ b/retail/v2/retail-api.json @@ -2059,7 +2059,7 @@ } } }, - "revision": "20231012", + "revision": "20231102", "rootUrl": "https://retail.googleapis.com/", "schemas": { "GoogleApiHttpBody": { @@ -4390,7 +4390,7 @@ "type": "object" }, "GoogleCloudRetailV2RuleForceReturnFacetAction": { - "description": "Force returns an attribute/facet in the request around a certain position or above. * Rule Condition: - Must specify non-empty Condition.query_terms (for search only) or Condition.page_categories (for browse only), but can't specify both. * Action Inputs: attribute name, position * Action Result: Will force return a facet key around a certain position or above if the condition is satisfied. Example: Suppose the query is \"shoes\", the Condition.query_terms is \"shoes\", the ForceReturnFacetAction.FacetPositionAdjustment.attribute_name is \"size\" and the ForceReturnFacetAction.FacetPositionAdjustment.position is 8. Two cases: a) The facet key \"size\" is not already in the top 8 slots, then the facet \"size\" will appear at a position close to 8. b) The facet key \"size\" in among the top 8 positions in the request, then it will stay at its current rank.", + "description": "Force returns an attribute/facet in the request around a certain position or above. * Rule Condition: Must specify non-empty Condition.query_terms (for search only) or Condition.page_categories (for browse only), but can't specify both. * Action Inputs: attribute name, position * Action Result: Will force return a facet key around a certain position or above if the condition is satisfied. Example: Suppose the query is \"shoes\", the Condition.query_terms is \"shoes\", the ForceReturnFacetAction.FacetPositionAdjustment.attribute_name is \"size\" and the ForceReturnFacetAction.FacetPositionAdjustment.position is 8. Two cases: a) The facet key \"size\" is not already in the top 8 slots, then the facet \"size\" will appear at a position close to 8. b) The facet key \"size\" in among the top 8 positions in the request, then it will stay at its current rank.", "id": "GoogleCloudRetailV2RuleForceReturnFacetAction", "properties": { "facetPositionAdjustments": { @@ -4462,7 +4462,7 @@ "type": "object" }, "GoogleCloudRetailV2RuleRedirectAction": { - "description": "Redirects a shopper to a specific page. * Rule Condition: - Must specify Condition.query_terms. * Action Input: Request Query * Action Result: Redirects shopper to provided uri.", + "description": "Redirects a shopper to a specific page. * Rule Condition: Must specify Condition.query_terms. * Action Input: Request Query * Action Result: Redirects shopper to provided uri.", "id": "GoogleCloudRetailV2RuleRedirectAction", "properties": { "redirectUri": { @@ -4473,7 +4473,7 @@ "type": "object" }, "GoogleCloudRetailV2RuleRemoveFacetAction": { - "description": "Removes an attribute/facet in the request if is present. * Rule Condition: - Must specify non-empty Condition.query_terms (for search only) or Condition.page_categories (for browse only), but can't specify both. * Action Input: attribute name * Action Result: Will remove the attribute (as a facet) from the request if it is present. Example: Suppose the query is \"shoes\", the Condition.query_terms is \"shoes\" and the attribute name \"size\", then facet key \"size\" will be removed from the request (if it is present).", + "description": "Removes an attribute/facet in the request if is present. * Rule Condition: Must specify non-empty Condition.query_terms (for search only) or Condition.page_categories (for browse only), but can't specify both. * Action Input: attribute name * Action Result: Will remove the attribute (as a facet) from the request if it is present. Example: Suppose the query is \"shoes\", the Condition.query_terms is \"shoes\" and the attribute name \"size\", then facet key \"size\" will be removed from the request (if it is present).", "id": "GoogleCloudRetailV2RuleRemoveFacetAction", "properties": { "attributeNames": { diff --git a/retail/v2/retail-gen.go b/retail/v2/retail-gen.go index 7bb1f1574cf..a4fcf92e106 100644 --- a/retail/v2/retail-gen.go +++ b/retail/v2/retail-gen.go @@ -4874,7 +4874,7 @@ func (s *GoogleCloudRetailV2RuleFilterAction) MarshalJSON() ([]byte, error) { // GoogleCloudRetailV2RuleForceReturnFacetAction: Force returns an // attribute/facet in the request around a certain position or above. * -// Rule Condition: - Must specify non-empty Condition.query_terms (for +// Rule Condition: Must specify non-empty Condition.query_terms (for // search only) or Condition.page_categories (for browse only), but // can't specify both. * Action Inputs: attribute name, position * // Action Result: Will force return a facet key around a certain @@ -5025,9 +5025,9 @@ func (s *GoogleCloudRetailV2RuleOnewaySynonymsAction) MarshalJSON() ([]byte, err } // GoogleCloudRetailV2RuleRedirectAction: Redirects a shopper to a -// specific page. * Rule Condition: - Must specify -// Condition.query_terms. * Action Input: Request Query * Action Result: -// Redirects shopper to provided uri. +// specific page. * Rule Condition: Must specify Condition.query_terms. +// * Action Input: Request Query * Action Result: Redirects shopper to +// provided uri. type GoogleCloudRetailV2RuleRedirectAction struct { // RedirectUri: URL must have length equal or less than 2000 characters. RedirectUri string `json:"redirectUri,omitempty"` @@ -5056,7 +5056,7 @@ func (s *GoogleCloudRetailV2RuleRedirectAction) MarshalJSON() ([]byte, error) { } // GoogleCloudRetailV2RuleRemoveFacetAction: Removes an attribute/facet -// in the request if is present. * Rule Condition: - Must specify +// in the request if is present. * Rule Condition: Must specify // non-empty Condition.query_terms (for search only) or // Condition.page_categories (for browse only), but can't specify both. // * Action Input: attribute name * Action Result: Will remove the diff --git a/retail/v2alpha/retail-api.json b/retail/v2alpha/retail-api.json index 6fc90f8b946..b9732825fe8 100644 --- a/retail/v2alpha/retail-api.json +++ b/retail/v2alpha/retail-api.json @@ -2388,7 +2388,7 @@ } } }, - "revision": "20231012", + "revision": "20231102", "rootUrl": "https://retail.googleapis.com/", "schemas": { "GoogleApiHttpBody": { @@ -5840,7 +5840,7 @@ "type": "object" }, "GoogleCloudRetailV2alphaRuleForceReturnFacetAction": { - "description": "Force returns an attribute/facet in the request around a certain position or above. * Rule Condition: - Must specify non-empty Condition.query_terms (for search only) or Condition.page_categories (for browse only), but can't specify both. * Action Inputs: attribute name, position * Action Result: Will force return a facet key around a certain position or above if the condition is satisfied. Example: Suppose the query is \"shoes\", the Condition.query_terms is \"shoes\", the ForceReturnFacetAction.FacetPositionAdjustment.attribute_name is \"size\" and the ForceReturnFacetAction.FacetPositionAdjustment.position is 8. Two cases: a) The facet key \"size\" is not already in the top 8 slots, then the facet \"size\" will appear at a position close to 8. b) The facet key \"size\" in among the top 8 positions in the request, then it will stay at its current rank.", + "description": "Force returns an attribute/facet in the request around a certain position or above. * Rule Condition: Must specify non-empty Condition.query_terms (for search only) or Condition.page_categories (for browse only), but can't specify both. * Action Inputs: attribute name, position * Action Result: Will force return a facet key around a certain position or above if the condition is satisfied. Example: Suppose the query is \"shoes\", the Condition.query_terms is \"shoes\", the ForceReturnFacetAction.FacetPositionAdjustment.attribute_name is \"size\" and the ForceReturnFacetAction.FacetPositionAdjustment.position is 8. Two cases: a) The facet key \"size\" is not already in the top 8 slots, then the facet \"size\" will appear at a position close to 8. b) The facet key \"size\" in among the top 8 positions in the request, then it will stay at its current rank.", "id": "GoogleCloudRetailV2alphaRuleForceReturnFacetAction", "properties": { "facetPositionAdjustments": { @@ -5912,7 +5912,7 @@ "type": "object" }, "GoogleCloudRetailV2alphaRuleRedirectAction": { - "description": "Redirects a shopper to a specific page. * Rule Condition: - Must specify Condition.query_terms. * Action Input: Request Query * Action Result: Redirects shopper to provided uri.", + "description": "Redirects a shopper to a specific page. * Rule Condition: Must specify Condition.query_terms. * Action Input: Request Query * Action Result: Redirects shopper to provided uri.", "id": "GoogleCloudRetailV2alphaRuleRedirectAction", "properties": { "redirectUri": { @@ -5923,7 +5923,7 @@ "type": "object" }, "GoogleCloudRetailV2alphaRuleRemoveFacetAction": { - "description": "Removes an attribute/facet in the request if is present. * Rule Condition: - Must specify non-empty Condition.query_terms (for search only) or Condition.page_categories (for browse only), but can't specify both. * Action Input: attribute name * Action Result: Will remove the attribute (as a facet) from the request if it is present. Example: Suppose the query is \"shoes\", the Condition.query_terms is \"shoes\" and the attribute name \"size\", then facet key \"size\" will be removed from the request (if it is present).", + "description": "Removes an attribute/facet in the request if is present. * Rule Condition: Must specify non-empty Condition.query_terms (for search only) or Condition.page_categories (for browse only), but can't specify both. * Action Input: attribute name * Action Result: Will remove the attribute (as a facet) from the request if it is present. Example: Suppose the query is \"shoes\", the Condition.query_terms is \"shoes\" and the attribute name \"size\", then facet key \"size\" will be removed from the request (if it is present).", "id": "GoogleCloudRetailV2alphaRuleRemoveFacetAction", "properties": { "attributeNames": { diff --git a/retail/v2alpha/retail-gen.go b/retail/v2alpha/retail-gen.go index 474b6d2039e..23b8967e9d4 100644 --- a/retail/v2alpha/retail-gen.go +++ b/retail/v2alpha/retail-gen.go @@ -6956,7 +6956,7 @@ func (s *GoogleCloudRetailV2alphaRuleFilterAction) MarshalJSON() ([]byte, error) // GoogleCloudRetailV2alphaRuleForceReturnFacetAction: Force returns an // attribute/facet in the request around a certain position or above. * -// Rule Condition: - Must specify non-empty Condition.query_terms (for +// Rule Condition: Must specify non-empty Condition.query_terms (for // search only) or Condition.page_categories (for browse only), but // can't specify both. * Action Inputs: attribute name, position * // Action Result: Will force return a facet key around a certain @@ -7107,9 +7107,9 @@ func (s *GoogleCloudRetailV2alphaRuleOnewaySynonymsAction) MarshalJSON() ([]byte } // GoogleCloudRetailV2alphaRuleRedirectAction: Redirects a shopper to a -// specific page. * Rule Condition: - Must specify -// Condition.query_terms. * Action Input: Request Query * Action Result: -// Redirects shopper to provided uri. +// specific page. * Rule Condition: Must specify Condition.query_terms. +// * Action Input: Request Query * Action Result: Redirects shopper to +// provided uri. type GoogleCloudRetailV2alphaRuleRedirectAction struct { // RedirectUri: URL must have length equal or less than 2000 characters. RedirectUri string `json:"redirectUri,omitempty"` @@ -7138,8 +7138,8 @@ func (s *GoogleCloudRetailV2alphaRuleRedirectAction) MarshalJSON() ([]byte, erro } // GoogleCloudRetailV2alphaRuleRemoveFacetAction: Removes an -// attribute/facet in the request if is present. * Rule Condition: - -// Must specify non-empty Condition.query_terms (for search only) or +// attribute/facet in the request if is present. * Rule Condition: Must +// specify non-empty Condition.query_terms (for search only) or // Condition.page_categories (for browse only), but can't specify both. // * Action Input: attribute name * Action Result: Will remove the // attribute (as a facet) from the request if it is present. Example: diff --git a/retail/v2beta/retail-api.json b/retail/v2beta/retail-api.json index ffc521c7efa..4209a538903 100644 --- a/retail/v2beta/retail-api.json +++ b/retail/v2beta/retail-api.json @@ -2087,7 +2087,7 @@ } } }, - "revision": "20231012", + "revision": "20231102", "rootUrl": "https://retail.googleapis.com/", "schemas": { "GoogleApiHttpBody": { @@ -6039,7 +6039,7 @@ "type": "object" }, "GoogleCloudRetailV2betaRuleForceReturnFacetAction": { - "description": "Force returns an attribute/facet in the request around a certain position or above. * Rule Condition: - Must specify non-empty Condition.query_terms (for search only) or Condition.page_categories (for browse only), but can't specify both. * Action Inputs: attribute name, position * Action Result: Will force return a facet key around a certain position or above if the condition is satisfied. Example: Suppose the query is \"shoes\", the Condition.query_terms is \"shoes\", the ForceReturnFacetAction.FacetPositionAdjustment.attribute_name is \"size\" and the ForceReturnFacetAction.FacetPositionAdjustment.position is 8. Two cases: a) The facet key \"size\" is not already in the top 8 slots, then the facet \"size\" will appear at a position close to 8. b) The facet key \"size\" in among the top 8 positions in the request, then it will stay at its current rank.", + "description": "Force returns an attribute/facet in the request around a certain position or above. * Rule Condition: Must specify non-empty Condition.query_terms (for search only) or Condition.page_categories (for browse only), but can't specify both. * Action Inputs: attribute name, position * Action Result: Will force return a facet key around a certain position or above if the condition is satisfied. Example: Suppose the query is \"shoes\", the Condition.query_terms is \"shoes\", the ForceReturnFacetAction.FacetPositionAdjustment.attribute_name is \"size\" and the ForceReturnFacetAction.FacetPositionAdjustment.position is 8. Two cases: a) The facet key \"size\" is not already in the top 8 slots, then the facet \"size\" will appear at a position close to 8. b) The facet key \"size\" in among the top 8 positions in the request, then it will stay at its current rank.", "id": "GoogleCloudRetailV2betaRuleForceReturnFacetAction", "properties": { "facetPositionAdjustments": { @@ -6111,7 +6111,7 @@ "type": "object" }, "GoogleCloudRetailV2betaRuleRedirectAction": { - "description": "Redirects a shopper to a specific page. * Rule Condition: - Must specify Condition.query_terms. * Action Input: Request Query * Action Result: Redirects shopper to provided uri.", + "description": "Redirects a shopper to a specific page. * Rule Condition: Must specify Condition.query_terms. * Action Input: Request Query * Action Result: Redirects shopper to provided uri.", "id": "GoogleCloudRetailV2betaRuleRedirectAction", "properties": { "redirectUri": { @@ -6122,7 +6122,7 @@ "type": "object" }, "GoogleCloudRetailV2betaRuleRemoveFacetAction": { - "description": "Removes an attribute/facet in the request if is present. * Rule Condition: - Must specify non-empty Condition.query_terms (for search only) or Condition.page_categories (for browse only), but can't specify both. * Action Input: attribute name * Action Result: Will remove the attribute (as a facet) from the request if it is present. Example: Suppose the query is \"shoes\", the Condition.query_terms is \"shoes\" and the attribute name \"size\", then facet key \"size\" will be removed from the request (if it is present).", + "description": "Removes an attribute/facet in the request if is present. * Rule Condition: Must specify non-empty Condition.query_terms (for search only) or Condition.page_categories (for browse only), but can't specify both. * Action Input: attribute name * Action Result: Will remove the attribute (as a facet) from the request if it is present. Example: Suppose the query is \"shoes\", the Condition.query_terms is \"shoes\" and the attribute name \"size\", then facet key \"size\" will be removed from the request (if it is present).", "id": "GoogleCloudRetailV2betaRuleRemoveFacetAction", "properties": { "attributeNames": { diff --git a/retail/v2beta/retail-gen.go b/retail/v2beta/retail-gen.go index bfdc81b9e00..c41cbdf4617 100644 --- a/retail/v2beta/retail-gen.go +++ b/retail/v2beta/retail-gen.go @@ -7760,7 +7760,7 @@ func (s *GoogleCloudRetailV2betaRuleFilterAction) MarshalJSON() ([]byte, error) // GoogleCloudRetailV2betaRuleForceReturnFacetAction: Force returns an // attribute/facet in the request around a certain position or above. * -// Rule Condition: - Must specify non-empty Condition.query_terms (for +// Rule Condition: Must specify non-empty Condition.query_terms (for // search only) or Condition.page_categories (for browse only), but // can't specify both. * Action Inputs: attribute name, position * // Action Result: Will force return a facet key around a certain @@ -7911,9 +7911,9 @@ func (s *GoogleCloudRetailV2betaRuleOnewaySynonymsAction) MarshalJSON() ([]byte, } // GoogleCloudRetailV2betaRuleRedirectAction: Redirects a shopper to a -// specific page. * Rule Condition: - Must specify -// Condition.query_terms. * Action Input: Request Query * Action Result: -// Redirects shopper to provided uri. +// specific page. * Rule Condition: Must specify Condition.query_terms. +// * Action Input: Request Query * Action Result: Redirects shopper to +// provided uri. type GoogleCloudRetailV2betaRuleRedirectAction struct { // RedirectUri: URL must have length equal or less than 2000 characters. RedirectUri string `json:"redirectUri,omitempty"` @@ -7942,8 +7942,8 @@ func (s *GoogleCloudRetailV2betaRuleRedirectAction) MarshalJSON() ([]byte, error } // GoogleCloudRetailV2betaRuleRemoveFacetAction: Removes an -// attribute/facet in the request if is present. * Rule Condition: - -// Must specify non-empty Condition.query_terms (for search only) or +// attribute/facet in the request if is present. * Rule Condition: Must +// specify non-empty Condition.query_terms (for search only) or // Condition.page_categories (for browse only), but can't specify both. // * Action Input: attribute name * Action Result: Will remove the // attribute (as a facet) from the request if it is present. Example: