From f31b763e2a7354c9d908c61a183c53b0cbe43cb3 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Thu, 18 May 2023 08:21:16 -0700 Subject: [PATCH] feat(all): auto-regenerate discovery clients (#1982) --- assuredworkloads/v1/assuredworkloads-api.json | 36 +- assuredworkloads/v1/assuredworkloads-gen.go | 57 +- .../v1beta1/assuredworkloads-api.json | 88 +- .../v1beta1/assuredworkloads-gen.go | 109 ++ chromemanagement/v1/chromemanagement-api.json | 66 +- chromemanagement/v1/chromemanagement-gen.go | 104 ++ cloudchannel/v1/cloudchannel-api.json | 26 +- cloudchannel/v1/cloudchannel-gen.go | 63 +- compute/v0.alpha/compute-api.json | 121 +- compute/v0.alpha/compute-gen.go | 229 +++- compute/v1/compute-api.json | 8 +- compute/v1/compute-gen.go | 20 +- gmail/v1/gmail-api.json | 4 +- gmail/v1/gmail-gen.go | 4 +- integrations/v1alpha/integrations-api.json | 29 +- integrations/v1alpha/integrations-gen.go | 24 +- .../v1alpha1/playdeveloperreporting-api.json | 293 ++++- .../v1alpha1/playdeveloperreporting-gen.go | 1109 ++++++++++++++--- .../v1beta1/playdeveloperreporting-api.json | 293 ++++- .../v1beta1/playdeveloperreporting-gen.go | 1109 ++++++++++++++--- .../v1/recaptchaenterprise-api.json | 8 +- .../v1/recaptchaenterprise-gen.go | 21 +- storagetransfer/v1/storagetransfer-api.json | 12 +- storagetransfer/v1/storagetransfer-gen.go | 32 +- 24 files changed, 3352 insertions(+), 513 deletions(-) diff --git a/assuredworkloads/v1/assuredworkloads-api.json b/assuredworkloads/v1/assuredworkloads-api.json index 449505cd18d..54329e5cc0c 100644 --- a/assuredworkloads/v1/assuredworkloads-api.json +++ b/assuredworkloads/v1/assuredworkloads-api.json @@ -215,7 +215,7 @@ ] }, "delete": { - "description": "Deletes the workload. Make sure that workload's direct children are already in a deleted state, otherwise the request will fail with a FAILED_PRECONDITION error.", + "description": "Deletes the workload. Make sure that workload's direct children are already in a deleted state, otherwise the request will fail with a FAILED_PRECONDITION error. In addition to assuredworkloads.workload.delete permission, the user should also have orgpolicy.policy.set permission on the deleted folder to remove Assured Workloads OrgPolicies.", "flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/workloads/{workloadsId}", "httpMethod": "DELETE", "id": "assuredworkloads.organizations.locations.workloads.delete", @@ -254,7 +254,7 @@ ], "parameters": { "name": { - "description": "Required. The resource name of the Workload to fetch. This is the workload's relative path in the API, formatted as \"organizations/{organization_id}/locations/{location_id}/workloads/{workload_id}\". For example, \"organizations/123/locations/us-east1/workloads/assured-workload-1\".", + "description": "Required. The resource name of the Workload to fetch. This is the workloads's relative path in the API, formatted as \"organizations/{organization_id}/locations/{location_id}/workloads/{workload_id}\". For example, \"organizations/123/locations/us-east1/workloads/assured-workload-1\".", "location": "path", "pattern": "^organizations/[^/]+/locations/[^/]+/workloads/[^/]+$", "required": true, @@ -519,7 +519,7 @@ } } }, - "revision": "20230420", + "revision": "20230512", "rootUrl": "https://assuredworkloads.googleapis.com/", "schemas": { "GoogleCloudAssuredworkloadsV1AcknowledgeViolationRequest": { @@ -580,8 +580,8 @@ "Assured Workloads For Canada Regions and Support controls", "International Traffic in Arms Regulations", "Assured Workloads for Australia Regions and Support controls Available for public preview consumption. Don't create production workloads.", - "Assured Workloads for Partners", - "Assured Workloads for Israel Regions", + "Assured Workloads for Partners;", + "Assured Workloads for Israel", "Assured Workloads for Israel Regions", "Assured Workloads for Canada Protected B regime" ], @@ -640,7 +640,7 @@ "type": "object" }, "GoogleCloudAssuredworkloadsV1MutatePartnerPermissionsRequest": { - "description": "Request of updating permission settings for a partner workload.", + "description": "Request for updating permission settings for a partner workload.", "id": "GoogleCloudAssuredworkloadsV1MutatePartnerPermissionsRequest", "properties": { "etag": { @@ -675,7 +675,7 @@ "Unknown restriction type.", "Allow the use all of all gcp products, irrespective of the compliance posture. This effectively removes gcp.restrictServiceUsage OrgPolicy on the AssuredWorkloads Folder.", "Based on Workload's compliance regime, allowed list changes. See - https://cloud.google.com/assured-workloads/docs/supported-products for the list of supported resources.", - "Similar to ALLOW_COMPLIANT_RESOURCES but adds the list of compliant resources to the existing list of resources. Effective org-policy of the Folder is considered to ensure there is no disruption to the existing customer workflows." + "Similar to ALLOW_COMPLIANT_RESOURCES but adds the list of compliant resources to the existing list of compliant resources. Effective org-policy of the Folder is considered to ensure there is no disruption to the existing customer workflows." ], "type": "string" } @@ -928,8 +928,8 @@ "Assured Workloads For Canada Regions and Support controls", "International Traffic in Arms Regulations", "Assured Workloads for Australia Regions and Support controls Available for public preview consumption. Don't create production workloads.", - "Assured Workloads for Partners", - "Assured Workloads for Israel Regions", + "Assured Workloads for Partners;", + "Assured Workloads for Israel", "Assured Workloads for Israel Regions", "Assured Workloads for Canada Protected B regime" ], @@ -1018,6 +1018,10 @@ ], "type": "string" }, + "partnerPermissions": { + "$ref": "GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissions", + "description": "Optional. Permissions granted to the AW Partner SA account for the customer workload" + }, "provisionedResourcesParent": { "description": "Input only. The parent resource for the resources managed by this Assured Workload. May be either empty or a folder resource which is a child of the Workload parent. If not specified all resources are created under the parent organization. Format: folders/{folder_id}", "type": "string" @@ -1043,7 +1047,7 @@ "readOnly": true }, "violationNotificationsEnabled": { - "description": "Optional. Indicates whether the e-mail notification for a violation is enabled for a workload. This value will be by default True, and if not present will be considered as true. This should only be updated via updateWorkload call. Any Changes to this field during the createWorkload call will not be honored.", + "description": "Optional. Indicates whether the e-mail notification for a violation is enabled for a workload. This value will be by default True, and if not present will be considered as true. This should only be updated via updateWorkload call. Any Changes to this field during the createWorkload call will not be honored. This will always be true while creating the workload.", "type": "boolean" } }, @@ -1126,7 +1130,7 @@ "type": "object" }, "GoogleCloudAssuredworkloadsV1WorkloadKMSSettings": { - "description": "Settings specific to the Key Management Service. This message is deprecated. In order to create a Keyring, callers should specify, ENCRYPTION_KEYS_PROJECT or KEYRING in ResourceSettings.resource_type field.", + "description": "Settings specific to the Key Management Service.", "id": "GoogleCloudAssuredworkloadsV1WorkloadKMSSettings", "properties": { "nextRotationTime": { @@ -1153,10 +1157,6 @@ "remediateFolderViolations": { "description": "Allow partner to monitor folder and remediate violations", "type": "boolean" - }, - "serviceAccessApprover": { - "description": "Allow partner to approve or reject Service Access requests", - "type": "boolean" } }, "type": "object" @@ -1181,7 +1181,7 @@ ], "enumDescriptions": [ "Unknown resource type.", - "Consumer project. AssuredWorkloads Projects are no longer supported. This field will be ignored only in CreateWorkload requests. ListWorkloads and GetWorkload will continue to provide projects information. Use CONSUMER_FOLDER instead.", + "Deprecated. Existing workloads will continue to support this, but new CreateWorkloadRequests should not specify this as an input value.", "Consumer Folder.", "Consumer project containing encryption keys.", "Keyring resource that hosts encryption keys." @@ -1204,7 +1204,7 @@ "type": "string" }, "resourceType": { - "description": "Indicates the type of resource. This field should be specified to correspond the id to the right resource type (CONSUMER_FOLDER or ENCRYPTION_KEYS_PROJECT)", + "description": "Indicates the type of resource. This field should be specified to correspond the id to the right project type (CONSUMER_PROJECT or ENCRYPTION_KEYS_PROJECT)", "enum": [ "RESOURCE_TYPE_UNSPECIFIED", "CONSUMER_PROJECT", @@ -1214,7 +1214,7 @@ ], "enumDescriptions": [ "Unknown resource type.", - "Consumer project. AssuredWorkloads Projects are no longer supported. This field will be ignored only in CreateWorkload requests. ListWorkloads and GetWorkload will continue to provide projects information. Use CONSUMER_FOLDER instead.", + "Deprecated. Existing workloads will continue to support this, but new CreateWorkloadRequests should not specify this as an input value.", "Consumer Folder.", "Consumer project containing encryption keys.", "Keyring resource that hosts encryption keys." diff --git a/assuredworkloads/v1/assuredworkloads-gen.go b/assuredworkloads/v1/assuredworkloads-gen.go index 4fe158b1563..12d8dc4ad1f 100644 --- a/assuredworkloads/v1/assuredworkloads-gen.go +++ b/assuredworkloads/v1/assuredworkloads-gen.go @@ -267,8 +267,8 @@ type GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata struct { // "AU_REGIONS_AND_US_SUPPORT" - Assured Workloads for Australia // Regions and Support controls Available for public preview // consumption. Don't create production workloads. - // "ASSURED_WORKLOADS_FOR_PARTNERS" - Assured Workloads for Partners - // "ISR_REGIONS" - Assured Workloads for Israel Regions + // "ASSURED_WORKLOADS_FOR_PARTNERS" - Assured Workloads for Partners; + // "ISR_REGIONS" - Assured Workloads for Israel // "ISR_REGIONS_AND_SUPPORT" - Assured Workloads for Israel Regions // "CA_PROTECTED_B" - Assured Workloads for Canada Protected B regime ComplianceRegime string `json:"complianceRegime,omitempty"` @@ -381,7 +381,7 @@ func (s *GoogleCloudAssuredworkloadsV1ListWorkloadsResponse) MarshalJSON() ([]by } // GoogleCloudAssuredworkloadsV1MutatePartnerPermissionsRequest: Request -// of updating permission settings for a partner workload. +// for updating permission settings for a partner workload. type GoogleCloudAssuredworkloadsV1MutatePartnerPermissionsRequest struct { // Etag: Optional. The etag of the workload. If this is provided, it // must match the server's etag. @@ -434,8 +434,8 @@ type GoogleCloudAssuredworkloadsV1RestrictAllowedResourcesRequest struct { // for the list of supported resources. // "APPEND_COMPLIANT_RESOURCES" - Similar to ALLOW_COMPLIANT_RESOURCES // but adds the list of compliant resources to the existing list of - // resources. Effective org-policy of the Folder is considered to ensure - // there is no disruption to the existing customer workflows. + // compliant resources. Effective org-policy of the Folder is considered + // to ensure there is no disruption to the existing customer workflows. RestrictionType string `json:"restrictionType,omitempty"` // ForceSendFields is a list of field names (e.g. "RestrictionType") to @@ -768,8 +768,8 @@ type GoogleCloudAssuredworkloadsV1Workload struct { // "AU_REGIONS_AND_US_SUPPORT" - Assured Workloads for Australia // Regions and Support controls Available for public preview // consumption. Don't create production workloads. - // "ASSURED_WORKLOADS_FOR_PARTNERS" - Assured Workloads for Partners - // "ISR_REGIONS" - Assured Workloads for Israel Regions + // "ASSURED_WORKLOADS_FOR_PARTNERS" - Assured Workloads for Partners; + // "ISR_REGIONS" - Assured Workloads for Israel // "ISR_REGIONS_AND_SUPPORT" - Assured Workloads for Israel Regions // "CA_PROTECTED_B" - Assured Workloads for Canada Protected B regime ComplianceRegime string `json:"complianceRegime,omitempty"` @@ -846,6 +846,10 @@ type GoogleCloudAssuredworkloadsV1Workload struct { // "SOVEREIGN_CONTROLS_BY_PSN" - Enum representing PSN (TIM) partner. Partner string `json:"partner,omitempty"` + // PartnerPermissions: Optional. Permissions granted to the AW Partner + // SA account for the customer workload + PartnerPermissions *GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissions `json:"partnerPermissions,omitempty"` + // ProvisionedResourcesParent: Input only. The parent resource for the // resources managed by this Assured Workload. May be either empty or a // folder resource which is a child of the Workload parent. If not @@ -876,7 +880,7 @@ type GoogleCloudAssuredworkloadsV1Workload struct { // will be by default True, and if not present will be considered as // true. This should only be updated via updateWorkload call. Any // Changes to this field during the createWorkload call will not be - // honored. + // honored. This will always be true while creating the workload. ViolationNotificationsEnabled bool `json:"violationNotificationsEnabled,omitempty"` // ServerResponse contains the HTTP response code and headers from the @@ -1013,9 +1017,7 @@ func (s *GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponse) MarshalJS } // GoogleCloudAssuredworkloadsV1WorkloadKMSSettings: Settings specific -// to the Key Management Service. This message is deprecated. In order -// to create a Keyring, callers should specify, ENCRYPTION_KEYS_PROJECT -// or KEYRING in ResourceSettings.resource_type field. +// to the Key Management Service. type GoogleCloudAssuredworkloadsV1WorkloadKMSSettings struct { // NextRotationTime: Required. Input only. Immutable. The time at which // the Key Management Service will automatically create a new version of @@ -1063,10 +1065,6 @@ type GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissions struct { // remediate violations RemediateFolderViolations bool `json:"remediateFolderViolations,omitempty"` - // ServiceAccessApprover: Allow partner to approve or reject Service - // Access requests - ServiceAccessApprover bool `json:"serviceAccessApprover,omitempty"` - // ForceSendFields is a list of field names (e.g. "DataLogsViewer") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any @@ -1102,10 +1100,9 @@ type GoogleCloudAssuredworkloadsV1WorkloadResourceInfo struct { // // Possible values: // "RESOURCE_TYPE_UNSPECIFIED" - Unknown resource type. - // "CONSUMER_PROJECT" - Consumer project. AssuredWorkloads Projects - // are no longer supported. This field will be ignored only in - // CreateWorkload requests. ListWorkloads and GetWorkload will continue - // to provide projects information. Use CONSUMER_FOLDER instead. + // "CONSUMER_PROJECT" - Deprecated. Existing workloads will continue + // to support this, but new CreateWorkloadRequests should not specify + // this as an input value. // "CONSUMER_FOLDER" - Consumer Folder. // "ENCRYPTION_KEYS_PROJECT" - Consumer project containing encryption // keys. @@ -1149,15 +1146,14 @@ type GoogleCloudAssuredworkloadsV1WorkloadResourceSettings struct { ResourceId string `json:"resourceId,omitempty"` // ResourceType: Indicates the type of resource. This field should be - // specified to correspond the id to the right resource type - // (CONSUMER_FOLDER or ENCRYPTION_KEYS_PROJECT) + // specified to correspond the id to the right project type + // (CONSUMER_PROJECT or ENCRYPTION_KEYS_PROJECT) // // Possible values: // "RESOURCE_TYPE_UNSPECIFIED" - Unknown resource type. - // "CONSUMER_PROJECT" - Consumer project. AssuredWorkloads Projects - // are no longer supported. This field will be ignored only in - // CreateWorkload requests. ListWorkloads and GetWorkload will continue - // to provide projects information. Use CONSUMER_FOLDER instead. + // "CONSUMER_PROJECT" - Deprecated. Existing workloads will continue + // to support this, but new CreateWorkloadRequests should not specify + // this as an input value. // "CONSUMER_FOLDER" - Consumer Folder. // "ENCRYPTION_KEYS_PROJECT" - Consumer project containing encryption // keys. @@ -1915,7 +1911,10 @@ type OrganizationsLocationsWorkloadsDeleteCall struct { // Delete: Deletes the workload. Make sure that workload's direct // children are already in a deleted state, otherwise the request will -// fail with a FAILED_PRECONDITION error. +// fail with a FAILED_PRECONDITION error. In addition to +// assuredworkloads.workload.delete permission, the user should also +// have orgpolicy.policy.set permission on the deleted folder to remove +// Assured Workloads OrgPolicies. // // - name: The `name` field is used to identify the workload. Format: // organizations/{org_id}/locations/{location_id}/workloads/{workload_i @@ -2019,7 +2018,7 @@ func (c *OrganizationsLocationsWorkloadsDeleteCall) Do(opts ...googleapi.CallOpt } return ret, nil // { - // "description": "Deletes the workload. Make sure that workload's direct children are already in a deleted state, otherwise the request will fail with a FAILED_PRECONDITION error.", + // "description": "Deletes the workload. Make sure that workload's direct children are already in a deleted state, otherwise the request will fail with a FAILED_PRECONDITION error. In addition to assuredworkloads.workload.delete permission, the user should also have orgpolicy.policy.set permission on the deleted folder to remove Assured Workloads OrgPolicies.", // "flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/workloads/{workloadsId}", // "httpMethod": "DELETE", // "id": "assuredworkloads.organizations.locations.workloads.delete", @@ -2065,7 +2064,7 @@ type OrganizationsLocationsWorkloadsGetCall struct { // Get: Gets Assured Workload associated with a CRM Node // // - name: The resource name of the Workload to fetch. This is the -// workload's relative path in the API, formatted as +// workloads's relative path in the API, formatted as // "organizations/{organization_id}/locations/{location_id}/workloads/{ // workload_id}". For example, // "organizations/123/locations/us-east1/workloads/assured-workload-1". @@ -2184,7 +2183,7 @@ func (c *OrganizationsLocationsWorkloadsGetCall) Do(opts ...googleapi.CallOption // ], // "parameters": { // "name": { - // "description": "Required. The resource name of the Workload to fetch. This is the workload's relative path in the API, formatted as \"organizations/{organization_id}/locations/{location_id}/workloads/{workload_id}\". For example, \"organizations/123/locations/us-east1/workloads/assured-workload-1\".", + // "description": "Required. The resource name of the Workload to fetch. This is the workloads's relative path in the API, formatted as \"organizations/{organization_id}/locations/{location_id}/workloads/{workload_id}\". For example, \"organizations/123/locations/us-east1/workloads/assured-workload-1\".", // "location": "path", // "pattern": "^organizations/[^/]+/locations/[^/]+/workloads/[^/]+$", // "required": true, diff --git a/assuredworkloads/v1beta1/assuredworkloads-api.json b/assuredworkloads/v1beta1/assuredworkloads-api.json index 943524a9659..f258c5ff9d4 100644 --- a/assuredworkloads/v1beta1/assuredworkloads-api.json +++ b/assuredworkloads/v1beta1/assuredworkloads-api.json @@ -595,7 +595,7 @@ } } }, - "revision": "20230420", + "revision": "20230512", "rootUrl": "https://assuredworkloads.googleapis.com/", "schemas": { "GoogleCloudAssuredworkloadsV1beta1AcknowledgeViolationRequest": { @@ -633,6 +633,73 @@ }, "type": "object" }, + "GoogleCloudAssuredworkloadsV1beta1CreateWorkloadOperationMetadata": { + "description": "Operation metadata to give request details of CreateWorkload.", + "id": "GoogleCloudAssuredworkloadsV1beta1CreateWorkloadOperationMetadata", + "properties": { + "complianceRegime": { + "description": "Optional. Compliance controls that should be applied to the resources managed by the workload.", + "enum": [ + "COMPLIANCE_REGIME_UNSPECIFIED", + "IL4", + "CJIS", + "FEDRAMP_HIGH", + "FEDRAMP_MODERATE", + "US_REGIONAL_ACCESS", + "HIPAA", + "HITRUST", + "EU_REGIONS_AND_SUPPORT", + "CA_REGIONS_AND_SUPPORT", + "ITAR", + "AU_REGIONS_AND_US_SUPPORT", + "ASSURED_WORKLOADS_FOR_PARTNERS", + "ISR_REGIONS", + "ISR_REGIONS_AND_SUPPORT", + "CA_PROTECTED_B" + ], + "enumDescriptions": [ + "Unknown compliance regime.", + "Information protection as per DoD IL4 requirements.", + "Criminal Justice Information Services (CJIS) Security policies.", + "FedRAMP High data protection controls", + "FedRAMP Moderate data protection controls", + "Assured Workloads For US Regions data protection controls", + "Health Insurance Portability and Accountability Act controls", + "Health Information Trust Alliance controls", + "Assured Workloads For EU Regions and Support controls", + "Assured Workloads For Canada Regions and Support controls", + "International Traffic in Arms Regulations", + "Assured Workloads for Australia Regions and Support controls Available for public preview consumption. Don't create production workloads.", + "Assured Workloads for Partners;", + "Assured Workloads for Israel", + "Assured Workloads for Israel Regions", + "Assured Workloads for Canada Protected B regime" + ], + "type": "string" + }, + "createTime": { + "description": "Optional. Time when the operation was created.", + "format": "google-datetime", + "type": "string" + }, + "displayName": { + "description": "Optional. The display name of the workload.", + "type": "string" + }, + "parent": { + "description": "Optional. The parent of the workload.", + "type": "string" + }, + "resourceSettings": { + "description": "Optional. Resource properties in the input that are used for creating/customizing workload resources.", + "items": { + "$ref": "GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettings" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudAssuredworkloadsV1beta1ListViolationsResponse": { "description": "Response of ListViolations endpoint.", "id": "GoogleCloudAssuredworkloadsV1beta1ListViolationsResponse", @@ -1049,6 +1116,10 @@ ], "type": "string" }, + "partnerPermissions": { + "$ref": "GoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissions", + "description": "Optional. Permissions granted to the AW Partner SA account for the customer workload" + }, "provisionedResourcesParent": { "description": "Input only. The parent resource for the resources managed by this Assured Workload. May be either empty or a folder resource which is a child of the Workload parent. If not specified all resources are created under the parent organization. Format: folders/{folder_id}", "type": "string" @@ -1250,6 +1321,21 @@ }, "type": "object" }, + "GoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissions": { + "description": "Permissions granted to the AW Partner SA account for the customer workload", + "id": "GoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissions", + "properties": { + "dataLogsViewer": { + "description": "Allow the partner to view inspectability logs and monitoring violations.", + "type": "boolean" + }, + "remediateFolderViolations": { + "description": "Allow partner to monitor folder and remediate violations", + "type": "boolean" + } + }, + "type": "object" + }, "GoogleCloudAssuredworkloadsV1beta1WorkloadResourceInfo": { "description": "Represent the resources that are children of this Workload.", "id": "GoogleCloudAssuredworkloadsV1beta1WorkloadResourceInfo", diff --git a/assuredworkloads/v1beta1/assuredworkloads-gen.go b/assuredworkloads/v1beta1/assuredworkloads-gen.go index 5accdad4f9c..cf4f449edcd 100644 --- a/assuredworkloads/v1beta1/assuredworkloads-gen.go +++ b/assuredworkloads/v1beta1/assuredworkloads-gen.go @@ -361,6 +361,75 @@ func (s *GoogleCloudAssuredworkloadsV1beta1AnalyzeWorkloadMoveResponse) MarshalJ return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// GoogleCloudAssuredworkloadsV1beta1CreateWorkloadOperationMetadata: +// Operation metadata to give request details of CreateWorkload. +type GoogleCloudAssuredworkloadsV1beta1CreateWorkloadOperationMetadata struct { + // ComplianceRegime: Optional. Compliance controls that should be + // applied to the resources managed by the workload. + // + // Possible values: + // "COMPLIANCE_REGIME_UNSPECIFIED" - Unknown compliance regime. + // "IL4" - Information protection as per DoD IL4 requirements. + // "CJIS" - Criminal Justice Information Services (CJIS) Security + // policies. + // "FEDRAMP_HIGH" - FedRAMP High data protection controls + // "FEDRAMP_MODERATE" - FedRAMP Moderate data protection controls + // "US_REGIONAL_ACCESS" - Assured Workloads For US Regions data + // protection controls + // "HIPAA" - Health Insurance Portability and Accountability Act + // controls + // "HITRUST" - Health Information Trust Alliance controls + // "EU_REGIONS_AND_SUPPORT" - Assured Workloads For EU Regions and + // Support controls + // "CA_REGIONS_AND_SUPPORT" - Assured Workloads For Canada Regions and + // Support controls + // "ITAR" - International Traffic in Arms Regulations + // "AU_REGIONS_AND_US_SUPPORT" - Assured Workloads for Australia + // Regions and Support controls Available for public preview + // consumption. Don't create production workloads. + // "ASSURED_WORKLOADS_FOR_PARTNERS" - Assured Workloads for Partners; + // "ISR_REGIONS" - Assured Workloads for Israel + // "ISR_REGIONS_AND_SUPPORT" - Assured Workloads for Israel Regions + // "CA_PROTECTED_B" - Assured Workloads for Canada Protected B regime + ComplianceRegime string `json:"complianceRegime,omitempty"` + + // CreateTime: Optional. Time when the operation was created. + CreateTime string `json:"createTime,omitempty"` + + // DisplayName: Optional. The display name of the workload. + DisplayName string `json:"displayName,omitempty"` + + // Parent: Optional. The parent of the workload. + Parent string `json:"parent,omitempty"` + + // ResourceSettings: Optional. Resource properties in the input that are + // used for creating/customizing workload resources. + ResourceSettings []*GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettings `json:"resourceSettings,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ComplianceRegime") 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. "ComplianceRegime") 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 *GoogleCloudAssuredworkloadsV1beta1CreateWorkloadOperationMetadata) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudAssuredworkloadsV1beta1CreateWorkloadOperationMetadata + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // GoogleCloudAssuredworkloadsV1beta1ListViolationsResponse: Response of // ListViolations endpoint. type GoogleCloudAssuredworkloadsV1beta1ListViolationsResponse struct { @@ -884,6 +953,10 @@ type GoogleCloudAssuredworkloadsV1beta1Workload struct { // "SOVEREIGN_CONTROLS_BY_PSN" - Enum representing PSN (TIM) partner. Partner string `json:"partner,omitempty"` + // PartnerPermissions: Optional. Permissions granted to the AW Partner + // SA account for the customer workload + PartnerPermissions *GoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissions `json:"partnerPermissions,omitempty"` + // ProvisionedResourcesParent: Input only. The parent resource for the // resources managed by this Assured Workload. May be either empty or a // folder resource which is a child of the Workload parent. If not @@ -1272,6 +1345,42 @@ func (s *GoogleCloudAssuredworkloadsV1beta1WorkloadKMSSettings) MarshalJSON() ([ return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// GoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissions: +// Permissions granted to the AW Partner SA account for the customer +// workload +type GoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissions struct { + // DataLogsViewer: Allow the partner to view inspectability logs and + // monitoring violations. + DataLogsViewer bool `json:"dataLogsViewer,omitempty"` + + // RemediateFolderViolations: Allow partner to monitor folder and + // remediate violations + RemediateFolderViolations bool `json:"remediateFolderViolations,omitempty"` + + // ForceSendFields is a list of field names (e.g. "DataLogsViewer") 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. "DataLogsViewer") 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 *GoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissions) MarshalJSON() ([]byte, error) { + type NoMethod GoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissions + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // GoogleCloudAssuredworkloadsV1beta1WorkloadResourceInfo: Represent the // resources that are children of this Workload. type GoogleCloudAssuredworkloadsV1beta1WorkloadResourceInfo struct { diff --git a/chromemanagement/v1/chromemanagement-api.json b/chromemanagement/v1/chromemanagement-api.json index 3ee8e774170..a57bd950c11 100644 --- a/chromemanagement/v1/chromemanagement-api.json +++ b/chromemanagement/v1/chromemanagement-api.json @@ -794,7 +794,7 @@ } } }, - "revision": "20230507", + "revision": "20230516", "rootUrl": "https://chromemanagement.googleapis.com/", "schemas": { "GoogleChromeManagementV1AndroidAppInfo": { @@ -2031,6 +2031,34 @@ }, "type": "object" }, + "GoogleChromeManagementV1HeartbeatStatusReport": { + "description": "Heartbeat status report of a device. * Available for Kiosks * This field provides online/offline/unknown status of a device and will only be included if the status has changed (e.g. Online -\u003e Offline) * Data for this field is controlled via policy: [HeartbeatEnabled](https://chromeenterprise.google/policies/#HeartbeatEnabled) [More Info](https://support.google.com/chrome/a/answer/6179663#:~:text=On%20the%20Chrome,device%20status%20alerts) * Heartbeat Frequency: 2 mins * Note: If a device goes offline, it can take up to 12 minutes for the online status of the device to be updated * Cache: If the device is offline, the collected data is stored locally, and will be reported when the device is next online: N/A * Reported for affiliated users only: N/A * Granular permission needed: TELEMETRY_API_DEVICE_ACTIVITY_REPORT", + "id": "GoogleChromeManagementV1HeartbeatStatusReport", + "properties": { + "reportTime": { + "description": "Timestamp of when status changed was detected", + "format": "google-datetime", + "type": "string" + }, + "state": { + "description": "State the device changed to", + "enum": [ + "STATE_UNSPECIFIED", + "UNKNOWN", + "ONLINE", + "OFFLINE" + ], + "enumDescriptions": [ + "State not specified", + "Device is not eligible for heartbeat monitoring", + "Device is online", + "Device is offline" + ], + "type": "string" + } + }, + "type": "object" + }, "GoogleChromeManagementV1HttpsLatencyRoutineData": { "description": "Data that describes the result of the HTTPS latency diagnostics routine, with the HTTPS requests issued to Google websites.", "id": "GoogleChromeManagementV1HttpsLatencyRoutineData", @@ -2174,6 +2202,26 @@ }, "type": "object" }, + "GoogleChromeManagementV1KioskAppStatusReport": { + "description": "Kiosk app status report of a device. * Available for Kiosks * This field provides the app id and version number running on a kiosk device and the timestamp of when the report was last updated * Data for this field is controlled via policy: [ReportDeviceSessionStatus](https://chromeenterprise.google/policies/#ReportDeviceSessionStatus) * Data Collection Frequency: Only at Upload * Default Data Reporting Frequency: 3 hours - Policy Controlled: Yes * Cache: If the device is offline, the collected data is stored locally, and will be reported when the device is next online: No * Reported for affiliated users only: N/A * Granular permission needed: TELEMETRY_API_APPS_REPORT", + "id": "GoogleChromeManagementV1KioskAppStatusReport", + "properties": { + "appId": { + "description": "App id of kiosk app for example \"mdmkkicfmmkgmpkmkdikhlbggogpicma\"", + "type": "string" + }, + "appVersion": { + "description": "App version number of kiosk app for example \"1.10.118\"", + "type": "string" + }, + "reportTime": { + "description": "Timestamp of when report was collected", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, "GoogleChromeManagementV1ListTelemetryDevicesResponse": { "id": "GoogleChromeManagementV1ListTelemetryDevicesResponse", "properties": { @@ -2699,6 +2747,22 @@ "readOnly": true, "type": "array" }, + "heartbeatStatusReport": { + "description": "Output only. Heartbeat status report containing timestamps periodically sorted in decreasing order of report_time", + "items": { + "$ref": "GoogleChromeManagementV1HeartbeatStatusReport" + }, + "readOnly": true, + "type": "array" + }, + "kioskAppStatusReport": { + "description": "Output only. Kiosk app status report for the kiosk device", + "items": { + "$ref": "GoogleChromeManagementV1KioskAppStatusReport" + }, + "readOnly": true, + "type": "array" + }, "memoryInfo": { "$ref": "GoogleChromeManagementV1MemoryInfo", "description": "Output only. Information regarding memory specs for the device.", diff --git a/chromemanagement/v1/chromemanagement-gen.go b/chromemanagement/v1/chromemanagement-gen.go index 72c73083039..4d632d0e637 100644 --- a/chromemanagement/v1/chromemanagement-gen.go +++ b/chromemanagement/v1/chromemanagement-gen.go @@ -1918,6 +1918,56 @@ func (s *GoogleChromeManagementV1GraphicsStatusReport) MarshalJSON() ([]byte, er return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// GoogleChromeManagementV1HeartbeatStatusReport: Heartbeat status +// report of a device. * Available for Kiosks * This field provides +// online/offline/unknown status of a device and will only be included +// if the status has changed (e.g. Online -> Offline) * Data for this +// field is controlled via policy: HeartbeatEnabled +// (https://chromeenterprise.google/policies/#HeartbeatEnabled) [More +// Info](https://support.google.com/chrome/a/answer/6179663#:~:text=On%20 +// the%20Chrome,device%20status%20alerts) * Heartbeat Frequency: 2 mins +// * Note: If a device goes offline, it can take up to 12 minutes for +// the online status of the device to be updated * Cache: If the device +// is offline, the collected data is stored locally, and will be +// reported when the device is next online: N/A * Reported for +// affiliated users only: N/A * Granular permission needed: +// TELEMETRY_API_DEVICE_ACTIVITY_REPORT +type GoogleChromeManagementV1HeartbeatStatusReport struct { + // ReportTime: Timestamp of when status changed was detected + ReportTime string `json:"reportTime,omitempty"` + + // State: State the device changed to + // + // Possible values: + // "STATE_UNSPECIFIED" - State not specified + // "UNKNOWN" - Device is not eligible for heartbeat monitoring + // "ONLINE" - Device is online + // "OFFLINE" - Device is offline + State string `json:"state,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ReportTime") 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. "ReportTime") 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 *GoogleChromeManagementV1HeartbeatStatusReport) MarshalJSON() ([]byte, error) { + type NoMethod GoogleChromeManagementV1HeartbeatStatusReport + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // GoogleChromeManagementV1HttpsLatencyRoutineData: Data that describes // the result of the HTTPS latency diagnostics routine, with the HTTPS // requests issued to Google websites. @@ -2051,6 +2101,51 @@ func (s *GoogleChromeManagementV1InstalledApp) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// GoogleChromeManagementV1KioskAppStatusReport: Kiosk app status report +// of a device. * Available for Kiosks * This field provides the app id +// and version number running on a kiosk device and the timestamp of +// when the report was last updated * Data for this field is controlled +// via policy: ReportDeviceSessionStatus +// (https://chromeenterprise.google/policies/#ReportDeviceSessionStatus) +// * Data Collection Frequency: Only at Upload * Default Data Reporting +// Frequency: 3 hours - Policy Controlled: Yes * Cache: If the device is +// offline, the collected data is stored locally, and will be reported +// when the device is next online: No * Reported for affiliated users +// only: N/A * Granular permission needed: TELEMETRY_API_APPS_REPORT +type GoogleChromeManagementV1KioskAppStatusReport struct { + // AppId: App id of kiosk app for example + // "mdmkkicfmmkgmpkmkdikhlbggogpicma" + AppId string `json:"appId,omitempty"` + + // AppVersion: App version number of kiosk app for example "1.10.118" + AppVersion string `json:"appVersion,omitempty"` + + // ReportTime: Timestamp of when report was collected + ReportTime string `json:"reportTime,omitempty"` + + // ForceSendFields is a list of field names (e.g. "AppId") 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. "AppId") 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 *GoogleChromeManagementV1KioskAppStatusReport) MarshalJSON() ([]byte, error) { + type NoMethod GoogleChromeManagementV1KioskAppStatusReport + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + type GoogleChromeManagementV1ListTelemetryDevicesResponse struct { // Devices: Telemetry devices returned in the response. Devices []*GoogleChromeManagementV1TelemetryDevice `json:"devices,omitempty"` @@ -2774,6 +2869,15 @@ type GoogleChromeManagementV1TelemetryDevice struct { // periodically. GraphicsStatusReport []*GoogleChromeManagementV1GraphicsStatusReport `json:"graphicsStatusReport,omitempty"` + // HeartbeatStatusReport: Output only. Heartbeat status report + // containing timestamps periodically sorted in decreasing order of + // report_time + HeartbeatStatusReport []*GoogleChromeManagementV1HeartbeatStatusReport `json:"heartbeatStatusReport,omitempty"` + + // KioskAppStatusReport: Output only. Kiosk app status report for the + // kiosk device + KioskAppStatusReport []*GoogleChromeManagementV1KioskAppStatusReport `json:"kioskAppStatusReport,omitempty"` + // MemoryInfo: Output only. Information regarding memory specs for the // device. MemoryInfo *GoogleChromeManagementV1MemoryInfo `json:"memoryInfo,omitempty"` diff --git a/cloudchannel/v1/cloudchannel-api.json b/cloudchannel/v1/cloudchannel-api.json index be7ce37f354..3965f6cf845 100644 --- a/cloudchannel/v1/cloudchannel-api.json +++ b/cloudchannel/v1/cloudchannel-api.json @@ -935,6 +935,11 @@ "customer" ], "parameters": { + "changeOfferPurchase.billingAccount": { + "description": "Optional. Resource name of the new target Billing Account. Provide this Billing Account when setting up billing for a trial subscription. Format: accounts/{account_id}/billing_accounts/{billing_account_id}. This field is only relevant for multi-currency accounts. It should be left empty for single currency accounts.", + "location": "query", + "type": "string" + }, "changeOfferPurchase.entitlement": { "description": "Required. Resource name of the entitlement. Format: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}", "location": "query", @@ -945,6 +950,11 @@ "location": "query", "type": "string" }, + "createEntitlementPurchase.billingAccount": { + "description": "Optional. Billing account that the result should be restricted to. Format: accounts/{account_id}/billing_accounts/{billing_account_id}.", + "location": "query", + "type": "string" + }, "createEntitlementPurchase.sku": { "description": "Required. SKU that the result should be restricted to. Format: products/{product_id}/skus/{sku_id}.", "location": "query", @@ -2086,7 +2096,7 @@ } } }, - "revision": "20230515", + "revision": "20230516", "rootUrl": "https://cloudchannel.googleapis.com/", "schemas": { "GoogleCloudChannelV1ActivateEntitlementRequest": { @@ -2188,6 +2198,10 @@ "description": "Request message for CloudChannelService.ChangeOffer.", "id": "GoogleCloudChannelV1ChangeOfferRequest", "properties": { + "billingAccount": { + "description": "Optional. The billing account resource name that is used to pay for this entitlement when setting up billing on a trial subscription. This field is only relevant for multi-currency accounts. It should be left empty for single currency accounts.", + "type": "string" + }, "offer": { "description": "Required. New Offer. Format: accounts/{account_id}/offers/{offer_id}.", "type": "string" @@ -3424,6 +3438,10 @@ "description": "Request message for CloudChannelService.ListTransferableOffers", "id": "GoogleCloudChannelV1ListTransferableOffersRequest", "properties": { + "billingAccount": { + "description": "Optional. The Billing Account to look up Offers for. Format: accounts/{account_id}/billing_accounts/{billing_account_id}. This field is only relevant for multi-currency accounts. It should be left empty for single currency accounts.", + "type": "string" + }, "cloudIdentityId": { "description": "Customer's Cloud Identity ID", "type": "string" @@ -3714,13 +3732,15 @@ "PARAMETER_TYPE_UNSPECIFIED", "INT64", "STRING", - "DOUBLE" + "DOUBLE", + "BOOLEAN" ], "enumDescriptions": [ "Not used.", "Int64 type.", "String type.", - "Double type." + "Double type.", + "Boolean type." ], "type": "string" } diff --git a/cloudchannel/v1/cloudchannel-gen.go b/cloudchannel/v1/cloudchannel-gen.go index a935d8e113e..2c48b44e08e 100644 --- a/cloudchannel/v1/cloudchannel-gen.go +++ b/cloudchannel/v1/cloudchannel-gen.go @@ -514,6 +514,12 @@ func (s *GoogleCloudChannelV1CancelEntitlementRequest) MarshalJSON() ([]byte, er // GoogleCloudChannelV1ChangeOfferRequest: Request message for // CloudChannelService.ChangeOffer. type GoogleCloudChannelV1ChangeOfferRequest struct { + // BillingAccount: Optional. The billing account resource name that is + // used to pay for this entitlement when setting up billing on a trial + // subscription. This field is only relevant for multi-currency + // accounts. It should be left empty for single currency accounts. + BillingAccount string `json:"billingAccount,omitempty"` + // Offer: Required. New Offer. Format: // accounts/{account_id}/offers/{offer_id}. Offer string `json:"offer,omitempty"` @@ -538,7 +544,7 @@ type GoogleCloudChannelV1ChangeOfferRequest struct { // UUID is not supported (`00000000-0000-0000-0000-000000000000`). RequestId string `json:"requestId,omitempty"` - // ForceSendFields is a list of field names (e.g. "Offer") to + // ForceSendFields is a list of field names (e.g. "BillingAccount") 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 @@ -546,12 +552,13 @@ type GoogleCloudChannelV1ChangeOfferRequest struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Offer") 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. "BillingAccount") 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:"-"` } @@ -2466,6 +2473,12 @@ func (s *GoogleCloudChannelV1ListSubscribersResponse) MarshalJSON() ([]byte, err // GoogleCloudChannelV1ListTransferableOffersRequest: Request message // for CloudChannelService.ListTransferableOffers type GoogleCloudChannelV1ListTransferableOffersRequest struct { + // BillingAccount: Optional. The Billing Account to look up Offers for. + // Format: accounts/{account_id}/billing_accounts/{billing_account_id}. + // This field is only relevant for multi-currency accounts. It should be + // left empty for single currency accounts. + BillingAccount string `json:"billingAccount,omitempty"` + // CloudIdentityId: Customer's Cloud Identity ID CloudIdentityId string `json:"cloudIdentityId,omitempty"` @@ -2491,7 +2504,7 @@ type GoogleCloudChannelV1ListTransferableOffersRequest struct { // Sku: Required. The SKU to look up Offers for. Sku string `json:"sku,omitempty"` - // ForceSendFields is a list of field names (e.g. "CloudIdentityId") to + // ForceSendFields is a list of field names (e.g. "BillingAccount") 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 @@ -2499,7 +2512,7 @@ type GoogleCloudChannelV1ListTransferableOffersRequest struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "CloudIdentityId") to + // NullFields is a list of field names (e.g. "BillingAccount") 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 @@ -2911,6 +2924,7 @@ type GoogleCloudChannelV1ParameterDefinition struct { // "INT64" - Int64 type. // "STRING" - String type. // "DOUBLE" - Double type. + // "BOOLEAN" - Boolean type. ParameterType string `json:"parameterType,omitempty"` // ForceSendFields is a list of field names (e.g. "AllowedValues") to @@ -10735,6 +10749,18 @@ func (r *AccountsCustomersService) ListPurchasableOffers(customer string) *Accou return c } +// ChangeOfferPurchaseBillingAccount sets the optional parameter +// "changeOfferPurchase.billingAccount": Resource name of the new target +// Billing Account. Provide this Billing Account when setting up billing +// for a trial subscription. Format: +// accounts/{account_id}/billing_accounts/{billing_account_id}. This +// field is only relevant for multi-currency accounts. It should be left +// empty for single currency accounts. +func (c *AccountsCustomersListPurchasableOffersCall) ChangeOfferPurchaseBillingAccount(changeOfferPurchaseBillingAccount string) *AccountsCustomersListPurchasableOffersCall { + c.urlParams_.Set("changeOfferPurchase.billingAccount", changeOfferPurchaseBillingAccount) + return c +} + // ChangeOfferPurchaseEntitlement sets the optional parameter // "changeOfferPurchase.entitlement": Required. Resource name of the // entitlement. Format: @@ -10754,6 +10780,15 @@ func (c *AccountsCustomersListPurchasableOffersCall) ChangeOfferPurchaseNewSku(c return c } +// CreateEntitlementPurchaseBillingAccount sets the optional parameter +// "createEntitlementPurchase.billingAccount": Billing account that the +// result should be restricted to. Format: +// accounts/{account_id}/billing_accounts/{billing_account_id}. +func (c *AccountsCustomersListPurchasableOffersCall) CreateEntitlementPurchaseBillingAccount(createEntitlementPurchaseBillingAccount string) *AccountsCustomersListPurchasableOffersCall { + c.urlParams_.Set("createEntitlementPurchase.billingAccount", createEntitlementPurchaseBillingAccount) + return c +} + // CreateEntitlementPurchaseSku sets the optional parameter // "createEntitlementPurchase.sku": Required. SKU that the result should // be restricted to. Format: products/{product_id}/skus/{sku_id}. @@ -10896,6 +10931,11 @@ func (c *AccountsCustomersListPurchasableOffersCall) Do(opts ...googleapi.CallOp // "customer" // ], // "parameters": { + // "changeOfferPurchase.billingAccount": { + // "description": "Optional. Resource name of the new target Billing Account. Provide this Billing Account when setting up billing for a trial subscription. Format: accounts/{account_id}/billing_accounts/{billing_account_id}. This field is only relevant for multi-currency accounts. It should be left empty for single currency accounts.", + // "location": "query", + // "type": "string" + // }, // "changeOfferPurchase.entitlement": { // "description": "Required. Resource name of the entitlement. Format: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}", // "location": "query", @@ -10906,6 +10946,11 @@ func (c *AccountsCustomersListPurchasableOffersCall) Do(opts ...googleapi.CallOp // "location": "query", // "type": "string" // }, + // "createEntitlementPurchase.billingAccount": { + // "description": "Optional. Billing account that the result should be restricted to. Format: accounts/{account_id}/billing_accounts/{billing_account_id}.", + // "location": "query", + // "type": "string" + // }, // "createEntitlementPurchase.sku": { // "description": "Required. SKU that the result should be restricted to. Format: products/{product_id}/skus/{sku_id}.", // "location": "query", diff --git a/compute/v0.alpha/compute-api.json b/compute/v0.alpha/compute-api.json index 88aab80e5ba..9cc3c55cff6 100644 --- a/compute/v0.alpha/compute-api.json +++ b/compute/v0.alpha/compute-api.json @@ -41427,7 +41427,7 @@ } } }, - "revision": "20230502", + "revision": "20230509", "rootUrl": "https://compute.googleapis.com/", "schemas": { "AWSV4Signature": { @@ -42909,7 +42909,7 @@ "type": "string" }, "enableConfidentialCompute": { - "description": "Whether this disk is using confidential compute mode. see go/confidential-mode-in-arcus for details.", + "description": "Whether this disk is using confidential compute mode.", "type": "boolean" }, "guestOsFeatures": { @@ -45986,6 +45986,10 @@ }, "type": "array" }, + "resourceStatus": { + "$ref": "CommitmentResourceStatus", + "description": "[Output Only] Status information for Commitment resource." + }, "resources": { "description": "A list of commitment amounts for particular resources. Note that VCPU and MEMORY resource commitments must occur together.", "items": { @@ -46317,6 +46321,43 @@ }, "type": "object" }, + "CommitmentResourceStatus": { + "description": "[Output Only] Contains output only fields.", + "id": "CommitmentResourceStatus", + "properties": { + "cancellationInformation": { + "$ref": "CommitmentResourceStatusCancellationInformation", + "description": "[Output Only] An optional, contains all the needed information of cancellation." + } + }, + "type": "object" + }, + "CommitmentResourceStatusCancellationInformation": { + "id": "CommitmentResourceStatusCancellationInformation", + "properties": { + "canceledCommitment": { + "$ref": "Money", + "description": "[Output Only] An optional, the amount of CUDs canceled so far in the last 365 days." + }, + "canceledCommitmentLastUpdatedTimestamp": { + "description": "[Output Only] An optional last update time of canceled_commitment. RFC3339 text format.", + "type": "string" + }, + "cancellationCap": { + "$ref": "Money", + "description": "[Output Only] An optional,the cancellation cap for how much commitments can be canceled in a rolling 365 per billing account." + }, + "cancellationFee": { + "$ref": "Money", + "description": "[Output Only] An optional, cancellation fee." + }, + "cancellationFeeExpirationTimestamp": { + "description": "[Output Only] An optional, cancellation fee expiration time. RFC3339 text format.", + "type": "string" + } + }, + "type": "object" + }, "CommitmentsScopedList": { "id": "CommitmentsScopedList", "properties": { @@ -46798,7 +46839,7 @@ "description": "Encrypts the disk using a customer-supplied encryption key or a customer-managed encryption key. Encryption keys do not protect access to metadata of the disk. After you encrypt a disk with a customer-supplied key, you must provide the same key if you use the disk later. For example, to create a disk snapshot, to create a disk image, to create a machine image, or to attach the disk to a virtual machine. After you encrypt a disk with a customer-managed key, the diskEncryptionKey.kmsKeyName is set to a key *version* name once the disk is created. The disk is encrypted with this version of the key. In the response, diskEncryptionKey.kmsKeyName appears in the following format: \"diskEncryptionKey.kmsKeyName\": \"projects/kms_project_id/locations/region/keyRings/ key_region/cryptoKeys/key /cryptoKeysVersions/version If you do not provide an encryption key when creating the disk, then the disk is encrypted using an automatically generated key and you don't need to provide a key to use the disk later." }, "enableConfidentialCompute": { - "description": "Whether this disk is using confidential compute mode. see go/confidential-mode-in-arcus for details.", + "description": "Whether this disk is using confidential compute mode.", "type": "boolean" }, "eraseWindowsVssSignature": { @@ -47425,6 +47466,11 @@ }, "description": "Key: disk, value: AsyncReplicationStatus message", "type": "object" + }, + "usedBytes": { + "description": "[Output Only] Space used by data stored in the disk (in bytes). Note that this field is set only when the disk is in a storage pool.", + "format": "int64", + "type": "string" } }, "type": "object" @@ -54579,7 +54625,7 @@ "type": "string" }, "initialDelaySec": { - "description": "The number of seconds that the managed instance group waits before it applies autohealing policies to new instances or recently recreated instances. This initial delay allows instances to initialize and run their startup scripts before the instance group determines that they are UNHEALTHY. This prevents the managed instance group from recreating its instances prematurely. This value must be from range [0, 3600].", + "description": "The initial delay is the number of seconds that a new VM takes to initialize and run its startup script. During a VM's initial delay period, the MIG ignores unsuccessful health checks because the VM might be in the startup process. This prevents the MIG from prematurely recreating a VM. If the health check receives a healthy response during the initial delay, it indicates that the startup process is complete and the VM is ready. The value of initial delay must be between 0 and 3600 seconds. The default value is 0.", "format": "int32", "type": "integer" }, @@ -61889,6 +61935,27 @@ }, "type": "object" }, + "Money": { + "description": "Represents an amount of money with its currency type.", + "id": "Money", + "properties": { + "currencyCode": { + "description": "The three-letter currency code defined in ISO 4217.", + "type": "string" + }, + "nanos": { + "description": "Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.", + "format": "int32", + "type": "integer" + }, + "units": { + "description": "The whole units of the amount. For example if `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, "MutualTls": { "description": "[Deprecated] Configuration for the mutual Tls mode for peer authentication. Configuration for the mutual Tls mode for peer authentication.", "id": "MutualTls", @@ -75617,9 +75684,11 @@ "jsonParsing": { "enum": [ "DISABLED", - "STANDARD" + "STANDARD", + "STANDARD_WITH_GRAPHQL" ], "enumDescriptions": [ + "", "", "" ], @@ -76003,6 +76072,10 @@ "$ref": "Expr", "description": "User defined CEVAL expression. A CEVAL expression is used to specify match criteria such as origin.ip, source.region_code and contents in the request header. Expressions containing `evaluateThreatIntelligence` require Cloud Armor Managed Protection Plus tier and are not supported in Edge Policies nor in Regional Policies. Expressions containing `evaluatePreconfiguredExpr('sourceiplist-*')` require Cloud Armor Managed Protection Plus tier and are only supported in Global Security Policies." }, + "exprOptions": { + "$ref": "SecurityPolicyRuleMatcherExprOptions", + "description": "The configuration options available when specifying a user defined CEVAL expression (i.e., 'expr')." + }, "versionedExpr": { "description": "Preconfigured versioned expression. If this field is specified, config must also be specified. Available preconfigured expressions along with their requirements are: SRC_IPS_V1 - must specify the corresponding src_ip_range field in config.", "enum": [ @@ -76086,6 +76159,36 @@ }, "type": "object" }, + "SecurityPolicyRuleMatcherExprOptions": { + "id": "SecurityPolicyRuleMatcherExprOptions", + "properties": { + "recaptchaOptions": { + "$ref": "SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions", + "description": "reCAPTCHA configuration options to be applied for the rule. If the rule does not evaluate reCAPTCHA tokens, this field will have no effect." + } + }, + "type": "object" + }, + "SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions": { + "id": "SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions", + "properties": { + "actionTokenSiteKeys": { + "description": "A list of site keys to be used during the validation of reCAPTCHA action-tokens. The provided site keys need to be created from reCAPTCHA API under the same project where the security policy is created.", + "items": { + "type": "string" + }, + "type": "array" + }, + "sessionTokenSiteKeys": { + "description": "A list of site keys to be used during the validation of reCAPTCHA session-tokens. The provided site keys need to be created from reCAPTCHA API under the same project where the security policy is created.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "SecurityPolicyRuleNetworkMatcher": { "description": "Represents a match condition that incoming network traffic is evaluated against.", "id": "SecurityPolicyRuleNetworkMatcher", @@ -76476,7 +76579,7 @@ "description": "The configuration needed to generate a signature for access to private storage buckets that support AWS's Signature Version 4 for authentication. Allowed only for INTERNET_IP_PORT and INTERNET_FQDN_PORT NEG backends." }, "clientTlsPolicy": { - "description": "Optional. A URL referring to a networksecurity.ClientTlsPolicy resource that describes how clients should authenticate with this service's backends. clientTlsPolicy only applies to a global BackendService with the loadBalancingScheme set to INTERNAL_SELF_MANAGED. If left blank, communications are not encrypted. Note: This field currently has no impact.", + "description": "Optional. A URL referring to a networksecurity.ClientTlsPolicy resource that describes how clients should authenticate with this service's backends. clientTlsPolicy only applies to a global BackendService with the loadBalancingScheme set to INTERNAL_SELF_MANAGED. If left blank, communications are not encrypted.", "type": "string" }, "clientTlsSettings": { @@ -76484,7 +76587,7 @@ "description": "[Deprecated] TLS Settings for the backend service." }, "subjectAltNames": { - "description": "Optional. A list of Subject Alternative Names (SANs) that the client verifies during a mutual TLS handshake with an server/endpoint for this BackendService. When the server presents its X.509 certificate to the client, the client inspects the certificate's subjectAltName field. If the field contains one of the specified values, the communication continues. Otherwise, it fails. This additional check enables the client to verify that the server is authorized to run the requested service. Note that the contents of the server certificate's subjectAltName field are configured by the Public Key Infrastructure which provisions server identities. Only applies to a global BackendService with loadBalancingScheme set to INTERNAL_SELF_MANAGED. Only applies when BackendService has an attached clientTlsPolicy with clientCertificate (mTLS mode). Note: This field currently has no impact.", + "description": "Optional. A list of Subject Alternative Names (SANs) that the client verifies during a mutual TLS handshake with an server/endpoint for this BackendService. When the server presents its X.509 certificate to the client, the client inspects the certificate's subjectAltName field. If the field contains one of the specified values, the communication continues. Otherwise, it fails. This additional check enables the client to verify that the server is authorized to run the requested service. Note that the contents of the server certificate's subjectAltName field are configured by the Public Key Infrastructure which provisions server identities. Only applies to a global BackendService with loadBalancingScheme set to INTERNAL_SELF_MANAGED. Only applies when BackendService has an attached clientTlsPolicy with clientCertificate (mTLS mode).", "items": { "type": "string" }, @@ -77135,7 +77238,7 @@ "type": "object" }, "SetCommonInstanceMetadataOperationMetadata": { - "description": "Encapsulates partial completion metadata for SetCommonInstanceMetadata. Will be propagated on Operation.metadata as per go/partial-completion-api-clean. See go/gce-aips/2822 for API council results.", + "description": "Encapsulates partial completion metadata for SetCommonInstanceMetadata. Will be propagated on Operation.metadata.", "id": "SetCommonInstanceMetadataOperationMetadata", "properties": { "clientOperationId": { @@ -77450,7 +77553,7 @@ "type": "string" }, "enableConfidentialCompute": { - "description": "Whether this snapshot is created from a confidential compute mode disk. see go/confidential-mode-in-arcus for details. [Output Only]: This field is not set by user, but from source disk.", + "description": "Whether this snapshot is created from a confidential compute mode disk. [Output Only]: This field is not set by user, but from source disk.", "type": "boolean" }, "guestFlush": { diff --git a/compute/v0.alpha/compute-gen.go b/compute/v0.alpha/compute-gen.go index f617145c531..3618af181e6 100644 --- a/compute/v0.alpha/compute-gen.go +++ b/compute/v0.alpha/compute-gen.go @@ -3612,7 +3612,7 @@ type AttachedDiskInitializeParams struct { DiskType string `json:"diskType,omitempty"` // EnableConfidentialCompute: Whether this disk is using confidential - // compute mode. see go/confidential-mode-in-arcus for details. + // compute mode. EnableConfidentialCompute bool `json:"enableConfidentialCompute,omitempty"` // GuestOsFeatures: A list of features to enable on the guest operating @@ -8674,6 +8674,10 @@ type Commitment struct { // Reservations: List of reservations in this commitment. Reservations []*Reservation `json:"reservations,omitempty"` + // ResourceStatus: [Output Only] Status information for Commitment + // resource. + ResourceStatus *CommitmentResourceStatus `json:"resourceStatus,omitempty"` + // Resources: A list of commitment amounts for particular resources. // Note that VCPU and MEMORY resource commitments must occur together. Resources []*ResourceCommitment `json:"resources,omitempty"` @@ -9141,6 +9145,82 @@ func (s *CommitmentListWarningData) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// CommitmentResourceStatus: [Output Only] Contains output only fields. +type CommitmentResourceStatus struct { + // CancellationInformation: [Output Only] An optional, contains all the + // needed information of cancellation. + CancellationInformation *CommitmentResourceStatusCancellationInformation `json:"cancellationInformation,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "CancellationInformation") 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. "CancellationInformation") + // 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 *CommitmentResourceStatus) MarshalJSON() ([]byte, error) { + type NoMethod CommitmentResourceStatus + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +type CommitmentResourceStatusCancellationInformation struct { + // CanceledCommitment: [Output Only] An optional, the amount of CUDs + // canceled so far in the last 365 days. + CanceledCommitment *Money `json:"canceledCommitment,omitempty"` + + // CanceledCommitmentLastUpdatedTimestamp: [Output Only] An optional + // last update time of canceled_commitment. RFC3339 text format. + CanceledCommitmentLastUpdatedTimestamp string `json:"canceledCommitmentLastUpdatedTimestamp,omitempty"` + + // CancellationCap: [Output Only] An optional,the cancellation cap for + // how much commitments can be canceled in a rolling 365 per billing + // account. + CancellationCap *Money `json:"cancellationCap,omitempty"` + + // CancellationFee: [Output Only] An optional, cancellation fee. + CancellationFee *Money `json:"cancellationFee,omitempty"` + + // CancellationFeeExpirationTimestamp: [Output Only] An optional, + // cancellation fee expiration time. RFC3339 text format. + CancellationFeeExpirationTimestamp string `json:"cancellationFeeExpirationTimestamp,omitempty"` + + // ForceSendFields is a list of field names (e.g. "CanceledCommitment") + // 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. "CanceledCommitment") 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 *CommitmentResourceStatusCancellationInformation) MarshalJSON() ([]byte, error) { + type NoMethod CommitmentResourceStatusCancellationInformation + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + type CommitmentsScopedList struct { // Commitments: [Output Only] A list of commitments contained in this // scope. @@ -9940,7 +10020,7 @@ type Disk struct { DiskEncryptionKey *CustomerEncryptionKey `json:"diskEncryptionKey,omitempty"` // EnableConfidentialCompute: Whether this disk is using confidential - // compute mode. see go/confidential-mode-in-arcus for details. + // compute mode. EnableConfidentialCompute bool `json:"enableConfidentialCompute,omitempty"` // EraseWindowsVssSignature: Specifies whether the disk restored from a @@ -10896,6 +10976,11 @@ type DiskResourceStatus struct { // AsyncSecondaryDisks: Key: disk, value: AsyncReplicationStatus message AsyncSecondaryDisks map[string]DiskResourceStatusAsyncReplicationStatus `json:"asyncSecondaryDisks,omitempty"` + // UsedBytes: [Output Only] Space used by data stored in the disk (in + // bytes). Note that this field is set only when the disk is in a + // storage pool. + UsedBytes int64 `json:"usedBytes,omitempty,string"` + // ForceSendFields is a list of field names (e.g. "AsyncPrimaryDisk") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any @@ -22208,13 +22293,14 @@ type InstanceGroupManagerAutoHealingPolicy struct { // HealthCheck: The URL for the health check that signals autohealing. HealthCheck string `json:"healthCheck,omitempty"` - // InitialDelaySec: The number of seconds that the managed instance - // group waits before it applies autohealing policies to new instances - // or recently recreated instances. This initial delay allows instances - // to initialize and run their startup scripts before the instance group - // determines that they are UNHEALTHY. This prevents the managed - // instance group from recreating its instances prematurely. This value - // must be from range [0, 3600]. + // InitialDelaySec: The initial delay is the number of seconds that a + // new VM takes to initialize and run its startup script. During a VM's + // initial delay period, the MIG ignores unsuccessful health checks + // because the VM might be in the startup process. This prevents the MIG + // from prematurely recreating a VM. If the health check receives a + // healthy response during the initial delay, it indicates that the + // startup process is complete and the VM is ready. The value of initial + // delay must be between 0 and 3600 seconds. The default value is 0. InitialDelaySec int64 `json:"initialDelaySec,omitempty"` // MaxUnavailable: Maximum number of instances that can be unavailable @@ -34059,6 +34145,46 @@ func (s *MetadataFilterLabelMatch) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// Money: Represents an amount of money with its currency type. +type Money struct { + // CurrencyCode: The three-letter currency code defined in ISO 4217. + CurrencyCode string `json:"currencyCode,omitempty"` + + // Nanos: Number of nano (10^-9) units of the amount. The value must be + // between -999,999,999 and +999,999,999 inclusive. If `units` is + // positive, `nanos` must be positive or zero. If `units` is zero, + // `nanos` can be positive, zero, or negative. If `units` is negative, + // `nanos` must be negative or zero. For example $-1.75 is represented + // as `units`=-1 and `nanos`=-750,000,000. + Nanos int64 `json:"nanos,omitempty"` + + // Units: The whole units of the amount. For example if `currencyCode` + // is "USD", then 1 unit is one US dollar. + Units int64 `json:"units,omitempty,string"` + + // ForceSendFields is a list of field names (e.g. "CurrencyCode") 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. "CurrencyCode") 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 *Money) MarshalJSON() ([]byte, error) { + type NoMethod Money + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // MutualTls: [Deprecated] Configuration for the mutual Tls mode for // peer authentication. Configuration for the mutual Tls mode for peer // authentication. @@ -55027,6 +55153,7 @@ type SecurityPolicyAdvancedOptionsConfig struct { // Possible values: // "DISABLED" // "STANDARD" + // "STANDARD_WITH_GRAPHQL" JsonParsing string `json:"jsonParsing,omitempty"` // Possible values: @@ -55690,6 +55817,10 @@ type SecurityPolicyRuleMatcher struct { // Security Policies. Expr *Expr `json:"expr,omitempty"` + // ExprOptions: The configuration options available when specifying a + // user defined CEVAL expression (i.e., 'expr'). + ExprOptions *SecurityPolicyRuleMatcherExprOptions `json:"exprOptions,omitempty"` + // VersionedExpr: Preconfigured versioned expression. If this field is // specified, config must also be specified. Available preconfigured // expressions along with their requirements are: SRC_IPS_V1 - must @@ -55842,6 +55973,73 @@ func (s *SecurityPolicyRuleMatcherConfigLayer4Config) MarshalJSON() ([]byte, err return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +type SecurityPolicyRuleMatcherExprOptions struct { + // RecaptchaOptions: reCAPTCHA configuration options to be applied for + // the rule. If the rule does not evaluate reCAPTCHA tokens, this field + // will have no effect. + RecaptchaOptions *SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions `json:"recaptchaOptions,omitempty"` + + // ForceSendFields is a list of field names (e.g. "RecaptchaOptions") 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. "RecaptchaOptions") 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 *SecurityPolicyRuleMatcherExprOptions) MarshalJSON() ([]byte, error) { + type NoMethod SecurityPolicyRuleMatcherExprOptions + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +type SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions struct { + // ActionTokenSiteKeys: A list of site keys to be used during the + // validation of reCAPTCHA action-tokens. The provided site keys need to + // be created from reCAPTCHA API under the same project where the + // security policy is created. + ActionTokenSiteKeys []string `json:"actionTokenSiteKeys,omitempty"` + + // SessionTokenSiteKeys: A list of site keys to be used during the + // validation of reCAPTCHA session-tokens. The provided site keys need + // to be created from reCAPTCHA API under the same project where the + // security policy is created. + SessionTokenSiteKeys []string `json:"sessionTokenSiteKeys,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ActionTokenSiteKeys") + // 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. "ActionTokenSiteKeys") 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 *SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions) MarshalJSON() ([]byte, error) { + type NoMethod SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // SecurityPolicyRuleNetworkMatcher: Represents a match condition that // incoming network traffic is evaluated against. type SecurityPolicyRuleNetworkMatcher struct { @@ -56419,7 +56617,7 @@ type SecuritySettings struct { // should authenticate with this service's backends. clientTlsPolicy // only applies to a global BackendService with the loadBalancingScheme // set to INTERNAL_SELF_MANAGED. If left blank, communications are not - // encrypted. Note: This field currently has no impact. + // encrypted. ClientTlsPolicy string `json:"clientTlsPolicy,omitempty"` // ClientTlsSettings: [Deprecated] TLS Settings for the backend service. @@ -56437,8 +56635,7 @@ type SecuritySettings struct { // Public Key Infrastructure which provisions server identities. Only // applies to a global BackendService with loadBalancingScheme set to // INTERNAL_SELF_MANAGED. Only applies when BackendService has an - // attached clientTlsPolicy with clientCertificate (mTLS mode). Note: - // This field currently has no impact. + // attached clientTlsPolicy with clientCertificate (mTLS mode). SubjectAltNames []string `json:"subjectAltNames,omitempty"` // ForceSendFields is a list of field names (e.g. "Authentication") to @@ -57468,8 +57665,7 @@ func (s *ServiceIntegrationSpecBackupDRSpec) MarshalJSON() ([]byte, error) { // SetCommonInstanceMetadataOperationMetadata: Encapsulates partial // completion metadata for SetCommonInstanceMetadata. Will be propagated -// on Operation.metadata as per go/partial-completion-api-clean. See -// go/gce-aips/2822 for API council results. +// on Operation.metadata. type SetCommonInstanceMetadataOperationMetadata struct { ClientOperationId string `json:"clientOperationId,omitempty"` @@ -58029,9 +58225,8 @@ type Snapshot struct { DownloadBytes int64 `json:"downloadBytes,omitempty,string"` // EnableConfidentialCompute: Whether this snapshot is created from a - // confidential compute mode disk. see go/confidential-mode-in-arcus for - // details. [Output Only]: This field is not set by user, but from - // source disk. + // confidential compute mode disk. [Output Only]: This field is not set + // by user, but from source disk. EnableConfidentialCompute bool `json:"enableConfidentialCompute,omitempty"` // GuestFlush: [Input Only] Whether to attempt an application consistent diff --git a/compute/v1/compute-api.json b/compute/v1/compute-api.json index e090d8c62e7..08a0e35f65a 100644 --- a/compute/v1/compute-api.json +++ b/compute/v1/compute-api.json @@ -33369,7 +33369,7 @@ } } }, - "revision": "20230502", + "revision": "20230509", "rootUrl": "https://compute.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -44538,7 +44538,7 @@ "type": "string" }, "initialDelaySec": { - "description": "The number of seconds that the managed instance group waits before it applies autohealing policies to new instances or recently recreated instances. This initial delay allows instances to initialize and run their startup scripts before the instance group determines that they are UNHEALTHY. This prevents the managed instance group from recreating its instances prematurely. This value must be from range [0, 3600].", + "description": "The initial delay is the number of seconds that a new VM takes to initialize and run its startup script. During a VM's initial delay period, the MIG ignores unsuccessful health checks because the VM might be in the startup process. This prevents the MIG from prematurely recreating a VM. If the health check receives a healthy response during the initial delay, it indicates that the startup process is complete and the VM is ready. The value of initial delay must be between 0 and 3600 seconds. The default value is 0.", "format": "int32", "type": "integer" } @@ -62183,11 +62183,11 @@ "id": "SecuritySettings", "properties": { "clientTlsPolicy": { - "description": "Optional. A URL referring to a networksecurity.ClientTlsPolicy resource that describes how clients should authenticate with this service's backends. clientTlsPolicy only applies to a global BackendService with the loadBalancingScheme set to INTERNAL_SELF_MANAGED. If left blank, communications are not encrypted. Note: This field currently has no impact.", + "description": "Optional. A URL referring to a networksecurity.ClientTlsPolicy resource that describes how clients should authenticate with this service's backends. clientTlsPolicy only applies to a global BackendService with the loadBalancingScheme set to INTERNAL_SELF_MANAGED. If left blank, communications are not encrypted.", "type": "string" }, "subjectAltNames": { - "description": "Optional. A list of Subject Alternative Names (SANs) that the client verifies during a mutual TLS handshake with an server/endpoint for this BackendService. When the server presents its X.509 certificate to the client, the client inspects the certificate's subjectAltName field. If the field contains one of the specified values, the communication continues. Otherwise, it fails. This additional check enables the client to verify that the server is authorized to run the requested service. Note that the contents of the server certificate's subjectAltName field are configured by the Public Key Infrastructure which provisions server identities. Only applies to a global BackendService with loadBalancingScheme set to INTERNAL_SELF_MANAGED. Only applies when BackendService has an attached clientTlsPolicy with clientCertificate (mTLS mode). Note: This field currently has no impact.", + "description": "Optional. A list of Subject Alternative Names (SANs) that the client verifies during a mutual TLS handshake with an server/endpoint for this BackendService. When the server presents its X.509 certificate to the client, the client inspects the certificate's subjectAltName field. If the field contains one of the specified values, the communication continues. Otherwise, it fails. This additional check enables the client to verify that the server is authorized to run the requested service. Note that the contents of the server certificate's subjectAltName field are configured by the Public Key Infrastructure which provisions server identities. Only applies to a global BackendService with loadBalancingScheme set to INTERNAL_SELF_MANAGED. Only applies when BackendService has an attached clientTlsPolicy with clientCertificate (mTLS mode).", "items": { "type": "string" }, diff --git a/compute/v1/compute-gen.go b/compute/v1/compute-gen.go index b7ece31c8c4..5e98b5690bf 100644 --- a/compute/v1/compute-gen.go +++ b/compute/v1/compute-gen.go @@ -19085,13 +19085,14 @@ type InstanceGroupManagerAutoHealingPolicy struct { // HealthCheck: The URL for the health check that signals autohealing. HealthCheck string `json:"healthCheck,omitempty"` - // InitialDelaySec: The number of seconds that the managed instance - // group waits before it applies autohealing policies to new instances - // or recently recreated instances. This initial delay allows instances - // to initialize and run their startup scripts before the instance group - // determines that they are UNHEALTHY. This prevents the managed - // instance group from recreating its instances prematurely. This value - // must be from range [0, 3600]. + // InitialDelaySec: The initial delay is the number of seconds that a + // new VM takes to initialize and run its startup script. During a VM's + // initial delay period, the MIG ignores unsuccessful health checks + // because the VM might be in the startup process. This prevents the MIG + // from prematurely recreating a VM. If the health check receives a + // healthy response during the initial delay, it indicates that the + // startup process is complete and the VM is ready. The value of initial + // delay must be between 0 and 3600 seconds. The default value is 0. InitialDelaySec int64 `json:"initialDelaySec,omitempty"` // ForceSendFields is a list of field names (e.g. "HealthCheck") to @@ -46562,7 +46563,7 @@ type SecuritySettings struct { // should authenticate with this service's backends. clientTlsPolicy // only applies to a global BackendService with the loadBalancingScheme // set to INTERNAL_SELF_MANAGED. If left blank, communications are not - // encrypted. Note: This field currently has no impact. + // encrypted. ClientTlsPolicy string `json:"clientTlsPolicy,omitempty"` // SubjectAltNames: Optional. A list of Subject Alternative Names (SANs) @@ -46577,8 +46578,7 @@ type SecuritySettings struct { // Public Key Infrastructure which provisions server identities. Only // applies to a global BackendService with loadBalancingScheme set to // INTERNAL_SELF_MANAGED. Only applies when BackendService has an - // attached clientTlsPolicy with clientCertificate (mTLS mode). Note: - // This field currently has no impact. + // attached clientTlsPolicy with clientCertificate (mTLS mode). SubjectAltNames []string `json:"subjectAltNames,omitempty"` // ForceSendFields is a list of field names (e.g. "ClientTlsPolicy") to diff --git a/gmail/v1/gmail-api.json b/gmail/v1/gmail-api.json index 0fc736804af..275c8408b3c 100644 --- a/gmail/v1/gmail-api.json +++ b/gmail/v1/gmail-api.json @@ -3077,7 +3077,7 @@ } } }, - "revision": "20230424", + "revision": "20230515", "rootUrl": "https://gmail.googleapis.com/", "schemas": { "AutoForwarding": { @@ -3162,7 +3162,7 @@ "type": "string" }, "primaryKeyPairId": { - "description": "If a key pair is associated, the identifier of the key pair, CseKeyPair.", + "description": "If a key pair is associated, the ID of the key pair, CseKeyPair.", "type": "string" } }, diff --git a/gmail/v1/gmail-gen.go b/gmail/v1/gmail-gen.go index 5bff02bc338..1b88cf4732a 100644 --- a/gmail/v1/gmail-gen.go +++ b/gmail/v1/gmail-gen.go @@ -503,8 +503,8 @@ type CseIdentity struct { // address must be the primary email address of the authenticated user. EmailAddress string `json:"emailAddress,omitempty"` - // PrimaryKeyPairId: If a key pair is associated, the identifier of the - // key pair, CseKeyPair. + // PrimaryKeyPairId: If a key pair is associated, the ID of the key + // pair, CseKeyPair. PrimaryKeyPairId string `json:"primaryKeyPairId,omitempty"` // ServerResponse contains the HTTP response code and headers from the diff --git a/integrations/v1alpha/integrations-api.json b/integrations/v1alpha/integrations-api.json index b44b812ee7e..cc8242209c2 100644 --- a/integrations/v1alpha/integrations-api.json +++ b/integrations/v1alpha/integrations-api.json @@ -3202,7 +3202,7 @@ } } }, - "revision": "20230502", + "revision": "20230509", "rootUrl": "https://integrations.googleapis.com/", "schemas": { "CrmlogErrorCode": { @@ -7934,6 +7934,25 @@ "description": "Required. Connector version on which the connection is created. The format is: projects/*/locations/*/providers/*/connectors/*/versions/* Only global location is supported for ConnectorVersion resource.", "type": "string" }, + "connectorVersionLaunchStage": { + "description": "Output only. Flag to mark the version indicating the launch stage.", + "enum": [ + "LAUNCH_STAGE_UNSPECIFIED", + "PREVIEW", + "GA", + "DEPRECATED", + "PRIVATE_PREVIEW" + ], + "enumDescriptions": [ + "LAUNCH_STAGE_UNSPECIFIED.", + "PREVIEW.", + "GA.", + "DEPRECATED.", + "PRIVATE_PREVIEW." + ], + "readOnly": true, + "type": "string" + }, "createTime": { "description": "Output only. Created time.", "format": "google-datetime", @@ -8004,7 +8023,7 @@ "readOnly": true }, "subscriptionType": { - "description": "Output only. This subscription type enum value states if the metrics should be sent for billing or not.", + "description": "Output only. This subscription type enum states the subscription type of the project.", "enum": [ "SUBSCRIPTION_TYPE_UNSPECIFIED", "PAY_G", @@ -8012,8 +8031,8 @@ ], "enumDescriptions": [ "Unspecified subscription type.", - "Metrics should be sent for billing for PayG type.", - "Metrics should not be sent for billing for Paid Subscription type." + "PayG subscription.", + "Paid Subscription." ], "readOnly": true, "type": "string" @@ -8059,7 +8078,7 @@ "Connection is being deleted.", "Connection is being updated.", "Connection is not running due to an error.", - "Connection is not running due to an auth error for the Oauth2 Auth Code based connector." + "Connection is not running because the authorization configuration is not complete." ], "type": "string" }, diff --git a/integrations/v1alpha/integrations-gen.go b/integrations/v1alpha/integrations-gen.go index 14895e54338..923523d6cff 100644 --- a/integrations/v1alpha/integrations-gen.go +++ b/integrations/v1alpha/integrations-gen.go @@ -6658,6 +6658,17 @@ type GoogleCloudConnectorsV1Connection struct { // global location is supported for ConnectorVersion resource. ConnectorVersion string `json:"connectorVersion,omitempty"` + // ConnectorVersionLaunchStage: Output only. Flag to mark the version + // indicating the launch stage. + // + // Possible values: + // "LAUNCH_STAGE_UNSPECIFIED" - LAUNCH_STAGE_UNSPECIFIED. + // "PREVIEW" - PREVIEW. + // "GA" - GA. + // "DEPRECATED" - DEPRECATED. + // "PRIVATE_PREVIEW" - PRIVATE_PREVIEW. + ConnectorVersionLaunchStage string `json:"connectorVersionLaunchStage,omitempty"` + // CreateTime: Output only. Created time. CreateTime string `json:"createTime,omitempty"` @@ -6713,14 +6724,13 @@ type GoogleCloudConnectorsV1Connection struct { // Status: Output only. Current status of the connection. Status *GoogleCloudConnectorsV1ConnectionStatus `json:"status,omitempty"` - // SubscriptionType: Output only. This subscription type enum value - // states if the metrics should be sent for billing or not. + // SubscriptionType: Output only. This subscription type enum states the + // subscription type of the project. // // Possible values: // "SUBSCRIPTION_TYPE_UNSPECIFIED" - Unspecified subscription type. - // "PAY_G" - Metrics should be sent for billing for PayG type. - // "PAID" - Metrics should not be sent for billing for Paid - // Subscription type. + // "PAY_G" - PayG subscription. + // "PAID" - Paid Subscription. SubscriptionType string `json:"subscriptionType,omitempty"` // Suspended: Optional. Suspended indicates if a user has suspended a @@ -6769,8 +6779,8 @@ type GoogleCloudConnectorsV1ConnectionStatus struct { // "DELETING" - Connection is being deleted. // "UPDATING" - Connection is being updated. // "ERROR" - Connection is not running due to an error. - // "AUTHORIZATION_REQUIRED" - Connection is not running due to an auth - // error for the Oauth2 Auth Code based connector. + // "AUTHORIZATION_REQUIRED" - Connection is not running because the + // authorization configuration is not complete. State string `json:"state,omitempty"` // Status: Status provides detailed information for the state. diff --git a/playdeveloperreporting/v1alpha1/playdeveloperreporting-api.json b/playdeveloperreporting/v1alpha1/playdeveloperreporting-api.json index 1c184874ef9..5a743184c82 100644 --- a/playdeveloperreporting/v1alpha1/playdeveloperreporting-api.json +++ b/playdeveloperreporting/v1alpha1/playdeveloperreporting-api.json @@ -150,6 +150,62 @@ } } }, + "apps": { + "methods": { + "fetchReleaseFilterOptions": { + "description": "Describes filtering options for releases.", + "flatPath": "v1alpha1/apps/{appsId}:fetchReleaseFilterOptions", + "httpMethod": "GET", + "id": "playdeveloperreporting.apps.fetchReleaseFilterOptions", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the resource, i.e. app the filtering options are for. Format: apps/{app}", + "location": "path", + "pattern": "^apps/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha1/{+name}:fetchReleaseFilterOptions", + "response": { + "$ref": "GooglePlayDeveloperReportingV1alpha1ReleaseFilterOptions" + }, + "scopes": [ + "https://www.googleapis.com/auth/playdeveloperreporting" + ] + }, + "search": { + "description": "Searches for Apps accessible by the user.", + "flatPath": "v1alpha1/apps:search", + "httpMethod": "GET", + "id": "playdeveloperreporting.apps.search", + "parameterOrder": [], + "parameters": { + "pageSize": { + "description": "The maximum number of apps to return. The service may return fewer than this value. If unspecified, at most 50 apps will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "A page token, received from a previous `SearchAccessibleApps` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `SearchAccessibleApps` must match the call that provided the page token.", + "location": "query", + "type": "string" + } + }, + "path": "v1alpha1/apps:search", + "response": { + "$ref": "GooglePlayDeveloperReportingV1alpha1SearchAccessibleAppsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/playdeveloperreporting" + ] + } + } + }, "vitals": { "resources": { "anrrate": { @@ -457,6 +513,11 @@ "location": "query", "type": "integer" }, + "orderBy": { + "description": "Specifies a field that will be used to order the results. ** Supported dimensions:** * `errorReportCount`: Orders issues by number of error reports. * `distinctUsers`: Orders issues by number of unique affected users. ** Supported operations:** * `asc` for ascending order. * `desc` for descending order. Format: A field and an operation, e.g., `errorReportCount desc` *Note:* currently only one field is supported at a time.", + "location": "query", + "type": "string" + }, "pageSize": { "description": "The maximum number of error issues to return. The service may return fewer than this value. If unspecified, at most 50 error issues will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", "format": "int32", @@ -880,7 +941,7 @@ } } }, - "revision": "20230509", + "revision": "20230516", "rootUrl": "https://playdeveloperreporting.googleapis.com/", "schemas": { "GooglePlayDeveloperReportingV1alpha1Anomaly": { @@ -914,7 +975,7 @@ "type": "object" }, "GooglePlayDeveloperReportingV1alpha1AnrRateMetricSet": { - "description": "Singleton resource representing the set of ANR (Application not responding) metrics. This metric set contains ANRs data combined with usage data to produce a normalized metric independent of user counts. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. Due to historical constraints, the only supported timezone is `America/Los_Angeles`. * HOURLY: metrics are aggregated in hourly intervals. The default and only supported timezone is `UTC`. **Supported metrics:** * `anrRate` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that experienced at least one ANR. * `anrRate7dUserWeighted` (`google.type.Decimal`): Rolling average value of `anrRate` in the last 7 days. The daily values are weighted by the count of distinct users for the day. Not supported in HOURLY granularity. * `anrRate28dUserWeighted` (`google.type.Decimal`): Rolling average value of `anrRate` in the last 28 days. The daily values are weighted by the count of distinct users for the day. Not supported in HOURLY granularity. * `userPerceivedAnrRate` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that experienced at least one user-perceived ANR. User-perceived ANRs are currently those of 'Input dispatching' type. * `userPerceivedAnrRate7dUserWeighted` (`google.type.Decimal`): Rolling average value of `userPerceivedAnrRate` in the last 7 days. The daily values are weighted by the count of distinct users for the day. Not supported in HOURLY granularity. * `userPerceivedAnrRate28dUserWeighted` (`google.type.Decimal`): Rolling average value of `userPerceivedAnrRate` in the last 28 days. The daily values are weighted by the count of distinct users for the day. * `distinctUsers` (`google.type.Decimal`): Count of distinct users in the aggregation period that were used as normalization value for the `anrRate` and `userPerceivedAnrRate` metrics. A user is counted in this metric if they used the app in the foreground during the aggregation period. Care must be taken not to aggregate this count further, as it may result in users being counted multiple times. The value is rounded to the nearest multiple of 10, 100, 1,000 or 1,000,000, depending on the magnitude of the value. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. * `deviceBrand` (string): unique identifier of the user's device brand. * `deviceType` (string): the type (also known as form factor) of the user's device. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi. **Required permissions**: to access this resource, the calling user needs the _View app information (read-only)_ permission for the app. **Related metric sets:** * vitals.errors contains unnormalized version (absolute counts) of crashes. * vitals.errors contains normalized metrics about crashes, another stability metric.", + "description": "Singleton resource representing the set of ANR (Application not responding) metrics. This metric set contains ANRs data combined with usage data to produce a normalized metric independent of user counts. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. Due to historical constraints, the only supported timezone is `America/Los_Angeles`. * HOURLY: metrics are aggregated in hourly intervals. The default and only supported timezone is `UTC`. **Supported metrics:** * `anrRate` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that experienced at least one ANR. * `anrRate7dUserWeighted` (`google.type.Decimal`): Rolling average value of `anrRate` in the last 7 days. The daily values are weighted by the count of distinct users for the day. Not supported in HOURLY granularity. * `anrRate28dUserWeighted` (`google.type.Decimal`): Rolling average value of `anrRate` in the last 28 days. The daily values are weighted by the count of distinct users for the day. Not supported in HOURLY granularity. * `userPerceivedAnrRate` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that experienced at least one user-perceived ANR. User-perceived ANRs are currently those of 'Input dispatching' type. * `userPerceivedAnrRate7dUserWeighted` (`google.type.Decimal`): Rolling average value of `userPerceivedAnrRate` in the last 7 days. The daily values are weighted by the count of distinct users for the day. Not supported in HOURLY granularity. * `userPerceivedAnrRate28dUserWeighted` (`google.type.Decimal`): Rolling average value of `userPerceivedAnrRate` in the last 28 days. The daily values are weighted by the count of distinct users for the day. * `distinctUsers` (`google.type.Decimal`): Count of distinct users in the aggregation period that were used as normalization value for the `anrRate` and `userPerceivedAnrRate` metrics. A user is counted in this metric if they used the app in the foreground during the aggregation period. Care must be taken not to aggregate this count further, as it may result in users being counted multiple times. The value is rounded to the nearest multiple of 10, 100, 1,000 or 1,000,000, depending on the magnitude of the value. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device, e.g., 26. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. The form of the identifier is 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND and device corresponds to Build.DEVICE, e.g., google/coral. * `deviceBrand` (string): unique identifier of the user's device brand, e.g., google. * `deviceType` (string): the type (also known as form factor) of the user's device, e.g., PHONE. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi. **Required permissions**: to access this resource, the calling user needs the _View app information (read-only)_ permission for the app. **Related metric sets:** * vitals.errors contains unnormalized version (absolute counts) of crashes. * vitals.errors contains normalized metrics about crashes, another stability metric.", "id": "GooglePlayDeveloperReportingV1alpha1AnrRateMetricSet", "properties": { "freshnessInfo": { @@ -928,8 +989,39 @@ }, "type": "object" }, + "GooglePlayDeveloperReportingV1alpha1App": { + "description": "A representation of an app in the Play Store.", + "id": "GooglePlayDeveloperReportingV1alpha1App", + "properties": { + "displayName": { + "description": "Title of the app. This is the latest title as set in the Play Console and may not yet have been reviewed, so might not match the Play Store. Example: `Google Maps`.", + "type": "string" + }, + "name": { + "description": "The resource name. Format: apps/{app}", + "type": "string" + }, + "packageName": { + "description": "Package name of the app. Example: `com.example.app123`.", + "type": "string" + } + }, + "type": "object" + }, + "GooglePlayDeveloperReportingV1alpha1AppVersion": { + "description": "Representations of an app version.", + "id": "GooglePlayDeveloperReportingV1alpha1AppVersion", + "properties": { + "versionCode": { + "description": "Numeric version code of the app version (set by the app's developer).", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, "GooglePlayDeveloperReportingV1alpha1CrashRateMetricSet": { - "description": "Singleton resource representing the set of crashrate metrics. This metric set contains crashes data combined with usage data to produce a normalized metric independent of user counts. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. Due to historical constraints, the only supported timezone is `America/Los_Angeles`. * HOURLY: metrics are aggregated in hourly intervals. The default and only supported timezone is `UTC`. **Supported metrics:** * `crashRate` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that experienced at least one crash. * `crashRate7dUserWeighted` (`google.type.Decimal`): Rolling average value of `crashRate` in the last 7 days. The daily values are weighted by the count of distinct users for the day. Not supported in HOURLY granularity. * `crashRate28dUserWeighted` (`google.type.Decimal`): Rolling average value of `crashRate` in the last 28 days. The daily values are weighted by the count of distinct users for the day. Not supported in HOURLY granularity. * `userPerceivedCrashRate` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that experienced at least one crash while they were actively using your app (a user-perceived crash). An app is considered to be in active use if it is displaying any activity or executing any foreground service. * `userPerceivedCrashRate7dUserWeighted` (`google.type.Decimal`): Rolling average value of `userPerceivedCrashRate` in the last 7 days. The daily values are weighted by the count of distinct users for the day. Not supported in HOURLY granularity. * `userPerceivedCrashRate28dUserWeighted` (`google.type.Decimal`): Rolling average value of `userPerceivedCrashRate` in the last 28 days. The daily values are weighted by the count of distinct users for the day. Not supported in HOURLY granularity. * `distinctUsers` (`google.type.Decimal`): Count of distinct users in the aggregation period that were used as normalization value for the `crashRate` and `userPerceivedCrashRate` metrics. A user is counted in this metric if they used the app actively during the aggregation period. An app is considered to be in active use if it is displaying any activity or executing any foreground service. Care must be taken not to aggregate this count further, as it may result in users being counted multiple times. The value is rounded to the nearest multiple of 10, 100, 1,000 or 1,000,000, depending on the magnitude of the value. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. * `deviceBrand` (string): unique identifier of the user's device brand. * `deviceType` (string): the type (also known as form factor) of the user's device. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi. **Required permissions**: to access this resource, the calling user needs the _View app information (read-only)_ permission for the app. **Related metric sets:** * vitals.errors contains unnormalized version (absolute counts) of crashes. * vitals.errors contains normalized metrics about ANRs, another stability metric.", + "description": "Singleton resource representing the set of crashrate metrics. This metric set contains crashes data combined with usage data to produce a normalized metric independent of user counts. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. Due to historical constraints, the only supported timezone is `America/Los_Angeles`. * HOURLY: metrics are aggregated in hourly intervals. The default and only supported timezone is `UTC`. **Supported metrics:** * `crashRate` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that experienced at least one crash. * `crashRate7dUserWeighted` (`google.type.Decimal`): Rolling average value of `crashRate` in the last 7 days. The daily values are weighted by the count of distinct users for the day. Not supported in HOURLY granularity. * `crashRate28dUserWeighted` (`google.type.Decimal`): Rolling average value of `crashRate` in the last 28 days. The daily values are weighted by the count of distinct users for the day. Not supported in HOURLY granularity. * `userPerceivedCrashRate` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that experienced at least one crash while they were actively using your app (a user-perceived crash). An app is considered to be in active use if it is displaying any activity or executing any foreground service. * `userPerceivedCrashRate7dUserWeighted` (`google.type.Decimal`): Rolling average value of `userPerceivedCrashRate` in the last 7 days. The daily values are weighted by the count of distinct users for the day. Not supported in HOURLY granularity. * `userPerceivedCrashRate28dUserWeighted` (`google.type.Decimal`): Rolling average value of `userPerceivedCrashRate` in the last 28 days. The daily values are weighted by the count of distinct users for the day. Not supported in HOURLY granularity. * `distinctUsers` (`google.type.Decimal`): Count of distinct users in the aggregation period that were used as normalization value for the `crashRate` and `userPerceivedCrashRate` metrics. A user is counted in this metric if they used the app actively during the aggregation period. An app is considered to be in active use if it is displaying any activity or executing any foreground service. Care must be taken not to aggregate this count further, as it may result in users being counted multiple times. The value is rounded to the nearest multiple of 10, 100, 1,000 or 1,000,000, depending on the magnitude of the value. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device, e.g., 26. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. The form of the identifier is 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND and device corresponds to Build.DEVICE, e.g., google/coral. * `deviceBrand` (string): unique identifier of the user's device brand, e.g., google. * `deviceType` (string): the type (also known as form factor) of the user's device, e.g., PHONE. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi. **Required permissions**: to access this resource, the calling user needs the _View app information (read-only)_ permission for the app. **Related metric sets:** * vitals.errors contains unnormalized version (absolute counts) of crashes. * vitals.errors contains normalized metrics about ANRs, another stability metric.", "id": "GooglePlayDeveloperReportingV1alpha1CrashRateMetricSet", "properties": { "freshnessInfo": { @@ -958,6 +1050,40 @@ }, "type": "object" }, + "GooglePlayDeveloperReportingV1alpha1DeviceId": { + "description": "Identifier of a device.", + "id": "GooglePlayDeveloperReportingV1alpha1DeviceId", + "properties": { + "buildBrand": { + "description": "Value of Build.BRAND.", + "type": "string" + }, + "buildDevice": { + "description": "Value of Build.DEVICE.", + "type": "string" + } + }, + "type": "object" + }, + "GooglePlayDeveloperReportingV1alpha1DeviceModelSummary": { + "description": "Summary of a device", + "id": "GooglePlayDeveloperReportingV1alpha1DeviceModelSummary", + "properties": { + "deviceId": { + "$ref": "GooglePlayDeveloperReportingV1alpha1DeviceId", + "description": "Identifier of the device." + }, + "deviceUri": { + "description": "Link to the device in Play Device Catalog.", + "type": "string" + }, + "marketingName": { + "description": "Display name of the device.", + "type": "string" + } + }, + "type": "object" + }, "GooglePlayDeveloperReportingV1alpha1DimensionValue": { "description": "Represents the value of a single dimension.", "id": "GooglePlayDeveloperReportingV1alpha1DimensionValue", @@ -983,7 +1109,7 @@ "type": "object" }, "GooglePlayDeveloperReportingV1alpha1ErrorCountMetricSet": { - "description": "Singleton resource representing the set of error report metrics. This metric set contains un-normalized error report counts. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. The default and only supported timezone is `America/Los_Angeles`. **Supported metrics:** * `errorReportCount` (`google.type.Decimal`): Absolute count of individual error reports that have been received for an app. * `distinctUsers` (`google.type.Decimal`): Count of distinct users for which reports have been received. Care must be taken not to aggregate this count further, as it may result in users being counted multiple times. This value is not rounded, however it may be an approximation. **Required dimension:** This dimension must be always specified in all requests in the `dimensions` field in query requests. * `reportType` (string): the type of error. The value should correspond to one of the possible values in ErrorType. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. * `deviceType` (string): identifier of the device's form factor, e.g., PHONE. * `issueId` (string): the id an error was assigned to. The value should correspond to the `{issue}` component of the issue name. * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi. **Required permissions**: to access this resource, the calling user needs the _View app information (read-only)_ permission for the app. **Related metric sets:** * vitals.errors.counts contains normalized metrics about Crashes, another stability metric. * vitals.errors.counts contains normalized metrics about ANRs, another stability metric.", + "description": "Singleton resource representing the set of error report metrics. This metric set contains un-normalized error report counts. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. The default and only supported timezone is `America/Los_Angeles`. **Supported metrics:** * `errorReportCount` (`google.type.Decimal`): Absolute count of individual error reports that have been received for an app. * `distinctUsers` (`google.type.Decimal`): Count of distinct users for which reports have been received. Care must be taken not to aggregate this count further, as it may result in users being counted multiple times. This value is not rounded, however it may be an approximation. **Required dimension:** This dimension must be always specified in all requests in the `dimensions` field in query requests. * `reportType` (string): the type of error. The value should correspond to one of the possible values in ErrorType. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device, e.g., 26. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. The form of the identifier is 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND and device corresponds to Build.DEVICE, e.g., google/coral. * `deviceType` (string): identifier of the device's form factor, e.g., PHONE. * `issueId` (string): the id an error was assigned to. The value should correspond to the `{issue}` component of the issue name. * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi. **Required permissions**: to access this resource, the calling user needs the _View app information (read-only)_ permission for the app. **Related metric sets:** * vitals.errors.counts contains normalized metrics about Crashes, another stability metric. * vitals.errors.counts contains normalized metrics about ANRs, another stability metric.", "id": "GooglePlayDeveloperReportingV1alpha1ErrorCountMetricSet", "properties": { "freshnessInfo": { @@ -1005,6 +1131,45 @@ "description": "Cause of the issue. Depending on the type this can be either: * APPLICATION_NOT_RESPONDING: the type of ANR that occurred, e.g., 'Input dispatching timed out'. * CRASH: for Java unhandled exception errors, the type of the innermost exception that was thrown, e.g., IllegalArgumentException. For signals in native code, the signal that was raised, e.g. SIGSEGV.", "type": "string" }, + "distinctUsers": { + "description": "An estimate of the number of unique users who have experienced this issue (only considering occurrences matching the filters and within the requested time period).", + "format": "int64", + "type": "string" + }, + "distinctUsersPercent": { + "$ref": "GoogleTypeDecimal", + "description": "An estimated percentage of users affected by any issue that are affected by this issue (only considering occurrences matching the filters and within the requested time period)." + }, + "errorReportCount": { + "description": "The total number of error reports in this issue (only considering occurrences matching the filters and within the requested time period).", + "format": "int64", + "type": "string" + }, + "firstAppVersion": { + "$ref": "GooglePlayDeveloperReportingV1alpha1AppVersion", + "description": "The earliest (inclusive) app version appearing in this ErrorIssue in the requested time period (only considering occurrences matching the filters)." + }, + "firstOsVersion": { + "$ref": "GooglePlayDeveloperReportingV1alpha1OsVersion", + "description": "The smallest OS version in which this error cluster has occurred in the requested time period (only considering occurrences matching the filters and within the requested time period)." + }, + "issueUri": { + "description": "Link to the issue in Android vitals in the Play Console.", + "type": "string" + }, + "lastAppVersion": { + "$ref": "GooglePlayDeveloperReportingV1alpha1AppVersion", + "description": "The latest (inclusive) app version appearing in this ErrorIssue in the requested time period (only considering occurrences matching the filters)." + }, + "lastErrorReportTime": { + "description": "Start of the hour during which the last error report in this issue occurred.", + "format": "google-datetime", + "type": "string" + }, + "lastOsVersion": { + "$ref": "GooglePlayDeveloperReportingV1alpha1OsVersion", + "description": "The latest OS version in which this error cluster has occurred in the requested time period (only considering occurrences matching the filters and within the requested time period)." + }, "location": { "description": "Location where the issue happened. Depending on the type this can be either: * APPLICATION_NOT_RESPONDING: the name of the activity or service that stopped responding. * CRASH: the likely method name that caused the error.", "type": "string" @@ -1034,6 +1199,15 @@ "description": "An error report received for an app. There reports are produced by the Android platform code when a (potentially fatal) error condition is detected. Identical reports from many users will be deduplicated and coalesced into a single ErrorReport. **Required permissions**: to access this resource, the calling user needs the _View app information (read-only)_ permission for the app.", "id": "GooglePlayDeveloperReportingV1alpha1ErrorReport", "properties": { + "deviceModel": { + "$ref": "GooglePlayDeveloperReportingV1alpha1DeviceModelSummary", + "description": "A device model on which an event in this error report occurred on." + }, + "eventTime": { + "description": "Start of the hour during which the latest event in this error report occurred.", + "format": "google-datetime", + "type": "string" + }, "issue": { "description": "The issue this report was associated with. **Please note:** this resource is currently in Alpha. There could be changes to the issue grouping that would result in similar but more recent error reports being assigned to a different issue.", "type": "string" @@ -1042,6 +1216,10 @@ "description": "The resource name of the report. Format: apps/{app}/errorReports/{report}", "type": "string" }, + "osVersion": { + "$ref": "GooglePlayDeveloperReportingV1alpha1OsVersion", + "description": "The OS version on which an event in this error report occurred on." + }, "reportText": { "description": "Textual representation of the error report. These textual reports are produced by the platform. The reports are then sanitized and filtered to remove any potentially sensitive information. Although their format is fairly stable, they are not entirely meant for machine consumption and we cannot guarantee that there won't be subtle changes to the formatting that may break systems trying to parse information out of the reports.", "type": "string" @@ -1064,7 +1242,7 @@ "type": "object" }, "GooglePlayDeveloperReportingV1alpha1ExcessiveWakeupRateMetricSet": { - "description": "Singleton resource representing the set of Excessive Weakeups metrics. This metric set contains AlarmManager wakeup counts data combined with process state data to produce a normalized metric independent of user counts. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. Due to historical constraints, the only supported timezone is `America/Los_Angeles`. **Supported metrics:** * `excessiveWakeupRate` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that had more than 10 wakeups per hour. * `excessiveWakeupRate7dUserWeighted` (`google.type.Decimal`): Rolling average value of `excessiveWakeupRate` in the last 7 days. The daily values are weighted by the count of distinct users for the day. * `excessiveWakeupRate28dUserWeighted` (`google.type.Decimal`): Rolling average value of `excessiveWakeupRate` in the last 28 days. The daily values are weighted by the count of distinct users for the day. * `distinctUsers` (`google.type.Decimal`): Count of distinct users in the aggregation period that were used as normalization value for the `excessiveWakeupRate` metric. A user is counted in this metric if they app was doing any work on the device, i.e., not just active foreground usage but also background work. Care must be taken not to aggregate this count further, as it may result in users being counted multiple times. The value is rounded to the nearest multiple of 10, 100, 1,000 or 1,000,000, depending on the magnitude of the value. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. * `deviceBrand` (string): unique identifier of the user's device brand. * `deviceType` (string): the type (also known as form factor) of the user's device. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi. **Required permissions**: to access this resource, the calling user needs the _View app information (read-only)_ permission for the app.", + "description": "Singleton resource representing the set of Excessive Weakeups metrics. This metric set contains AlarmManager wakeup counts data combined with process state data to produce a normalized metric independent of user counts. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. Due to historical constraints, the only supported timezone is `America/Los_Angeles`. **Supported metrics:** * `excessiveWakeupRate` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that had more than 10 wakeups per hour. * `excessiveWakeupRate7dUserWeighted` (`google.type.Decimal`): Rolling average value of `excessiveWakeupRate` in the last 7 days. The daily values are weighted by the count of distinct users for the day. * `excessiveWakeupRate28dUserWeighted` (`google.type.Decimal`): Rolling average value of `excessiveWakeupRate` in the last 28 days. The daily values are weighted by the count of distinct users for the day. * `distinctUsers` (`google.type.Decimal`): Count of distinct users in the aggregation period that were used as normalization value for the `excessiveWakeupRate` metric. A user is counted in this metric if they app was doing any work on the device, i.e., not just active foreground usage but also background work. Care must be taken not to aggregate this count further, as it may result in users being counted multiple times. The value is rounded to the nearest multiple of 10, 100, 1,000 or 1,000,000, depending on the magnitude of the value. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device, e.g., 26. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. The form of the identifier is 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND and device corresponds to Build.DEVICE, e.g., google/coral. * `deviceBrand` (string): unique identifier of the user's device brand, e.g., google. * `deviceType` (string): the type (also known as form factor) of the user's device, e.g., PHONE. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi. **Required permissions**: to access this resource, the calling user needs the _View app information (read-only)_ permission for the app.", "id": "GooglePlayDeveloperReportingV1alpha1ExcessiveWakeupRateMetricSet", "properties": { "freshnessInfo": { @@ -1197,12 +1375,24 @@ }, "type": "object" }, + "GooglePlayDeveloperReportingV1alpha1OsVersion": { + "description": "Representation of an OS version.", + "id": "GooglePlayDeveloperReportingV1alpha1OsVersion", + "properties": { + "apiLevel": { + "description": "Numeric version code of the OS - API level", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, "GooglePlayDeveloperReportingV1alpha1QueryAnrRateMetricSetRequest": { "description": "Request message for QueryAnrRateMetricSet.", "id": "GooglePlayDeveloperReportingV1alpha1QueryAnrRateMetricSetRequest", "properties": { "dimensions": { - "description": "Dimensions to slice the metrics by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. * `deviceBrand` (string): unique identifier of the user's device brand. * `deviceType` (string): the type (also known as form factor) of the user's device. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi.", + "description": "Dimensions to slice the metrics by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device, e.g., 26. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. The form of the identifier is 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND and device corresponds to Build.DEVICE, e.g., google/coral. * `deviceBrand` (string): unique identifier of the user's device brand, e.g., google. * `deviceType` (string): the type (also known as form factor) of the user's device, e.g., PHONE. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi.", "items": { "type": "string" }, @@ -1274,7 +1464,7 @@ "id": "GooglePlayDeveloperReportingV1alpha1QueryCrashRateMetricSetRequest", "properties": { "dimensions": { - "description": "Dimensions to slice the metrics by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. * `deviceBrand` (string): unique identifier of the user's device brand. * `deviceType` (string): the type (also known as form factor) of the user's device. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi.", + "description": "Dimensions to slice the metrics by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device, e.g., 26. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. The form of the identifier is 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND and device corresponds to Build.DEVICE, e.g., google/coral. * `deviceBrand` (string): unique identifier of the user's device brand, e.g., google. * `deviceType` (string): the type (also known as form factor) of the user's device, e.g., PHONE. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi.", "items": { "type": "string" }, @@ -1346,7 +1536,7 @@ "id": "GooglePlayDeveloperReportingV1alpha1QueryErrorCountMetricSetRequest", "properties": { "dimensions": { - "description": "Dimensions to slice the data by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. * `deviceType` (string): identifier of the device's form factor, e.g., PHONE. * `reportType` (string): the type of error. The value should correspond to one of the possible values in ErrorType. * `isUserPerceived` (string): denotes whether error is user perceived or not, USER_PERCEIVED or NOT_USER_PERCEIVED. * `issueId` (string): the id an error was assigned to. The value should correspond to the `{issue}` component of the issue name. * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi.", + "description": "Dimensions to slice the data by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device, e.g., 26. * `versionCode` (int64): unique identifier of the user's device model. The form of the identifier is 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND and device corresponds to Build.DEVICE, e.g., google/coral. * `deviceModel` (string): unique identifier of the user's device model. * `deviceType` (string): identifier of the device's form factor, e.g., PHONE. * `reportType` (string): the type of error. The value should correspond to one of the possible values in ErrorType. * `isUserPerceived` (string): denotes whether error is user perceived or not, USER_PERCEIVED or NOT_USER_PERCEIVED. * `issueId` (string): the id an error was assigned to. The value should correspond to the `{issue}` component of the issue name. * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi.", "items": { "type": "string" }, @@ -1402,7 +1592,7 @@ "id": "GooglePlayDeveloperReportingV1alpha1QueryExcessiveWakeupRateMetricSetRequest", "properties": { "dimensions": { - "description": "Dimensions to slice the data by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. * `deviceBrand` (string): unique identifier of the user's device brand. * `deviceType` (string): the type (also known as form factor) of the user's device. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi.", + "description": "Dimensions to slice the data by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device, e.g., 26. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. The form of the identifier is 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND and device corresponds to Build.DEVICE, e.g., google/coral. * `deviceBrand` (string): unique identifier of the user's device brand, e.g., google. * `deviceType` (string): the type (also known as form factor) of the user's device, e.g., PHONE. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi.", "items": { "type": "string" }, @@ -1474,7 +1664,7 @@ "id": "GooglePlayDeveloperReportingV1alpha1QuerySlowRenderingRateMetricSetRequest", "properties": { "dimensions": { - "description": "Dimensions to slice the data by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. * `deviceBrand` (string): unique identifier of the user's device brand. * `deviceType` (string): the type (also known as form factor) of the user's device. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi.", + "description": "Dimensions to slice the data by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device, e.g., 26. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. The form of the identifier is 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND and device corresponds to Build.DEVICE, e.g., google/coral. * `deviceBrand` (string): unique identifier of the user's device brand, e.g., google. * `deviceType` (string): the type (also known as form factor) of the user's device, e.g., PHONE. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi.", "items": { "type": "string" }, @@ -1546,7 +1736,7 @@ "id": "GooglePlayDeveloperReportingV1alpha1QuerySlowStartRateMetricSetRequest", "properties": { "dimensions": { - "description": "Dimensions to slice the data by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. * `deviceBrand` (string): unique identifier of the user's device brand. * `deviceType` (string): the type (also known as form factor) of the user's device. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi.", + "description": "Dimensions to slice the data by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device, e.g., 26. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. The form of the identifier is 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND and device corresponds to Build.DEVICE, e.g., google/coral. * `deviceBrand` (string): unique identifier of the user's device brand, e.g., google. * `deviceType` (string): the type (also known as form factor) of the user's device, e.g., PHONE. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi.", "items": { "type": "string" }, @@ -1618,7 +1808,7 @@ "id": "GooglePlayDeveloperReportingV1alpha1QueryStuckBackgroundWakelockRateMetricSetRequest", "properties": { "dimensions": { - "description": "Dimensions to slice the data by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. * `deviceBrand` (string): unique identifier of the user's device brand. * `deviceType` (string): the type (also known as form factor) of the user's device. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi.", + "description": "Dimensions to slice the data by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device, e.g., 26. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. The form of the identifier is 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND and device corresponds to Build.DEVICE, e.g., google/coral. * `deviceBrand` (string): unique identifier of the user's device brand, e.g., google. * `deviceType` (string): the type (also known as form factor) of the user's device, e.g., PHONE. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi.", "items": { "type": "string" }, @@ -1685,6 +1875,57 @@ }, "type": "object" }, + "GooglePlayDeveloperReportingV1alpha1Release": { + "description": "A representation of an app release.", + "id": "GooglePlayDeveloperReportingV1alpha1Release", + "properties": { + "displayName": { + "description": "Readable identifier of the release.", + "type": "string" + }, + "versionCodes": { + "description": "The version codes contained in this release.", + "items": { + "format": "int64", + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "GooglePlayDeveloperReportingV1alpha1ReleaseFilterOptions": { + "description": "A set of filtering options for releases and version codes specific to an app.", + "id": "GooglePlayDeveloperReportingV1alpha1ReleaseFilterOptions", + "properties": { + "tracks": { + "description": "List of tracks to filter releases over. Provides the grouping of version codes under releases and tracks.", + "items": { + "$ref": "GooglePlayDeveloperReportingV1alpha1Track" + }, + "type": "array" + } + }, + "type": "object" + }, + "GooglePlayDeveloperReportingV1alpha1SearchAccessibleAppsResponse": { + "description": "Response message for SearchAccessibleApps.", + "id": "GooglePlayDeveloperReportingV1alpha1SearchAccessibleAppsResponse", + "properties": { + "apps": { + "description": "The apps accessible to the user calling the endpoint.", + "items": { + "$ref": "GooglePlayDeveloperReportingV1alpha1App" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", + "type": "string" + } + }, + "type": "object" + }, "GooglePlayDeveloperReportingV1alpha1SearchErrorIssuesResponse": { "description": "Response with a paginated list of issues that matched the request.", "id": "GooglePlayDeveloperReportingV1alpha1SearchErrorIssuesResponse", @@ -1722,7 +1963,7 @@ "type": "object" }, "GooglePlayDeveloperReportingV1alpha1SlowRenderingRateMetricSet": { - "description": "Singleton resource representing the set of Slow Rendering metrics. This metric set contains low-level rendering data captured by SurafeFlinger. Sessions are evaluated based on the present-to-present histogram of frames handled by any SurfaceFlinger layer owned by the app. A slow session is a session where more than 25% of frames for the session did not meet the metric's target frame rate (either 20fps, or 30fps). *NOTE:* This metric set is only available for games. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. Due to historical constraints, the only supported timezone is `America/Los_Angeles`. **Supported metrics:** * `slowRenderingRate20Fps` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that had slow rendering. * `slowRenderingRate20Fps7dUserWeighted` (`google.type.Decimal`): Rolling average value of `slowRenderingRate20Fps` in the last 7 days. The daily values are weighted by the count of distinct users for the day. * `slowRenderingRate20Fps28dUserWeighted` (`google.type.Decimal`): Rolling average value of `slowRenderingRate20Fps` in the last 28 days. The daily values are weighted by the count of distinct users for the day. * `slowRenderingRate30Fps` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that had slow rendering. * `slowRenderingRate30Fps7dUserWeighted` (`google.type.Decimal`): Rolling average value of `slowRenderingRate30Fps` in the last 7 days. The daily values are weighted by the count of distinct users for the day. * `slowRenderingRate30Fps28dUserWeighted` (`google.type.Decimal`): Rolling average value of `slowRenderingRate30Fps` in the last 28 days. The daily values are weighted by the count of distinct users for the day. * `distinctUsers` (`google.type.Decimal`): Count of distinct users in the aggregation period that were used as normalization value for the `slowRenderingRate20Fps`/`slowRenderingRate30Fps` metric. A user is counted in this metric if their app rendered any frames. Care must be taken not to aggregate this count further, as it may result in users being counted multiple times. The value is rounded to the nearest multiple of 10, 100, 1,000 or 1,000,000, depending on the magnitude of the value. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. * `deviceBrand` (string): unique identifier of the user's device brand. * `deviceType` (string): the type (also known as form factor) of the user's device. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi. **Required permissions**: to access this resource, the calling user needs the _View app information (read-only)_ permission for the app.", + "description": "Singleton resource representing the set of Slow Rendering metrics. This metric set contains low-level rendering data captured by SurafeFlinger. Sessions are evaluated based on the present-to-present histogram of frames handled by any SurfaceFlinger layer owned by the app. A slow session is a session where more than 25% of frames for the session did not meet the metric's target frame rate (either 20fps, or 30fps). *NOTE:* This metric set is only available for games. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. Due to historical constraints, the only supported timezone is `America/Los_Angeles`. **Supported metrics:** * `slowRenderingRate20Fps` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that had slow rendering. * `slowRenderingRate20Fps7dUserWeighted` (`google.type.Decimal`): Rolling average value of `slowRenderingRate20Fps` in the last 7 days. The daily values are weighted by the count of distinct users for the day. * `slowRenderingRate20Fps28dUserWeighted` (`google.type.Decimal`): Rolling average value of `slowRenderingRate20Fps` in the last 28 days. The daily values are weighted by the count of distinct users for the day. * `slowRenderingRate30Fps` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that had slow rendering. * `slowRenderingRate30Fps7dUserWeighted` (`google.type.Decimal`): Rolling average value of `slowRenderingRate30Fps` in the last 7 days. The daily values are weighted by the count of distinct users for the day. * `slowRenderingRate30Fps28dUserWeighted` (`google.type.Decimal`): Rolling average value of `slowRenderingRate30Fps` in the last 28 days. The daily values are weighted by the count of distinct users for the day. * `distinctUsers` (`google.type.Decimal`): Count of distinct users in the aggregation period that were used as normalization value for the `slowRenderingRate20Fps`/`slowRenderingRate30Fps` metric. A user is counted in this metric if their app rendered any frames. Care must be taken not to aggregate this count further, as it may result in users being counted multiple times. The value is rounded to the nearest multiple of 10, 100, 1,000 or 1,000,000, depending on the magnitude of the value. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device, e.g., 26. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. The form of the identifier is 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND and device corresponds to Build.DEVICE, e.g., google/coral. * `deviceBrand` (string): unique identifier of the user's device brand, e.g., google. * `deviceType` (string): the type (also known as form factor) of the user's device, e.g., PHONE. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi. **Required permissions**: to access this resource, the calling user needs the _View app information (read-only)_ permission for the app.", "id": "GooglePlayDeveloperReportingV1alpha1SlowRenderingRateMetricSet", "properties": { "freshnessInfo": { @@ -1737,7 +1978,7 @@ "type": "object" }, "GooglePlayDeveloperReportingV1alpha1SlowStartRateMetricSet": { - "description": "Singleton resource representing the set of Slow Start metrics. This metric set contains Activity start duration data. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. Due to historical constraints, the only supported timezone is `America/Los_Angeles`. **Supported metrics:** * `slowStartRate` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that had a slow start. * `slowStartRate7dUserWeighted` (`google.type.Decimal`): Rolling average value of `slowStartRate` in the last 7 days. The daily values are weighted by the count of distinct users for the day. * `slowStartRate28dUserWeighted` (`google.type.Decimal`): Rolling average value of `slowStartRate` in the last 28 days. The daily values are weighted by the count of distinct users for the day. * `distinctUsers` (`google.type.Decimal`): Count of distinct users in the aggregation period that were used as normalization value for the `slowStartRate` metric. A user is counted in this metric if their app was launched in the device. Care must be taken not to aggregate this count further, as it may result in users being counted multiple times. The value is rounded to the nearest multiple of 10, 100, 1,000 or 1,000,000, depending on the magnitude of the value. **Required dimension:** This dimension must be specified with each request for the request to be valid. * `startType` (string): the type of start that was measured. Valid types are `HOT`, `WARM` and `COLD`. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. * `deviceBrand` (string): unique identifier of the user's device brand. * `deviceType` (string): the type (also known as form factor) of the user's device. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi. **Required permissions**: to access this resource, the calling user needs the _View app information (read-only)_ permission for the app.", + "description": "Singleton resource representing the set of Slow Start metrics. This metric set contains Activity start duration data. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. Due to historical constraints, the only supported timezone is `America/Los_Angeles`. **Supported metrics:** * `slowStartRate` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that had a slow start. * `slowStartRate7dUserWeighted` (`google.type.Decimal`): Rolling average value of `slowStartRate` in the last 7 days. The daily values are weighted by the count of distinct users for the day. * `slowStartRate28dUserWeighted` (`google.type.Decimal`): Rolling average value of `slowStartRate` in the last 28 days. The daily values are weighted by the count of distinct users for the day. * `distinctUsers` (`google.type.Decimal`): Count of distinct users in the aggregation period that were used as normalization value for the `slowStartRate` metric. A user is counted in this metric if their app was launched in the device. Care must be taken not to aggregate this count further, as it may result in users being counted multiple times. The value is rounded to the nearest multiple of 10, 100, 1,000 or 1,000,000, depending on the magnitude of the value. **Required dimension:** This dimension must be specified with each request for the request to be valid. * `startType` (string): the type of start that was measured. Valid types are `HOT`, `WARM` and `COLD`. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device, e.g., 26. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. The form of the identifier is 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND and device corresponds to Build.DEVICE, e.g., google/coral. * `deviceBrand` (string): unique identifier of the user's device brand, e.g., google. * `deviceType` (string): the type (also known as form factor) of the user's device, e.g., PHONE. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi. **Required permissions**: to access this resource, the calling user needs the _View app information (read-only)_ permission for the app.", "id": "GooglePlayDeveloperReportingV1alpha1SlowStartRateMetricSet", "properties": { "freshnessInfo": { @@ -1752,7 +1993,7 @@ "type": "object" }, "GooglePlayDeveloperReportingV1alpha1StuckBackgroundWakelockRateMetricSet": { - "description": "Singleton resource representing the set of Stuck Background Wakelocks metrics. This metric set contains PowerManager wakelock duration data combined with process state data to produce a normalized metric independent of user counts. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. Due to historical constraints, the only supported timezone is `America/Los_Angeles`. **Supported metrics:** * `stuckBgWakelockRate` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that had a wakelock held in the background for longer than 1 hour. * `stuckBgWakelockRate7dUserWeighted` (`google.type.Decimal`): Rolling average value of `stuckBgWakelockRate` in the last 7 days. The daily values are weighted by the count of distinct users for the day. * `stuckBgWakelockRate28dUserWeighted` (`google.type.Decimal`): Rolling average value of `stuckBgWakelockRate` in the last 28 days. The daily values are weighted by the count of distinct users for the day. * `distinctUsers` (`google.type.Decimal`): Count of distinct users in the aggregation period that were used as normalization value for the `stuckBgWakelockRate` metric. A user is counted in this metric if their app was doing any work on the device, i.e., not just active foreground usage but also background work. Care must be taken not to aggregate this count further, as it may result in users being counted multiple times. The value is rounded to the nearest multiple of 10, 100, 1,000 or 1,000,000, depending on the magnitude of the value. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. * `deviceBrand` (string): unique identifier of the user's device brand. * `deviceType` (string): the type (also known as form factor) of the user's device. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi. **Required permissions**: to access this resource, the calling user needs the _View app information (read-only)_ permission for the app.", + "description": "Singleton resource representing the set of Stuck Background Wakelocks metrics. This metric set contains PowerManager wakelock duration data combined with process state data to produce a normalized metric independent of user counts. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. Due to historical constraints, the only supported timezone is `America/Los_Angeles`. **Supported metrics:** * `stuckBgWakelockRate` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that had a wakelock held in the background for longer than 1 hour. * `stuckBgWakelockRate7dUserWeighted` (`google.type.Decimal`): Rolling average value of `stuckBgWakelockRate` in the last 7 days. The daily values are weighted by the count of distinct users for the day. * `stuckBgWakelockRate28dUserWeighted` (`google.type.Decimal`): Rolling average value of `stuckBgWakelockRate` in the last 28 days. The daily values are weighted by the count of distinct users for the day. * `distinctUsers` (`google.type.Decimal`): Count of distinct users in the aggregation period that were used as normalization value for the `stuckBgWakelockRate` metric. A user is counted in this metric if their app was doing any work on the device, i.e., not just active foreground usage but also background work. Care must be taken not to aggregate this count further, as it may result in users being counted multiple times. The value is rounded to the nearest multiple of 10, 100, 1,000 or 1,000,000, depending on the magnitude of the value. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device, e.g., 26. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. The form of the identifier is 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND and device corresponds to Build.DEVICE, e.g., google/coral. * `deviceBrand` (string): unique identifier of the user's device brand, e.g., google. * `deviceType` (string): the type (also known as form factor) of the user's device, e.g., PHONE. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi. **Required permissions**: to access this resource, the calling user needs the _View app information (read-only)_ permission for the app.", "id": "GooglePlayDeveloperReportingV1alpha1StuckBackgroundWakelockRateMetricSet", "properties": { "freshnessInfo": { @@ -1797,6 +2038,28 @@ }, "type": "object" }, + "GooglePlayDeveloperReportingV1alpha1Track": { + "description": "A representation of a Play release track.", + "id": "GooglePlayDeveloperReportingV1alpha1Track", + "properties": { + "displayName": { + "description": "Readable identifier of the track.", + "type": "string" + }, + "servingReleases": { + "description": "Represents all active releases in the track.", + "items": { + "$ref": "GooglePlayDeveloperReportingV1alpha1Release" + }, + "type": "array" + }, + "type": { + "description": "The type of the track.", + "type": "string" + } + }, + "type": "object" + }, "GoogleTypeDateTime": { "description": "Represents civil time (or occasionally physical time). This type can represent a civil time in one of a few possible ways: * When utc_offset is set and time_zone is unset: a civil time on a calendar day with a particular offset from UTC. * When time_zone is set and utc_offset is unset: a civil time on a calendar day in a particular time zone. * When neither time_zone nor utc_offset is set: a civil time on a calendar day in local time. The date is relative to the Proleptic Gregorian Calendar. If year, month, or day are 0, the DateTime is considered not to have a specific year, month, or day respectively. This type may also be used to represent a physical time if all the date and time fields are set and either case of the `time_offset` oneof is set. Consider using `Timestamp` message for physical time instead. If your use case also would like to store the user's timezone, that can be done in another field. This type is more flexible than some applications may want. Make sure to document and validate your application's limitations.", "id": "GoogleTypeDateTime", diff --git a/playdeveloperreporting/v1alpha1/playdeveloperreporting-gen.go b/playdeveloperreporting/v1alpha1/playdeveloperreporting-gen.go index 8be47eef525..df1506504c7 100644 --- a/playdeveloperreporting/v1alpha1/playdeveloperreporting-gen.go +++ b/playdeveloperreporting/v1alpha1/playdeveloperreporting-gen.go @@ -120,6 +120,7 @@ func New(client *http.Client) (*Service, error) { } s := &Service{client: client, BasePath: basePath} s.Anomalies = NewAnomaliesService(s) + s.Apps = NewAppsService(s) s.Vitals = NewVitalsService(s) return s, nil } @@ -131,6 +132,8 @@ type Service struct { Anomalies *AnomaliesService + Apps *AppsService + Vitals *VitalsService } @@ -150,6 +153,15 @@ type AnomaliesService struct { s *Service } +func NewAppsService(s *Service) *AppsService { + rs := &AppsService{s: s} + return rs +} + +type AppsService struct { + s *Service +} + func NewVitalsService(s *Service) *VitalsService { rs := &VitalsService{s: s} rs.Anrrate = NewVitalsAnrrateService(s) @@ -371,17 +383,20 @@ func (s *GooglePlayDeveloperReportingV1alpha1Anomaly) MarshalJSON() ([]byte, err // times. The value is rounded to the nearest multiple of 10, 100, 1,000 // or 1,000,000, depending on the magnitude of the value. **Supported // dimensions:** * `apiLevel` (string): the API level of Android that -// was running on the user's device. * `versionCode` (int64): version of -// the app that was running on the user's device. * `deviceModel` -// (string): unique identifier of the user's device model. * -// `deviceBrand` (string): unique identifier of the user's device brand. -// * `deviceType` (string): the type (also known as form factor) of the -// user's device. * `countryCode` (string): the country or region of the -// user's device based on their IP address, represented as a 2-letter -// ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` -// (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * -// `deviceSocMake` (string): Make of the device's primary -// system-on-chip, e.g., Samsung. Reference +// was running on the user's device, e.g., 26. * `versionCode` (int64): +// version of the app that was running on the user's device. * +// `deviceModel` (string): unique identifier of the user's device model. +// The form of the identifier is 'deviceBrand/device', where deviceBrand +// corresponds to Build.BRAND and device corresponds to Build.DEVICE, +// e.g., google/coral. * `deviceBrand` (string): unique identifier of +// the user's device brand, e.g., google. * `deviceType` (string): the +// type (also known as form factor) of the user's device, e.g., PHONE. * +// `countryCode` (string): the country or region of the user's device +// based on their IP address, represented as a 2-letter ISO-3166 code +// (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of +// the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` +// (string): Make of the device's primary system-on-chip, e.g., Samsung. +// Reference // (https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) // * `deviceSocModel` (string): Model of the device's primary // system-on-chip, e.g., "Exynos 2100". Reference @@ -435,6 +450,73 @@ func (s *GooglePlayDeveloperReportingV1alpha1AnrRateMetricSet) MarshalJSON() ([] return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// GooglePlayDeveloperReportingV1alpha1App: A representation of an app +// in the Play Store. +type GooglePlayDeveloperReportingV1alpha1App struct { + // DisplayName: Title of the app. This is the latest title as set in the + // Play Console and may not yet have been reviewed, so might not match + // the Play Store. Example: `Google Maps`. + DisplayName string `json:"displayName,omitempty"` + + // Name: The resource name. Format: apps/{app} + Name string `json:"name,omitempty"` + + // PackageName: Package name of the app. Example: `com.example.app123`. + PackageName string `json:"packageName,omitempty"` + + // ForceSendFields is a list of field names (e.g. "DisplayName") 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. "DisplayName") 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 *GooglePlayDeveloperReportingV1alpha1App) MarshalJSON() ([]byte, error) { + type NoMethod GooglePlayDeveloperReportingV1alpha1App + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GooglePlayDeveloperReportingV1alpha1AppVersion: Representations of an +// app version. +type GooglePlayDeveloperReportingV1alpha1AppVersion struct { + // VersionCode: Numeric version code of the app version (set by the + // app's developer). + VersionCode int64 `json:"versionCode,omitempty,string"` + + // ForceSendFields is a list of field names (e.g. "VersionCode") 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. "VersionCode") 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 *GooglePlayDeveloperReportingV1alpha1AppVersion) MarshalJSON() ([]byte, error) { + type NoMethod GooglePlayDeveloperReportingV1alpha1AppVersion + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // GooglePlayDeveloperReportingV1alpha1CrashRateMetricSet: Singleton // resource representing the set of crashrate metrics. This metric set // contains crashes data combined with usage data to produce a @@ -476,17 +558,20 @@ func (s *GooglePlayDeveloperReportingV1alpha1AnrRateMetricSet) MarshalJSON() ([] // times. The value is rounded to the nearest multiple of 10, 100, 1,000 // or 1,000,000, depending on the magnitude of the value. **Supported // dimensions:** * `apiLevel` (string): the API level of Android that -// was running on the user's device. * `versionCode` (int64): version of -// the app that was running on the user's device. * `deviceModel` -// (string): unique identifier of the user's device model. * -// `deviceBrand` (string): unique identifier of the user's device brand. -// * `deviceType` (string): the type (also known as form factor) of the -// user's device. * `countryCode` (string): the country or region of the -// user's device based on their IP address, represented as a 2-letter -// ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` -// (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * -// `deviceSocMake` (string): Make of the device's primary -// system-on-chip, e.g., Samsung. Reference +// was running on the user's device, e.g., 26. * `versionCode` (int64): +// version of the app that was running on the user's device. * +// `deviceModel` (string): unique identifier of the user's device model. +// The form of the identifier is 'deviceBrand/device', where deviceBrand +// corresponds to Build.BRAND and device corresponds to Build.DEVICE, +// e.g., google/coral. * `deviceBrand` (string): unique identifier of +// the user's device brand, e.g., google. * `deviceType` (string): the +// type (also known as form factor) of the user's device, e.g., PHONE. * +// `countryCode` (string): the country or region of the user's device +// based on their IP address, represented as a 2-letter ISO-3166 code +// (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of +// the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` +// (string): Make of the device's primary system-on-chip, e.g., Samsung. +// Reference // (https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) // * `deviceSocModel` (string): Model of the device's primary // system-on-chip, e.g., "Exynos 2100". Reference @@ -572,6 +657,72 @@ func (s *GooglePlayDeveloperReportingV1alpha1DecimalConfidenceInterval) MarshalJ return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// GooglePlayDeveloperReportingV1alpha1DeviceId: Identifier of a device. +type GooglePlayDeveloperReportingV1alpha1DeviceId struct { + // BuildBrand: Value of Build.BRAND. + BuildBrand string `json:"buildBrand,omitempty"` + + // BuildDevice: Value of Build.DEVICE. + BuildDevice string `json:"buildDevice,omitempty"` + + // ForceSendFields is a list of field names (e.g. "BuildBrand") 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. "BuildBrand") 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 *GooglePlayDeveloperReportingV1alpha1DeviceId) MarshalJSON() ([]byte, error) { + type NoMethod GooglePlayDeveloperReportingV1alpha1DeviceId + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GooglePlayDeveloperReportingV1alpha1DeviceModelSummary: Summary of a +// device +type GooglePlayDeveloperReportingV1alpha1DeviceModelSummary struct { + // DeviceId: Identifier of the device. + DeviceId *GooglePlayDeveloperReportingV1alpha1DeviceId `json:"deviceId,omitempty"` + + // DeviceUri: Link to the device in Play Device Catalog. + DeviceUri string `json:"deviceUri,omitempty"` + + // MarketingName: Display name of the device. + MarketingName string `json:"marketingName,omitempty"` + + // ForceSendFields is a list of field names (e.g. "DeviceId") 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. "DeviceId") 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 *GooglePlayDeveloperReportingV1alpha1DeviceModelSummary) MarshalJSON() ([]byte, error) { + type NoMethod GooglePlayDeveloperReportingV1alpha1DeviceModelSummary + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // GooglePlayDeveloperReportingV1alpha1DimensionValue: Represents the // value of a single dimension. type GooglePlayDeveloperReportingV1alpha1DimensionValue struct { @@ -631,16 +782,18 @@ func (s *GooglePlayDeveloperReportingV1alpha1DimensionValue) MarshalJSON() ([]by // in the `dimensions` field in query requests. * `reportType` (string): // the type of error. The value should correspond to one of the possible // values in ErrorType. **Supported dimensions:** * `apiLevel` (string): -// the API level of Android that was running on the user's device. * -// `versionCode` (int64): version of the app that was running on the -// user's device. * `deviceModel` (string): unique identifier of the -// user's device model. * `deviceType` (string): identifier of the -// device's form factor, e.g., PHONE. * `issueId` (string): the id an -// error was assigned to. The value should correspond to the `{issue}` -// component of the issue name. * `deviceRamBucket` (int64): RAM of the -// device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` -// (string): Make of the device's primary system-on-chip, e.g., Samsung. -// Reference +// the API level of Android that was running on the user's device, e.g., +// 26. * `versionCode` (int64): version of the app that was running on +// the user's device. * `deviceModel` (string): unique identifier of the +// user's device model. The form of the identifier is +// 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND +// and device corresponds to Build.DEVICE, e.g., google/coral. * +// `deviceType` (string): identifier of the device's form factor, e.g., +// PHONE. * `issueId` (string): the id an error was assigned to. The +// value should correspond to the `{issue}` component of the issue name. +// * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets +// (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's +// primary system-on-chip, e.g., Samsung. Reference // (https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) // * `deviceSocModel` (string): Model of the device's primary // system-on-chip, e.g., "Exynos 2100". Reference @@ -713,6 +866,50 @@ type GooglePlayDeveloperReportingV1alpha1ErrorIssue struct { // was raised, e.g. SIGSEGV. Cause string `json:"cause,omitempty"` + // DistinctUsers: An estimate of the number of unique users who have + // experienced this issue (only considering occurrences matching the + // filters and within the requested time period). + DistinctUsers int64 `json:"distinctUsers,omitempty,string"` + + // DistinctUsersPercent: An estimated percentage of users affected by + // any issue that are affected by this issue (only considering + // occurrences matching the filters and within the requested time + // period). + DistinctUsersPercent *GoogleTypeDecimal `json:"distinctUsersPercent,omitempty"` + + // ErrorReportCount: The total number of error reports in this issue + // (only considering occurrences matching the filters and within the + // requested time period). + ErrorReportCount int64 `json:"errorReportCount,omitempty,string"` + + // FirstAppVersion: The earliest (inclusive) app version appearing in + // this ErrorIssue in the requested time period (only considering + // occurrences matching the filters). + FirstAppVersion *GooglePlayDeveloperReportingV1alpha1AppVersion `json:"firstAppVersion,omitempty"` + + // FirstOsVersion: The smallest OS version in which this error cluster + // has occurred in the requested time period (only considering + // occurrences matching the filters and within the requested time + // period). + FirstOsVersion *GooglePlayDeveloperReportingV1alpha1OsVersion `json:"firstOsVersion,omitempty"` + + // IssueUri: Link to the issue in Android vitals in the Play Console. + IssueUri string `json:"issueUri,omitempty"` + + // LastAppVersion: The latest (inclusive) app version appearing in this + // ErrorIssue in the requested time period (only considering occurrences + // matching the filters). + LastAppVersion *GooglePlayDeveloperReportingV1alpha1AppVersion `json:"lastAppVersion,omitempty"` + + // LastErrorReportTime: Start of the hour during which the last error + // report in this issue occurred. + LastErrorReportTime string `json:"lastErrorReportTime,omitempty"` + + // LastOsVersion: The latest OS version in which this error cluster has + // occurred in the requested time period (only considering occurrences + // matching the filters and within the requested time period). + LastOsVersion *GooglePlayDeveloperReportingV1alpha1OsVersion `json:"lastOsVersion,omitempty"` + // Location: Location where the issue happened. Depending on the type // this can be either: * APPLICATION_NOT_RESPONDING: the name of the // activity or service that stopped responding. * CRASH: the likely @@ -766,6 +963,14 @@ func (s *GooglePlayDeveloperReportingV1alpha1ErrorIssue) MarshalJSON() ([]byte, // resource, the calling user needs the _View app information // (read-only)_ permission for the app. type GooglePlayDeveloperReportingV1alpha1ErrorReport struct { + // DeviceModel: A device model on which an event in this error report + // occurred on. + DeviceModel *GooglePlayDeveloperReportingV1alpha1DeviceModelSummary `json:"deviceModel,omitempty"` + + // EventTime: Start of the hour during which the latest event in this + // error report occurred. + EventTime string `json:"eventTime,omitempty"` + // Issue: The issue this report was associated with. **Please note:** // this resource is currently in Alpha. There could be changes to the // issue grouping that would result in similar but more recent error @@ -776,6 +981,10 @@ type GooglePlayDeveloperReportingV1alpha1ErrorReport struct { // apps/{app}/errorReports/{report} Name string `json:"name,omitempty"` + // OsVersion: The OS version on which an event in this error report + // occurred on. + OsVersion *GooglePlayDeveloperReportingV1alpha1OsVersion `json:"osVersion,omitempty"` + // ReportText: Textual representation of the error report. These textual // reports are produced by the platform. The reports are then sanitized // and filtered to remove any potentially sensitive information. @@ -797,7 +1006,7 @@ type GooglePlayDeveloperReportingV1alpha1ErrorReport struct { // SIGSEGV. Type string `json:"type,omitempty"` - // ForceSendFields is a list of field names (e.g. "Issue") to + // ForceSendFields is a list of field names (e.g. "DeviceModel") 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 @@ -805,10 +1014,10 @@ type GooglePlayDeveloperReportingV1alpha1ErrorReport struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Issue") 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 + // NullFields is a list of field names (e.g. "DeviceModel") 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:"-"` @@ -845,17 +1054,20 @@ func (s *GooglePlayDeveloperReportingV1alpha1ErrorReport) MarshalJSON() ([]byte, // multiple times. The value is rounded to the nearest multiple of 10, // 100, 1,000 or 1,000,000, depending on the magnitude of the value. // **Supported dimensions:** * `apiLevel` (string): the API level of -// Android that was running on the user's device. * `versionCode` -// (int64): version of the app that was running on the user's device. * -// `deviceModel` (string): unique identifier of the user's device model. -// * `deviceBrand` (string): unique identifier of the user's device -// brand. * `deviceType` (string): the type (also known as form factor) -// of the user's device. * `countryCode` (string): the country or region -// of the user's device based on their IP address, represented as a -// 2-letter ISO-3166 code (e.g. US for the United States). * -// `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, -// 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary -// system-on-chip, e.g., Samsung. Reference +// Android that was running on the user's device, e.g., 26. * +// `versionCode` (int64): version of the app that was running on the +// user's device. * `deviceModel` (string): unique identifier of the +// user's device model. The form of the identifier is +// 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND +// and device corresponds to Build.DEVICE, e.g., google/coral. * +// `deviceBrand` (string): unique identifier of the user's device brand, +// e.g., google. * `deviceType` (string): the type (also known as form +// factor) of the user's device, e.g., PHONE. * `countryCode` (string): +// the country or region of the user's device based on their IP address, +// represented as a 2-letter ISO-3166 code (e.g. US for the United +// States). * `deviceRamBucket` (int64): RAM of the device, in MB, in +// buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the +// device's primary system-on-chip, e.g., Samsung. Reference // (https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) // * `deviceSocModel` (string): Model of the device's primary // system-on-chip, e.g., "Exynos 2100". Reference @@ -1107,22 +1319,54 @@ func (s *GooglePlayDeveloperReportingV1alpha1MetricsRow) MarshalJSON() ([]byte, return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// GooglePlayDeveloperReportingV1alpha1OsVersion: Representation of an +// OS version. +type GooglePlayDeveloperReportingV1alpha1OsVersion struct { + // ApiLevel: Numeric version code of the OS - API level + ApiLevel int64 `json:"apiLevel,omitempty,string"` + + // ForceSendFields is a list of field names (e.g. "ApiLevel") 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. "ApiLevel") 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 *GooglePlayDeveloperReportingV1alpha1OsVersion) MarshalJSON() ([]byte, error) { + type NoMethod GooglePlayDeveloperReportingV1alpha1OsVersion + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // GooglePlayDeveloperReportingV1alpha1QueryAnrRateMetricSetRequest: // Request message for QueryAnrRateMetricSet. type GooglePlayDeveloperReportingV1alpha1QueryAnrRateMetricSetRequest struct { // Dimensions: Dimensions to slice the metrics by. **Supported // dimensions:** * `apiLevel` (string): the API level of Android that - // was running on the user's device. * `versionCode` (int64): version of - // the app that was running on the user's device. * `deviceModel` - // (string): unique identifier of the user's device model. * - // `deviceBrand` (string): unique identifier of the user's device brand. - // * `deviceType` (string): the type (also known as form factor) of the - // user's device. * `countryCode` (string): the country or region of the - // user's device based on their IP address, represented as a 2-letter - // ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` - // (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * - // `deviceSocMake` (string): Make of the device's primary - // system-on-chip, e.g., Samsung. Reference + // was running on the user's device, e.g., 26. * `versionCode` (int64): + // version of the app that was running on the user's device. * + // `deviceModel` (string): unique identifier of the user's device model. + // The form of the identifier is 'deviceBrand/device', where deviceBrand + // corresponds to Build.BRAND and device corresponds to Build.DEVICE, + // e.g., google/coral. * `deviceBrand` (string): unique identifier of + // the user's device brand, e.g., google. * `deviceType` (string): the + // type (also known as form factor) of the user's device, e.g., PHONE. * + // `countryCode` (string): the country or region of the user's device + // based on their IP address, represented as a 2-letter ISO-3166 code + // (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of + // the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` + // (string): Make of the device's primary system-on-chip, e.g., Samsung. + // Reference // (https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) // * `deviceSocModel` (string): Model of the device's primary // system-on-chip, e.g., "Exynos 2100". Reference @@ -1280,17 +1524,20 @@ func (s *GooglePlayDeveloperReportingV1alpha1QueryAnrRateMetricSetResponse) Mars type GooglePlayDeveloperReportingV1alpha1QueryCrashRateMetricSetRequest struct { // Dimensions: Dimensions to slice the metrics by. **Supported // dimensions:** * `apiLevel` (string): the API level of Android that - // was running on the user's device. * `versionCode` (int64): version of - // the app that was running on the user's device. * `deviceModel` - // (string): unique identifier of the user's device model. * - // `deviceBrand` (string): unique identifier of the user's device brand. - // * `deviceType` (string): the type (also known as form factor) of the - // user's device. * `countryCode` (string): the country or region of the - // user's device based on their IP address, represented as a 2-letter - // ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` - // (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * - // `deviceSocMake` (string): Make of the device's primary - // system-on-chip, e.g., Samsung. Reference + // was running on the user's device, e.g., 26. * `versionCode` (int64): + // version of the app that was running on the user's device. * + // `deviceModel` (string): unique identifier of the user's device model. + // The form of the identifier is 'deviceBrand/device', where deviceBrand + // corresponds to Build.BRAND and device corresponds to Build.DEVICE, + // e.g., google/coral. * `deviceBrand` (string): unique identifier of + // the user's device brand, e.g., google. * `deviceType` (string): the + // type (also known as form factor) of the user's device, e.g., PHONE. * + // `countryCode` (string): the country or region of the user's device + // based on their IP address, represented as a 2-letter ISO-3166 code + // (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of + // the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` + // (string): Make of the device's primary system-on-chip, e.g., Samsung. + // Reference // (https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) // * `deviceSocModel` (string): Model of the device's primary // system-on-chip, e.g., "Exynos 2100". Reference @@ -1451,18 +1698,20 @@ func (s *GooglePlayDeveloperReportingV1alpha1QueryCrashRateMetricSetResponse) Ma type GooglePlayDeveloperReportingV1alpha1QueryErrorCountMetricSetRequest struct { // Dimensions: Dimensions to slice the data by. **Supported // dimensions:** * `apiLevel` (string): the API level of Android that - // was running on the user's device. * `versionCode` (int64): version of - // the app that was running on the user's device. * `deviceModel` - // (string): unique identifier of the user's device model. * - // `deviceType` (string): identifier of the device's form factor, e.g., - // PHONE. * `reportType` (string): the type of error. The value should - // correspond to one of the possible values in ErrorType. * - // `isUserPerceived` (string): denotes whether error is user perceived - // or not, USER_PERCEIVED or NOT_USER_PERCEIVED. * `issueId` (string): - // the id an error was assigned to. The value should correspond to the - // `{issue}` component of the issue name. * `deviceRamBucket` (int64): - // RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * - // `deviceSocMake` (string): Make of the device's primary + // was running on the user's device, e.g., 26. * `versionCode` (int64): + // unique identifier of the user's device model. The form of the + // identifier is 'deviceBrand/device', where deviceBrand corresponds to + // Build.BRAND and device corresponds to Build.DEVICE, e.g., + // google/coral. * `deviceModel` (string): unique identifier of the + // user's device model. * `deviceType` (string): identifier of the + // device's form factor, e.g., PHONE. * `reportType` (string): the type + // of error. The value should correspond to one of the possible values + // in ErrorType. * `isUserPerceived` (string): denotes whether error is + // user perceived or not, USER_PERCEIVED or NOT_USER_PERCEIVED. * + // `issueId` (string): the id an error was assigned to. The value should + // correspond to the `{issue}` component of the issue name. * + // `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, + // 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary // system-on-chip, e.g., Samsung. Reference // (https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) // * `deviceSocModel` (string): Model of the device's primary @@ -1575,17 +1824,20 @@ func (s *GooglePlayDeveloperReportingV1alpha1QueryErrorCountMetricSetResponse) M type GooglePlayDeveloperReportingV1alpha1QueryExcessiveWakeupRateMetricSetRequest struct { // Dimensions: Dimensions to slice the data by. **Supported // dimensions:** * `apiLevel` (string): the API level of Android that - // was running on the user's device. * `versionCode` (int64): version of - // the app that was running on the user's device. * `deviceModel` - // (string): unique identifier of the user's device model. * - // `deviceBrand` (string): unique identifier of the user's device brand. - // * `deviceType` (string): the type (also known as form factor) of the - // user's device. * `countryCode` (string): the country or region of the - // user's device based on their IP address, represented as a 2-letter - // ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` - // (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * - // `deviceSocMake` (string): Make of the device's primary - // system-on-chip, e.g., Samsung. Reference + // was running on the user's device, e.g., 26. * `versionCode` (int64): + // version of the app that was running on the user's device. * + // `deviceModel` (string): unique identifier of the user's device model. + // The form of the identifier is 'deviceBrand/device', where deviceBrand + // corresponds to Build.BRAND and device corresponds to Build.DEVICE, + // e.g., google/coral. * `deviceBrand` (string): unique identifier of + // the user's device brand, e.g., google. * `deviceType` (string): the + // type (also known as form factor) of the user's device, e.g., PHONE. * + // `countryCode` (string): the country or region of the user's device + // based on their IP address, represented as a 2-letter ISO-3166 code + // (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of + // the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` + // (string): Make of the device's primary system-on-chip, e.g., Samsung. + // Reference // (https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) // * `deviceSocModel` (string): Model of the device's primary // system-on-chip, e.g., "Exynos 2100". Reference @@ -1730,17 +1982,20 @@ func (s *GooglePlayDeveloperReportingV1alpha1QueryExcessiveWakeupRateMetricSetRe type GooglePlayDeveloperReportingV1alpha1QuerySlowRenderingRateMetricSetRequest struct { // Dimensions: Dimensions to slice the data by. **Supported // dimensions:** * `apiLevel` (string): the API level of Android that - // was running on the user's device. * `versionCode` (int64): version of - // the app that was running on the user's device. * `deviceModel` - // (string): unique identifier of the user's device model. * - // `deviceBrand` (string): unique identifier of the user's device brand. - // * `deviceType` (string): the type (also known as form factor) of the - // user's device. * `countryCode` (string): the country or region of the - // user's device based on their IP address, represented as a 2-letter - // ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` - // (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * - // `deviceSocMake` (string): Make of the device's primary - // system-on-chip, e.g., Samsung. Reference + // was running on the user's device, e.g., 26. * `versionCode` (int64): + // version of the app that was running on the user's device. * + // `deviceModel` (string): unique identifier of the user's device model. + // The form of the identifier is 'deviceBrand/device', where deviceBrand + // corresponds to Build.BRAND and device corresponds to Build.DEVICE, + // e.g., google/coral. * `deviceBrand` (string): unique identifier of + // the user's device brand, e.g., google. * `deviceType` (string): the + // type (also known as form factor) of the user's device, e.g., PHONE. * + // `countryCode` (string): the country or region of the user's device + // based on their IP address, represented as a 2-letter ISO-3166 code + // (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of + // the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` + // (string): Make of the device's primary system-on-chip, e.g., Samsung. + // Reference // (https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) // * `deviceSocModel` (string): Model of the device's primary // system-on-chip, e.g., "Exynos 2100". Reference @@ -1894,17 +2149,20 @@ func (s *GooglePlayDeveloperReportingV1alpha1QuerySlowRenderingRateMetricSetResp type GooglePlayDeveloperReportingV1alpha1QuerySlowStartRateMetricSetRequest struct { // Dimensions: Dimensions to slice the data by. **Supported // dimensions:** * `apiLevel` (string): the API level of Android that - // was running on the user's device. * `versionCode` (int64): version of - // the app that was running on the user's device. * `deviceModel` - // (string): unique identifier of the user's device model. * - // `deviceBrand` (string): unique identifier of the user's device brand. - // * `deviceType` (string): the type (also known as form factor) of the - // user's device. * `countryCode` (string): the country or region of the - // user's device based on their IP address, represented as a 2-letter - // ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` - // (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * - // `deviceSocMake` (string): Make of the device's primary - // system-on-chip, e.g., Samsung. Reference + // was running on the user's device, e.g., 26. * `versionCode` (int64): + // version of the app that was running on the user's device. * + // `deviceModel` (string): unique identifier of the user's device model. + // The form of the identifier is 'deviceBrand/device', where deviceBrand + // corresponds to Build.BRAND and device corresponds to Build.DEVICE, + // e.g., google/coral. * `deviceBrand` (string): unique identifier of + // the user's device brand, e.g., google. * `deviceType` (string): the + // type (also known as form factor) of the user's device, e.g., PHONE. * + // `countryCode` (string): the country or region of the user's device + // based on their IP address, represented as a 2-letter ISO-3166 code + // (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of + // the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` + // (string): Make of the device's primary system-on-chip, e.g., Samsung. + // Reference // (https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) // * `deviceSocModel` (string): Model of the device's primary // system-on-chip, e.g., "Exynos 2100". Reference @@ -2048,17 +2306,20 @@ func (s *GooglePlayDeveloperReportingV1alpha1QuerySlowStartRateMetricSetResponse type GooglePlayDeveloperReportingV1alpha1QueryStuckBackgroundWakelockRateMetricSetRequest struct { // Dimensions: Dimensions to slice the data by. **Supported // dimensions:** * `apiLevel` (string): the API level of Android that - // was running on the user's device. * `versionCode` (int64): version of - // the app that was running on the user's device. * `deviceModel` - // (string): unique identifier of the user's device model. * - // `deviceBrand` (string): unique identifier of the user's device brand. - // * `deviceType` (string): the type (also known as form factor) of the - // user's device. * `countryCode` (string): the country or region of the - // user's device based on their IP address, represented as a 2-letter - // ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` - // (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * - // `deviceSocMake` (string): Make of the device's primary - // system-on-chip, e.g., Samsung. Reference + // was running on the user's device, e.g., 26. * `versionCode` (int64): + // version of the app that was running on the user's device. * + // `deviceModel` (string): unique identifier of the user's device model. + // The form of the identifier is 'deviceBrand/device', where deviceBrand + // corresponds to Build.BRAND and device corresponds to Build.DEVICE, + // e.g., google/coral. * `deviceBrand` (string): unique identifier of + // the user's device brand, e.g., google. * `deviceType` (string): the + // type (also known as form factor) of the user's device, e.g., PHONE. * + // `countryCode` (string): the country or region of the user's device + // based on their IP address, represented as a 2-letter ISO-3166 code + // (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of + // the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` + // (string): Make of the device's primary system-on-chip, e.g., Samsung. + // Reference // (https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) // * `deviceSocModel` (string): Model of the device's primary // system-on-chip, e.g., "Exynos 2100". Reference @@ -2199,6 +2460,110 @@ func (s *GooglePlayDeveloperReportingV1alpha1QueryStuckBackgroundWakelockRateMet return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// GooglePlayDeveloperReportingV1alpha1Release: A representation of an +// app release. +type GooglePlayDeveloperReportingV1alpha1Release struct { + // DisplayName: Readable identifier of the release. + DisplayName string `json:"displayName,omitempty"` + + // VersionCodes: The version codes contained in this release. + VersionCodes googleapi.Int64s `json:"versionCodes,omitempty"` + + // ForceSendFields is a list of field names (e.g. "DisplayName") 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. "DisplayName") 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 *GooglePlayDeveloperReportingV1alpha1Release) MarshalJSON() ([]byte, error) { + type NoMethod GooglePlayDeveloperReportingV1alpha1Release + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GooglePlayDeveloperReportingV1alpha1ReleaseFilterOptions: A set of +// filtering options for releases and version codes specific to an app. +type GooglePlayDeveloperReportingV1alpha1ReleaseFilterOptions struct { + // Tracks: List of tracks to filter releases over. Provides the grouping + // of version codes under releases and tracks. + Tracks []*GooglePlayDeveloperReportingV1alpha1Track `json:"tracks,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "Tracks") 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. "Tracks") 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 *GooglePlayDeveloperReportingV1alpha1ReleaseFilterOptions) MarshalJSON() ([]byte, error) { + type NoMethod GooglePlayDeveloperReportingV1alpha1ReleaseFilterOptions + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GooglePlayDeveloperReportingV1alpha1SearchAccessibleAppsResponse: +// Response message for SearchAccessibleApps. +type GooglePlayDeveloperReportingV1alpha1SearchAccessibleAppsResponse struct { + // Apps: The apps accessible to the user calling the endpoint. + Apps []*GooglePlayDeveloperReportingV1alpha1App `json:"apps,omitempty"` + + // NextPageToken: A token, which can be sent as `page_token` to retrieve + // the next page. If this field is omitted, there are no subsequent + // pages. + NextPageToken string `json:"nextPageToken,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "Apps") 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. "Apps") 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 *GooglePlayDeveloperReportingV1alpha1SearchAccessibleAppsResponse) MarshalJSON() ([]byte, error) { + type NoMethod GooglePlayDeveloperReportingV1alpha1SearchAccessibleAppsResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // GooglePlayDeveloperReportingV1alpha1SearchErrorIssuesResponse: // Response with a paginated list of issues that matched the request. type GooglePlayDeveloperReportingV1alpha1SearchErrorIssuesResponse struct { @@ -2310,12 +2675,15 @@ func (s *GooglePlayDeveloperReportingV1alpha1SearchErrorReportsResponse) Marshal // being counted multiple times. The value is rounded to the nearest // multiple of 10, 100, 1,000 or 1,000,000, depending on the magnitude // of the value. **Supported dimensions:** * `apiLevel` (string): the -// API level of Android that was running on the user's device. * -// `versionCode` (int64): version of the app that was running on the +// API level of Android that was running on the user's device, e.g., 26. +// * `versionCode` (int64): version of the app that was running on the // user's device. * `deviceModel` (string): unique identifier of the -// user's device model. * `deviceBrand` (string): unique identifier of -// the user's device brand. * `deviceType` (string): the type (also -// known as form factor) of the user's device. * `countryCode` (string): +// user's device model. The form of the identifier is +// 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND +// and device corresponds to Build.DEVICE, e.g., google/coral. * +// `deviceBrand` (string): unique identifier of the user's device brand, +// e.g., google. * `deviceType` (string): the type (also known as form +// factor) of the user's device, e.g., PHONE. * `countryCode` (string): // the country or region of the user's device based on their IP address, // represented as a 2-letter ISO-3166 code (e.g. US for the United // States). * `deviceRamBucket` (int64): RAM of the device, in MB, in @@ -2397,17 +2765,20 @@ func (s *GooglePlayDeveloperReportingV1alpha1SlowRenderingRateMetricSet) Marshal // the request to be valid. * `startType` (string): the type of start // that was measured. Valid types are `HOT`, `WARM` and `COLD`. // **Supported dimensions:** * `apiLevel` (string): the API level of -// Android that was running on the user's device. * `versionCode` -// (int64): version of the app that was running on the user's device. * -// `deviceModel` (string): unique identifier of the user's device model. -// * `deviceBrand` (string): unique identifier of the user's device -// brand. * `deviceType` (string): the type (also known as form factor) -// of the user's device. * `countryCode` (string): the country or region -// of the user's device based on their IP address, represented as a -// 2-letter ISO-3166 code (e.g. US for the United States). * -// `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, -// 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary -// system-on-chip, e.g., Samsung. Reference +// Android that was running on the user's device, e.g., 26. * +// `versionCode` (int64): version of the app that was running on the +// user's device. * `deviceModel` (string): unique identifier of the +// user's device model. The form of the identifier is +// 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND +// and device corresponds to Build.DEVICE, e.g., google/coral. * +// `deviceBrand` (string): unique identifier of the user's device brand, +// e.g., google. * `deviceType` (string): the type (also known as form +// factor) of the user's device, e.g., PHONE. * `countryCode` (string): +// the country or region of the user's device based on their IP address, +// represented as a 2-letter ISO-3166 code (e.g. US for the United +// States). * `deviceRamBucket` (int64): RAM of the device, in MB, in +// buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the +// device's primary system-on-chip, e.g., Samsung. Reference // (https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) // * `deviceSocModel` (string): Model of the device's primary // system-on-chip, e.g., "Exynos 2100". Reference @@ -2484,17 +2855,20 @@ func (s *GooglePlayDeveloperReportingV1alpha1SlowStartRateMetricSet) MarshalJSON // multiple times. The value is rounded to the nearest multiple of 10, // 100, 1,000 or 1,000,000, depending on the magnitude of the value. // **Supported dimensions:** * `apiLevel` (string): the API level of -// Android that was running on the user's device. * `versionCode` -// (int64): version of the app that was running on the user's device. * -// `deviceModel` (string): unique identifier of the user's device model. -// * `deviceBrand` (string): unique identifier of the user's device -// brand. * `deviceType` (string): the type (also known as form factor) -// of the user's device. * `countryCode` (string): the country or region -// of the user's device based on their IP address, represented as a -// 2-letter ISO-3166 code (e.g. US for the United States). * -// `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, -// 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary -// system-on-chip, e.g., Samsung. Reference +// Android that was running on the user's device, e.g., 26. * +// `versionCode` (int64): version of the app that was running on the +// user's device. * `deviceModel` (string): unique identifier of the +// user's device model. The form of the identifier is +// 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND +// and device corresponds to Build.DEVICE, e.g., google/coral. * +// `deviceBrand` (string): unique identifier of the user's device brand, +// e.g., google. * `deviceType` (string): the type (also known as form +// factor) of the user's device, e.g., PHONE. * `countryCode` (string): +// the country or region of the user's device based on their IP address, +// represented as a 2-letter ISO-3166 code (e.g. US for the United +// States). * `deviceRamBucket` (int64): RAM of the device, in MB, in +// buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the +// device's primary system-on-chip, e.g., Samsung. Reference // (https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) // * `deviceSocModel` (string): Model of the device's primary // system-on-chip, e.g., "Exynos 2100". Reference @@ -2616,28 +2990,63 @@ func (s *GooglePlayDeveloperReportingV1alpha1TimelineSpec) MarshalJSON() ([]byte return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleTypeDateTime: Represents civil time (or occasionally physical -// time). This type can represent a civil time in one of a few possible -// ways: * When utc_offset is set and time_zone is unset: a civil time -// on a calendar day with a particular offset from UTC. * When time_zone -// is set and utc_offset is unset: a civil time on a calendar day in a -// particular time zone. * When neither time_zone nor utc_offset is set: -// a civil time on a calendar day in local time. The date is relative to -// the Proleptic Gregorian Calendar. If year, month, or day are 0, the -// DateTime is considered not to have a specific year, month, or day -// respectively. This type may also be used to represent a physical time -// if all the date and time fields are set and either case of the -// `time_offset` oneof is set. Consider using `Timestamp` message for -// physical time instead. If your use case also would like to store the -// user's timezone, that can be done in another field. This type is more -// flexible than some applications may want. Make sure to document and -// validate your application's limitations. -type GoogleTypeDateTime struct { - // Day: Optional. Day of month. Must be from 1 to 31 and valid for the - // year and month, or 0 if specifying a datetime without a day. - Day int64 `json:"day,omitempty"` +// GooglePlayDeveloperReportingV1alpha1Track: A representation of a Play +// release track. +type GooglePlayDeveloperReportingV1alpha1Track struct { + // DisplayName: Readable identifier of the track. + DisplayName string `json:"displayName,omitempty"` - // Hours: Optional. Hours of day in 24 hour format. Should be from 0 to + // ServingReleases: Represents all active releases in the track. + ServingReleases []*GooglePlayDeveloperReportingV1alpha1Release `json:"servingReleases,omitempty"` + + // Type: The type of the track. + Type string `json:"type,omitempty"` + + // ForceSendFields is a list of field names (e.g. "DisplayName") 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. "DisplayName") 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 *GooglePlayDeveloperReportingV1alpha1Track) MarshalJSON() ([]byte, error) { + type NoMethod GooglePlayDeveloperReportingV1alpha1Track + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleTypeDateTime: Represents civil time (or occasionally physical +// time). This type can represent a civil time in one of a few possible +// ways: * When utc_offset is set and time_zone is unset: a civil time +// on a calendar day with a particular offset from UTC. * When time_zone +// is set and utc_offset is unset: a civil time on a calendar day in a +// particular time zone. * When neither time_zone nor utc_offset is set: +// a civil time on a calendar day in local time. The date is relative to +// the Proleptic Gregorian Calendar. If year, month, or day are 0, the +// DateTime is considered not to have a specific year, month, or day +// respectively. This type may also be used to represent a physical time +// if all the date and time fields are set and either case of the +// `time_offset` oneof is set. Consider using `Timestamp` message for +// physical time instead. If your use case also would like to store the +// user's timezone, that can be done in another field. This type is more +// flexible than some applications may want. Make sure to document and +// validate your application's limitations. +type GoogleTypeDateTime struct { + // Day: Optional. Day of month. Must be from 1 to 31 and valid for the + // year and month, or 0 if specifying a datetime without a day. + Day int64 `json:"day,omitempty"` + + // Hours: Optional. Hours of day in 24 hour format. Should be from 0 to // 23, defaults to 0 (midnight). An API may choose to allow the value // "24:00:00" for scenarios like business closing time. Hours int64 `json:"hours,omitempty"` @@ -3021,6 +3430,340 @@ func (c *AnomaliesListCall) Pages(ctx context.Context, f func(*GooglePlayDevelop } } +// method id "playdeveloperreporting.apps.fetchReleaseFilterOptions": + +type AppsFetchReleaseFilterOptionsCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// FetchReleaseFilterOptions: Describes filtering options for releases. +// +// - name: Name of the resource, i.e. app the filtering options are for. +// Format: apps/{app}. +func (r *AppsService) FetchReleaseFilterOptions(name string) *AppsFetchReleaseFilterOptionsCall { + c := &AppsFetchReleaseFilterOptionsCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *AppsFetchReleaseFilterOptionsCall) Fields(s ...googleapi.Field) *AppsFetchReleaseFilterOptionsCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *AppsFetchReleaseFilterOptionsCall) IfNoneMatch(entityTag string) *AppsFetchReleaseFilterOptionsCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *AppsFetchReleaseFilterOptionsCall) Context(ctx context.Context) *AppsFetchReleaseFilterOptionsCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *AppsFetchReleaseFilterOptionsCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *AppsFetchReleaseFilterOptionsCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version) + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha1/{+name}:fetchReleaseFilterOptions") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "playdeveloperreporting.apps.fetchReleaseFilterOptions" call. +// Exactly one of +// *GooglePlayDeveloperReportingV1alpha1ReleaseFilterOptions or error +// will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GooglePlayDeveloperReportingV1alpha1ReleaseFilterOptions.ServerRespon +// se.Header or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *AppsFetchReleaseFilterOptionsCall) Do(opts ...googleapi.CallOption) (*GooglePlayDeveloperReportingV1alpha1ReleaseFilterOptions, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, gensupport.WrapError(&googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + }) + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, gensupport.WrapError(err) + } + ret := &GooglePlayDeveloperReportingV1alpha1ReleaseFilterOptions{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Describes filtering options for releases.", + // "flatPath": "v1alpha1/apps/{appsId}:fetchReleaseFilterOptions", + // "httpMethod": "GET", + // "id": "playdeveloperreporting.apps.fetchReleaseFilterOptions", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "Required. Name of the resource, i.e. app the filtering options are for. Format: apps/{app}", + // "location": "path", + // "pattern": "^apps/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v1alpha1/{+name}:fetchReleaseFilterOptions", + // "response": { + // "$ref": "GooglePlayDeveloperReportingV1alpha1ReleaseFilterOptions" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/playdeveloperreporting" + // ] + // } + +} + +// method id "playdeveloperreporting.apps.search": + +type AppsSearchCall struct { + s *Service + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// Search: Searches for Apps accessible by the user. +func (r *AppsService) Search() *AppsSearchCall { + c := &AppsSearchCall{s: r.s, urlParams_: make(gensupport.URLParams)} + return c +} + +// PageSize sets the optional parameter "pageSize": The maximum number +// of apps to return. The service may return fewer than this value. If +// unspecified, at most 50 apps will be returned. The maximum value is +// 1000; values above 1000 will be coerced to 1000. +func (c *AppsSearchCall) PageSize(pageSize int64) *AppsSearchCall { + c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) + return c +} + +// PageToken sets the optional parameter "pageToken": A page token, +// received from a previous `SearchAccessibleApps` call. Provide this to +// retrieve the subsequent page. When paginating, all other parameters +// provided to `SearchAccessibleApps` must match the call that provided +// the page token. +func (c *AppsSearchCall) PageToken(pageToken string) *AppsSearchCall { + c.urlParams_.Set("pageToken", pageToken) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *AppsSearchCall) Fields(s ...googleapi.Field) *AppsSearchCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *AppsSearchCall) IfNoneMatch(entityTag string) *AppsSearchCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *AppsSearchCall) Context(ctx context.Context) *AppsSearchCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *AppsSearchCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *AppsSearchCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version) + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha1/apps:search") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "playdeveloperreporting.apps.search" call. +// Exactly one of +// *GooglePlayDeveloperReportingV1alpha1SearchAccessibleAppsResponse or +// error will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GooglePlayDeveloperReportingV1alpha1SearchAccessibleAppsResponse.Serv +// erResponse.Header or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *AppsSearchCall) Do(opts ...googleapi.CallOption) (*GooglePlayDeveloperReportingV1alpha1SearchAccessibleAppsResponse, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, gensupport.WrapError(&googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + }) + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, gensupport.WrapError(err) + } + ret := &GooglePlayDeveloperReportingV1alpha1SearchAccessibleAppsResponse{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Searches for Apps accessible by the user.", + // "flatPath": "v1alpha1/apps:search", + // "httpMethod": "GET", + // "id": "playdeveloperreporting.apps.search", + // "parameterOrder": [], + // "parameters": { + // "pageSize": { + // "description": "The maximum number of apps to return. The service may return fewer than this value. If unspecified, at most 50 apps will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", + // "format": "int32", + // "location": "query", + // "type": "integer" + // }, + // "pageToken": { + // "description": "A page token, received from a previous `SearchAccessibleApps` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `SearchAccessibleApps` must match the call that provided the page token.", + // "location": "query", + // "type": "string" + // } + // }, + // "path": "v1alpha1/apps:search", + // "response": { + // "$ref": "GooglePlayDeveloperReportingV1alpha1SearchAccessibleAppsResponse" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/playdeveloperreporting" + // ] + // } + +} + +// Pages invokes f for each page of results. +// A non-nil error returned from f will halt the iteration. +// The provided context supersedes any context provided to the Context method. +func (c *AppsSearchCall) Pages(ctx context.Context, f func(*GooglePlayDeveloperReportingV1alpha1SearchAccessibleAppsResponse) error) error { + c.ctx_ = ctx + defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point + for { + x, err := c.Do() + if err != nil { + return err + } + if err := f(x); err != nil { + return err + } + if x.NextPageToken == "" { + return nil + } + c.PageToken(x.NextPageToken) + } +} + // method id "playdeveloperreporting.vitals.anrrate.get": type VitalsAnrrateGetCall struct { @@ -4195,6 +4938,19 @@ func (c *VitalsErrorsIssuesSearchCall) IntervalStartTimeYear(intervalStartTimeYe return c } +// OrderBy sets the optional parameter "orderBy": Specifies a field that +// will be used to order the results. ** Supported dimensions:** * +// `errorReportCount`: Orders issues by number of error reports. * +// `distinctUsers`: Orders issues by number of unique affected users. ** +// Supported operations:** * `asc` for ascending order. * `desc` for +// descending order. Format: A field and an operation, e.g., +// `errorReportCount desc` *Note:* currently only one field is supported +// at a time. +func (c *VitalsErrorsIssuesSearchCall) OrderBy(orderBy string) *VitalsErrorsIssuesSearchCall { + c.urlParams_.Set("orderBy", orderBy) + return c +} + // PageSize sets the optional parameter "pageSize": The maximum number // of error issues to return. The service may return fewer than this // value. If unspecified, at most 50 error issues will be returned. The @@ -4444,6 +5200,11 @@ func (c *VitalsErrorsIssuesSearchCall) Do(opts ...googleapi.CallOption) (*Google // "location": "query", // "type": "integer" // }, + // "orderBy": { + // "description": "Specifies a field that will be used to order the results. ** Supported dimensions:** * `errorReportCount`: Orders issues by number of error reports. * `distinctUsers`: Orders issues by number of unique affected users. ** Supported operations:** * `asc` for ascending order. * `desc` for descending order. Format: A field and an operation, e.g., `errorReportCount desc` *Note:* currently only one field is supported at a time.", + // "location": "query", + // "type": "string" + // }, // "pageSize": { // "description": "The maximum number of error issues to return. The service may return fewer than this value. If unspecified, at most 50 error issues will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", // "format": "int32", diff --git a/playdeveloperreporting/v1beta1/playdeveloperreporting-api.json b/playdeveloperreporting/v1beta1/playdeveloperreporting-api.json index 79990c7f512..7951a0aaa11 100644 --- a/playdeveloperreporting/v1beta1/playdeveloperreporting-api.json +++ b/playdeveloperreporting/v1beta1/playdeveloperreporting-api.json @@ -150,6 +150,62 @@ } } }, + "apps": { + "methods": { + "fetchReleaseFilterOptions": { + "description": "Describes filtering options for releases.", + "flatPath": "v1beta1/apps/{appsId}:fetchReleaseFilterOptions", + "httpMethod": "GET", + "id": "playdeveloperreporting.apps.fetchReleaseFilterOptions", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the resource, i.e. app the filtering options are for. Format: apps/{app}", + "location": "path", + "pattern": "^apps/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+name}:fetchReleaseFilterOptions", + "response": { + "$ref": "GooglePlayDeveloperReportingV1beta1ReleaseFilterOptions" + }, + "scopes": [ + "https://www.googleapis.com/auth/playdeveloperreporting" + ] + }, + "search": { + "description": "Searches for Apps accessible by the user.", + "flatPath": "v1beta1/apps:search", + "httpMethod": "GET", + "id": "playdeveloperreporting.apps.search", + "parameterOrder": [], + "parameters": { + "pageSize": { + "description": "The maximum number of apps to return. The service may return fewer than this value. If unspecified, at most 50 apps will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "A page token, received from a previous `SearchAccessibleApps` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `SearchAccessibleApps` must match the call that provided the page token.", + "location": "query", + "type": "string" + } + }, + "path": "v1beta1/apps:search", + "response": { + "$ref": "GooglePlayDeveloperReportingV1beta1SearchAccessibleAppsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/playdeveloperreporting" + ] + } + } + }, "vitals": { "resources": { "anrrate": { @@ -457,6 +513,11 @@ "location": "query", "type": "integer" }, + "orderBy": { + "description": "Specifies a field that will be used to order the results. ** Supported dimensions:** * `errorReportCount`: Orders issues by number of error reports. * `distinctUsers`: Orders issues by number of unique affected users. ** Supported operations:** * `asc` for ascending order. * `desc` for descending order. Format: A field and an operation, e.g., `errorReportCount desc` *Note:* currently only one field is supported at a time.", + "location": "query", + "type": "string" + }, "pageSize": { "description": "The maximum number of error issues to return. The service may return fewer than this value. If unspecified, at most 50 error issues will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", "format": "int32", @@ -880,7 +941,7 @@ } } }, - "revision": "20230509", + "revision": "20230516", "rootUrl": "https://playdeveloperreporting.googleapis.com/", "schemas": { "GooglePlayDeveloperReportingV1beta1Anomaly": { @@ -914,7 +975,7 @@ "type": "object" }, "GooglePlayDeveloperReportingV1beta1AnrRateMetricSet": { - "description": "Singleton resource representing the set of ANR (Application not responding) metrics. This metric set contains ANRs data combined with usage data to produce a normalized metric independent of user counts. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. Due to historical constraints, the only supported timezone is `America/Los_Angeles`. * HOURLY: metrics are aggregated in hourly intervals. The default and only supported timezone is `UTC`. **Supported metrics:** * `anrRate` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that experienced at least one ANR. * `anrRate7dUserWeighted` (`google.type.Decimal`): Rolling average value of `anrRate` in the last 7 days. The daily values are weighted by the count of distinct users for the day. Not supported in HOURLY granularity. * `anrRate28dUserWeighted` (`google.type.Decimal`): Rolling average value of `anrRate` in the last 28 days. The daily values are weighted by the count of distinct users for the day. Not supported in HOURLY granularity. * `userPerceivedAnrRate` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that experienced at least one user-perceived ANR. User-perceived ANRs are currently those of 'Input dispatching' type. * `userPerceivedAnrRate7dUserWeighted` (`google.type.Decimal`): Rolling average value of `userPerceivedAnrRate` in the last 7 days. The daily values are weighted by the count of distinct users for the day. Not supported in HOURLY granularity. * `userPerceivedAnrRate28dUserWeighted` (`google.type.Decimal`): Rolling average value of `userPerceivedAnrRate` in the last 28 days. The daily values are weighted by the count of distinct users for the day. * `distinctUsers` (`google.type.Decimal`): Count of distinct users in the aggregation period that were used as normalization value for the `anrRate` and `userPerceivedAnrRate` metrics. A user is counted in this metric if they used the app in the foreground during the aggregation period. Care must be taken not to aggregate this count further, as it may result in users being counted multiple times. The value is rounded to the nearest multiple of 10, 100, 1,000 or 1,000,000, depending on the magnitude of the value. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. * `deviceBrand` (string): unique identifier of the user's device brand. * `deviceType` (string): the type (also known as form factor) of the user's device. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi. **Required permissions**: to access this resource, the calling user needs the _View app information (read-only)_ permission for the app. **Related metric sets:** * vitals.errors contains unnormalized version (absolute counts) of crashes. * vitals.errors contains normalized metrics about crashes, another stability metric.", + "description": "Singleton resource representing the set of ANR (Application not responding) metrics. This metric set contains ANRs data combined with usage data to produce a normalized metric independent of user counts. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. Due to historical constraints, the only supported timezone is `America/Los_Angeles`. * HOURLY: metrics are aggregated in hourly intervals. The default and only supported timezone is `UTC`. **Supported metrics:** * `anrRate` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that experienced at least one ANR. * `anrRate7dUserWeighted` (`google.type.Decimal`): Rolling average value of `anrRate` in the last 7 days. The daily values are weighted by the count of distinct users for the day. Not supported in HOURLY granularity. * `anrRate28dUserWeighted` (`google.type.Decimal`): Rolling average value of `anrRate` in the last 28 days. The daily values are weighted by the count of distinct users for the day. Not supported in HOURLY granularity. * `userPerceivedAnrRate` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that experienced at least one user-perceived ANR. User-perceived ANRs are currently those of 'Input dispatching' type. * `userPerceivedAnrRate7dUserWeighted` (`google.type.Decimal`): Rolling average value of `userPerceivedAnrRate` in the last 7 days. The daily values are weighted by the count of distinct users for the day. Not supported in HOURLY granularity. * `userPerceivedAnrRate28dUserWeighted` (`google.type.Decimal`): Rolling average value of `userPerceivedAnrRate` in the last 28 days. The daily values are weighted by the count of distinct users for the day. * `distinctUsers` (`google.type.Decimal`): Count of distinct users in the aggregation period that were used as normalization value for the `anrRate` and `userPerceivedAnrRate` metrics. A user is counted in this metric if they used the app in the foreground during the aggregation period. Care must be taken not to aggregate this count further, as it may result in users being counted multiple times. The value is rounded to the nearest multiple of 10, 100, 1,000 or 1,000,000, depending on the magnitude of the value. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device, e.g., 26. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. The form of the identifier is 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND and device corresponds to Build.DEVICE, e.g., google/coral. * `deviceBrand` (string): unique identifier of the user's device brand, e.g., google. * `deviceType` (string): the type (also known as form factor) of the user's device, e.g., PHONE. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi. **Required permissions**: to access this resource, the calling user needs the _View app information (read-only)_ permission for the app. **Related metric sets:** * vitals.errors contains unnormalized version (absolute counts) of crashes. * vitals.errors contains normalized metrics about crashes, another stability metric.", "id": "GooglePlayDeveloperReportingV1beta1AnrRateMetricSet", "properties": { "freshnessInfo": { @@ -928,8 +989,39 @@ }, "type": "object" }, + "GooglePlayDeveloperReportingV1beta1App": { + "description": "A representation of an app in the Play Store.", + "id": "GooglePlayDeveloperReportingV1beta1App", + "properties": { + "displayName": { + "description": "Title of the app. This is the latest title as set in the Play Console and may not yet have been reviewed, so might not match the Play Store. Example: `Google Maps`.", + "type": "string" + }, + "name": { + "description": "The resource name. Format: apps/{app}", + "type": "string" + }, + "packageName": { + "description": "Package name of the app. Example: `com.example.app123`.", + "type": "string" + } + }, + "type": "object" + }, + "GooglePlayDeveloperReportingV1beta1AppVersion": { + "description": "Representations of an app version.", + "id": "GooglePlayDeveloperReportingV1beta1AppVersion", + "properties": { + "versionCode": { + "description": "Numeric version code of the app version (set by the app's developer).", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, "GooglePlayDeveloperReportingV1beta1CrashRateMetricSet": { - "description": "Singleton resource representing the set of crashrate metrics. This metric set contains crashes data combined with usage data to produce a normalized metric independent of user counts. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. Due to historical constraints, the only supported timezone is `America/Los_Angeles`. * HOURLY: metrics are aggregated in hourly intervals. The default and only supported timezone is `UTC`. **Supported metrics:** * `crashRate` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that experienced at least one crash. * `crashRate7dUserWeighted` (`google.type.Decimal`): Rolling average value of `crashRate` in the last 7 days. The daily values are weighted by the count of distinct users for the day. Not supported in HOURLY granularity. * `crashRate28dUserWeighted` (`google.type.Decimal`): Rolling average value of `crashRate` in the last 28 days. The daily values are weighted by the count of distinct users for the day. Not supported in HOURLY granularity. * `userPerceivedCrashRate` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that experienced at least one crash while they were actively using your app (a user-perceived crash). An app is considered to be in active use if it is displaying any activity or executing any foreground service. * `userPerceivedCrashRate7dUserWeighted` (`google.type.Decimal`): Rolling average value of `userPerceivedCrashRate` in the last 7 days. The daily values are weighted by the count of distinct users for the day. Not supported in HOURLY granularity. * `userPerceivedCrashRate28dUserWeighted` (`google.type.Decimal`): Rolling average value of `userPerceivedCrashRate` in the last 28 days. The daily values are weighted by the count of distinct users for the day. Not supported in HOURLY granularity. * `distinctUsers` (`google.type.Decimal`): Count of distinct users in the aggregation period that were used as normalization value for the `crashRate` and `userPerceivedCrashRate` metrics. A user is counted in this metric if they used the app actively during the aggregation period. An app is considered to be in active use if it is displaying any activity or executing any foreground service. Care must be taken not to aggregate this count further, as it may result in users being counted multiple times. The value is rounded to the nearest multiple of 10, 100, 1,000 or 1,000,000, depending on the magnitude of the value. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. * `deviceBrand` (string): unique identifier of the user's device brand. * `deviceType` (string): the type (also known as form factor) of the user's device. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi. **Required permissions**: to access this resource, the calling user needs the _View app information (read-only)_ permission for the app. **Related metric sets:** * vitals.errors contains unnormalized version (absolute counts) of crashes. * vitals.errors contains normalized metrics about ANRs, another stability metric.", + "description": "Singleton resource representing the set of crashrate metrics. This metric set contains crashes data combined with usage data to produce a normalized metric independent of user counts. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. Due to historical constraints, the only supported timezone is `America/Los_Angeles`. * HOURLY: metrics are aggregated in hourly intervals. The default and only supported timezone is `UTC`. **Supported metrics:** * `crashRate` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that experienced at least one crash. * `crashRate7dUserWeighted` (`google.type.Decimal`): Rolling average value of `crashRate` in the last 7 days. The daily values are weighted by the count of distinct users for the day. Not supported in HOURLY granularity. * `crashRate28dUserWeighted` (`google.type.Decimal`): Rolling average value of `crashRate` in the last 28 days. The daily values are weighted by the count of distinct users for the day. Not supported in HOURLY granularity. * `userPerceivedCrashRate` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that experienced at least one crash while they were actively using your app (a user-perceived crash). An app is considered to be in active use if it is displaying any activity or executing any foreground service. * `userPerceivedCrashRate7dUserWeighted` (`google.type.Decimal`): Rolling average value of `userPerceivedCrashRate` in the last 7 days. The daily values are weighted by the count of distinct users for the day. Not supported in HOURLY granularity. * `userPerceivedCrashRate28dUserWeighted` (`google.type.Decimal`): Rolling average value of `userPerceivedCrashRate` in the last 28 days. The daily values are weighted by the count of distinct users for the day. Not supported in HOURLY granularity. * `distinctUsers` (`google.type.Decimal`): Count of distinct users in the aggregation period that were used as normalization value for the `crashRate` and `userPerceivedCrashRate` metrics. A user is counted in this metric if they used the app actively during the aggregation period. An app is considered to be in active use if it is displaying any activity or executing any foreground service. Care must be taken not to aggregate this count further, as it may result in users being counted multiple times. The value is rounded to the nearest multiple of 10, 100, 1,000 or 1,000,000, depending on the magnitude of the value. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device, e.g., 26. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. The form of the identifier is 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND and device corresponds to Build.DEVICE, e.g., google/coral. * `deviceBrand` (string): unique identifier of the user's device brand, e.g., google. * `deviceType` (string): the type (also known as form factor) of the user's device, e.g., PHONE. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi. **Required permissions**: to access this resource, the calling user needs the _View app information (read-only)_ permission for the app. **Related metric sets:** * vitals.errors contains unnormalized version (absolute counts) of crashes. * vitals.errors contains normalized metrics about ANRs, another stability metric.", "id": "GooglePlayDeveloperReportingV1beta1CrashRateMetricSet", "properties": { "freshnessInfo": { @@ -958,6 +1050,40 @@ }, "type": "object" }, + "GooglePlayDeveloperReportingV1beta1DeviceId": { + "description": "Identifier of a device.", + "id": "GooglePlayDeveloperReportingV1beta1DeviceId", + "properties": { + "buildBrand": { + "description": "Value of Build.BRAND.", + "type": "string" + }, + "buildDevice": { + "description": "Value of Build.DEVICE.", + "type": "string" + } + }, + "type": "object" + }, + "GooglePlayDeveloperReportingV1beta1DeviceModelSummary": { + "description": "Summary of a device", + "id": "GooglePlayDeveloperReportingV1beta1DeviceModelSummary", + "properties": { + "deviceId": { + "$ref": "GooglePlayDeveloperReportingV1beta1DeviceId", + "description": "Identifier of the device." + }, + "deviceUri": { + "description": "Link to the device in Play Device Catalog.", + "type": "string" + }, + "marketingName": { + "description": "Display name of the device.", + "type": "string" + } + }, + "type": "object" + }, "GooglePlayDeveloperReportingV1beta1DimensionValue": { "description": "Represents the value of a single dimension.", "id": "GooglePlayDeveloperReportingV1beta1DimensionValue", @@ -983,7 +1109,7 @@ "type": "object" }, "GooglePlayDeveloperReportingV1beta1ErrorCountMetricSet": { - "description": "Singleton resource representing the set of error report metrics. This metric set contains un-normalized error report counts. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. The default and only supported timezone is `America/Los_Angeles`. **Supported metrics:** * `errorReportCount` (`google.type.Decimal`): Absolute count of individual error reports that have been received for an app. * `distinctUsers` (`google.type.Decimal`): Count of distinct users for which reports have been received. Care must be taken not to aggregate this count further, as it may result in users being counted multiple times. This value is not rounded, however it may be an approximation. **Required dimension:** This dimension must be always specified in all requests in the `dimensions` field in query requests. * `reportType` (string): the type of error. The value should correspond to one of the possible values in ErrorType. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. * `deviceType` (string): identifier of the device's form factor, e.g., PHONE. * `issueId` (string): the id an error was assigned to. The value should correspond to the `{issue}` component of the issue name. * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi. **Required permissions**: to access this resource, the calling user needs the _View app information (read-only)_ permission for the app. **Related metric sets:** * vitals.errors.counts contains normalized metrics about Crashes, another stability metric. * vitals.errors.counts contains normalized metrics about ANRs, another stability metric.", + "description": "Singleton resource representing the set of error report metrics. This metric set contains un-normalized error report counts. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. The default and only supported timezone is `America/Los_Angeles`. **Supported metrics:** * `errorReportCount` (`google.type.Decimal`): Absolute count of individual error reports that have been received for an app. * `distinctUsers` (`google.type.Decimal`): Count of distinct users for which reports have been received. Care must be taken not to aggregate this count further, as it may result in users being counted multiple times. This value is not rounded, however it may be an approximation. **Required dimension:** This dimension must be always specified in all requests in the `dimensions` field in query requests. * `reportType` (string): the type of error. The value should correspond to one of the possible values in ErrorType. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device, e.g., 26. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. The form of the identifier is 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND and device corresponds to Build.DEVICE, e.g., google/coral. * `deviceType` (string): identifier of the device's form factor, e.g., PHONE. * `issueId` (string): the id an error was assigned to. The value should correspond to the `{issue}` component of the issue name. * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi. **Required permissions**: to access this resource, the calling user needs the _View app information (read-only)_ permission for the app. **Related metric sets:** * vitals.errors.counts contains normalized metrics about Crashes, another stability metric. * vitals.errors.counts contains normalized metrics about ANRs, another stability metric.", "id": "GooglePlayDeveloperReportingV1beta1ErrorCountMetricSet", "properties": { "freshnessInfo": { @@ -1005,6 +1131,45 @@ "description": "Cause of the issue. Depending on the type this can be either: * APPLICATION_NOT_RESPONDING: the type of ANR that occurred, e.g., 'Input dispatching timed out'. * CRASH: for Java unhandled exception errors, the type of the innermost exception that was thrown, e.g., IllegalArgumentException. For signals in native code, the signal that was raised, e.g. SIGSEGV.", "type": "string" }, + "distinctUsers": { + "description": "An estimate of the number of unique users who have experienced this issue (only considering occurrences matching the filters and within the requested time period).", + "format": "int64", + "type": "string" + }, + "distinctUsersPercent": { + "$ref": "GoogleTypeDecimal", + "description": "An estimated percentage of users affected by any issue that are affected by this issue (only considering occurrences matching the filters and within the requested time period)." + }, + "errorReportCount": { + "description": "The total number of error reports in this issue (only considering occurrences matching the filters and within the requested time period).", + "format": "int64", + "type": "string" + }, + "firstAppVersion": { + "$ref": "GooglePlayDeveloperReportingV1beta1AppVersion", + "description": "The earliest (inclusive) app version appearing in this ErrorIssue in the requested time period (only considering occurrences matching the filters)." + }, + "firstOsVersion": { + "$ref": "GooglePlayDeveloperReportingV1beta1OsVersion", + "description": "The smallest OS version in which this error cluster has occurred in the requested time period (only considering occurrences matching the filters and within the requested time period)." + }, + "issueUri": { + "description": "Link to the issue in Android vitals in the Play Console.", + "type": "string" + }, + "lastAppVersion": { + "$ref": "GooglePlayDeveloperReportingV1beta1AppVersion", + "description": "The latest (inclusive) app version appearing in this ErrorIssue in the requested time period (only considering occurrences matching the filters)." + }, + "lastErrorReportTime": { + "description": "Start of the hour during which the last error report in this issue occurred.", + "format": "google-datetime", + "type": "string" + }, + "lastOsVersion": { + "$ref": "GooglePlayDeveloperReportingV1beta1OsVersion", + "description": "The latest OS version in which this error cluster has occurred in the requested time period (only considering occurrences matching the filters and within the requested time period)." + }, "location": { "description": "Location where the issue happened. Depending on the type this can be either: * APPLICATION_NOT_RESPONDING: the name of the activity or service that stopped responding. * CRASH: the likely method name that caused the error.", "type": "string" @@ -1034,6 +1199,15 @@ "description": "An error report received for an app. There reports are produced by the Android platform code when a (potentially fatal) error condition is detected. Identical reports from many users will be deduplicated and coalesced into a single ErrorReport. **Required permissions**: to access this resource, the calling user needs the _View app information (read-only)_ permission for the app.", "id": "GooglePlayDeveloperReportingV1beta1ErrorReport", "properties": { + "deviceModel": { + "$ref": "GooglePlayDeveloperReportingV1beta1DeviceModelSummary", + "description": "A device model on which an event in this error report occurred on." + }, + "eventTime": { + "description": "Start of the hour during which the latest event in this error report occurred.", + "format": "google-datetime", + "type": "string" + }, "issue": { "description": "The issue this report was associated with. **Please note:** this resource is currently in Alpha. There could be changes to the issue grouping that would result in similar but more recent error reports being assigned to a different issue.", "type": "string" @@ -1042,6 +1216,10 @@ "description": "The resource name of the report. Format: apps/{app}/errorReports/{report}", "type": "string" }, + "osVersion": { + "$ref": "GooglePlayDeveloperReportingV1beta1OsVersion", + "description": "The OS version on which an event in this error report occurred on." + }, "reportText": { "description": "Textual representation of the error report. These textual reports are produced by the platform. The reports are then sanitized and filtered to remove any potentially sensitive information. Although their format is fairly stable, they are not entirely meant for machine consumption and we cannot guarantee that there won't be subtle changes to the formatting that may break systems trying to parse information out of the reports.", "type": "string" @@ -1064,7 +1242,7 @@ "type": "object" }, "GooglePlayDeveloperReportingV1beta1ExcessiveWakeupRateMetricSet": { - "description": "Singleton resource representing the set of Excessive Weakeups metrics. This metric set contains AlarmManager wakeup counts data combined with process state data to produce a normalized metric independent of user counts. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. Due to historical constraints, the only supported timezone is `America/Los_Angeles`. **Supported metrics:** * `excessiveWakeupRate` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that had more than 10 wakeups per hour. * `excessiveWakeupRate7dUserWeighted` (`google.type.Decimal`): Rolling average value of `excessiveWakeupRate` in the last 7 days. The daily values are weighted by the count of distinct users for the day. * `excessiveWakeupRate28dUserWeighted` (`google.type.Decimal`): Rolling average value of `excessiveWakeupRate` in the last 28 days. The daily values are weighted by the count of distinct users for the day. * `distinctUsers` (`google.type.Decimal`): Count of distinct users in the aggregation period that were used as normalization value for the `excessiveWakeupRate` metric. A user is counted in this metric if they app was doing any work on the device, i.e., not just active foreground usage but also background work. Care must be taken not to aggregate this count further, as it may result in users being counted multiple times. The value is rounded to the nearest multiple of 10, 100, 1,000 or 1,000,000, depending on the magnitude of the value. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. * `deviceBrand` (string): unique identifier of the user's device brand. * `deviceType` (string): the type (also known as form factor) of the user's device. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi. **Required permissions**: to access this resource, the calling user needs the _View app information (read-only)_ permission for the app.", + "description": "Singleton resource representing the set of Excessive Weakeups metrics. This metric set contains AlarmManager wakeup counts data combined with process state data to produce a normalized metric independent of user counts. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. Due to historical constraints, the only supported timezone is `America/Los_Angeles`. **Supported metrics:** * `excessiveWakeupRate` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that had more than 10 wakeups per hour. * `excessiveWakeupRate7dUserWeighted` (`google.type.Decimal`): Rolling average value of `excessiveWakeupRate` in the last 7 days. The daily values are weighted by the count of distinct users for the day. * `excessiveWakeupRate28dUserWeighted` (`google.type.Decimal`): Rolling average value of `excessiveWakeupRate` in the last 28 days. The daily values are weighted by the count of distinct users for the day. * `distinctUsers` (`google.type.Decimal`): Count of distinct users in the aggregation period that were used as normalization value for the `excessiveWakeupRate` metric. A user is counted in this metric if they app was doing any work on the device, i.e., not just active foreground usage but also background work. Care must be taken not to aggregate this count further, as it may result in users being counted multiple times. The value is rounded to the nearest multiple of 10, 100, 1,000 or 1,000,000, depending on the magnitude of the value. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device, e.g., 26. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. The form of the identifier is 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND and device corresponds to Build.DEVICE, e.g., google/coral. * `deviceBrand` (string): unique identifier of the user's device brand, e.g., google. * `deviceType` (string): the type (also known as form factor) of the user's device, e.g., PHONE. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi. **Required permissions**: to access this resource, the calling user needs the _View app information (read-only)_ permission for the app.", "id": "GooglePlayDeveloperReportingV1beta1ExcessiveWakeupRateMetricSet", "properties": { "freshnessInfo": { @@ -1197,12 +1375,24 @@ }, "type": "object" }, + "GooglePlayDeveloperReportingV1beta1OsVersion": { + "description": "Representation of an OS version.", + "id": "GooglePlayDeveloperReportingV1beta1OsVersion", + "properties": { + "apiLevel": { + "description": "Numeric version code of the OS - API level", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, "GooglePlayDeveloperReportingV1beta1QueryAnrRateMetricSetRequest": { "description": "Request message for QueryAnrRateMetricSet.", "id": "GooglePlayDeveloperReportingV1beta1QueryAnrRateMetricSetRequest", "properties": { "dimensions": { - "description": "Dimensions to slice the metrics by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. * `deviceBrand` (string): unique identifier of the user's device brand. * `deviceType` (string): the type (also known as form factor) of the user's device. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi.", + "description": "Dimensions to slice the metrics by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device, e.g., 26. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. The form of the identifier is 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND and device corresponds to Build.DEVICE, e.g., google/coral. * `deviceBrand` (string): unique identifier of the user's device brand, e.g., google. * `deviceType` (string): the type (also known as form factor) of the user's device, e.g., PHONE. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi.", "items": { "type": "string" }, @@ -1274,7 +1464,7 @@ "id": "GooglePlayDeveloperReportingV1beta1QueryCrashRateMetricSetRequest", "properties": { "dimensions": { - "description": "Dimensions to slice the metrics by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. * `deviceBrand` (string): unique identifier of the user's device brand. * `deviceType` (string): the type (also known as form factor) of the user's device. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi.", + "description": "Dimensions to slice the metrics by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device, e.g., 26. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. The form of the identifier is 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND and device corresponds to Build.DEVICE, e.g., google/coral. * `deviceBrand` (string): unique identifier of the user's device brand, e.g., google. * `deviceType` (string): the type (also known as form factor) of the user's device, e.g., PHONE. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi.", "items": { "type": "string" }, @@ -1346,7 +1536,7 @@ "id": "GooglePlayDeveloperReportingV1beta1QueryErrorCountMetricSetRequest", "properties": { "dimensions": { - "description": "Dimensions to slice the data by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. * `deviceType` (string): identifier of the device's form factor, e.g., PHONE. * `reportType` (string): the type of error. The value should correspond to one of the possible values in ErrorType. * `isUserPerceived` (string): denotes whether error is user perceived or not, USER_PERCEIVED or NOT_USER_PERCEIVED. * `issueId` (string): the id an error was assigned to. The value should correspond to the `{issue}` component of the issue name. * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi.", + "description": "Dimensions to slice the data by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device, e.g., 26. * `versionCode` (int64): unique identifier of the user's device model. The form of the identifier is 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND and device corresponds to Build.DEVICE, e.g., google/coral. * `deviceModel` (string): unique identifier of the user's device model. * `deviceType` (string): identifier of the device's form factor, e.g., PHONE. * `reportType` (string): the type of error. The value should correspond to one of the possible values in ErrorType. * `isUserPerceived` (string): denotes whether error is user perceived or not, USER_PERCEIVED or NOT_USER_PERCEIVED. * `issueId` (string): the id an error was assigned to. The value should correspond to the `{issue}` component of the issue name. * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi.", "items": { "type": "string" }, @@ -1402,7 +1592,7 @@ "id": "GooglePlayDeveloperReportingV1beta1QueryExcessiveWakeupRateMetricSetRequest", "properties": { "dimensions": { - "description": "Dimensions to slice the data by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. * `deviceBrand` (string): unique identifier of the user's device brand. * `deviceType` (string): the type (also known as form factor) of the user's device. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi.", + "description": "Dimensions to slice the data by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device, e.g., 26. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. The form of the identifier is 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND and device corresponds to Build.DEVICE, e.g., google/coral. * `deviceBrand` (string): unique identifier of the user's device brand, e.g., google. * `deviceType` (string): the type (also known as form factor) of the user's device, e.g., PHONE. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi.", "items": { "type": "string" }, @@ -1474,7 +1664,7 @@ "id": "GooglePlayDeveloperReportingV1beta1QuerySlowRenderingRateMetricSetRequest", "properties": { "dimensions": { - "description": "Dimensions to slice the data by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. * `deviceBrand` (string): unique identifier of the user's device brand. * `deviceType` (string): the type (also known as form factor) of the user's device. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi.", + "description": "Dimensions to slice the data by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device, e.g., 26. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. The form of the identifier is 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND and device corresponds to Build.DEVICE, e.g., google/coral. * `deviceBrand` (string): unique identifier of the user's device brand, e.g., google. * `deviceType` (string): the type (also known as form factor) of the user's device, e.g., PHONE. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi.", "items": { "type": "string" }, @@ -1546,7 +1736,7 @@ "id": "GooglePlayDeveloperReportingV1beta1QuerySlowStartRateMetricSetRequest", "properties": { "dimensions": { - "description": "Dimensions to slice the data by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. * `deviceBrand` (string): unique identifier of the user's device brand. * `deviceType` (string): the type (also known as form factor) of the user's device. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi.", + "description": "Dimensions to slice the data by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device, e.g., 26. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. The form of the identifier is 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND and device corresponds to Build.DEVICE, e.g., google/coral. * `deviceBrand` (string): unique identifier of the user's device brand, e.g., google. * `deviceType` (string): the type (also known as form factor) of the user's device, e.g., PHONE. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi.", "items": { "type": "string" }, @@ -1618,7 +1808,7 @@ "id": "GooglePlayDeveloperReportingV1beta1QueryStuckBackgroundWakelockRateMetricSetRequest", "properties": { "dimensions": { - "description": "Dimensions to slice the data by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. * `deviceBrand` (string): unique identifier of the user's device brand. * `deviceType` (string): the type (also known as form factor) of the user's device. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi.", + "description": "Dimensions to slice the data by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device, e.g., 26. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. The form of the identifier is 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND and device corresponds to Build.DEVICE, e.g., google/coral. * `deviceBrand` (string): unique identifier of the user's device brand, e.g., google. * `deviceType` (string): the type (also known as form factor) of the user's device, e.g., PHONE. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi.", "items": { "type": "string" }, @@ -1685,6 +1875,57 @@ }, "type": "object" }, + "GooglePlayDeveloperReportingV1beta1Release": { + "description": "A representation of an app release.", + "id": "GooglePlayDeveloperReportingV1beta1Release", + "properties": { + "displayName": { + "description": "Readable identifier of the release.", + "type": "string" + }, + "versionCodes": { + "description": "The version codes contained in this release.", + "items": { + "format": "int64", + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "GooglePlayDeveloperReportingV1beta1ReleaseFilterOptions": { + "description": "A set of filtering options for releases and version codes specific to an app.", + "id": "GooglePlayDeveloperReportingV1beta1ReleaseFilterOptions", + "properties": { + "tracks": { + "description": "List of tracks to filter releases over. Provides the grouping of version codes under releases and tracks.", + "items": { + "$ref": "GooglePlayDeveloperReportingV1beta1Track" + }, + "type": "array" + } + }, + "type": "object" + }, + "GooglePlayDeveloperReportingV1beta1SearchAccessibleAppsResponse": { + "description": "Response message for SearchAccessibleApps.", + "id": "GooglePlayDeveloperReportingV1beta1SearchAccessibleAppsResponse", + "properties": { + "apps": { + "description": "The apps accessible to the user calling the endpoint.", + "items": { + "$ref": "GooglePlayDeveloperReportingV1beta1App" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", + "type": "string" + } + }, + "type": "object" + }, "GooglePlayDeveloperReportingV1beta1SearchErrorIssuesResponse": { "description": "Response with a paginated list of issues that matched the request.", "id": "GooglePlayDeveloperReportingV1beta1SearchErrorIssuesResponse", @@ -1722,7 +1963,7 @@ "type": "object" }, "GooglePlayDeveloperReportingV1beta1SlowRenderingRateMetricSet": { - "description": "Singleton resource representing the set of Slow Rendering metrics. This metric set contains low-level rendering data captured by SurafeFlinger. Sessions are evaluated based on the present-to-present histogram of frames handled by any SurfaceFlinger layer owned by the app. A slow session is a session where more than 25% of frames for the session did not meet the metric's target frame rate (either 20fps, or 30fps). *NOTE:* This metric set is only available for games. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. Due to historical constraints, the only supported timezone is `America/Los_Angeles`. **Supported metrics:** * `slowRenderingRate20Fps` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that had slow rendering. * `slowRenderingRate20Fps7dUserWeighted` (`google.type.Decimal`): Rolling average value of `slowRenderingRate20Fps` in the last 7 days. The daily values are weighted by the count of distinct users for the day. * `slowRenderingRate20Fps28dUserWeighted` (`google.type.Decimal`): Rolling average value of `slowRenderingRate20Fps` in the last 28 days. The daily values are weighted by the count of distinct users for the day. * `slowRenderingRate30Fps` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that had slow rendering. * `slowRenderingRate30Fps7dUserWeighted` (`google.type.Decimal`): Rolling average value of `slowRenderingRate30Fps` in the last 7 days. The daily values are weighted by the count of distinct users for the day. * `slowRenderingRate30Fps28dUserWeighted` (`google.type.Decimal`): Rolling average value of `slowRenderingRate30Fps` in the last 28 days. The daily values are weighted by the count of distinct users for the day. * `distinctUsers` (`google.type.Decimal`): Count of distinct users in the aggregation period that were used as normalization value for the `slowRenderingRate20Fps`/`slowRenderingRate30Fps` metric. A user is counted in this metric if their app rendered any frames. Care must be taken not to aggregate this count further, as it may result in users being counted multiple times. The value is rounded to the nearest multiple of 10, 100, 1,000 or 1,000,000, depending on the magnitude of the value. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. * `deviceBrand` (string): unique identifier of the user's device brand. * `deviceType` (string): the type (also known as form factor) of the user's device. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi. **Required permissions**: to access this resource, the calling user needs the _View app information (read-only)_ permission for the app.", + "description": "Singleton resource representing the set of Slow Rendering metrics. This metric set contains low-level rendering data captured by SurafeFlinger. Sessions are evaluated based on the present-to-present histogram of frames handled by any SurfaceFlinger layer owned by the app. A slow session is a session where more than 25% of frames for the session did not meet the metric's target frame rate (either 20fps, or 30fps). *NOTE:* This metric set is only available for games. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. Due to historical constraints, the only supported timezone is `America/Los_Angeles`. **Supported metrics:** * `slowRenderingRate20Fps` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that had slow rendering. * `slowRenderingRate20Fps7dUserWeighted` (`google.type.Decimal`): Rolling average value of `slowRenderingRate20Fps` in the last 7 days. The daily values are weighted by the count of distinct users for the day. * `slowRenderingRate20Fps28dUserWeighted` (`google.type.Decimal`): Rolling average value of `slowRenderingRate20Fps` in the last 28 days. The daily values are weighted by the count of distinct users for the day. * `slowRenderingRate30Fps` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that had slow rendering. * `slowRenderingRate30Fps7dUserWeighted` (`google.type.Decimal`): Rolling average value of `slowRenderingRate30Fps` in the last 7 days. The daily values are weighted by the count of distinct users for the day. * `slowRenderingRate30Fps28dUserWeighted` (`google.type.Decimal`): Rolling average value of `slowRenderingRate30Fps` in the last 28 days. The daily values are weighted by the count of distinct users for the day. * `distinctUsers` (`google.type.Decimal`): Count of distinct users in the aggregation period that were used as normalization value for the `slowRenderingRate20Fps`/`slowRenderingRate30Fps` metric. A user is counted in this metric if their app rendered any frames. Care must be taken not to aggregate this count further, as it may result in users being counted multiple times. The value is rounded to the nearest multiple of 10, 100, 1,000 or 1,000,000, depending on the magnitude of the value. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device, e.g., 26. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. The form of the identifier is 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND and device corresponds to Build.DEVICE, e.g., google/coral. * `deviceBrand` (string): unique identifier of the user's device brand, e.g., google. * `deviceType` (string): the type (also known as form factor) of the user's device, e.g., PHONE. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi. **Required permissions**: to access this resource, the calling user needs the _View app information (read-only)_ permission for the app.", "id": "GooglePlayDeveloperReportingV1beta1SlowRenderingRateMetricSet", "properties": { "freshnessInfo": { @@ -1737,7 +1978,7 @@ "type": "object" }, "GooglePlayDeveloperReportingV1beta1SlowStartRateMetricSet": { - "description": "Singleton resource representing the set of Slow Start metrics. This metric set contains Activity start duration data. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. Due to historical constraints, the only supported timezone is `America/Los_Angeles`. **Supported metrics:** * `slowStartRate` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that had a slow start. * `slowStartRate7dUserWeighted` (`google.type.Decimal`): Rolling average value of `slowStartRate` in the last 7 days. The daily values are weighted by the count of distinct users for the day. * `slowStartRate28dUserWeighted` (`google.type.Decimal`): Rolling average value of `slowStartRate` in the last 28 days. The daily values are weighted by the count of distinct users for the day. * `distinctUsers` (`google.type.Decimal`): Count of distinct users in the aggregation period that were used as normalization value for the `slowStartRate` metric. A user is counted in this metric if their app was launched in the device. Care must be taken not to aggregate this count further, as it may result in users being counted multiple times. The value is rounded to the nearest multiple of 10, 100, 1,000 or 1,000,000, depending on the magnitude of the value. **Required dimension:** This dimension must be specified with each request for the request to be valid. * `startType` (string): the type of start that was measured. Valid types are `HOT`, `WARM` and `COLD`. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. * `deviceBrand` (string): unique identifier of the user's device brand. * `deviceType` (string): the type (also known as form factor) of the user's device. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi. **Required permissions**: to access this resource, the calling user needs the _View app information (read-only)_ permission for the app.", + "description": "Singleton resource representing the set of Slow Start metrics. This metric set contains Activity start duration data. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. Due to historical constraints, the only supported timezone is `America/Los_Angeles`. **Supported metrics:** * `slowStartRate` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that had a slow start. * `slowStartRate7dUserWeighted` (`google.type.Decimal`): Rolling average value of `slowStartRate` in the last 7 days. The daily values are weighted by the count of distinct users for the day. * `slowStartRate28dUserWeighted` (`google.type.Decimal`): Rolling average value of `slowStartRate` in the last 28 days. The daily values are weighted by the count of distinct users for the day. * `distinctUsers` (`google.type.Decimal`): Count of distinct users in the aggregation period that were used as normalization value for the `slowStartRate` metric. A user is counted in this metric if their app was launched in the device. Care must be taken not to aggregate this count further, as it may result in users being counted multiple times. The value is rounded to the nearest multiple of 10, 100, 1,000 or 1,000,000, depending on the magnitude of the value. **Required dimension:** This dimension must be specified with each request for the request to be valid. * `startType` (string): the type of start that was measured. Valid types are `HOT`, `WARM` and `COLD`. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device, e.g., 26. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. The form of the identifier is 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND and device corresponds to Build.DEVICE, e.g., google/coral. * `deviceBrand` (string): unique identifier of the user's device brand, e.g., google. * `deviceType` (string): the type (also known as form factor) of the user's device, e.g., PHONE. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi. **Required permissions**: to access this resource, the calling user needs the _View app information (read-only)_ permission for the app.", "id": "GooglePlayDeveloperReportingV1beta1SlowStartRateMetricSet", "properties": { "freshnessInfo": { @@ -1752,7 +1993,7 @@ "type": "object" }, "GooglePlayDeveloperReportingV1beta1StuckBackgroundWakelockRateMetricSet": { - "description": "Singleton resource representing the set of Stuck Background Wakelocks metrics. This metric set contains PowerManager wakelock duration data combined with process state data to produce a normalized metric independent of user counts. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. Due to historical constraints, the only supported timezone is `America/Los_Angeles`. **Supported metrics:** * `stuckBgWakelockRate` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that had a wakelock held in the background for longer than 1 hour. * `stuckBgWakelockRate7dUserWeighted` (`google.type.Decimal`): Rolling average value of `stuckBgWakelockRate` in the last 7 days. The daily values are weighted by the count of distinct users for the day. * `stuckBgWakelockRate28dUserWeighted` (`google.type.Decimal`): Rolling average value of `stuckBgWakelockRate` in the last 28 days. The daily values are weighted by the count of distinct users for the day. * `distinctUsers` (`google.type.Decimal`): Count of distinct users in the aggregation period that were used as normalization value for the `stuckBgWakelockRate` metric. A user is counted in this metric if their app was doing any work on the device, i.e., not just active foreground usage but also background work. Care must be taken not to aggregate this count further, as it may result in users being counted multiple times. The value is rounded to the nearest multiple of 10, 100, 1,000 or 1,000,000, depending on the magnitude of the value. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. * `deviceBrand` (string): unique identifier of the user's device brand. * `deviceType` (string): the type (also known as form factor) of the user's device. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi. **Required permissions**: to access this resource, the calling user needs the _View app information (read-only)_ permission for the app.", + "description": "Singleton resource representing the set of Stuck Background Wakelocks metrics. This metric set contains PowerManager wakelock duration data combined with process state data to produce a normalized metric independent of user counts. **Supported aggregation periods:** * DAILY: metrics are aggregated in calendar date intervals. Due to historical constraints, the only supported timezone is `America/Los_Angeles`. **Supported metrics:** * `stuckBgWakelockRate` (`google.type.Decimal`): Percentage of distinct users in the aggregation period that had a wakelock held in the background for longer than 1 hour. * `stuckBgWakelockRate7dUserWeighted` (`google.type.Decimal`): Rolling average value of `stuckBgWakelockRate` in the last 7 days. The daily values are weighted by the count of distinct users for the day. * `stuckBgWakelockRate28dUserWeighted` (`google.type.Decimal`): Rolling average value of `stuckBgWakelockRate` in the last 28 days. The daily values are weighted by the count of distinct users for the day. * `distinctUsers` (`google.type.Decimal`): Count of distinct users in the aggregation period that were used as normalization value for the `stuckBgWakelockRate` metric. A user is counted in this metric if their app was doing any work on the device, i.e., not just active foreground usage but also background work. Care must be taken not to aggregate this count further, as it may result in users being counted multiple times. The value is rounded to the nearest multiple of 10, 100, 1,000 or 1,000,000, depending on the magnitude of the value. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device, e.g., 26. * `versionCode` (int64): version of the app that was running on the user's device. * `deviceModel` (string): unique identifier of the user's device model. The form of the identifier is 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND and device corresponds to Build.DEVICE, e.g., google/coral. * `deviceBrand` (string): unique identifier of the user's device brand, e.g., google. * `deviceType` (string): the type (also known as form factor) of the user's device, e.g., PHONE. * `countryCode` (string): the country or region of the user's device based on their IP address, represented as a 2-letter ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi. **Required permissions**: to access this resource, the calling user needs the _View app information (read-only)_ permission for the app.", "id": "GooglePlayDeveloperReportingV1beta1StuckBackgroundWakelockRateMetricSet", "properties": { "freshnessInfo": { @@ -1797,6 +2038,28 @@ }, "type": "object" }, + "GooglePlayDeveloperReportingV1beta1Track": { + "description": "A representation of a Play release track.", + "id": "GooglePlayDeveloperReportingV1beta1Track", + "properties": { + "displayName": { + "description": "Readable identifier of the track.", + "type": "string" + }, + "servingReleases": { + "description": "Represents all active releases in the track.", + "items": { + "$ref": "GooglePlayDeveloperReportingV1beta1Release" + }, + "type": "array" + }, + "type": { + "description": "The type of the track.", + "type": "string" + } + }, + "type": "object" + }, "GoogleTypeDateTime": { "description": "Represents civil time (or occasionally physical time). This type can represent a civil time in one of a few possible ways: * When utc_offset is set and time_zone is unset: a civil time on a calendar day with a particular offset from UTC. * When time_zone is set and utc_offset is unset: a civil time on a calendar day in a particular time zone. * When neither time_zone nor utc_offset is set: a civil time on a calendar day in local time. The date is relative to the Proleptic Gregorian Calendar. If year, month, or day are 0, the DateTime is considered not to have a specific year, month, or day respectively. This type may also be used to represent a physical time if all the date and time fields are set and either case of the `time_offset` oneof is set. Consider using `Timestamp` message for physical time instead. If your use case also would like to store the user's timezone, that can be done in another field. This type is more flexible than some applications may want. Make sure to document and validate your application's limitations.", "id": "GoogleTypeDateTime", diff --git a/playdeveloperreporting/v1beta1/playdeveloperreporting-gen.go b/playdeveloperreporting/v1beta1/playdeveloperreporting-gen.go index e5bea9ef5f6..539db1374e7 100644 --- a/playdeveloperreporting/v1beta1/playdeveloperreporting-gen.go +++ b/playdeveloperreporting/v1beta1/playdeveloperreporting-gen.go @@ -120,6 +120,7 @@ func New(client *http.Client) (*Service, error) { } s := &Service{client: client, BasePath: basePath} s.Anomalies = NewAnomaliesService(s) + s.Apps = NewAppsService(s) s.Vitals = NewVitalsService(s) return s, nil } @@ -131,6 +132,8 @@ type Service struct { Anomalies *AnomaliesService + Apps *AppsService + Vitals *VitalsService } @@ -150,6 +153,15 @@ type AnomaliesService struct { s *Service } +func NewAppsService(s *Service) *AppsService { + rs := &AppsService{s: s} + return rs +} + +type AppsService struct { + s *Service +} + func NewVitalsService(s *Service) *VitalsService { rs := &VitalsService{s: s} rs.Anrrate = NewVitalsAnrrateService(s) @@ -371,17 +383,20 @@ func (s *GooglePlayDeveloperReportingV1beta1Anomaly) MarshalJSON() ([]byte, erro // times. The value is rounded to the nearest multiple of 10, 100, 1,000 // or 1,000,000, depending on the magnitude of the value. **Supported // dimensions:** * `apiLevel` (string): the API level of Android that -// was running on the user's device. * `versionCode` (int64): version of -// the app that was running on the user's device. * `deviceModel` -// (string): unique identifier of the user's device model. * -// `deviceBrand` (string): unique identifier of the user's device brand. -// * `deviceType` (string): the type (also known as form factor) of the -// user's device. * `countryCode` (string): the country or region of the -// user's device based on their IP address, represented as a 2-letter -// ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` -// (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * -// `deviceSocMake` (string): Make of the device's primary -// system-on-chip, e.g., Samsung. Reference +// was running on the user's device, e.g., 26. * `versionCode` (int64): +// version of the app that was running on the user's device. * +// `deviceModel` (string): unique identifier of the user's device model. +// The form of the identifier is 'deviceBrand/device', where deviceBrand +// corresponds to Build.BRAND and device corresponds to Build.DEVICE, +// e.g., google/coral. * `deviceBrand` (string): unique identifier of +// the user's device brand, e.g., google. * `deviceType` (string): the +// type (also known as form factor) of the user's device, e.g., PHONE. * +// `countryCode` (string): the country or region of the user's device +// based on their IP address, represented as a 2-letter ISO-3166 code +// (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of +// the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` +// (string): Make of the device's primary system-on-chip, e.g., Samsung. +// Reference // (https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) // * `deviceSocModel` (string): Model of the device's primary // system-on-chip, e.g., "Exynos 2100". Reference @@ -435,6 +450,73 @@ func (s *GooglePlayDeveloperReportingV1beta1AnrRateMetricSet) MarshalJSON() ([]b return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// GooglePlayDeveloperReportingV1beta1App: A representation of an app in +// the Play Store. +type GooglePlayDeveloperReportingV1beta1App struct { + // DisplayName: Title of the app. This is the latest title as set in the + // Play Console and may not yet have been reviewed, so might not match + // the Play Store. Example: `Google Maps`. + DisplayName string `json:"displayName,omitempty"` + + // Name: The resource name. Format: apps/{app} + Name string `json:"name,omitempty"` + + // PackageName: Package name of the app. Example: `com.example.app123`. + PackageName string `json:"packageName,omitempty"` + + // ForceSendFields is a list of field names (e.g. "DisplayName") 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. "DisplayName") 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 *GooglePlayDeveloperReportingV1beta1App) MarshalJSON() ([]byte, error) { + type NoMethod GooglePlayDeveloperReportingV1beta1App + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GooglePlayDeveloperReportingV1beta1AppVersion: Representations of an +// app version. +type GooglePlayDeveloperReportingV1beta1AppVersion struct { + // VersionCode: Numeric version code of the app version (set by the + // app's developer). + VersionCode int64 `json:"versionCode,omitempty,string"` + + // ForceSendFields is a list of field names (e.g. "VersionCode") 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. "VersionCode") 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 *GooglePlayDeveloperReportingV1beta1AppVersion) MarshalJSON() ([]byte, error) { + type NoMethod GooglePlayDeveloperReportingV1beta1AppVersion + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // GooglePlayDeveloperReportingV1beta1CrashRateMetricSet: Singleton // resource representing the set of crashrate metrics. This metric set // contains crashes data combined with usage data to produce a @@ -476,17 +558,20 @@ func (s *GooglePlayDeveloperReportingV1beta1AnrRateMetricSet) MarshalJSON() ([]b // times. The value is rounded to the nearest multiple of 10, 100, 1,000 // or 1,000,000, depending on the magnitude of the value. **Supported // dimensions:** * `apiLevel` (string): the API level of Android that -// was running on the user's device. * `versionCode` (int64): version of -// the app that was running on the user's device. * `deviceModel` -// (string): unique identifier of the user's device model. * -// `deviceBrand` (string): unique identifier of the user's device brand. -// * `deviceType` (string): the type (also known as form factor) of the -// user's device. * `countryCode` (string): the country or region of the -// user's device based on their IP address, represented as a 2-letter -// ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` -// (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * -// `deviceSocMake` (string): Make of the device's primary -// system-on-chip, e.g., Samsung. Reference +// was running on the user's device, e.g., 26. * `versionCode` (int64): +// version of the app that was running on the user's device. * +// `deviceModel` (string): unique identifier of the user's device model. +// The form of the identifier is 'deviceBrand/device', where deviceBrand +// corresponds to Build.BRAND and device corresponds to Build.DEVICE, +// e.g., google/coral. * `deviceBrand` (string): unique identifier of +// the user's device brand, e.g., google. * `deviceType` (string): the +// type (also known as form factor) of the user's device, e.g., PHONE. * +// `countryCode` (string): the country or region of the user's device +// based on their IP address, represented as a 2-letter ISO-3166 code +// (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of +// the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` +// (string): Make of the device's primary system-on-chip, e.g., Samsung. +// Reference // (https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) // * `deviceSocModel` (string): Model of the device's primary // system-on-chip, e.g., "Exynos 2100". Reference @@ -572,6 +657,72 @@ func (s *GooglePlayDeveloperReportingV1beta1DecimalConfidenceInterval) MarshalJS return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// GooglePlayDeveloperReportingV1beta1DeviceId: Identifier of a device. +type GooglePlayDeveloperReportingV1beta1DeviceId struct { + // BuildBrand: Value of Build.BRAND. + BuildBrand string `json:"buildBrand,omitempty"` + + // BuildDevice: Value of Build.DEVICE. + BuildDevice string `json:"buildDevice,omitempty"` + + // ForceSendFields is a list of field names (e.g. "BuildBrand") 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. "BuildBrand") 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 *GooglePlayDeveloperReportingV1beta1DeviceId) MarshalJSON() ([]byte, error) { + type NoMethod GooglePlayDeveloperReportingV1beta1DeviceId + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GooglePlayDeveloperReportingV1beta1DeviceModelSummary: Summary of a +// device +type GooglePlayDeveloperReportingV1beta1DeviceModelSummary struct { + // DeviceId: Identifier of the device. + DeviceId *GooglePlayDeveloperReportingV1beta1DeviceId `json:"deviceId,omitempty"` + + // DeviceUri: Link to the device in Play Device Catalog. + DeviceUri string `json:"deviceUri,omitempty"` + + // MarketingName: Display name of the device. + MarketingName string `json:"marketingName,omitempty"` + + // ForceSendFields is a list of field names (e.g. "DeviceId") 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. "DeviceId") 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 *GooglePlayDeveloperReportingV1beta1DeviceModelSummary) MarshalJSON() ([]byte, error) { + type NoMethod GooglePlayDeveloperReportingV1beta1DeviceModelSummary + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // GooglePlayDeveloperReportingV1beta1DimensionValue: Represents the // value of a single dimension. type GooglePlayDeveloperReportingV1beta1DimensionValue struct { @@ -631,16 +782,18 @@ func (s *GooglePlayDeveloperReportingV1beta1DimensionValue) MarshalJSON() ([]byt // in the `dimensions` field in query requests. * `reportType` (string): // the type of error. The value should correspond to one of the possible // values in ErrorType. **Supported dimensions:** * `apiLevel` (string): -// the API level of Android that was running on the user's device. * -// `versionCode` (int64): version of the app that was running on the -// user's device. * `deviceModel` (string): unique identifier of the -// user's device model. * `deviceType` (string): identifier of the -// device's form factor, e.g., PHONE. * `issueId` (string): the id an -// error was assigned to. The value should correspond to the `{issue}` -// component of the issue name. * `deviceRamBucket` (int64): RAM of the -// device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` -// (string): Make of the device's primary system-on-chip, e.g., Samsung. -// Reference +// the API level of Android that was running on the user's device, e.g., +// 26. * `versionCode` (int64): version of the app that was running on +// the user's device. * `deviceModel` (string): unique identifier of the +// user's device model. The form of the identifier is +// 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND +// and device corresponds to Build.DEVICE, e.g., google/coral. * +// `deviceType` (string): identifier of the device's form factor, e.g., +// PHONE. * `issueId` (string): the id an error was assigned to. The +// value should correspond to the `{issue}` component of the issue name. +// * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets +// (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's +// primary system-on-chip, e.g., Samsung. Reference // (https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) // * `deviceSocModel` (string): Model of the device's primary // system-on-chip, e.g., "Exynos 2100". Reference @@ -713,6 +866,50 @@ type GooglePlayDeveloperReportingV1beta1ErrorIssue struct { // was raised, e.g. SIGSEGV. Cause string `json:"cause,omitempty"` + // DistinctUsers: An estimate of the number of unique users who have + // experienced this issue (only considering occurrences matching the + // filters and within the requested time period). + DistinctUsers int64 `json:"distinctUsers,omitempty,string"` + + // DistinctUsersPercent: An estimated percentage of users affected by + // any issue that are affected by this issue (only considering + // occurrences matching the filters and within the requested time + // period). + DistinctUsersPercent *GoogleTypeDecimal `json:"distinctUsersPercent,omitempty"` + + // ErrorReportCount: The total number of error reports in this issue + // (only considering occurrences matching the filters and within the + // requested time period). + ErrorReportCount int64 `json:"errorReportCount,omitempty,string"` + + // FirstAppVersion: The earliest (inclusive) app version appearing in + // this ErrorIssue in the requested time period (only considering + // occurrences matching the filters). + FirstAppVersion *GooglePlayDeveloperReportingV1beta1AppVersion `json:"firstAppVersion,omitempty"` + + // FirstOsVersion: The smallest OS version in which this error cluster + // has occurred in the requested time period (only considering + // occurrences matching the filters and within the requested time + // period). + FirstOsVersion *GooglePlayDeveloperReportingV1beta1OsVersion `json:"firstOsVersion,omitempty"` + + // IssueUri: Link to the issue in Android vitals in the Play Console. + IssueUri string `json:"issueUri,omitempty"` + + // LastAppVersion: The latest (inclusive) app version appearing in this + // ErrorIssue in the requested time period (only considering occurrences + // matching the filters). + LastAppVersion *GooglePlayDeveloperReportingV1beta1AppVersion `json:"lastAppVersion,omitempty"` + + // LastErrorReportTime: Start of the hour during which the last error + // report in this issue occurred. + LastErrorReportTime string `json:"lastErrorReportTime,omitempty"` + + // LastOsVersion: The latest OS version in which this error cluster has + // occurred in the requested time period (only considering occurrences + // matching the filters and within the requested time period). + LastOsVersion *GooglePlayDeveloperReportingV1beta1OsVersion `json:"lastOsVersion,omitempty"` + // Location: Location where the issue happened. Depending on the type // this can be either: * APPLICATION_NOT_RESPONDING: the name of the // activity or service that stopped responding. * CRASH: the likely @@ -766,6 +963,14 @@ func (s *GooglePlayDeveloperReportingV1beta1ErrorIssue) MarshalJSON() ([]byte, e // resource, the calling user needs the _View app information // (read-only)_ permission for the app. type GooglePlayDeveloperReportingV1beta1ErrorReport struct { + // DeviceModel: A device model on which an event in this error report + // occurred on. + DeviceModel *GooglePlayDeveloperReportingV1beta1DeviceModelSummary `json:"deviceModel,omitempty"` + + // EventTime: Start of the hour during which the latest event in this + // error report occurred. + EventTime string `json:"eventTime,omitempty"` + // Issue: The issue this report was associated with. **Please note:** // this resource is currently in Alpha. There could be changes to the // issue grouping that would result in similar but more recent error @@ -776,6 +981,10 @@ type GooglePlayDeveloperReportingV1beta1ErrorReport struct { // apps/{app}/errorReports/{report} Name string `json:"name,omitempty"` + // OsVersion: The OS version on which an event in this error report + // occurred on. + OsVersion *GooglePlayDeveloperReportingV1beta1OsVersion `json:"osVersion,omitempty"` + // ReportText: Textual representation of the error report. These textual // reports are produced by the platform. The reports are then sanitized // and filtered to remove any potentially sensitive information. @@ -797,7 +1006,7 @@ type GooglePlayDeveloperReportingV1beta1ErrorReport struct { // SIGSEGV. Type string `json:"type,omitempty"` - // ForceSendFields is a list of field names (e.g. "Issue") to + // ForceSendFields is a list of field names (e.g. "DeviceModel") 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 @@ -805,10 +1014,10 @@ type GooglePlayDeveloperReportingV1beta1ErrorReport struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Issue") 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 + // NullFields is a list of field names (e.g. "DeviceModel") 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:"-"` @@ -845,17 +1054,20 @@ func (s *GooglePlayDeveloperReportingV1beta1ErrorReport) MarshalJSON() ([]byte, // multiple times. The value is rounded to the nearest multiple of 10, // 100, 1,000 or 1,000,000, depending on the magnitude of the value. // **Supported dimensions:** * `apiLevel` (string): the API level of -// Android that was running on the user's device. * `versionCode` -// (int64): version of the app that was running on the user's device. * -// `deviceModel` (string): unique identifier of the user's device model. -// * `deviceBrand` (string): unique identifier of the user's device -// brand. * `deviceType` (string): the type (also known as form factor) -// of the user's device. * `countryCode` (string): the country or region -// of the user's device based on their IP address, represented as a -// 2-letter ISO-3166 code (e.g. US for the United States). * -// `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, -// 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary -// system-on-chip, e.g., Samsung. Reference +// Android that was running on the user's device, e.g., 26. * +// `versionCode` (int64): version of the app that was running on the +// user's device. * `deviceModel` (string): unique identifier of the +// user's device model. The form of the identifier is +// 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND +// and device corresponds to Build.DEVICE, e.g., google/coral. * +// `deviceBrand` (string): unique identifier of the user's device brand, +// e.g., google. * `deviceType` (string): the type (also known as form +// factor) of the user's device, e.g., PHONE. * `countryCode` (string): +// the country or region of the user's device based on their IP address, +// represented as a 2-letter ISO-3166 code (e.g. US for the United +// States). * `deviceRamBucket` (int64): RAM of the device, in MB, in +// buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the +// device's primary system-on-chip, e.g., Samsung. Reference // (https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) // * `deviceSocModel` (string): Model of the device's primary // system-on-chip, e.g., "Exynos 2100". Reference @@ -1107,22 +1319,54 @@ func (s *GooglePlayDeveloperReportingV1beta1MetricsRow) MarshalJSON() ([]byte, e return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// GooglePlayDeveloperReportingV1beta1OsVersion: Representation of an OS +// version. +type GooglePlayDeveloperReportingV1beta1OsVersion struct { + // ApiLevel: Numeric version code of the OS - API level + ApiLevel int64 `json:"apiLevel,omitempty,string"` + + // ForceSendFields is a list of field names (e.g. "ApiLevel") 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. "ApiLevel") 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 *GooglePlayDeveloperReportingV1beta1OsVersion) MarshalJSON() ([]byte, error) { + type NoMethod GooglePlayDeveloperReportingV1beta1OsVersion + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // GooglePlayDeveloperReportingV1beta1QueryAnrRateMetricSetRequest: // Request message for QueryAnrRateMetricSet. type GooglePlayDeveloperReportingV1beta1QueryAnrRateMetricSetRequest struct { // Dimensions: Dimensions to slice the metrics by. **Supported // dimensions:** * `apiLevel` (string): the API level of Android that - // was running on the user's device. * `versionCode` (int64): version of - // the app that was running on the user's device. * `deviceModel` - // (string): unique identifier of the user's device model. * - // `deviceBrand` (string): unique identifier of the user's device brand. - // * `deviceType` (string): the type (also known as form factor) of the - // user's device. * `countryCode` (string): the country or region of the - // user's device based on their IP address, represented as a 2-letter - // ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` - // (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * - // `deviceSocMake` (string): Make of the device's primary - // system-on-chip, e.g., Samsung. Reference + // was running on the user's device, e.g., 26. * `versionCode` (int64): + // version of the app that was running on the user's device. * + // `deviceModel` (string): unique identifier of the user's device model. + // The form of the identifier is 'deviceBrand/device', where deviceBrand + // corresponds to Build.BRAND and device corresponds to Build.DEVICE, + // e.g., google/coral. * `deviceBrand` (string): unique identifier of + // the user's device brand, e.g., google. * `deviceType` (string): the + // type (also known as form factor) of the user's device, e.g., PHONE. * + // `countryCode` (string): the country or region of the user's device + // based on their IP address, represented as a 2-letter ISO-3166 code + // (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of + // the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` + // (string): Make of the device's primary system-on-chip, e.g., Samsung. + // Reference // (https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) // * `deviceSocModel` (string): Model of the device's primary // system-on-chip, e.g., "Exynos 2100". Reference @@ -1280,17 +1524,20 @@ func (s *GooglePlayDeveloperReportingV1beta1QueryAnrRateMetricSetResponse) Marsh type GooglePlayDeveloperReportingV1beta1QueryCrashRateMetricSetRequest struct { // Dimensions: Dimensions to slice the metrics by. **Supported // dimensions:** * `apiLevel` (string): the API level of Android that - // was running on the user's device. * `versionCode` (int64): version of - // the app that was running on the user's device. * `deviceModel` - // (string): unique identifier of the user's device model. * - // `deviceBrand` (string): unique identifier of the user's device brand. - // * `deviceType` (string): the type (also known as form factor) of the - // user's device. * `countryCode` (string): the country or region of the - // user's device based on their IP address, represented as a 2-letter - // ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` - // (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * - // `deviceSocMake` (string): Make of the device's primary - // system-on-chip, e.g., Samsung. Reference + // was running on the user's device, e.g., 26. * `versionCode` (int64): + // version of the app that was running on the user's device. * + // `deviceModel` (string): unique identifier of the user's device model. + // The form of the identifier is 'deviceBrand/device', where deviceBrand + // corresponds to Build.BRAND and device corresponds to Build.DEVICE, + // e.g., google/coral. * `deviceBrand` (string): unique identifier of + // the user's device brand, e.g., google. * `deviceType` (string): the + // type (also known as form factor) of the user's device, e.g., PHONE. * + // `countryCode` (string): the country or region of the user's device + // based on their IP address, represented as a 2-letter ISO-3166 code + // (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of + // the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` + // (string): Make of the device's primary system-on-chip, e.g., Samsung. + // Reference // (https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) // * `deviceSocModel` (string): Model of the device's primary // system-on-chip, e.g., "Exynos 2100". Reference @@ -1451,18 +1698,20 @@ func (s *GooglePlayDeveloperReportingV1beta1QueryCrashRateMetricSetResponse) Mar type GooglePlayDeveloperReportingV1beta1QueryErrorCountMetricSetRequest struct { // Dimensions: Dimensions to slice the data by. **Supported // dimensions:** * `apiLevel` (string): the API level of Android that - // was running on the user's device. * `versionCode` (int64): version of - // the app that was running on the user's device. * `deviceModel` - // (string): unique identifier of the user's device model. * - // `deviceType` (string): identifier of the device's form factor, e.g., - // PHONE. * `reportType` (string): the type of error. The value should - // correspond to one of the possible values in ErrorType. * - // `isUserPerceived` (string): denotes whether error is user perceived - // or not, USER_PERCEIVED or NOT_USER_PERCEIVED. * `issueId` (string): - // the id an error was assigned to. The value should correspond to the - // `{issue}` component of the issue name. * `deviceRamBucket` (int64): - // RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * - // `deviceSocMake` (string): Make of the device's primary + // was running on the user's device, e.g., 26. * `versionCode` (int64): + // unique identifier of the user's device model. The form of the + // identifier is 'deviceBrand/device', where deviceBrand corresponds to + // Build.BRAND and device corresponds to Build.DEVICE, e.g., + // google/coral. * `deviceModel` (string): unique identifier of the + // user's device model. * `deviceType` (string): identifier of the + // device's form factor, e.g., PHONE. * `reportType` (string): the type + // of error. The value should correspond to one of the possible values + // in ErrorType. * `isUserPerceived` (string): denotes whether error is + // user perceived or not, USER_PERCEIVED or NOT_USER_PERCEIVED. * + // `issueId` (string): the id an error was assigned to. The value should + // correspond to the `{issue}` component of the issue name. * + // `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, + // 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary // system-on-chip, e.g., Samsung. Reference // (https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) // * `deviceSocModel` (string): Model of the device's primary @@ -1575,17 +1824,20 @@ func (s *GooglePlayDeveloperReportingV1beta1QueryErrorCountMetricSetResponse) Ma type GooglePlayDeveloperReportingV1beta1QueryExcessiveWakeupRateMetricSetRequest struct { // Dimensions: Dimensions to slice the data by. **Supported // dimensions:** * `apiLevel` (string): the API level of Android that - // was running on the user's device. * `versionCode` (int64): version of - // the app that was running on the user's device. * `deviceModel` - // (string): unique identifier of the user's device model. * - // `deviceBrand` (string): unique identifier of the user's device brand. - // * `deviceType` (string): the type (also known as form factor) of the - // user's device. * `countryCode` (string): the country or region of the - // user's device based on their IP address, represented as a 2-letter - // ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` - // (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * - // `deviceSocMake` (string): Make of the device's primary - // system-on-chip, e.g., Samsung. Reference + // was running on the user's device, e.g., 26. * `versionCode` (int64): + // version of the app that was running on the user's device. * + // `deviceModel` (string): unique identifier of the user's device model. + // The form of the identifier is 'deviceBrand/device', where deviceBrand + // corresponds to Build.BRAND and device corresponds to Build.DEVICE, + // e.g., google/coral. * `deviceBrand` (string): unique identifier of + // the user's device brand, e.g., google. * `deviceType` (string): the + // type (also known as form factor) of the user's device, e.g., PHONE. * + // `countryCode` (string): the country or region of the user's device + // based on their IP address, represented as a 2-letter ISO-3166 code + // (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of + // the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` + // (string): Make of the device's primary system-on-chip, e.g., Samsung. + // Reference // (https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) // * `deviceSocModel` (string): Model of the device's primary // system-on-chip, e.g., "Exynos 2100". Reference @@ -1730,17 +1982,20 @@ func (s *GooglePlayDeveloperReportingV1beta1QueryExcessiveWakeupRateMetricSetRes type GooglePlayDeveloperReportingV1beta1QuerySlowRenderingRateMetricSetRequest struct { // Dimensions: Dimensions to slice the data by. **Supported // dimensions:** * `apiLevel` (string): the API level of Android that - // was running on the user's device. * `versionCode` (int64): version of - // the app that was running on the user's device. * `deviceModel` - // (string): unique identifier of the user's device model. * - // `deviceBrand` (string): unique identifier of the user's device brand. - // * `deviceType` (string): the type (also known as form factor) of the - // user's device. * `countryCode` (string): the country or region of the - // user's device based on their IP address, represented as a 2-letter - // ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` - // (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * - // `deviceSocMake` (string): Make of the device's primary - // system-on-chip, e.g., Samsung. Reference + // was running on the user's device, e.g., 26. * `versionCode` (int64): + // version of the app that was running on the user's device. * + // `deviceModel` (string): unique identifier of the user's device model. + // The form of the identifier is 'deviceBrand/device', where deviceBrand + // corresponds to Build.BRAND and device corresponds to Build.DEVICE, + // e.g., google/coral. * `deviceBrand` (string): unique identifier of + // the user's device brand, e.g., google. * `deviceType` (string): the + // type (also known as form factor) of the user's device, e.g., PHONE. * + // `countryCode` (string): the country or region of the user's device + // based on their IP address, represented as a 2-letter ISO-3166 code + // (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of + // the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` + // (string): Make of the device's primary system-on-chip, e.g., Samsung. + // Reference // (https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) // * `deviceSocModel` (string): Model of the device's primary // system-on-chip, e.g., "Exynos 2100". Reference @@ -1895,17 +2150,20 @@ func (s *GooglePlayDeveloperReportingV1beta1QuerySlowRenderingRateMetricSetRespo type GooglePlayDeveloperReportingV1beta1QuerySlowStartRateMetricSetRequest struct { // Dimensions: Dimensions to slice the data by. **Supported // dimensions:** * `apiLevel` (string): the API level of Android that - // was running on the user's device. * `versionCode` (int64): version of - // the app that was running on the user's device. * `deviceModel` - // (string): unique identifier of the user's device model. * - // `deviceBrand` (string): unique identifier of the user's device brand. - // * `deviceType` (string): the type (also known as form factor) of the - // user's device. * `countryCode` (string): the country or region of the - // user's device based on their IP address, represented as a 2-letter - // ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` - // (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * - // `deviceSocMake` (string): Make of the device's primary - // system-on-chip, e.g., Samsung. Reference + // was running on the user's device, e.g., 26. * `versionCode` (int64): + // version of the app that was running on the user's device. * + // `deviceModel` (string): unique identifier of the user's device model. + // The form of the identifier is 'deviceBrand/device', where deviceBrand + // corresponds to Build.BRAND and device corresponds to Build.DEVICE, + // e.g., google/coral. * `deviceBrand` (string): unique identifier of + // the user's device brand, e.g., google. * `deviceType` (string): the + // type (also known as form factor) of the user's device, e.g., PHONE. * + // `countryCode` (string): the country or region of the user's device + // based on their IP address, represented as a 2-letter ISO-3166 code + // (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of + // the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` + // (string): Make of the device's primary system-on-chip, e.g., Samsung. + // Reference // (https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) // * `deviceSocModel` (string): Model of the device's primary // system-on-chip, e.g., "Exynos 2100". Reference @@ -2049,17 +2307,20 @@ func (s *GooglePlayDeveloperReportingV1beta1QuerySlowStartRateMetricSetResponse) type GooglePlayDeveloperReportingV1beta1QueryStuckBackgroundWakelockRateMetricSetRequest struct { // Dimensions: Dimensions to slice the data by. **Supported // dimensions:** * `apiLevel` (string): the API level of Android that - // was running on the user's device. * `versionCode` (int64): version of - // the app that was running on the user's device. * `deviceModel` - // (string): unique identifier of the user's device model. * - // `deviceBrand` (string): unique identifier of the user's device brand. - // * `deviceType` (string): the type (also known as form factor) of the - // user's device. * `countryCode` (string): the country or region of the - // user's device based on their IP address, represented as a 2-letter - // ISO-3166 code (e.g. US for the United States). * `deviceRamBucket` - // (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * - // `deviceSocMake` (string): Make of the device's primary - // system-on-chip, e.g., Samsung. Reference + // was running on the user's device, e.g., 26. * `versionCode` (int64): + // version of the app that was running on the user's device. * + // `deviceModel` (string): unique identifier of the user's device model. + // The form of the identifier is 'deviceBrand/device', where deviceBrand + // corresponds to Build.BRAND and device corresponds to Build.DEVICE, + // e.g., google/coral. * `deviceBrand` (string): unique identifier of + // the user's device brand, e.g., google. * `deviceType` (string): the + // type (also known as form factor) of the user's device, e.g., PHONE. * + // `countryCode` (string): the country or region of the user's device + // based on their IP address, represented as a 2-letter ISO-3166 code + // (e.g. US for the United States). * `deviceRamBucket` (int64): RAM of + // the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` + // (string): Make of the device's primary system-on-chip, e.g., Samsung. + // Reference // (https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) // * `deviceSocModel` (string): Model of the device's primary // system-on-chip, e.g., "Exynos 2100". Reference @@ -2200,6 +2461,110 @@ func (s *GooglePlayDeveloperReportingV1beta1QueryStuckBackgroundWakelockRateMetr return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// GooglePlayDeveloperReportingV1beta1Release: A representation of an +// app release. +type GooglePlayDeveloperReportingV1beta1Release struct { + // DisplayName: Readable identifier of the release. + DisplayName string `json:"displayName,omitempty"` + + // VersionCodes: The version codes contained in this release. + VersionCodes googleapi.Int64s `json:"versionCodes,omitempty"` + + // ForceSendFields is a list of field names (e.g. "DisplayName") 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. "DisplayName") 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 *GooglePlayDeveloperReportingV1beta1Release) MarshalJSON() ([]byte, error) { + type NoMethod GooglePlayDeveloperReportingV1beta1Release + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GooglePlayDeveloperReportingV1beta1ReleaseFilterOptions: A set of +// filtering options for releases and version codes specific to an app. +type GooglePlayDeveloperReportingV1beta1ReleaseFilterOptions struct { + // Tracks: List of tracks to filter releases over. Provides the grouping + // of version codes under releases and tracks. + Tracks []*GooglePlayDeveloperReportingV1beta1Track `json:"tracks,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "Tracks") 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. "Tracks") 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 *GooglePlayDeveloperReportingV1beta1ReleaseFilterOptions) MarshalJSON() ([]byte, error) { + type NoMethod GooglePlayDeveloperReportingV1beta1ReleaseFilterOptions + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GooglePlayDeveloperReportingV1beta1SearchAccessibleAppsResponse: +// Response message for SearchAccessibleApps. +type GooglePlayDeveloperReportingV1beta1SearchAccessibleAppsResponse struct { + // Apps: The apps accessible to the user calling the endpoint. + Apps []*GooglePlayDeveloperReportingV1beta1App `json:"apps,omitempty"` + + // NextPageToken: A token, which can be sent as `page_token` to retrieve + // the next page. If this field is omitted, there are no subsequent + // pages. + NextPageToken string `json:"nextPageToken,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "Apps") 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. "Apps") 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 *GooglePlayDeveloperReportingV1beta1SearchAccessibleAppsResponse) MarshalJSON() ([]byte, error) { + type NoMethod GooglePlayDeveloperReportingV1beta1SearchAccessibleAppsResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // GooglePlayDeveloperReportingV1beta1SearchErrorIssuesResponse: // Response with a paginated list of issues that matched the request. type GooglePlayDeveloperReportingV1beta1SearchErrorIssuesResponse struct { @@ -2311,12 +2676,15 @@ func (s *GooglePlayDeveloperReportingV1beta1SearchErrorReportsResponse) MarshalJ // being counted multiple times. The value is rounded to the nearest // multiple of 10, 100, 1,000 or 1,000,000, depending on the magnitude // of the value. **Supported dimensions:** * `apiLevel` (string): the -// API level of Android that was running on the user's device. * -// `versionCode` (int64): version of the app that was running on the +// API level of Android that was running on the user's device, e.g., 26. +// * `versionCode` (int64): version of the app that was running on the // user's device. * `deviceModel` (string): unique identifier of the -// user's device model. * `deviceBrand` (string): unique identifier of -// the user's device brand. * `deviceType` (string): the type (also -// known as form factor) of the user's device. * `countryCode` (string): +// user's device model. The form of the identifier is +// 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND +// and device corresponds to Build.DEVICE, e.g., google/coral. * +// `deviceBrand` (string): unique identifier of the user's device brand, +// e.g., google. * `deviceType` (string): the type (also known as form +// factor) of the user's device, e.g., PHONE. * `countryCode` (string): // the country or region of the user's device based on their IP address, // represented as a 2-letter ISO-3166 code (e.g. US for the United // States). * `deviceRamBucket` (int64): RAM of the device, in MB, in @@ -2398,17 +2766,20 @@ func (s *GooglePlayDeveloperReportingV1beta1SlowRenderingRateMetricSet) MarshalJ // the request to be valid. * `startType` (string): the type of start // that was measured. Valid types are `HOT`, `WARM` and `COLD`. // **Supported dimensions:** * `apiLevel` (string): the API level of -// Android that was running on the user's device. * `versionCode` -// (int64): version of the app that was running on the user's device. * -// `deviceModel` (string): unique identifier of the user's device model. -// * `deviceBrand` (string): unique identifier of the user's device -// brand. * `deviceType` (string): the type (also known as form factor) -// of the user's device. * `countryCode` (string): the country or region -// of the user's device based on their IP address, represented as a -// 2-letter ISO-3166 code (e.g. US for the United States). * -// `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, -// 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary -// system-on-chip, e.g., Samsung. Reference +// Android that was running on the user's device, e.g., 26. * +// `versionCode` (int64): version of the app that was running on the +// user's device. * `deviceModel` (string): unique identifier of the +// user's device model. The form of the identifier is +// 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND +// and device corresponds to Build.DEVICE, e.g., google/coral. * +// `deviceBrand` (string): unique identifier of the user's device brand, +// e.g., google. * `deviceType` (string): the type (also known as form +// factor) of the user's device, e.g., PHONE. * `countryCode` (string): +// the country or region of the user's device based on their IP address, +// represented as a 2-letter ISO-3166 code (e.g. US for the United +// States). * `deviceRamBucket` (int64): RAM of the device, in MB, in +// buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the +// device's primary system-on-chip, e.g., Samsung. Reference // (https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) // * `deviceSocModel` (string): Model of the device's primary // system-on-chip, e.g., "Exynos 2100". Reference @@ -2485,17 +2856,20 @@ func (s *GooglePlayDeveloperReportingV1beta1SlowStartRateMetricSet) MarshalJSON( // multiple times. The value is rounded to the nearest multiple of 10, // 100, 1,000 or 1,000,000, depending on the magnitude of the value. // **Supported dimensions:** * `apiLevel` (string): the API level of -// Android that was running on the user's device. * `versionCode` -// (int64): version of the app that was running on the user's device. * -// `deviceModel` (string): unique identifier of the user's device model. -// * `deviceBrand` (string): unique identifier of the user's device -// brand. * `deviceType` (string): the type (also known as form factor) -// of the user's device. * `countryCode` (string): the country or region -// of the user's device based on their IP address, represented as a -// 2-letter ISO-3166 code (e.g. US for the United States). * -// `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, -// 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary -// system-on-chip, e.g., Samsung. Reference +// Android that was running on the user's device, e.g., 26. * +// `versionCode` (int64): version of the app that was running on the +// user's device. * `deviceModel` (string): unique identifier of the +// user's device model. The form of the identifier is +// 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND +// and device corresponds to Build.DEVICE, e.g., google/coral. * +// `deviceBrand` (string): unique identifier of the user's device brand, +// e.g., google. * `deviceType` (string): the type (also known as form +// factor) of the user's device, e.g., PHONE. * `countryCode` (string): +// the country or region of the user's device based on their IP address, +// represented as a 2-letter ISO-3166 code (e.g. US for the United +// States). * `deviceRamBucket` (int64): RAM of the device, in MB, in +// buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the +// device's primary system-on-chip, e.g., Samsung. Reference // (https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) // * `deviceSocModel` (string): Model of the device's primary // system-on-chip, e.g., "Exynos 2100". Reference @@ -2617,28 +2991,63 @@ func (s *GooglePlayDeveloperReportingV1beta1TimelineSpec) MarshalJSON() ([]byte, return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// GoogleTypeDateTime: Represents civil time (or occasionally physical -// time). This type can represent a civil time in one of a few possible -// ways: * When utc_offset is set and time_zone is unset: a civil time -// on a calendar day with a particular offset from UTC. * When time_zone -// is set and utc_offset is unset: a civil time on a calendar day in a -// particular time zone. * When neither time_zone nor utc_offset is set: -// a civil time on a calendar day in local time. The date is relative to -// the Proleptic Gregorian Calendar. If year, month, or day are 0, the -// DateTime is considered not to have a specific year, month, or day -// respectively. This type may also be used to represent a physical time -// if all the date and time fields are set and either case of the -// `time_offset` oneof is set. Consider using `Timestamp` message for -// physical time instead. If your use case also would like to store the -// user's timezone, that can be done in another field. This type is more -// flexible than some applications may want. Make sure to document and -// validate your application's limitations. -type GoogleTypeDateTime struct { - // Day: Optional. Day of month. Must be from 1 to 31 and valid for the - // year and month, or 0 if specifying a datetime without a day. - Day int64 `json:"day,omitempty"` +// GooglePlayDeveloperReportingV1beta1Track: A representation of a Play +// release track. +type GooglePlayDeveloperReportingV1beta1Track struct { + // DisplayName: Readable identifier of the track. + DisplayName string `json:"displayName,omitempty"` - // Hours: Optional. Hours of day in 24 hour format. Should be from 0 to + // ServingReleases: Represents all active releases in the track. + ServingReleases []*GooglePlayDeveloperReportingV1beta1Release `json:"servingReleases,omitempty"` + + // Type: The type of the track. + Type string `json:"type,omitempty"` + + // ForceSendFields is a list of field names (e.g. "DisplayName") 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. "DisplayName") 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 *GooglePlayDeveloperReportingV1beta1Track) MarshalJSON() ([]byte, error) { + type NoMethod GooglePlayDeveloperReportingV1beta1Track + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// GoogleTypeDateTime: Represents civil time (or occasionally physical +// time). This type can represent a civil time in one of a few possible +// ways: * When utc_offset is set and time_zone is unset: a civil time +// on a calendar day with a particular offset from UTC. * When time_zone +// is set and utc_offset is unset: a civil time on a calendar day in a +// particular time zone. * When neither time_zone nor utc_offset is set: +// a civil time on a calendar day in local time. The date is relative to +// the Proleptic Gregorian Calendar. If year, month, or day are 0, the +// DateTime is considered not to have a specific year, month, or day +// respectively. This type may also be used to represent a physical time +// if all the date and time fields are set and either case of the +// `time_offset` oneof is set. Consider using `Timestamp` message for +// physical time instead. If your use case also would like to store the +// user's timezone, that can be done in another field. This type is more +// flexible than some applications may want. Make sure to document and +// validate your application's limitations. +type GoogleTypeDateTime struct { + // Day: Optional. Day of month. Must be from 1 to 31 and valid for the + // year and month, or 0 if specifying a datetime without a day. + Day int64 `json:"day,omitempty"` + + // Hours: Optional. Hours of day in 24 hour format. Should be from 0 to // 23, defaults to 0 (midnight). An API may choose to allow the value // "24:00:00" for scenarios like business closing time. Hours int64 `json:"hours,omitempty"` @@ -3022,6 +3431,340 @@ func (c *AnomaliesListCall) Pages(ctx context.Context, f func(*GooglePlayDevelop } } +// method id "playdeveloperreporting.apps.fetchReleaseFilterOptions": + +type AppsFetchReleaseFilterOptionsCall struct { + s *Service + name string + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// FetchReleaseFilterOptions: Describes filtering options for releases. +// +// - name: Name of the resource, i.e. app the filtering options are for. +// Format: apps/{app}. +func (r *AppsService) FetchReleaseFilterOptions(name string) *AppsFetchReleaseFilterOptionsCall { + c := &AppsFetchReleaseFilterOptionsCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *AppsFetchReleaseFilterOptionsCall) Fields(s ...googleapi.Field) *AppsFetchReleaseFilterOptionsCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *AppsFetchReleaseFilterOptionsCall) IfNoneMatch(entityTag string) *AppsFetchReleaseFilterOptionsCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *AppsFetchReleaseFilterOptionsCall) Context(ctx context.Context) *AppsFetchReleaseFilterOptionsCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *AppsFetchReleaseFilterOptionsCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *AppsFetchReleaseFilterOptionsCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version) + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/{+name}:fetchReleaseFilterOptions") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "playdeveloperreporting.apps.fetchReleaseFilterOptions" call. +// Exactly one of +// *GooglePlayDeveloperReportingV1beta1ReleaseFilterOptions or error +// will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GooglePlayDeveloperReportingV1beta1ReleaseFilterOptions.ServerRespons +// e.Header or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *AppsFetchReleaseFilterOptionsCall) Do(opts ...googleapi.CallOption) (*GooglePlayDeveloperReportingV1beta1ReleaseFilterOptions, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, gensupport.WrapError(&googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + }) + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, gensupport.WrapError(err) + } + ret := &GooglePlayDeveloperReportingV1beta1ReleaseFilterOptions{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Describes filtering options for releases.", + // "flatPath": "v1beta1/apps/{appsId}:fetchReleaseFilterOptions", + // "httpMethod": "GET", + // "id": "playdeveloperreporting.apps.fetchReleaseFilterOptions", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "Required. Name of the resource, i.e. app the filtering options are for. Format: apps/{app}", + // "location": "path", + // "pattern": "^apps/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v1beta1/{+name}:fetchReleaseFilterOptions", + // "response": { + // "$ref": "GooglePlayDeveloperReportingV1beta1ReleaseFilterOptions" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/playdeveloperreporting" + // ] + // } + +} + +// method id "playdeveloperreporting.apps.search": + +type AppsSearchCall struct { + s *Service + urlParams_ gensupport.URLParams + ifNoneMatch_ string + ctx_ context.Context + header_ http.Header +} + +// Search: Searches for Apps accessible by the user. +func (r *AppsService) Search() *AppsSearchCall { + c := &AppsSearchCall{s: r.s, urlParams_: make(gensupport.URLParams)} + return c +} + +// PageSize sets the optional parameter "pageSize": The maximum number +// of apps to return. The service may return fewer than this value. If +// unspecified, at most 50 apps will be returned. The maximum value is +// 1000; values above 1000 will be coerced to 1000. +func (c *AppsSearchCall) PageSize(pageSize int64) *AppsSearchCall { + c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) + return c +} + +// PageToken sets the optional parameter "pageToken": A page token, +// received from a previous `SearchAccessibleApps` call. Provide this to +// retrieve the subsequent page. When paginating, all other parameters +// provided to `SearchAccessibleApps` must match the call that provided +// the page token. +func (c *AppsSearchCall) PageToken(pageToken string) *AppsSearchCall { + c.urlParams_.Set("pageToken", pageToken) + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *AppsSearchCall) Fields(s ...googleapi.Field) *AppsSearchCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// IfNoneMatch sets the optional parameter which makes the operation +// fail if the object's ETag matches the given value. This is useful for +// getting updates only after the object has changed since the last +// request. Use googleapi.IsNotModified to check whether the response +// error from Do is the result of In-None-Match. +func (c *AppsSearchCall) IfNoneMatch(entityTag string) *AppsSearchCall { + c.ifNoneMatch_ = entityTag + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *AppsSearchCall) Context(ctx context.Context) *AppsSearchCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *AppsSearchCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *AppsSearchCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version) + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + if c.ifNoneMatch_ != "" { + reqHeaders.Set("If-None-Match", c.ifNoneMatch_) + } + var body io.Reader = nil + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1beta1/apps:search") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("GET", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "playdeveloperreporting.apps.search" call. +// Exactly one of +// *GooglePlayDeveloperReportingV1beta1SearchAccessibleAppsResponse or +// error will be non-nil. Any non-2xx status code is an error. Response +// headers are in either +// *GooglePlayDeveloperReportingV1beta1SearchAccessibleAppsResponse.Serve +// rResponse.Header or (if a response was returned at all) in +// error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check +// whether the returned error was because http.StatusNotModified was +// returned. +func (c *AppsSearchCall) Do(opts ...googleapi.CallOption) (*GooglePlayDeveloperReportingV1beta1SearchAccessibleAppsResponse, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, gensupport.WrapError(&googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + }) + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, gensupport.WrapError(err) + } + ret := &GooglePlayDeveloperReportingV1beta1SearchAccessibleAppsResponse{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Searches for Apps accessible by the user.", + // "flatPath": "v1beta1/apps:search", + // "httpMethod": "GET", + // "id": "playdeveloperreporting.apps.search", + // "parameterOrder": [], + // "parameters": { + // "pageSize": { + // "description": "The maximum number of apps to return. The service may return fewer than this value. If unspecified, at most 50 apps will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", + // "format": "int32", + // "location": "query", + // "type": "integer" + // }, + // "pageToken": { + // "description": "A page token, received from a previous `SearchAccessibleApps` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `SearchAccessibleApps` must match the call that provided the page token.", + // "location": "query", + // "type": "string" + // } + // }, + // "path": "v1beta1/apps:search", + // "response": { + // "$ref": "GooglePlayDeveloperReportingV1beta1SearchAccessibleAppsResponse" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/playdeveloperreporting" + // ] + // } + +} + +// Pages invokes f for each page of results. +// A non-nil error returned from f will halt the iteration. +// The provided context supersedes any context provided to the Context method. +func (c *AppsSearchCall) Pages(ctx context.Context, f func(*GooglePlayDeveloperReportingV1beta1SearchAccessibleAppsResponse) error) error { + c.ctx_ = ctx + defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point + for { + x, err := c.Do() + if err != nil { + return err + } + if err := f(x); err != nil { + return err + } + if x.NextPageToken == "" { + return nil + } + c.PageToken(x.NextPageToken) + } +} + // method id "playdeveloperreporting.vitals.anrrate.get": type VitalsAnrrateGetCall struct { @@ -4195,6 +4938,19 @@ func (c *VitalsErrorsIssuesSearchCall) IntervalStartTimeYear(intervalStartTimeYe return c } +// OrderBy sets the optional parameter "orderBy": Specifies a field that +// will be used to order the results. ** Supported dimensions:** * +// `errorReportCount`: Orders issues by number of error reports. * +// `distinctUsers`: Orders issues by number of unique affected users. ** +// Supported operations:** * `asc` for ascending order. * `desc` for +// descending order. Format: A field and an operation, e.g., +// `errorReportCount desc` *Note:* currently only one field is supported +// at a time. +func (c *VitalsErrorsIssuesSearchCall) OrderBy(orderBy string) *VitalsErrorsIssuesSearchCall { + c.urlParams_.Set("orderBy", orderBy) + return c +} + // PageSize sets the optional parameter "pageSize": The maximum number // of error issues to return. The service may return fewer than this // value. If unspecified, at most 50 error issues will be returned. The @@ -4444,6 +5200,11 @@ func (c *VitalsErrorsIssuesSearchCall) Do(opts ...googleapi.CallOption) (*Google // "location": "query", // "type": "integer" // }, + // "orderBy": { + // "description": "Specifies a field that will be used to order the results. ** Supported dimensions:** * `errorReportCount`: Orders issues by number of error reports. * `distinctUsers`: Orders issues by number of unique affected users. ** Supported operations:** * `asc` for ascending order. * `desc` for descending order. Format: A field and an operation, e.g., `errorReportCount desc` *Note:* currently only one field is supported at a time.", + // "location": "query", + // "type": "string" + // }, // "pageSize": { // "description": "The maximum number of error issues to return. The service may return fewer than this value. If unspecified, at most 50 error issues will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", // "format": "int32", diff --git a/recaptchaenterprise/v1/recaptchaenterprise-api.json b/recaptchaenterprise/v1/recaptchaenterprise-api.json index 0537f942b5b..ad2bd557db2 100644 --- a/recaptchaenterprise/v1/recaptchaenterprise-api.json +++ b/recaptchaenterprise/v1/recaptchaenterprise-api.json @@ -461,7 +461,7 @@ ] }, "migrate": { - "description": "Migrates an existing key from reCAPTCHA to reCAPTCHA Enterprise. Once a key is migrated, it can be used from either product. SiteVerify requests are billed as CreateAssessment calls. You must be authenticated as one of the current owners of the reCAPTCHA Site Key, and your user must have the reCAPTCHA Enterprise Admin IAM role in the destination project.", + "description": "Migrates an existing key from reCAPTCHA to reCAPTCHA Enterprise. Once a key is migrated, it can be used from either product. SiteVerify requests are billed as CreateAssessment calls. You must be authenticated as one of the current owners of the reCAPTCHA Key, and your user must have the reCAPTCHA Enterprise Admin IAM role in the destination project.", "flatPath": "v1/projects/{projectsId}/keys/{keysId}:migrate", "httpMethod": "POST", "id": "recaptchaenterprise.projects.keys.migrate", @@ -666,7 +666,7 @@ } } }, - "revision": "20230507", + "revision": "20230514", "rootUrl": "https://recaptchaenterprise.googleapis.com/", "schemas": { "GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment": { @@ -1226,7 +1226,7 @@ }, "appleDeveloperId": { "$ref": "GoogleCloudRecaptchaenterpriseV1AppleDeveloperId", - "description": "Apple Developer account details for the app the reCAPTCHA key will protect. reCAPTCHA Enterprise leverages platform specific checks like Apple AppAttest and Apple DeviceCheck to protect your app from abuse. Providing these fields allows reCAPTCHA Enterprise to get a better assessment of the integrity of your app." + "description": "Apple Developer account details for the app that is protected by the reCAPTCHA Key. reCAPTCHA Enterprise leverages platform specific checks like Apple AppAttest and Apple DeviceCheck to protect your app from abuse. Providing these fields allows reCAPTCHA Enterprise to get a better assessment of the integrity of your app." } }, "type": "object" @@ -1547,7 +1547,7 @@ "id": "GoogleCloudRecaptchaenterpriseV1SearchRelatedAccountGroupMembershipsRequest", "properties": { "hashedAccountId": { - "description": "Optional. The unique stable hashed user identifier we should search connections to. The identifier should correspond to a `hashed_account_id` provided in a previous `CreateAssessment` or `AnnotateAssessment` call.", + "description": "Optional. The unique stable hashed user identifier used to search connections. The identifier should correspond to a `hashed_account_id` provided in a previous `CreateAssessment` or `AnnotateAssessment` call.", "format": "byte", "type": "string" }, diff --git a/recaptchaenterprise/v1/recaptchaenterprise-gen.go b/recaptchaenterprise/v1/recaptchaenterprise-gen.go index cc7df16c344..d4903c5d3df 100644 --- a/recaptchaenterprise/v1/recaptchaenterprise-gen.go +++ b/recaptchaenterprise/v1/recaptchaenterprise-gen.go @@ -1192,11 +1192,12 @@ type GoogleCloudRecaptchaenterpriseV1IOSKeySettings struct { // Example: 'com.companyname.productname.appname' AllowedBundleIds []string `json:"allowedBundleIds,omitempty"` - // AppleDeveloperId: Apple Developer account details for the app the - // reCAPTCHA key will protect. reCAPTCHA Enterprise leverages platform - // specific checks like Apple AppAttest and Apple DeviceCheck to protect - // your app from abuse. Providing these fields allows reCAPTCHA - // Enterprise to get a better assessment of the integrity of your app. + // AppleDeveloperId: Apple Developer account details for the app that is + // protected by the reCAPTCHA Key. reCAPTCHA Enterprise leverages + // platform specific checks like Apple AppAttest and Apple DeviceCheck + // to protect your app from abuse. Providing these fields allows + // reCAPTCHA Enterprise to get a better assessment of the integrity of + // your app. AppleDeveloperId *GoogleCloudRecaptchaenterpriseV1AppleDeveloperId `json:"appleDeveloperId,omitempty"` // ForceSendFields is a list of field names (e.g. "AllowAllBundleIds") @@ -1820,8 +1821,8 @@ func (s *GoogleCloudRecaptchaenterpriseV1ScoreMetrics) MarshalJSON() ([]byte, er // memberships. type GoogleCloudRecaptchaenterpriseV1SearchRelatedAccountGroupMembershipsRequest struct { // HashedAccountId: Optional. The unique stable hashed user identifier - // we should search connections to. The identifier should correspond to - // a `hashed_account_id` provided in a previous `CreateAssessment` or + // used to search connections. The identifier should correspond to a + // `hashed_account_id` provided in a previous `CreateAssessment` or // `AnnotateAssessment` call. HashedAccountId string `json:"hashedAccountId,omitempty"` @@ -4484,8 +4485,8 @@ type ProjectsKeysMigrateCall struct { // Enterprise. Once a key is migrated, it can be used from either // product. SiteVerify requests are billed as CreateAssessment calls. // You must be authenticated as one of the current owners of the -// reCAPTCHA Site Key, and your user must have the reCAPTCHA Enterprise -// Admin IAM role in the destination project. +// reCAPTCHA Key, and your user must have the reCAPTCHA Enterprise Admin +// IAM role in the destination project. // // - name: The name of the key to be migrated, in the format // "projects/{project}/keys/{key}". @@ -4588,7 +4589,7 @@ func (c *ProjectsKeysMigrateCall) Do(opts ...googleapi.CallOption) (*GoogleCloud } return ret, nil // { - // "description": "Migrates an existing key from reCAPTCHA to reCAPTCHA Enterprise. Once a key is migrated, it can be used from either product. SiteVerify requests are billed as CreateAssessment calls. You must be authenticated as one of the current owners of the reCAPTCHA Site Key, and your user must have the reCAPTCHA Enterprise Admin IAM role in the destination project.", + // "description": "Migrates an existing key from reCAPTCHA to reCAPTCHA Enterprise. Once a key is migrated, it can be used from either product. SiteVerify requests are billed as CreateAssessment calls. You must be authenticated as one of the current owners of the reCAPTCHA Key, and your user must have the reCAPTCHA Enterprise Admin IAM role in the destination project.", // "flatPath": "v1/projects/{projectsId}/keys/{keysId}:migrate", // "httpMethod": "POST", // "id": "recaptchaenterprise.projects.keys.migrate", diff --git a/storagetransfer/v1/storagetransfer-api.json b/storagetransfer/v1/storagetransfer-api.json index bf26e56f863..622338170b4 100644 --- a/storagetransfer/v1/storagetransfer-api.json +++ b/storagetransfer/v1/storagetransfer-api.json @@ -632,7 +632,7 @@ } } }, - "revision": "20230408", + "revision": "20230516", "rootUrl": "https://storagetransfer.googleapis.com/", "schemas": { "AgentPool": { @@ -725,6 +725,10 @@ "description": "Required. S3 Bucket name (see [Creating a bucket](https://docs.aws.amazon.com/AmazonS3/latest/dev/create-bucket-get-location-example.html)).", "type": "string" }, + "credentialsSecret": { + "description": "Optional. The Resource name of a secret in Secret Manager. The Azure SAS token must be stored in Secret Manager in JSON format: { \"sas_token\" : \"SAS_TOKEN\" } GoogleServiceAccount must be granted `roles/secretmanager.secretAccessor` for the resource. See [Configure access to a source: Microsoft Azure Blob Storage] (https://cloud.google.com/storage-transfer/docs/source-microsoft-azure#secret_manager) for more information. If `credentials_secret` is specified, do not specify azure_credentials. This feature is in [preview](https://cloud.google.com/terms/service-terms#1). Format: `projects/{project_number}/secrets/{secret_name}`", + "type": "string" + }, "path": { "description": "Root path to transfer objects. Must be an empty string or full path name that ends with a '/'. This field is treated as an object prefix. As such, it should generally not begin with a '/'.", "type": "string" @@ -748,6 +752,10 @@ "description": "Required. The container to transfer from the Azure Storage account.", "type": "string" }, + "credentialsSecret": { + "description": "Optional. The Resource name of a secret in Secret Manager. The Azure SAS token must be stored in Secret Manager in JSON format: { \"sas_token\" : \"SAS_TOKEN\" } GoogleServiceAccount must be granted `roles/secretmanager.secretAccessor` for the resource. See [Configure access to a source: Microsoft Azure Blob Storage] (https://cloud.google.com/storage-transfer/docs/source-microsoft-azure#secret_manager) for more information. If `credentials_secret` is specified, do not specify azure_credentials. This feature is in [preview](https://cloud.google.com/terms/service-terms#1). Format: `projects/{project_number}/secrets/{secret_name}`", + "type": "string" + }, "path": { "description": "Root path to transfer objects. Must be an empty string or full path name that ends with a '/'. This field is treated as an object prefix. As such, it should generally not begin with a '/'.", "type": "string" @@ -1839,7 +1847,7 @@ }, "gcsIntermediateDataLocation": { "$ref": "GcsData", - "description": "Cloud Storage intermediate data location." + "description": "For transfers between file systems, specifies a Cloud Storage bucket to be used as an intermediate location through which to transfer data. See [Transfer data between file systems](https://cloud.google.com/storage-transfer/docs/file-to-file) for more information." }, "httpDataSource": { "$ref": "HttpData", diff --git a/storagetransfer/v1/storagetransfer-gen.go b/storagetransfer/v1/storagetransfer-gen.go index 9bc6ce18317..8554a032539 100644 --- a/storagetransfer/v1/storagetransfer-gen.go +++ b/storagetransfer/v1/storagetransfer-gen.go @@ -345,6 +345,18 @@ type AwsS3Data struct { // (https://docs.aws.amazon.com/AmazonS3/latest/dev/create-bucket-get-location-example.html)). BucketName string `json:"bucketName,omitempty"` + // CredentialsSecret: Optional. The Resource name of a secret in Secret + // Manager. The Azure SAS token must be stored in Secret Manager in JSON + // format: { "sas_token" : "SAS_TOKEN" } GoogleServiceAccount must be + // granted `roles/secretmanager.secretAccessor` for the resource. See + // [Configure access to a source: Microsoft Azure Blob Storage] + // (https://cloud.google.com/storage-transfer/docs/source-microsoft-azure#secret_manager) + // for more information. If `credentials_secret` is specified, do not + // specify azure_credentials. This feature is in preview + // (https://cloud.google.com/terms/service-terms#1). Format: + // `projects/{project_number}/secrets/{secret_name}` + CredentialsSecret string `json:"credentialsSecret,omitempty"` + // Path: Root path to transfer objects. Must be an empty string or full // path name that ends with a '/'. This field is treated as an object // prefix. As such, it should generally not begin with a '/'. @@ -402,6 +414,18 @@ type AzureBlobStorageData struct { // account. Container string `json:"container,omitempty"` + // CredentialsSecret: Optional. The Resource name of a secret in Secret + // Manager. The Azure SAS token must be stored in Secret Manager in JSON + // format: { "sas_token" : "SAS_TOKEN" } GoogleServiceAccount must be + // granted `roles/secretmanager.secretAccessor` for the resource. See + // [Configure access to a source: Microsoft Azure Blob Storage] + // (https://cloud.google.com/storage-transfer/docs/source-microsoft-azure#secret_manager) + // for more information. If `credentials_secret` is specified, do not + // specify azure_credentials. This feature is in preview + // (https://cloud.google.com/terms/service-terms#1). Format: + // `projects/{project_number}/secrets/{secret_name}` + CredentialsSecret string `json:"credentialsSecret,omitempty"` + // Path: Root path to transfer objects. Must be an empty string or full // path name that ends with a '/'. This field is treated as an object // prefix. As such, it should generally not begin with a '/'. @@ -2158,8 +2182,12 @@ type TransferSpec struct { // GcsDataSource: A Cloud Storage data source. GcsDataSource *GcsData `json:"gcsDataSource,omitempty"` - // GcsIntermediateDataLocation: Cloud Storage intermediate data - // location. + // GcsIntermediateDataLocation: For transfers between file systems, + // specifies a Cloud Storage bucket to be used as an intermediate + // location through which to transfer data. See Transfer data between + // file systems + // (https://cloud.google.com/storage-transfer/docs/file-to-file) for + // more information. GcsIntermediateDataLocation *GcsData `json:"gcsIntermediateDataLocation,omitempty"` // HttpDataSource: An HTTP URL data source.