diff --git a/CHANGES.md b/CHANGES.md index 9beeaea8a8..f5ce76c133 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -3,6 +3,7 @@ ## [0.209.0](https://github.com/googleapis/google-api-go-client/compare/v0.208.0...v0.209.0) (2024-11-21) + ### Features * **all:** Auto-regenerate discovery clients ([#2883](https://github.com/googleapis/google-api-go-client/issues/2883)) ([0b83533](https://github.com/googleapis/google-api-go-client/commit/0b8353371f75d5f3645a3fe6b91cdf004566fa4a)) diff --git a/admin/directory/v1/admin-api.json b/admin/directory/v1/admin-api.json index ca345ab9be..5c3159f488 100644 --- a/admin/directory/v1/admin-api.json +++ b/admin/directory/v1/admin-api.json @@ -4671,7 +4671,7 @@ } } }, - "revision": "20241113", + "revision": "20241126", "rootUrl": "https://admin.googleapis.com/", "schemas": { "Alias": { @@ -7493,6 +7493,10 @@ "readOnly": true, "type": "string" }, + "condition": { + "description": "Optional. Note: Feature is available to Enterprise Standard, Enterprise Plus, Google Workspace for Education Plus and Cloud Identity Premium customers. No additional setup is needed to use the feature. The condition associated with this role assignment. A `RoleAssignment` with the `condition` field set will only take effect when the resource being accessed meets the condition. If `condition` is empty, the role (`role_id`) is applied to the actor (`assigned_to`) at the scope (`scope_type`) unconditionally. Currently, only two conditions are supported: - To make the `RoleAssignment` only applicable to [Security Groups](https://cloud.google.com/identity/docs/groups#group_types): `api.getAttribute('cloudidentity.googleapis.com/groups.labels', []).hasAny(['groups.security']) \u0026\u0026 resource.type == 'cloudidentity.googleapis.com/Group'` - To make the `RoleAssignment` not applicable to [Security Groups](https://cloud.google.com/identity/docs/groups#group_types): `!api.getAttribute('cloudidentity.googleapis.com/groups.labels', []).hasAny(['groups.security']) \u0026\u0026 resource.type == 'cloudidentity.googleapis.com/Group'` Currently, the two condition strings have to be verbatim and they only work with the following [pre-built administrator roles](https://support.google.com/a/answer/2405986): - Groups Editor - Groups Reader The condition follows [Cloud IAM condition syntax](https://cloud.google.com/iam/docs/conditions-overview).", + "type": "string" + }, "etag": { "description": "ETag of the resource.", "type": "string" diff --git a/admin/directory/v1/admin-gen.go b/admin/directory/v1/admin-gen.go index fd28a7ef73..aba0cfdf26 100644 --- a/admin/directory/v1/admin-gen.go +++ b/admin/directory/v1/admin-gen.go @@ -4014,6 +4014,29 @@ type RoleAssignment struct { // "user" - An individual user within the domain. // "group" - A group within the domain. AssigneeType string `json:"assigneeType,omitempty"` + // Condition: Optional. Note: Feature is available to Enterprise Standard, + // Enterprise Plus, Google Workspace for Education Plus and Cloud Identity + // Premium customers. No additional setup is needed to use the feature. The + // condition associated with this role assignment. A `RoleAssignment` with the + // `condition` field set will only take effect when the resource being accessed + // meets the condition. If `condition` is empty, the role (`role_id`) is + // applied to the actor (`assigned_to`) at the scope (`scope_type`) + // unconditionally. Currently, only two conditions are supported: - To make the + // `RoleAssignment` only applicable to Security Groups + // (https://cloud.google.com/identity/docs/groups#group_types): + // `api.getAttribute('cloudidentity.googleapis.com/groups.labels', + // []).hasAny(['groups.security']) && resource.type == + // 'cloudidentity.googleapis.com/Group'` - To make the `RoleAssignment` not + // applicable to Security Groups + // (https://cloud.google.com/identity/docs/groups#group_types): + // `!api.getAttribute('cloudidentity.googleapis.com/groups.labels', + // []).hasAny(['groups.security']) && resource.type == + // 'cloudidentity.googleapis.com/Group'` Currently, the two condition strings + // have to be verbatim and they only work with the following pre-built + // administrator roles (https://support.google.com/a/answer/2405986): - Groups + // Editor - Groups Reader The condition follows Cloud IAM condition syntax + // (https://cloud.google.com/iam/docs/conditions-overview). + Condition string `json:"condition,omitempty"` // Etag: ETag of the resource. Etag string `json:"etag,omitempty"` // Kind: The type of the API resource. This is always diff --git a/cloudidentity/v1/cloudidentity-api.json b/cloudidentity/v1/cloudidentity-api.json index db9c3ce082..e4356dc5c9 100644 --- a/cloudidentity/v1/cloudidentity-api.json +++ b/cloudidentity/v1/cloudidentity-api.json @@ -1487,7 +1487,7 @@ "type": "integer" }, "pageToken": { - "description": "The next_page_token value returned from a previous list request, if any", + "description": "The `next_page_token` value returned from a previous list request, if any", "location": "query", "type": "string" }, @@ -1530,7 +1530,7 @@ "type": "integer" }, "pageToken": { - "description": "The next_page_token value returned from a previous list request, if any.", + "description": "The `next_page_token` value returned from a previous list request, if any.", "location": "query", "type": "string" }, @@ -1542,7 +1542,7 @@ "type": "string" }, "query": { - "description": "Required. A CEL expression that MUST include member specification AND label(s). This is a `required` field. Users can search on label attributes of groups. CONTAINS match ('in') is supported on labels. Identity-mapped groups are uniquely identified by both a `member_key_id` and a `member_key_namespace`, which requires an additional query input: `member_key_namespace`. Example query: `member_key_id == 'member_key_id_value' \u0026\u0026 in labels` Query may optionally contain equality operators on the parent of the group restricting the search within a particular customer, e.g. `parent == 'customers/{customer_id}'`. The `customer_id` must begin with \"C\" (for example, 'C046psxkn'). This filtering is only supported for Admins with groups read permissons on the input customer. Example query: `member_key_id == 'member_key_id_value' \u0026\u0026 in labels \u0026\u0026 parent == 'customers/C046psxkn'`", + "description": "Required. A CEL expression that MUST include member specification AND label(s). This is a `required` field. Users can search on label attributes of groups. CONTAINS match ('in') is supported on labels. Identity-mapped groups are uniquely identified by both a `member_key_id` and a `member_key_namespace`, which requires an additional query input: `member_key_namespace`. Example query: `member_key_id == 'member_key_id_value' \u0026\u0026 in labels` Query may optionally contain equality operators on the parent of the group restricting the search within a particular customer, e.g. `parent == 'customers/{customer_id}'`. The `customer_id` must begin with \"C\" (for example, 'C046psxkn'). This filtering is only supported for Admins with groups read permissions on the input customer. Example query: `member_key_id == 'member_key_id_value' \u0026\u0026 in labels \u0026\u0026 parent == 'customers/C046psxkn'`", "location": "query", "type": "string" } @@ -1573,7 +1573,7 @@ "type": "integer" }, "pageToken": { - "description": "The next_page_token value returned from a previous list request, if any.", + "description": "The `next_page_token` value returned from a previous list request, if any.", "location": "query", "type": "string" }, @@ -2016,7 +2016,7 @@ } } }, - "revision": "20241119", + "revision": "20241126", "rootUrl": "https://cloudidentity.googleapis.com/", "schemas": { "AddIdpCredentialOperationMetadata": { @@ -2939,7 +2939,7 @@ "type": "string" }, "name": { - "description": "Output only. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Device in format: `devices/{device}`, where device is the unique id assigned to the Device.", + "description": "Output only. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Device in format: `devices/{device}`, where device is the unique id assigned to the Device. Important: Device API scopes require that you use domain-wide delegation to access the API. For more information, see [Set up the Devices API](https://cloud.google.com/identity/docs/how-to/setup-devices).", "readOnly": true, "type": "string" }, @@ -3787,7 +3787,7 @@ "id": "MembershipAdjacencyList", "properties": { "edges": { - "description": "Each edge contains information about the member that belongs to this group. Note: Fields returned here will help identify the specific Membership resource (e.g name, preferred_member_key and role), but may not be a comprehensive list of all fields.", + "description": "Each edge contains information about the member that belongs to this group. Note: Fields returned here will help identify the specific Membership resource (e.g `name`, `preferred_member_key` and `role`), but may not be a comprehensive list of all fields.", "items": { "$ref": "Membership" }, diff --git a/cloudidentity/v1/cloudidentity-gen.go b/cloudidentity/v1/cloudidentity-gen.go index efb7c9f597..966ec5f4bf 100644 --- a/cloudidentity/v1/cloudidentity-gen.go +++ b/cloudidentity/v1/cloudidentity-gen.go @@ -1390,7 +1390,9 @@ type GoogleAppsCloudidentityDevicesV1Device struct { // Name: Output only. Resource name // (https://cloud.google.com/apis/design/resource_names) of the Device in // format: `devices/{device}`, where device is the unique id assigned to the - // Device. + // Device. Important: Device API scopes require that you use domain-wide + // delegation to access the API. For more information, see Set up the Devices + // API (https://cloud.google.com/identity/docs/how-to/setup-devices). Name string `json:"name,omitempty"` // NetworkOperator: Output only. Mobile or network operator of device, if // available. @@ -2446,7 +2448,7 @@ func (s Membership) MarshalJSON() ([]byte, error) { type MembershipAdjacencyList struct { // Edges: Each edge contains information about the member that belongs to this // group. Note: Fields returned here will help identify the specific Membership - // resource (e.g name, preferred_member_key and role), but may not be a + // resource (e.g `name`, `preferred_member_key` and `role`), but may not be a // comprehensive list of all fields. Edges []*Membership `json:"edges,omitempty"` // Group: Resource name of the group that the members belong to. @@ -8131,8 +8133,8 @@ func (c *GroupsMembershipsSearchDirectGroupsCall) PageSize(pageSize int64) *Grou return c } -// PageToken sets the optional parameter "pageToken": The next_page_token value -// returned from a previous list request, if any +// PageToken sets the optional parameter "pageToken": The `next_page_token` +// value returned from a previous list request, if any func (c *GroupsMembershipsSearchDirectGroupsCall) PageToken(pageToken string) *GroupsMembershipsSearchDirectGroupsCall { c.urlParams_.Set("pageToken", pageToken) return c @@ -8296,8 +8298,8 @@ func (c *GroupsMembershipsSearchTransitiveGroupsCall) PageSize(pageSize int64) * return c } -// PageToken sets the optional parameter "pageToken": The next_page_token value -// returned from a previous list request, if any. +// PageToken sets the optional parameter "pageToken": The `next_page_token` +// value returned from a previous list request, if any. func (c *GroupsMembershipsSearchTransitiveGroupsCall) PageToken(pageToken string) *GroupsMembershipsSearchTransitiveGroupsCall { c.urlParams_.Set("pageToken", pageToken) return c @@ -8313,7 +8315,7 @@ func (c *GroupsMembershipsSearchTransitiveGroupsCall) PageToken(pageToken string // operators on the parent of the group restricting the search within a // particular customer, e.g. `parent == 'customers/{customer_id}'`. The // `customer_id` must begin with "C" (for example, 'C046psxkn'). This filtering -// is only supported for Admins with groups read permissons on the input +// is only supported for Admins with groups read permissions on the input // customer. Example query: `member_key_id == 'member_key_id_value' && in // labels && parent == 'customers/C046psxkn'` func (c *GroupsMembershipsSearchTransitiveGroupsCall) Query(query string) *GroupsMembershipsSearchTransitiveGroupsCall { @@ -8466,8 +8468,8 @@ func (c *GroupsMembershipsSearchTransitiveMembershipsCall) PageSize(pageSize int return c } -// PageToken sets the optional parameter "pageToken": The next_page_token value -// returned from a previous list request, if any. +// PageToken sets the optional parameter "pageToken": The `next_page_token` +// value returned from a previous list request, if any. func (c *GroupsMembershipsSearchTransitiveMembershipsCall) PageToken(pageToken string) *GroupsMembershipsSearchTransitiveMembershipsCall { c.urlParams_.Set("pageToken", pageToken) return c diff --git a/cloudidentity/v1beta1/cloudidentity-api.json b/cloudidentity/v1beta1/cloudidentity-api.json index a737992891..f7f2033ee0 100644 --- a/cloudidentity/v1beta1/cloudidentity-api.json +++ b/cloudidentity/v1beta1/cloudidentity-api.json @@ -1282,7 +1282,7 @@ ], "parameters": { "parent": { - "description": "Required. [Resource name](https://cloud.google.com/apis/design/resource_names) of the group to search transitive memberships in. Format: `groups/{group_id}`, where `group_id` is the unique ID assigned to the Group to which the Membership belongs to. group_id can be a wildcard collection id \"-\". When a group_id is specified, the membership graph will be constrained to paths between the member (defined in the query) and the parent. If a wildcard collection is provided, all membership paths connected to the member will be returned.", + "description": "Required. [Resource name](https://cloud.google.com/apis/design/resource_names) of the group to search transitive memberships in. Format: `groups/{group_id}`, where `group_id` is the unique ID assigned to the Group to which the Membership belongs to. group_id can be a wildcard collection id \"-\". When `group_id` is specified, the membership graph will be constrained to paths between the member (defined in the query) and the parent. If a wildcard collection is provided, all membership paths connected to the member will be returned.", "location": "path", "pattern": "^groups/[^/]+$", "required": true, @@ -1442,7 +1442,7 @@ "type": "integer" }, "pageToken": { - "description": "The next_page_token value returned from a previous list request, if any", + "description": "The next_page_token value returned from a previous list request, if any.", "location": "query", "type": "string" }, @@ -1485,7 +1485,7 @@ "type": "integer" }, "pageToken": { - "description": "The next_page_token value returned from a previous list request, if any.", + "description": "The `next_page_token` value returned from a previous list request, if any.", "location": "query", "type": "string" }, @@ -1497,7 +1497,7 @@ "type": "string" }, "query": { - "description": "Required. A CEL expression that MUST include member specification AND label(s). This is a `required` field. Users can search on label attributes of groups. CONTAINS match ('in') is supported on labels. Identity-mapped groups are uniquely identified by both a `member_key_id` and a `member_key_namespace`, which requires an additional query input: `member_key_namespace`. Example query: `member_key_id == 'member_key_id_value' \u0026\u0026 in labels` Query may optionally contain equality operators on the parent of the group restricting the search within a particular customer, e.g. `parent == 'customers/{customer_id}'`. The `customer_id` must begin with \"C\" (for example, 'C046psxkn'). This filtering is only supported for Admins with groups read permissons on the input customer. Example query: `member_key_id == 'member_key_id_value' \u0026\u0026 in labels \u0026\u0026 parent == 'customers/C046psxkn'`", + "description": "Required. A CEL expression that MUST include member specification AND label(s). This is a `required` field. Users can search on label attributes of groups. CONTAINS match ('in') is supported on labels. Identity-mapped groups are uniquely identified by both a `member_key_id` and a `member_key_namespace`, which requires an additional query input: `member_key_namespace`. Example query: `member_key_id == 'member_key_id_value' \u0026\u0026 in labels` Query may optionally contain equality operators on the parent of the group restricting the search within a particular customer, e.g. `parent == 'customers/{customer_id}'`. The `customer_id` must begin with \"C\" (for example, 'C046psxkn'). This filtering is only supported for Admins with groups read permissions on the input customer. Example query: `member_key_id == 'member_key_id_value' \u0026\u0026 in labels \u0026\u0026 parent == 'customers/C046psxkn'`", "location": "query", "type": "string" } @@ -2082,12 +2082,12 @@ "parameterOrder": [], "parameters": { "filter": { - "description": "Optional. A CEL expression for filtering the results. Policies can be filtered by application with this expression: setting.name = 'settings/gmail.*' Policies can be filtered by setting type with this expression: setting.name = '*.service_status' A maximum of one of the above setting.name clauses can be used. Policies can be filtered by customer with this expression: customer = \"customers/{customer}\" Where `customer` is the `id` from the [Admin SDK `Customer` resource](https://developers.google.com/admin-sdk/directory/reference/rest/v1/customers). You may use `customers/my_customer` to specify your own organization. When no customer is mentioned it will be default to customers/my_customer. A maximum of one customer clause can be used. The above clauses can only be combined together in a single filter expression with the AND operator.", + "description": "Optional. A CEL expression for filtering the results. Policies can be filtered by application with this expression: setting.name = 'settings/gmail.*' Policies can be filtered by setting type with this expression: setting.name = '*.service_status' A maximum of one of the above setting.name clauses can be used. Policies can be filtered by customer with this expression: customer = \"customers/{customer}\" Where `customer` is the `id` from the [Admin SDK `Customer` resource](https://developers.google.com/admin-sdk/directory/reference/rest/v1/customers). You may use `customers/my_customer` to specify your own organization. When no customer is mentioned it will be default to customers/my_customer. A maximum of one customer clause can be used. The above clauses can only be combined together in a single filter expression with the `\u0026\u0026` operator.", "location": "query", "type": "string" }, "pageSize": { - "description": "Optional. The maximum number of results to return. The service may return fewer than this value. If omitted (or defaulted to zero) the server will default to 50. The maximum allowed value is 100, though requests with page_size greater than that will be interpreted as 100.", + "description": "Optional. The maximum number of results to return. The service can return fewer than this number. If omitted or set to 0, the default is 50 results per page. The maximum allowed value is 100. `page_size` values greater than 100 default to 100.", "format": "int32", "location": "query", "type": "integer" @@ -2110,7 +2110,7 @@ } } }, - "revision": "20241119", + "revision": "20241126", "rootUrl": "https://cloudidentity.googleapis.com/", "schemas": { "AddIdpCredentialOperationMetadata": { @@ -2673,7 +2673,7 @@ "type": "object" }, "Device": { - "description": "A Device within the Cloud Identity Devices API. Represents a Device known to Google Cloud, independent of the device ownership, type, and whether it is assigned or in use by a user.", + "description": "A Device within the Cloud Identity Devices API. Represents a Device known to Google Cloud, independent of the device ownership, type, and whether it is assigned or in use by a user. Important: Device API scopes require that you use domain-wide delegation to access the API. For more information, see [Set up the Devices API](https://cloud.google.com/identity/docs/how-to/setup-devices).", "id": "Device", "properties": { "androidSpecificAttributes": { @@ -3829,7 +3829,7 @@ "type": "string" }, "name": { - "description": "Output only. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Device in format: `devices/{device}`, where device is the unique id assigned to the Device.", + "description": "Output only. [Resource name](https://cloud.google.com/apis/design/resource_names) of the Device in format: `devices/{device}`, where device is the unique id assigned to the Device. Important: Device API scopes require that you use domain-wide delegation to access the API. For more information, see [Set up the Devices API](https://cloud.google.com/identity/docs/how-to/setup-devices).", "readOnly": true, "type": "string" }, @@ -4699,7 +4699,7 @@ "id": "MembershipAdjacencyList", "properties": { "edges": { - "description": "Each edge contains information about the member that belongs to this group. Note: Fields returned here will help identify the specific Membership resource (e.g name, preferred_member_key and role), but may not be a comprehensive list of all fields.", + "description": "Each edge contains information about the member that belongs to this group. Note: Fields returned here will help identify the specific Membership resource (e.g `name`, `preferred_member_key` and `role`), but may not be a comprehensive list of all fields.", "items": { "$ref": "Membership" }, @@ -4974,7 +4974,7 @@ "type": "string" }, "sortOrder": { - "description": "Output only. The decimal sort order of this PolicyQuery. The value is relative to all other policies with the same setting type within the whole customer. (There are no duplicates within this set.)", + "description": "Output only. The decimal sort order of this PolicyQuery. The value is relative to all other policies with the same setting type for the customer. (There are no duplicates within this set).", "format": "double", "readOnly": true, "type": "number" diff --git a/cloudidentity/v1beta1/cloudidentity-gen.go b/cloudidentity/v1beta1/cloudidentity-gen.go index 52264cd46d..99ce148811 100644 --- a/cloudidentity/v1beta1/cloudidentity-gen.go +++ b/cloudidentity/v1beta1/cloudidentity-gen.go @@ -1102,7 +1102,10 @@ type DeleteInboundSsoAssignmentOperationMetadata struct { // Device: A Device within the Cloud Identity Devices API. Represents a Device // known to Google Cloud, independent of the device ownership, type, and -// whether it is assigned or in use by a user. +// whether it is assigned or in use by a user. Important: Device API scopes +// require that you use domain-wide delegation to access the API. For more +// information, see Set up the Devices API +// (https://cloud.google.com/identity/docs/how-to/setup-devices). type Device struct { // AndroidSpecificAttributes: Output only. Attributes specific to Android // devices. @@ -2173,7 +2176,9 @@ type GoogleAppsCloudidentityDevicesV1Device struct { // Name: Output only. Resource name // (https://cloud.google.com/apis/design/resource_names) of the Device in // format: `devices/{device}`, where device is the unique id assigned to the - // Device. + // Device. Important: Device API scopes require that you use domain-wide + // delegation to access the API. For more information, see Set up the Devices + // API (https://cloud.google.com/identity/docs/how-to/setup-devices). Name string `json:"name,omitempty"` // NetworkOperator: Output only. Mobile or network operator of device, if // available. @@ -3224,7 +3229,7 @@ func (s Membership) MarshalJSON() ([]byte, error) { type MembershipAdjacencyList struct { // Edges: Each edge contains information about the member that belongs to this // group. Note: Fields returned here will help identify the specific Membership - // resource (e.g name, preferred_member_key and role), but may not be a + // resource (e.g `name`, `preferred_member_key` and `role`), but may not be a // comprehensive list of all fields. Edges []*Membership `json:"edges,omitempty"` // Group: Resource name of the group that the members belong to. @@ -3611,8 +3616,8 @@ type PolicyQuery struct { // corresponding value(s) as the query to make the query easier to use. Query string `json:"query,omitempty"` // SortOrder: Output only. The decimal sort order of this PolicyQuery. The - // value is relative to all other policies with the same setting type within - // the whole customer. (There are no duplicates within this set.) + // value is relative to all other policies with the same setting type for the + // customer. (There are no duplicates within this set). SortOrder float64 `json:"sortOrder,omitempty"` // ForceSendFields is a list of field names (e.g. "Group") to unconditionally // include in API requests. By default, fields with empty or default values are @@ -8504,7 +8509,7 @@ type GroupsMembershipsGetMembershipGraphCall struct { // (https://cloud.google.com/apis/design/resource_names) of the group to // search transitive memberships in. Format: `groups/{group_id}`, where // `group_id` is the unique ID assigned to the Group to which the Membership -// belongs to. group_id can be a wildcard collection id "-". When a group_id +// belongs to. group_id can be a wildcard collection id "-". When `group_id` // is specified, the membership graph will be constrained to paths between // the member (defined in the query) and the parent. If a wildcard collection // is provided, all membership paths connected to the member will be @@ -9056,7 +9061,7 @@ func (c *GroupsMembershipsSearchDirectGroupsCall) PageSize(pageSize int64) *Grou } // PageToken sets the optional parameter "pageToken": The next_page_token value -// returned from a previous list request, if any +// returned from a previous list request, if any. func (c *GroupsMembershipsSearchDirectGroupsCall) PageToken(pageToken string) *GroupsMembershipsSearchDirectGroupsCall { c.urlParams_.Set("pageToken", pageToken) return c @@ -9219,8 +9224,8 @@ func (c *GroupsMembershipsSearchTransitiveGroupsCall) PageSize(pageSize int64) * return c } -// PageToken sets the optional parameter "pageToken": The next_page_token value -// returned from a previous list request, if any. +// PageToken sets the optional parameter "pageToken": The `next_page_token` +// value returned from a previous list request, if any. func (c *GroupsMembershipsSearchTransitiveGroupsCall) PageToken(pageToken string) *GroupsMembershipsSearchTransitiveGroupsCall { c.urlParams_.Set("pageToken", pageToken) return c @@ -9236,7 +9241,7 @@ func (c *GroupsMembershipsSearchTransitiveGroupsCall) PageToken(pageToken string // operators on the parent of the group restricting the search within a // particular customer, e.g. `parent == 'customers/{customer_id}'`. The // `customer_id` must begin with "C" (for example, 'C046psxkn'). This filtering -// is only supported for Admins with groups read permissons on the input +// is only supported for Admins with groups read permissions on the input // customer. Example query: `member_key_id == 'member_key_id_value' && in // labels && parent == 'customers/C046psxkn'` func (c *GroupsMembershipsSearchTransitiveGroupsCall) Query(query string) *GroupsMembershipsSearchTransitiveGroupsCall { @@ -11540,17 +11545,16 @@ func (r *PoliciesService) List() *PoliciesListCall { // You may use `customers/my_customer` to specify your own organization. When // no customer is mentioned it will be default to customers/my_customer. A // maximum of one customer clause can be used. The above clauses can only be -// combined together in a single filter expression with the AND operator. +// combined together in a single filter expression with the `&&` operator. func (c *PoliciesListCall) Filter(filter string) *PoliciesListCall { c.urlParams_.Set("filter", filter) return c } // PageSize sets the optional parameter "pageSize": The maximum number of -// results to return. The service may return fewer than this value. If omitted -// (or defaulted to zero) the server will default to 50. The maximum allowed -// value is 100, though requests with page_size greater than that will be -// interpreted as 100. +// results to return. The service can return fewer than this number. If omitted +// or set to 0, the default is 50 results per page. The maximum allowed value +// is 100. `page_size` values greater than 100 default to 100. func (c *PoliciesListCall) PageSize(pageSize int64) *PoliciesListCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c diff --git a/container/v1beta1/container-api.json b/container/v1beta1/container-api.json index 273c1d206b..3ef38be946 100644 --- a/container/v1beta1/container-api.json +++ b/container/v1beta1/container-api.json @@ -2685,7 +2685,7 @@ } } }, - "revision": "20241105", + "revision": "20241112", "rootUrl": "https://container.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -8810,13 +8810,15 @@ "UNKNOWN", "FAILED", "SUCCEEDED", - "CANCELED" + "CANCELED", + "RUNNING" ], "enumDescriptions": [ "Upgrade state is unknown.", "Upgrade has failed with an error.", "Upgrade has succeeded.", - "Upgrade has been canceled." + "Upgrade has been canceled.", + "Upgrade is running." ], "readOnly": true, "type": "string" diff --git a/container/v1beta1/container-gen.go b/container/v1beta1/container-gen.go index 42192dd120..8522077f2e 100644 --- a/container/v1beta1/container-gen.go +++ b/container/v1beta1/container-gen.go @@ -7964,6 +7964,7 @@ type UpgradeDetails struct { // "FAILED" - Upgrade has failed with an error. // "SUCCEEDED" - Upgrade has succeeded. // "CANCELED" - Upgrade has been canceled. + // "RUNNING" - Upgrade is running. State string `json:"state,omitempty"` // TargetVersion: The version after the upgrade. TargetVersion string `json:"targetVersion,omitempty"` diff --git a/go.work.sum b/go.work.sum index a5e646a06b..814eeb9e81 100644 --- a/go.work.sum +++ b/go.work.sum @@ -143,6 +143,7 @@ cloud.google.com/go/compute v1.28.1/go.mod h1:b72iXMY4FucVry3NR3Li4kVyyTvbMDE7x5 cloud.google.com/go/compute v1.28.2 h1:M9Rf+Ii9xQZk+rTBEgaz3J5ZyKs6kSNAgdZQpyBpxVk= cloud.google.com/go/compute v1.28.2/go.mod h1:HFlsDurE5DpQZClAGf/cYh+gxssMhBxBovZDYkEn/Og= cloud.google.com/go/compute v1.28.3 h1:+b9s7mbJYe7yQ0qA9o6GS7Tb1Ubygnv6jCLxM0JnbQA= +cloud.google.com/go/compute v1.29.0 h1:Lph6d8oPi38NHkOr6S55Nus/Pbbcp37m/J0ohgKAefs= cloud.google.com/go/compute/metadata v0.2.3/go.mod h1:VAV5nSsACxMJvgaAuX6Pk2AawlZn8kiOGuCv6gTkwuA= cloud.google.com/go/contactcenterinsights v1.13.0/go.mod h1:ieq5d5EtHsu8vhe2y3amtZ+BE+AQwX5qAy7cpo0POsI= cloud.google.com/go/contactcenterinsights v1.13.6/go.mod h1:mL+DbN3pMQGaAbDC4wZhryLciwSwHf5Tfk4Itr72Zyk= diff --git a/healthcare/v1/healthcare-api.json b/healthcare/v1/healthcare-api.json index 934366d910..32a8ec0f5c 100644 --- a/healthcare/v1/healthcare-api.json +++ b/healthcare/v1/healthcare-api.json @@ -4641,7 +4641,7 @@ "operations": { "methods": { "cancel": { - "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", + "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/operations/{operationsId}:cancel", "httpMethod": "POST", "id": "healthcare.projects.locations.datasets.operations.cancel", @@ -4783,7 +4783,7 @@ } } }, - "revision": "20241107", + "revision": "20241115", "rootUrl": "https://healthcare.googleapis.com/", "schemas": { "ActivateConsentRequest": { diff --git a/healthcare/v1/healthcare-gen.go b/healthcare/v1/healthcare-gen.go index abefa8e12a..135ff23d79 100644 --- a/healthcare/v1/healthcare-gen.go +++ b/healthcare/v1/healthcare-gen.go @@ -21344,7 +21344,7 @@ type ProjectsLocationsDatasetsOperationsCancelCall struct { // other methods to check whether the cancellation succeeded or whether the // operation completed despite cancellation. On successful cancellation, the // operation is not deleted; instead, it becomes an operation with an -// Operation.error value with a google.rpc.Status.code of 1, corresponding to +// Operation.error value with a google.rpc.Status.code of `1`, corresponding to // `Code.CANCELLED`. // // - name: The name of the operation resource to be cancelled. diff --git a/healthcare/v1beta1/healthcare-api.json b/healthcare/v1beta1/healthcare-api.json index f78a82342e..5d1c496428 100644 --- a/healthcare/v1beta1/healthcare-api.json +++ b/healthcare/v1beta1/healthcare-api.json @@ -5716,7 +5716,7 @@ "operations": { "methods": { "cancel": { - "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", + "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/operations/{operationsId}:cancel", "httpMethod": "POST", "id": "healthcare.projects.locations.datasets.operations.cancel", @@ -5858,7 +5858,7 @@ } } }, - "revision": "20241107", + "revision": "20241115", "rootUrl": "https://healthcare.googleapis.com/", "schemas": { "AccessDeterminationLogConfig": { diff --git a/healthcare/v1beta1/healthcare-gen.go b/healthcare/v1beta1/healthcare-gen.go index 152e01a1c9..ef8812e0b4 100644 --- a/healthcare/v1beta1/healthcare-gen.go +++ b/healthcare/v1beta1/healthcare-gen.go @@ -27005,7 +27005,7 @@ type ProjectsLocationsDatasetsOperationsCancelCall struct { // other methods to check whether the cancellation succeeded or whether the // operation completed despite cancellation. On successful cancellation, the // operation is not deleted; instead, it becomes an operation with an -// Operation.error value with a google.rpc.Status.code of 1, corresponding to +// Operation.error value with a google.rpc.Status.code of `1`, corresponding to // `Code.CANCELLED`. // // - name: The name of the operation resource to be cancelled. diff --git a/playdeveloperreporting/v1alpha1/playdeveloperreporting-api.json b/playdeveloperreporting/v1alpha1/playdeveloperreporting-api.json index 83192d4e7c..486a58b540 100644 --- a/playdeveloperreporting/v1alpha1/playdeveloperreporting-api.json +++ b/playdeveloperreporting/v1alpha1/playdeveloperreporting-api.json @@ -393,7 +393,7 @@ ], "parameters": { "filter": { - "description": "A selection predicate to retrieve only a subset of the issues. Counts in the returned error issues will only reflect occurrences that matched the filter. For filtering basics, please check [AIP-160](https://google.aip.dev/160). ** Supported field names:** * `apiLevel`: Matches error issues that occurred in the requested Android versions (specified as the numeric API level) only. Example: `apiLevel = 28 OR apiLevel = 29`. * `versionCode`: Matches error issues that occurred in the requested app version codes only. Example: `versionCode = 123 OR versionCode = 456`. * `deviceModel`: Matches error issues that occurred in the requested devices. Example: `deviceModel = \"google/walleye\" OR deviceModel = \"google/marlin\"`. * `deviceBrand`: Matches error issues that occurred in the requested device brands. Example: `deviceBrand = \"Google\". * `deviceType`: Matches error issues that occurred in the requested device types. Example: `deviceType = \"PHONE\"`. * `errorIssueType`: Matches error issues of the requested types only. Valid candidates: `CRASH`, `ANR`. Example: `errorIssueType = CRASH OR errorIssueType = ANR`. * `appProcessState`: Matches error issues on the process state of an app, indicating whether an app runs in the foreground (user-visible) or background. Valid candidates: `FOREGROUND`, `BACKGROUND`. Example: `appProcessState = FOREGROUND`. * `isUserPerceived`: Matches error issues that are user-perceived. It is not accompanied by any operators. Example: `isUserPerceived`. ** Supported operators:** * Comparison operators: The only supported comparison operator is equality. The filtered field must appear on the left hand side of the comparison. * Logical Operators: Logical operators `AND` and `OR` can be used to build complex filters following a conjunctive normal form (CNF), i.e., conjunctions of disjunctions. The `OR` operator takes precedence over `AND` so the use of parenthesis is not necessary when building CNF. The `OR` operator is only supported to build disjunctions that apply to the same field, e.g., `versionCode = 123 OR errorIssueType = ANR` is not a valid filter. ** Examples ** Some valid filtering expressions: * `versionCode = 123 AND errorIssueType = ANR` * `versionCode = 123 AND errorIssueType = OR errorIssueType = CRASH` * `versionCode = 123 AND (errorIssueType = OR errorIssueType = CRASH)`", + "description": "A selection predicate to retrieve only a subset of the issues. Counts in the returned error issues will only reflect occurrences that matched the filter. For filtering basics, please check [AIP-160](https://google.aip.dev/160). ** Supported field names:** * `apiLevel`: Matches error issues that occurred in the requested Android versions (specified as the numeric API level) only. Example: `apiLevel = 28 OR apiLevel = 29`. * `versionCode`: Matches error issues that occurred in the requested app version codes only. Example: `versionCode = 123 OR versionCode = 456`. * `deviceModel`: Matches error issues that occurred in the requested devices. Example: `deviceModel = \"google/walleye\" OR deviceModel = \"google/marlin\"`. * `deviceBrand`: Matches error issues that occurred in the requested device brands. Example: `deviceBrand = \"Google\". * `deviceType`: Matches error issues that occurred in the requested device types. Example: `deviceType = \"PHONE\"`. * `errorIssueType`: Matches error issues of the requested types only. Valid candidates: `CRASH`, `ANR`, `NON_FATAL`. Example: `errorIssueType = CRASH OR errorIssueType = ANR`. * `appProcessState`: Matches error issues on the process state of an app, indicating whether an app runs in the foreground (user-visible) or background. Valid candidates: `FOREGROUND`, `BACKGROUND`. Example: `appProcessState = FOREGROUND`. * `isUserPerceived`: Matches error issues that are user-perceived. It is not accompanied by any operators. Example: `isUserPerceived`. ** Supported operators:** * Comparison operators: The only supported comparison operator is equality. The filtered field must appear on the left hand side of the comparison. * Logical Operators: Logical operators `AND` and `OR` can be used to build complex filters following a conjunctive normal form (CNF), i.e., conjunctions of disjunctions. The `OR` operator takes precedence over `AND` so the use of parenthesis is not necessary when building CNF. The `OR` operator is only supported to build disjunctions that apply to the same field, e.g., `versionCode = 123 OR errorIssueType = ANR` is not a valid filter. ** Examples ** Some valid filtering expressions: * `versionCode = 123 AND errorIssueType = ANR` * `versionCode = 123 AND errorIssueType = OR errorIssueType = CRASH` * `versionCode = 123 AND (errorIssueType = OR errorIssueType = CRASH)`", "location": "query", "type": "string" }, @@ -565,7 +565,7 @@ ], "parameters": { "filter": { - "description": "A selection predicate to retrieve only a subset of the reports. For filtering basics, please check [AIP-160](https://google.aip.dev/160). ** Supported field names:** * `apiLevel`: Matches error reports that occurred in the requested Android versions (specified as the numeric API level) only. Example: `apiLevel = 28 OR apiLevel = 29`. * `versionCode`: Matches error reports that occurred in the requested app version codes only. Example: `versionCode = 123 OR versionCode = 456`. * `deviceModel`: Matches error issues that occurred in the requested devices. Example: `deviceModel = \"google/walleye\" OR deviceModel = \"google/marlin\"`. * `deviceBrand`: Matches error issues that occurred in the requested device brands. Example: `deviceBrand = \"Google\". * `deviceType`: Matches error reports that occurred in the requested device types. Example: `deviceType = \"PHONE\"`. * `errorIssueType`: Matches error reports of the requested types only. Valid candidates: `CRASH`, `ANR`. Example: `errorIssueType = CRASH OR errorIssueType = ANR`. * `errorIssueId`: Matches error reports belonging to the requested error issue ids only. Example: `errorIssueId = 1234 OR errorIssueId = 4567`. * `errorReportId`: Matches error reports with the requested error report id. Example: `errorReportId = 1234 OR errorReportId = 4567`. * `appProcessState`: Matches error reports on the process state of an app, indicating whether an app runs in the foreground (user-visible) or background. Valid candidates: `FOREGROUND`, `BACKGROUND`. Example: `appProcessState = FOREGROUND`. * `isUserPerceived`: Matches error reports that are user-perceived. It is not accompanied by any operators. Example: `isUserPerceived`. ** Supported operators:** * Comparison operators: The only supported comparison operator is equality. The filtered field must appear on the left hand side of the comparison. * Logical Operators: Logical operators `AND` and `OR` can be used to build complex filters following a conjunctive normal form (CNF), i.e., conjunctions of disjunctions. The `OR` operator takes precedence over `AND` so the use of parenthesis is not necessary when building CNF. The `OR` operator is only supported to build disjunctions that apply to the same field, e.g., `versionCode = 123 OR versionCode = ANR`. The filter expression `versionCode = 123 OR errorIssueType = ANR` is not valid. ** Examples ** Some valid filtering expressions: * `versionCode = 123 AND errorIssueType = ANR` * `versionCode = 123 AND errorIssueType = OR errorIssueType = CRASH` * `versionCode = 123 AND (errorIssueType = OR errorIssueType = CRASH)`", + "description": "A selection predicate to retrieve only a subset of the reports. For filtering basics, please check [AIP-160](https://google.aip.dev/160). ** Supported field names:** * `apiLevel`: Matches error reports that occurred in the requested Android versions (specified as the numeric API level) only. Example: `apiLevel = 28 OR apiLevel = 29`. * `versionCode`: Matches error reports that occurred in the requested app version codes only. Example: `versionCode = 123 OR versionCode = 456`. * `deviceModel`: Matches error issues that occurred in the requested devices. Example: `deviceModel = \"google/walleye\" OR deviceModel = \"google/marlin\"`. * `deviceBrand`: Matches error issues that occurred in the requested device brands. Example: `deviceBrand = \"Google\". * `deviceType`: Matches error reports that occurred in the requested device types. Example: `deviceType = \"PHONE\"`. * `errorIssueType`: Matches error reports of the requested types only. Valid candidates: `CRASH`, `ANR`, `NON_FATAL`. Example: `errorIssueType = CRASH OR errorIssueType = ANR`. * `errorIssueId`: Matches error reports belonging to the requested error issue ids only. Example: `errorIssueId = 1234 OR errorIssueId = 4567`. * `errorReportId`: Matches error reports with the requested error report id. Example: `errorReportId = 1234 OR errorReportId = 4567`. * `appProcessState`: Matches error reports on the process state of an app, indicating whether an app runs in the foreground (user-visible) or background. Valid candidates: `FOREGROUND`, `BACKGROUND`. Example: `appProcessState = FOREGROUND`. * `isUserPerceived`: Matches error reports that are user-perceived. It is not accompanied by any operators. Example: `isUserPerceived`. ** Supported operators:** * Comparison operators: The only supported comparison operator is equality. The filtered field must appear on the left hand side of the comparison. * Logical Operators: Logical operators `AND` and `OR` can be used to build complex filters following a conjunctive normal form (CNF), i.e., conjunctions of disjunctions. The `OR` operator takes precedence over `AND` so the use of parenthesis is not necessary when building CNF. The `OR` operator is only supported to build disjunctions that apply to the same field, e.g., `versionCode = 123 OR versionCode = ANR`. The filter expression `versionCode = 123 OR errorIssueType = ANR` is not valid. ** Examples ** Some valid filtering expressions: * `versionCode = 123 AND errorIssueType = ANR` * `versionCode = 123 AND errorIssueType = OR errorIssueType = CRASH` * `versionCode = 123 AND (errorIssueType = OR errorIssueType = CRASH)`", "location": "query", "type": "string" }, @@ -947,7 +947,7 @@ } } }, - "revision": "20241120", + "revision": "20241128", "rootUrl": "https://playdeveloperreporting.googleapis.com/", "schemas": { "GooglePlayDeveloperReportingV1alpha1Anomaly": { diff --git a/playdeveloperreporting/v1alpha1/playdeveloperreporting-gen.go b/playdeveloperreporting/v1alpha1/playdeveloperreporting-gen.go index 7fac55eaa7..9248648cef 100644 --- a/playdeveloperreporting/v1alpha1/playdeveloperreporting-gen.go +++ b/playdeveloperreporting/v1alpha1/playdeveloperreporting-gen.go @@ -3910,9 +3910,9 @@ func (r *VitalsErrorsIssuesService) Search(parent string) *VitalsErrorsIssuesSea // "Google". * `deviceType`: Matches error issues that occurred in the // requested device types. Example: `deviceType = "PHONE". * `errorIssueType`: // Matches error issues of the requested types only. Valid candidates: `CRASH`, -// `ANR`. Example: `errorIssueType = CRASH OR errorIssueType = ANR`. * -// `appProcessState`: Matches error issues on the process state of an app, -// indicating whether an app runs in the foreground (user-visible) or +// `ANR`, `NON_FATAL`. Example: `errorIssueType = CRASH OR errorIssueType = +// ANR`. * `appProcessState`: Matches error issues on the process state of an +// app, indicating whether an app runs in the foreground (user-visible) or // background. Valid candidates: `FOREGROUND`, `BACKGROUND`. Example: // `appProcessState = FOREGROUND`. * `isUserPerceived`: Matches error issues // that are user-perceived. It is not accompanied by any operators. Example: @@ -4280,29 +4280,30 @@ func (r *VitalsErrorsReportsService) Search(parent string) *VitalsErrorsReportsS // occurred in the requested device brands. Example: `deviceBrand = "Google". * // `deviceType`: Matches error reports that occurred in the requested device // types. Example: `deviceType = "PHONE". * `errorIssueType`: Matches error -// reports of the requested types only. Valid candidates: `CRASH`, `ANR`. -// Example: `errorIssueType = CRASH OR errorIssueType = ANR`. * `errorIssueId`: -// Matches error reports belonging to the requested error issue ids only. -// Example: `errorIssueId = 1234 OR errorIssueId = 4567`. * `errorReportId`: -// Matches error reports with the requested error report id. Example: -// `errorReportId = 1234 OR errorReportId = 4567`. * `appProcessState`: Matches -// error reports on the process state of an app, indicating whether an app runs -// in the foreground (user-visible) or background. Valid candidates: -// `FOREGROUND`, `BACKGROUND`. Example: `appProcessState = FOREGROUND`. * -// `isUserPerceived`: Matches error reports that are user-perceived. It is not -// accompanied by any operators. Example: `isUserPerceived`. ** Supported -// operators:** * Comparison operators: The only supported comparison operator -// is equality. The filtered field must appear on the left hand side of the -// comparison. * Logical Operators: Logical operators `AND` and `OR` can be -// used to build complex filters following a conjunctive normal form (CNF), -// i.e., conjunctions of disjunctions. The `OR` operator takes precedence over -// `AND` so the use of parenthesis is not necessary when building CNF. The `OR` -// operator is only supported to build disjunctions that apply to the same -// field, e.g., `versionCode = 123 OR versionCode = ANR`. The filter expression -// `versionCode = 123 OR errorIssueType = ANR` is not valid. ** Examples ** -// Some valid filtering expressions: * `versionCode = 123 AND errorIssueType = -// ANR` * `versionCode = 123 AND errorIssueType = OR errorIssueType = CRASH` * -// `versionCode = 123 AND (errorIssueType = OR errorIssueType = CRASH)` +// reports of the requested types only. Valid candidates: `CRASH`, `ANR`, +// `NON_FATAL`. Example: `errorIssueType = CRASH OR errorIssueType = ANR`. * +// `errorIssueId`: Matches error reports belonging to the requested error issue +// ids only. Example: `errorIssueId = 1234 OR errorIssueId = 4567`. * +// `errorReportId`: Matches error reports with the requested error report id. +// Example: `errorReportId = 1234 OR errorReportId = 4567`. * +// `appProcessState`: Matches error reports on the process state of an app, +// indicating whether an app runs in the foreground (user-visible) or +// background. Valid candidates: `FOREGROUND`, `BACKGROUND`. Example: +// `appProcessState = FOREGROUND`. * `isUserPerceived`: Matches error reports +// that are user-perceived. It is not accompanied by any operators. Example: +// `isUserPerceived`. ** Supported operators:** * Comparison operators: The +// only supported comparison operator is equality. The filtered field must +// appear on the left hand side of the comparison. * Logical Operators: Logical +// operators `AND` and `OR` can be used to build complex filters following a +// conjunctive normal form (CNF), i.e., conjunctions of disjunctions. The `OR` +// operator takes precedence over `AND` so the use of parenthesis is not +// necessary when building CNF. The `OR` operator is only supported to build +// disjunctions that apply to the same field, e.g., `versionCode = 123 OR +// versionCode = ANR`. The filter expression `versionCode = 123 OR +// errorIssueType = ANR` is not valid. ** Examples ** Some valid filtering +// expressions: * `versionCode = 123 AND errorIssueType = ANR` * `versionCode = +// 123 AND errorIssueType = OR errorIssueType = CRASH` * `versionCode = 123 AND +// (errorIssueType = OR errorIssueType = CRASH)` func (c *VitalsErrorsReportsSearchCall) Filter(filter string) *VitalsErrorsReportsSearchCall { c.urlParams_.Set("filter", filter) return c diff --git a/playdeveloperreporting/v1beta1/playdeveloperreporting-api.json b/playdeveloperreporting/v1beta1/playdeveloperreporting-api.json index c7d3159dba..d0c376fb7f 100644 --- a/playdeveloperreporting/v1beta1/playdeveloperreporting-api.json +++ b/playdeveloperreporting/v1beta1/playdeveloperreporting-api.json @@ -393,7 +393,7 @@ ], "parameters": { "filter": { - "description": "A selection predicate to retrieve only a subset of the issues. Counts in the returned error issues will only reflect occurrences that matched the filter. For filtering basics, please check [AIP-160](https://google.aip.dev/160). ** Supported field names:** * `apiLevel`: Matches error issues that occurred in the requested Android versions (specified as the numeric API level) only. Example: `apiLevel = 28 OR apiLevel = 29`. * `versionCode`: Matches error issues that occurred in the requested app version codes only. Example: `versionCode = 123 OR versionCode = 456`. * `deviceModel`: Matches error issues that occurred in the requested devices. Example: `deviceModel = \"google/walleye\" OR deviceModel = \"google/marlin\"`. * `deviceBrand`: Matches error issues that occurred in the requested device brands. Example: `deviceBrand = \"Google\". * `deviceType`: Matches error issues that occurred in the requested device types. Example: `deviceType = \"PHONE\"`. * `errorIssueType`: Matches error issues of the requested types only. Valid candidates: `CRASH`, `ANR`. Example: `errorIssueType = CRASH OR errorIssueType = ANR`. * `appProcessState`: Matches error issues on the process state of an app, indicating whether an app runs in the foreground (user-visible) or background. Valid candidates: `FOREGROUND`, `BACKGROUND`. Example: `appProcessState = FOREGROUND`. * `isUserPerceived`: Matches error issues that are user-perceived. It is not accompanied by any operators. Example: `isUserPerceived`. ** Supported operators:** * Comparison operators: The only supported comparison operator is equality. The filtered field must appear on the left hand side of the comparison. * Logical Operators: Logical operators `AND` and `OR` can be used to build complex filters following a conjunctive normal form (CNF), i.e., conjunctions of disjunctions. The `OR` operator takes precedence over `AND` so the use of parenthesis is not necessary when building CNF. The `OR` operator is only supported to build disjunctions that apply to the same field, e.g., `versionCode = 123 OR errorIssueType = ANR` is not a valid filter. ** Examples ** Some valid filtering expressions: * `versionCode = 123 AND errorIssueType = ANR` * `versionCode = 123 AND errorIssueType = OR errorIssueType = CRASH` * `versionCode = 123 AND (errorIssueType = OR errorIssueType = CRASH)`", + "description": "A selection predicate to retrieve only a subset of the issues. Counts in the returned error issues will only reflect occurrences that matched the filter. For filtering basics, please check [AIP-160](https://google.aip.dev/160). ** Supported field names:** * `apiLevel`: Matches error issues that occurred in the requested Android versions (specified as the numeric API level) only. Example: `apiLevel = 28 OR apiLevel = 29`. * `versionCode`: Matches error issues that occurred in the requested app version codes only. Example: `versionCode = 123 OR versionCode = 456`. * `deviceModel`: Matches error issues that occurred in the requested devices. Example: `deviceModel = \"google/walleye\" OR deviceModel = \"google/marlin\"`. * `deviceBrand`: Matches error issues that occurred in the requested device brands. Example: `deviceBrand = \"Google\". * `deviceType`: Matches error issues that occurred in the requested device types. Example: `deviceType = \"PHONE\"`. * `errorIssueType`: Matches error issues of the requested types only. Valid candidates: `CRASH`, `ANR`, `NON_FATAL`. Example: `errorIssueType = CRASH OR errorIssueType = ANR`. * `appProcessState`: Matches error issues on the process state of an app, indicating whether an app runs in the foreground (user-visible) or background. Valid candidates: `FOREGROUND`, `BACKGROUND`. Example: `appProcessState = FOREGROUND`. * `isUserPerceived`: Matches error issues that are user-perceived. It is not accompanied by any operators. Example: `isUserPerceived`. ** Supported operators:** * Comparison operators: The only supported comparison operator is equality. The filtered field must appear on the left hand side of the comparison. * Logical Operators: Logical operators `AND` and `OR` can be used to build complex filters following a conjunctive normal form (CNF), i.e., conjunctions of disjunctions. The `OR` operator takes precedence over `AND` so the use of parenthesis is not necessary when building CNF. The `OR` operator is only supported to build disjunctions that apply to the same field, e.g., `versionCode = 123 OR errorIssueType = ANR` is not a valid filter. ** Examples ** Some valid filtering expressions: * `versionCode = 123 AND errorIssueType = ANR` * `versionCode = 123 AND errorIssueType = OR errorIssueType = CRASH` * `versionCode = 123 AND (errorIssueType = OR errorIssueType = CRASH)`", "location": "query", "type": "string" }, @@ -565,7 +565,7 @@ ], "parameters": { "filter": { - "description": "A selection predicate to retrieve only a subset of the reports. For filtering basics, please check [AIP-160](https://google.aip.dev/160). ** Supported field names:** * `apiLevel`: Matches error reports that occurred in the requested Android versions (specified as the numeric API level) only. Example: `apiLevel = 28 OR apiLevel = 29`. * `versionCode`: Matches error reports that occurred in the requested app version codes only. Example: `versionCode = 123 OR versionCode = 456`. * `deviceModel`: Matches error issues that occurred in the requested devices. Example: `deviceModel = \"google/walleye\" OR deviceModel = \"google/marlin\"`. * `deviceBrand`: Matches error issues that occurred in the requested device brands. Example: `deviceBrand = \"Google\". * `deviceType`: Matches error reports that occurred in the requested device types. Example: `deviceType = \"PHONE\"`. * `errorIssueType`: Matches error reports of the requested types only. Valid candidates: `CRASH`, `ANR`. Example: `errorIssueType = CRASH OR errorIssueType = ANR`. * `errorIssueId`: Matches error reports belonging to the requested error issue ids only. Example: `errorIssueId = 1234 OR errorIssueId = 4567`. * `errorReportId`: Matches error reports with the requested error report id. Example: `errorReportId = 1234 OR errorReportId = 4567`. * `appProcessState`: Matches error reports on the process state of an app, indicating whether an app runs in the foreground (user-visible) or background. Valid candidates: `FOREGROUND`, `BACKGROUND`. Example: `appProcessState = FOREGROUND`. * `isUserPerceived`: Matches error reports that are user-perceived. It is not accompanied by any operators. Example: `isUserPerceived`. ** Supported operators:** * Comparison operators: The only supported comparison operator is equality. The filtered field must appear on the left hand side of the comparison. * Logical Operators: Logical operators `AND` and `OR` can be used to build complex filters following a conjunctive normal form (CNF), i.e., conjunctions of disjunctions. The `OR` operator takes precedence over `AND` so the use of parenthesis is not necessary when building CNF. The `OR` operator is only supported to build disjunctions that apply to the same field, e.g., `versionCode = 123 OR versionCode = ANR`. The filter expression `versionCode = 123 OR errorIssueType = ANR` is not valid. ** Examples ** Some valid filtering expressions: * `versionCode = 123 AND errorIssueType = ANR` * `versionCode = 123 AND errorIssueType = OR errorIssueType = CRASH` * `versionCode = 123 AND (errorIssueType = OR errorIssueType = CRASH)`", + "description": "A selection predicate to retrieve only a subset of the reports. For filtering basics, please check [AIP-160](https://google.aip.dev/160). ** Supported field names:** * `apiLevel`: Matches error reports that occurred in the requested Android versions (specified as the numeric API level) only. Example: `apiLevel = 28 OR apiLevel = 29`. * `versionCode`: Matches error reports that occurred in the requested app version codes only. Example: `versionCode = 123 OR versionCode = 456`. * `deviceModel`: Matches error issues that occurred in the requested devices. Example: `deviceModel = \"google/walleye\" OR deviceModel = \"google/marlin\"`. * `deviceBrand`: Matches error issues that occurred in the requested device brands. Example: `deviceBrand = \"Google\". * `deviceType`: Matches error reports that occurred in the requested device types. Example: `deviceType = \"PHONE\"`. * `errorIssueType`: Matches error reports of the requested types only. Valid candidates: `CRASH`, `ANR`, `NON_FATAL`. Example: `errorIssueType = CRASH OR errorIssueType = ANR`. * `errorIssueId`: Matches error reports belonging to the requested error issue ids only. Example: `errorIssueId = 1234 OR errorIssueId = 4567`. * `errorReportId`: Matches error reports with the requested error report id. Example: `errorReportId = 1234 OR errorReportId = 4567`. * `appProcessState`: Matches error reports on the process state of an app, indicating whether an app runs in the foreground (user-visible) or background. Valid candidates: `FOREGROUND`, `BACKGROUND`. Example: `appProcessState = FOREGROUND`. * `isUserPerceived`: Matches error reports that are user-perceived. It is not accompanied by any operators. Example: `isUserPerceived`. ** Supported operators:** * Comparison operators: The only supported comparison operator is equality. The filtered field must appear on the left hand side of the comparison. * Logical Operators: Logical operators `AND` and `OR` can be used to build complex filters following a conjunctive normal form (CNF), i.e., conjunctions of disjunctions. The `OR` operator takes precedence over `AND` so the use of parenthesis is not necessary when building CNF. The `OR` operator is only supported to build disjunctions that apply to the same field, e.g., `versionCode = 123 OR versionCode = ANR`. The filter expression `versionCode = 123 OR errorIssueType = ANR` is not valid. ** Examples ** Some valid filtering expressions: * `versionCode = 123 AND errorIssueType = ANR` * `versionCode = 123 AND errorIssueType = OR errorIssueType = CRASH` * `versionCode = 123 AND (errorIssueType = OR errorIssueType = CRASH)`", "location": "query", "type": "string" }, @@ -947,7 +947,7 @@ } } }, - "revision": "20241120", + "revision": "20241128", "rootUrl": "https://playdeveloperreporting.googleapis.com/", "schemas": { "GooglePlayDeveloperReportingV1beta1Anomaly": { diff --git a/playdeveloperreporting/v1beta1/playdeveloperreporting-gen.go b/playdeveloperreporting/v1beta1/playdeveloperreporting-gen.go index 21b4727bb4..dd9ac77ac4 100644 --- a/playdeveloperreporting/v1beta1/playdeveloperreporting-gen.go +++ b/playdeveloperreporting/v1beta1/playdeveloperreporting-gen.go @@ -3910,9 +3910,9 @@ func (r *VitalsErrorsIssuesService) Search(parent string) *VitalsErrorsIssuesSea // "Google". * `deviceType`: Matches error issues that occurred in the // requested device types. Example: `deviceType = "PHONE". * `errorIssueType`: // Matches error issues of the requested types only. Valid candidates: `CRASH`, -// `ANR`. Example: `errorIssueType = CRASH OR errorIssueType = ANR`. * -// `appProcessState`: Matches error issues on the process state of an app, -// indicating whether an app runs in the foreground (user-visible) or +// `ANR`, `NON_FATAL`. Example: `errorIssueType = CRASH OR errorIssueType = +// ANR`. * `appProcessState`: Matches error issues on the process state of an +// app, indicating whether an app runs in the foreground (user-visible) or // background. Valid candidates: `FOREGROUND`, `BACKGROUND`. Example: // `appProcessState = FOREGROUND`. * `isUserPerceived`: Matches error issues // that are user-perceived. It is not accompanied by any operators. Example: @@ -4280,29 +4280,30 @@ func (r *VitalsErrorsReportsService) Search(parent string) *VitalsErrorsReportsS // occurred in the requested device brands. Example: `deviceBrand = "Google". * // `deviceType`: Matches error reports that occurred in the requested device // types. Example: `deviceType = "PHONE". * `errorIssueType`: Matches error -// reports of the requested types only. Valid candidates: `CRASH`, `ANR`. -// Example: `errorIssueType = CRASH OR errorIssueType = ANR`. * `errorIssueId`: -// Matches error reports belonging to the requested error issue ids only. -// Example: `errorIssueId = 1234 OR errorIssueId = 4567`. * `errorReportId`: -// Matches error reports with the requested error report id. Example: -// `errorReportId = 1234 OR errorReportId = 4567`. * `appProcessState`: Matches -// error reports on the process state of an app, indicating whether an app runs -// in the foreground (user-visible) or background. Valid candidates: -// `FOREGROUND`, `BACKGROUND`. Example: `appProcessState = FOREGROUND`. * -// `isUserPerceived`: Matches error reports that are user-perceived. It is not -// accompanied by any operators. Example: `isUserPerceived`. ** Supported -// operators:** * Comparison operators: The only supported comparison operator -// is equality. The filtered field must appear on the left hand side of the -// comparison. * Logical Operators: Logical operators `AND` and `OR` can be -// used to build complex filters following a conjunctive normal form (CNF), -// i.e., conjunctions of disjunctions. The `OR` operator takes precedence over -// `AND` so the use of parenthesis is not necessary when building CNF. The `OR` -// operator is only supported to build disjunctions that apply to the same -// field, e.g., `versionCode = 123 OR versionCode = ANR`. The filter expression -// `versionCode = 123 OR errorIssueType = ANR` is not valid. ** Examples ** -// Some valid filtering expressions: * `versionCode = 123 AND errorIssueType = -// ANR` * `versionCode = 123 AND errorIssueType = OR errorIssueType = CRASH` * -// `versionCode = 123 AND (errorIssueType = OR errorIssueType = CRASH)` +// reports of the requested types only. Valid candidates: `CRASH`, `ANR`, +// `NON_FATAL`. Example: `errorIssueType = CRASH OR errorIssueType = ANR`. * +// `errorIssueId`: Matches error reports belonging to the requested error issue +// ids only. Example: `errorIssueId = 1234 OR errorIssueId = 4567`. * +// `errorReportId`: Matches error reports with the requested error report id. +// Example: `errorReportId = 1234 OR errorReportId = 4567`. * +// `appProcessState`: Matches error reports on the process state of an app, +// indicating whether an app runs in the foreground (user-visible) or +// background. Valid candidates: `FOREGROUND`, `BACKGROUND`. Example: +// `appProcessState = FOREGROUND`. * `isUserPerceived`: Matches error reports +// that are user-perceived. It is not accompanied by any operators. Example: +// `isUserPerceived`. ** Supported operators:** * Comparison operators: The +// only supported comparison operator is equality. The filtered field must +// appear on the left hand side of the comparison. * Logical Operators: Logical +// operators `AND` and `OR` can be used to build complex filters following a +// conjunctive normal form (CNF), i.e., conjunctions of disjunctions. The `OR` +// operator takes precedence over `AND` so the use of parenthesis is not +// necessary when building CNF. The `OR` operator is only supported to build +// disjunctions that apply to the same field, e.g., `versionCode = 123 OR +// versionCode = ANR`. The filter expression `versionCode = 123 OR +// errorIssueType = ANR` is not valid. ** Examples ** Some valid filtering +// expressions: * `versionCode = 123 AND errorIssueType = ANR` * `versionCode = +// 123 AND errorIssueType = OR errorIssueType = CRASH` * `versionCode = 123 AND +// (errorIssueType = OR errorIssueType = CRASH)` func (c *VitalsErrorsReportsSearchCall) Filter(filter string) *VitalsErrorsReportsSearchCall { c.urlParams_.Set("filter", filter) return c diff --git a/playintegrity/v1/playintegrity-api.json b/playintegrity/v1/playintegrity-api.json index 84227f6232..e4506f0bdd 100644 --- a/playintegrity/v1/playintegrity-api.json +++ b/playintegrity/v1/playintegrity-api.json @@ -170,7 +170,7 @@ } } }, - "revision": "20241119", + "revision": "20241127", "rootUrl": "https://playintegrity.googleapis.com/", "schemas": { "AccountActivity": { @@ -411,6 +411,27 @@ }, "type": "array" }, + "legacyDeviceRecognitionVerdict": { + "description": "Contains legacy details about the integrity of the device the app is running on. Only for devices with Android version T or higher and only for apps opted in to the new verdicts. Only available during the transition period to the new verdicts system and will be removed afterwards.", + "items": { + "enum": [ + "UNKNOWN", + "MEETS_BASIC_INTEGRITY", + "MEETS_DEVICE_INTEGRITY", + "MEETS_STRONG_INTEGRITY", + "MEETS_VIRTUAL_INTEGRITY" + ], + "enumDescriptions": [ + "Play does not have sufficient information to evaluate device integrity", + "App is running on a device that passes basic system integrity checks, but may not meet Android platform compatibility requirements and may not be approved to run Google Play services.", + "App is running on GMS Android device with Google Play services.", + "App is running on GMS Android device with Google Play services and has a strong guarantee of system integrity such as a hardware-backed keystore.", + "App is running on an Android emulator with Google Play services which meets core Android compatibility requirements." + ], + "type": "string" + }, + "type": "array" + }, "recentDeviceActivity": { "$ref": "RecentDeviceActivity", "description": "Details about the device activity of the device the app is running on." diff --git a/playintegrity/v1/playintegrity-gen.go b/playintegrity/v1/playintegrity-gen.go index e9b8a3b47e..55b78da744 100644 --- a/playintegrity/v1/playintegrity-gen.go +++ b/playintegrity/v1/playintegrity-gen.go @@ -479,6 +479,26 @@ type DeviceIntegrity struct { // "MEETS_VIRTUAL_INTEGRITY" - App is running on an Android emulator with // Google Play services which meets core Android compatibility requirements. DeviceRecognitionVerdict []string `json:"deviceRecognitionVerdict,omitempty"` + // LegacyDeviceRecognitionVerdict: Contains legacy details about the integrity + // of the device the app is running on. Only for devices with Android version T + // or higher and only for apps opted in to the new verdicts. Only available + // during the transition period to the new verdicts system and will be removed + // afterwards. + // + // Possible values: + // "UNKNOWN" - Play does not have sufficient information to evaluate device + // integrity + // "MEETS_BASIC_INTEGRITY" - App is running on a device that passes basic + // system integrity checks, but may not meet Android platform compatibility + // requirements and may not be approved to run Google Play services. + // "MEETS_DEVICE_INTEGRITY" - App is running on GMS Android device with + // Google Play services. + // "MEETS_STRONG_INTEGRITY" - App is running on GMS Android device with + // Google Play services and has a strong guarantee of system integrity such as + // a hardware-backed keystore. + // "MEETS_VIRTUAL_INTEGRITY" - App is running on an Android emulator with + // Google Play services which meets core Android compatibility requirements. + LegacyDeviceRecognitionVerdict []string `json:"legacyDeviceRecognitionVerdict,omitempty"` // RecentDeviceActivity: Details about the device activity of the device the // app is running on. RecentDeviceActivity *RecentDeviceActivity `json:"recentDeviceActivity,omitempty"`