checks

package
v0.0.0-...-ff3b5ee Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 12, 2024 License: BSD-3-Clause Imports: 16 Imported by: 0

Documentation

Overview

Package checks provides access to the Checks API.

For product documentation, see: https://developers.google.com/checks

Library status

These client libraries are officially supported by Google. However, this library is considered complete and is in maintenance mode. This means that we will address critical bugs and security issues but will not add any new features.

When possible, we recommend using our newer [Cloud Client Libraries for Go](https://pkg.go.dev/cloud.google.com/go) that are still actively being worked and iterated on.

Creating a client

Usage example:

import "google.golang.org/api/checks/v1alpha"
...
ctx := context.Background()
checksService, err := checks.NewService(ctx)

In this example, Google Application Default Credentials are used for authentication. For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.

Other authentication options

To use an API key for authentication (note: some APIs do not support API keys), use google.golang.org/api/option.WithAPIKey:

checksService, err := checks.NewService(ctx, option.WithAPIKey("AIza..."))

To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow, use google.golang.org/api/option.WithTokenSource:

config := &oauth2.Config{...}
// ...
token, err := config.Exchange(ctx, ...)
checksService, err := checks.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))

See google.golang.org/api/option.ClientOption for details on options.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountsAppsGetCall

type AccountsAppsGetCall struct {
	// contains filtered or unexported fields
}

func (*AccountsAppsGetCall) Context

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 (*AccountsAppsGetCall) Do

Do executes the "checks.accounts.apps.get" call. Exactly one of *GoogleChecksAccountV1alphaApp or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleChecksAccountV1alphaApp.ServerResponse.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 (*AccountsAppsGetCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AccountsAppsGetCall) Header

func (c *AccountsAppsGetCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*AccountsAppsGetCall) IfNoneMatch

func (c *AccountsAppsGetCall) IfNoneMatch(entityTag string) *AccountsAppsGetCall

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.

type AccountsAppsListCall

type AccountsAppsListCall struct {
	// contains filtered or unexported fields
}

func (*AccountsAppsListCall) Context

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 (*AccountsAppsListCall) Do

Do executes the "checks.accounts.apps.list" call. Exactly one of *GoogleChecksAccountV1alphaListAppsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleChecksAccountV1alphaListAppsResponse.ServerResponse.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 (*AccountsAppsListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AccountsAppsListCall) Header

func (c *AccountsAppsListCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*AccountsAppsListCall) IfNoneMatch

func (c *AccountsAppsListCall) IfNoneMatch(entityTag string) *AccountsAppsListCall

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 (*AccountsAppsListCall) PageSize

func (c *AccountsAppsListCall) PageSize(pageSize int64) *AccountsAppsListCall

PageSize sets the optional parameter "pageSize": The maximum number of results to return. The server may further constrain the maximum number of results returned in a single page. If unspecified, the server will decide the number of results to be returned.

func (*AccountsAppsListCall) PageToken

func (c *AccountsAppsListCall) PageToken(pageToken string) *AccountsAppsListCall

PageToken sets the optional parameter "pageToken": A page token received from a previous `ListApps` call. Provide this to retrieve the subsequent page.

func (*AccountsAppsListCall) Pages

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.

type AccountsAppsOperationsCancelCall

type AccountsAppsOperationsCancelCall struct {
	// contains filtered or unexported fields
}

func (*AccountsAppsOperationsCancelCall) Context

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 (*AccountsAppsOperationsCancelCall) Do

Do executes the "checks.accounts.apps.operations.cancel" call. Exactly one of *Empty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Empty.ServerResponse.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 (*AccountsAppsOperationsCancelCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AccountsAppsOperationsCancelCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type AccountsAppsOperationsDeleteCall

type AccountsAppsOperationsDeleteCall struct {
	// contains filtered or unexported fields
}

func (*AccountsAppsOperationsDeleteCall) Context

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 (*AccountsAppsOperationsDeleteCall) Do

Do executes the "checks.accounts.apps.operations.delete" call. Exactly one of *Empty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Empty.ServerResponse.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 (*AccountsAppsOperationsDeleteCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AccountsAppsOperationsDeleteCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type AccountsAppsOperationsGetCall

type AccountsAppsOperationsGetCall struct {
	// contains filtered or unexported fields
}

func (*AccountsAppsOperationsGetCall) Context

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 (*AccountsAppsOperationsGetCall) Do

Do executes the "checks.accounts.apps.operations.get" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.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 (*AccountsAppsOperationsGetCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AccountsAppsOperationsGetCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*AccountsAppsOperationsGetCall) IfNoneMatch

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.

type AccountsAppsOperationsListCall

type AccountsAppsOperationsListCall struct {
	// contains filtered or unexported fields
}

func (*AccountsAppsOperationsListCall) Context

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 (*AccountsAppsOperationsListCall) Do

Do executes the "checks.accounts.apps.operations.list" call. Exactly one of *ListOperationsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListOperationsResponse.ServerResponse.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 (*AccountsAppsOperationsListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AccountsAppsOperationsListCall) Filter

Filter sets the optional parameter "filter": The standard list filter.

func (*AccountsAppsOperationsListCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*AccountsAppsOperationsListCall) IfNoneMatch

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 (*AccountsAppsOperationsListCall) PageSize

PageSize sets the optional parameter "pageSize": The standard list page size.

func (*AccountsAppsOperationsListCall) PageToken

PageToken sets the optional parameter "pageToken": The standard list page token.

func (*AccountsAppsOperationsListCall) Pages

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.

type AccountsAppsOperationsService

type AccountsAppsOperationsService struct {
	// contains filtered or unexported fields
}

func NewAccountsAppsOperationsService

func NewAccountsAppsOperationsService(s *Service) *AccountsAppsOperationsService

func (*AccountsAppsOperationsService) Cancel

Cancel: Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.

- name: The name of the operation resource to be cancelled.

func (*AccountsAppsOperationsService) Delete

Delete: Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.

- name: The name of the operation resource to be deleted.

func (*AccountsAppsOperationsService) Get

Get: Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.

- name: The name of the operation resource.

func (*AccountsAppsOperationsService) List

List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.

- name: The name of the operation's parent resource.

func (*AccountsAppsOperationsService) Wait

Wait: Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.

- name: The name of the operation resource to wait on.

type AccountsAppsOperationsWaitCall

type AccountsAppsOperationsWaitCall struct {
	// contains filtered or unexported fields
}

func (*AccountsAppsOperationsWaitCall) Context

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 (*AccountsAppsOperationsWaitCall) Do

Do executes the "checks.accounts.apps.operations.wait" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.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 (*AccountsAppsOperationsWaitCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AccountsAppsOperationsWaitCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type AccountsAppsReportsGetCall

type AccountsAppsReportsGetCall struct {
	// contains filtered or unexported fields
}

func (*AccountsAppsReportsGetCall) ChecksFilter

func (c *AccountsAppsReportsGetCall) ChecksFilter(checksFilter string) *AccountsAppsReportsGetCall

ChecksFilter sets the optional parameter "checksFilter": An AIP-160 (https://google.aip.dev/160) filter string to filter checks within the report. Only checks that match the filter string are included in the response. Example: `state = FAILED`

func (*AccountsAppsReportsGetCall) Context

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 (*AccountsAppsReportsGetCall) Do

Do executes the "checks.accounts.apps.reports.get" call. Exactly one of *GoogleChecksReportV1alphaReport or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleChecksReportV1alphaReport.ServerResponse.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 (*AccountsAppsReportsGetCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AccountsAppsReportsGetCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*AccountsAppsReportsGetCall) IfNoneMatch

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.

type AccountsAppsReportsListCall

type AccountsAppsReportsListCall struct {
	// contains filtered or unexported fields
}

func (*AccountsAppsReportsListCall) ChecksFilter

func (c *AccountsAppsReportsListCall) ChecksFilter(checksFilter string) *AccountsAppsReportsListCall

ChecksFilter sets the optional parameter "checksFilter": An AIP-160 (https://google.aip.dev/160) filter string to filter checks within reports. Only checks that match the filter string are included in the response. Example: `state = FAILED`

func (*AccountsAppsReportsListCall) Context

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 (*AccountsAppsReportsListCall) Do

Do executes the "checks.accounts.apps.reports.list" call. Exactly one of *GoogleChecksReportV1alphaListReportsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleChecksReportV1alphaListReportsResponse.ServerResponse.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 (*AccountsAppsReportsListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AccountsAppsReportsListCall) Filter

Filter sets the optional parameter "filter": An AIP-160 (https://google.aip.dev/160) filter string to filter reports. Example: `appBundle.releaseType = PRE_RELEASE`

func (*AccountsAppsReportsListCall) Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*AccountsAppsReportsListCall) IfNoneMatch

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 (*AccountsAppsReportsListCall) PageSize

PageSize sets the optional parameter "pageSize": The maximum number of reports to return. If unspecified, at most 10 reports will be returned. The maximum value is 50; values above 50 will be coerced to 50.

func (*AccountsAppsReportsListCall) PageToken

PageToken sets the optional parameter "pageToken": A page token received from a previous `ListReports` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListReports` must match the call that provided the page token.

func (*AccountsAppsReportsListCall) Pages

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.

type AccountsAppsReportsService

type AccountsAppsReportsService struct {
	// contains filtered or unexported fields
}

func NewAccountsAppsReportsService

func NewAccountsAppsReportsService(s *Service) *AccountsAppsReportsService

func (*AccountsAppsReportsService) Get

Get: Gets a report. By default, only the name and results_uri fields are returned. You can include other fields by listing them in the `fields` URL query parameter. For example, `?fields=name,checks` will return the name and checks fields.

  • name: Resource name of the report. Example: `accounts/123/apps/456/reports/789`.

func (*AccountsAppsReportsService) List

List: Lists reports for the specified app. By default, only the name and results_uri fields are returned. You can include other fields by listing them in the `fields` URL query parameter. For example, `?fields=reports(name,checks)` will return the name and checks fields.

- parent: Resource name of the app. Example: `accounts/123/apps/456`.

type AccountsAppsService

type AccountsAppsService struct {
	Operations *AccountsAppsOperationsService

	Reports *AccountsAppsReportsService
	// contains filtered or unexported fields
}

func NewAccountsAppsService

func NewAccountsAppsService(s *Service) *AccountsAppsService

func (*AccountsAppsService) Get

Get: Gets an app.

- name: Resource name of the app. Example: `accounts/123/apps/456`.

func (*AccountsAppsService) List

List: Lists the apps under the given account.

- parent: The parent account. Example: `accounts/123`.

type AccountsService

type AccountsService struct {
	Apps *AccountsAppsService
	// contains filtered or unexported fields
}

func NewAccountsService

func NewAccountsService(s *Service) *AccountsService

type CancelOperationRequest

type CancelOperationRequest struct {
}

CancelOperationRequest: The request message for Operations.CancelOperation.

type Empty

type Empty struct {
	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`
}

Empty: A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }

type GoogleChecksAccountV1alphaApp

type GoogleChecksAccountV1alphaApp struct {
	// Name: The resource name of the app. Example: `accounts/123/apps/456`
	Name string `json:"name,omitempty"`

	// Title: The app's title.
	Title string `json:"title,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "Name") to
	// unconditionally include in API requests. By default, fields with
	// empty or default values are 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. "Name") 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:"-"`
}

GoogleChecksAccountV1alphaApp: Represents an app in Checks.

func (*GoogleChecksAccountV1alphaApp) MarshalJSON

func (s *GoogleChecksAccountV1alphaApp) MarshalJSON() ([]byte, error)

type GoogleChecksAccountV1alphaListAppsResponse

type GoogleChecksAccountV1alphaListAppsResponse struct {
	// Apps: The apps.
	Apps []*GoogleChecksAccountV1alphaApp `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:"-"`
}

GoogleChecksAccountV1alphaListAppsResponse: The response message for AccountService.ListApps.

func (*GoogleChecksAccountV1alphaListAppsResponse) MarshalJSON

type GoogleChecksReportV1alphaAnalyzeUploadRequest

type GoogleChecksReportV1alphaAnalyzeUploadRequest struct {
	// AppBinaryFileType: Optional. The type of the uploaded app binary. If
	// not provided, the server assumes APK file for Android and IPA file
	// for iOS.
	//
	// Possible values:
	//   "APP_BINARY_FILE_TYPE_UNSPECIFIED" - Not specified.
	//   "ANDROID_APK" - .apk file type.
	//   "ANDROID_AAB" - .aab (app bundle) file type.
	//   "IOS_IPA" - .ipa file type.
	AppBinaryFileType string `json:"appBinaryFileType,omitempty"`

	// CodeReferenceId: Optional. Git commit hash or changelist number
	// associated with the upload.
	CodeReferenceId string `json:"codeReferenceId,omitempty"`

	// ForceSendFields is a list of field names (e.g. "AppBinaryFileType")
	// 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. "AppBinaryFileType") 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:"-"`
}

GoogleChecksReportV1alphaAnalyzeUploadRequest: The request message for ReportService.AnalyzeUpload.

func (*GoogleChecksReportV1alphaAnalyzeUploadRequest) MarshalJSON

type GoogleChecksReportV1alphaAppBundle

type GoogleChecksReportV1alphaAppBundle struct {
	// BundleId: Unique id of the bundle. For example: "com.google.Gmail".
	BundleId string `json:"bundleId,omitempty"`

	// CodeReferenceId: Git commit hash or changelist number associated with
	// the release.
	CodeReferenceId string `json:"codeReferenceId,omitempty"`

	// ReleaseType: Identifies the type of release.
	//
	// Possible values:
	//   "APP_BUNDLE_RELEASE_TYPE_UNSPECIFIED" - Not specified.
	//   "PUBLIC" - Published production bundle.
	//   "PRE_RELEASE" - Pre-release bundle.
	ReleaseType string `json:"releaseType,omitempty"`

	// Version: The user-visible version of the bundle such as the Android
	// `versionName` or iOS `CFBundleShortVersionString`. For example:
	// "7.21.1".
	Version string `json:"version,omitempty"`

	// VersionId: The version used throughout the operating system and store
	// to identify the build such as the Android `versionCode` or iOS
	// `CFBundleVersion`.
	VersionId string `json:"versionId,omitempty"`

	// ForceSendFields is a list of field names (e.g. "BundleId") 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. "BundleId") 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:"-"`
}

GoogleChecksReportV1alphaAppBundle: Information about the analyzed app bundle.

func (*GoogleChecksReportV1alphaAppBundle) MarshalJSON

func (s *GoogleChecksReportV1alphaAppBundle) MarshalJSON() ([]byte, error)

type GoogleChecksReportV1alphaCheck

type GoogleChecksReportV1alphaCheck struct {
	// Citations: Regulations and policies that serve as the legal basis for
	// the check.
	Citations []*GoogleChecksReportV1alphaCheckCitation `json:"citations,omitempty"`

	// Evidence: Evidence that substantiates the check result.
	Evidence *GoogleChecksReportV1alphaCheckEvidence `json:"evidence,omitempty"`

	// RegionCodes: Regions that are impacted by the check. For more info,
	// see https://google.aip.dev/143#countries-and-regions.
	RegionCodes []string `json:"regionCodes,omitempty"`

	// Severity: The urgency or risk level of the check.
	//
	// Possible values:
	//   "CHECK_SEVERITY_UNSPECIFIED" - Not specified.
	//   "PRIORITY" - Important privacy issue.
	//   "POTENTIAL" - Potential privacy issue.
	//   "OPPORTUNITY" - Opportunity to improve privacy coverage.
	Severity string `json:"severity,omitempty"`

	// State: The result after running the check.
	//
	// Possible values:
	//   "CHECK_STATE_UNSPECIFIED" - Not specified.
	//   "PASSED" - The check passed.
	//   "FAILED" - The check failed.
	//   "UNCHECKED" - The check was not run.
	State string `json:"state,omitempty"`

	// StateMetadata: Additional information about the check state in
	// relation to past reports.
	StateMetadata *GoogleChecksReportV1alphaCheckStateMetadata `json:"stateMetadata,omitempty"`

	// Type: The type of check that was run. A type will only appear once in
	// a report's list of checks.
	//
	// Possible values:
	//   "CHECK_TYPE_UNSPECIFIED" - Not specified.
	//   "STORE_LISTING_PRIVACY_POLICY_LINK_PRESENT" - Checks that your
	// store listing includes a working link to your privacy policy.
	//   "PRIVACY_POLICY_UPDATE_DATE_RECENT" - Checks that your privacy
	// policy has been updated recently.
	//   "PRIVACY_POLICY_GDPR_GENERAL_RULES" - Checks if your privacy policy
	// references rights under GDPR for users in the EU.
	//   "PRIVACY_POLICY_CCPA_GENERAL_RULES" - Checks if your privacy policy
	// references rights under the CCPA.
	//   "PRIVACY_POLICY_COLLECTION_CATEGORIES_DATA_NOTICE" - Checks if your
	// privacy policy mentions the categories of personal data that are
	// collected.
	//   "PRIVACY_POLICY_PROCESSING_PURPOSE_DATA_NOTICE" - Checks if your
	// privacy policy explains why personal data is processed.
	//   "PRIVACY_POLICY_SHARING_CATEGORIES_DATA_NOTICE" - Checks if your
	// privacy policy includes information about third-party sharing of
	// personal data.
	//   "PRIVACY_POLICY_DATA_RETENTION_NOTICE" - Checks if your privacy
	// policy describes your data retention practices.
	//   "PRIVACY_POLICY_CONTACT_DETAILS_NOTICE" - Checks if contact
	// information is included in your privacy policy.
	//   "PRIVACY_POLICY_CHILDREN_GENERAL_RULES" - Checks if information
	// about requirements related to children is included in your privacy
	// policy.
	//   "PRIVACY_POLICY_DATA_TYPE_PHONE_NUMBER" - Checks if the Phone
	// Number data type declaration in your privacy policy matches usage.
	//   "PRIVACY_POLICY_DATA_TYPE_USER_ACCOUNT_INFO" - Checks if the User
	// Account Info data type declaration in your privacy policy matches
	// usage.
	//   "PRIVACY_POLICY_DATA_TYPE_PRECISE_LOCATION" - Checks if the Precise
	// Location data type declaration in your privacy policy matches usage.
	//   "PRIVACY_POLICY_DATA_TYPE_DEVICE_ID" - Checks if the Device ID data
	// type declaration in your privacy policy matches usage.
	//   "PRIVACY_POLICY_DATA_TYPE_APPS_ON_DEVICE" - Checks if the Apps on
	// Device data type declaration in your privacy policy matches usage.
	//   "PRIVACY_POLICY_DATA_TYPE_CONTACTS" - Checks if the Contacts data
	// type declaration in your privacy policy matches usage.
	//   "PRIVACY_POLICY_DATA_TYPE_TEXT_MESSAGES" - Checks if the Text
	// Messages data type declaration in your privacy policy matches usage.
	//   "PRIVACY_POLICY_DATA_TYPE_PII" - Checks if the PII data type
	// declaration in your privacy policy matches usage.
	//   "PRIVACY_POLICY_DATA_TYPE_PII_CATEGORIES" - Checks if the PII
	// Categories data type declaration in your privacy policy matches
	// usage.
	//   "PRIVACY_POLICY_DATA_TYPE_HEALTH_AND_BIOMETRIC" - Checks if the
	// Health and Biometric data type declaration in your privacy policy
	// matches usage.
	//   "PRIVACY_POLICY_BRAZIL_LGPD_GENERAL_RULES" - Checks if your privacy
	// policy references rights under LGPD for users in Brazil.
	//   "PRIVACY_POLICY_VIRGINIA_VCDPA_GENERAL_RULES" - Checks if your
	// privacy policy references rights under VCDPA for users in Virginia.
	//   "PRIVACY_POLICY_AFFILIATION_MENTION" - Checks if your privacy
	// policy identifies your company or app name(s).
	//   "PRIVACY_POLICY_RIGHT_TO_DELETE_NOTICE" - Checks if your privacy
	// policy mentions your users' right to delete their data.
	//   "PRIVACY_POLICY_RIGHT_TO_ACCESS_NOTICE" - Checks if your privacy
	// policy mentions your users' right to access the data held about them.
	//   "PRIVACY_POLICY_RIGHT_TO_RECTIFICATION_NOTICE" - Checks if your
	// privacy policy mentions your users' right to correct inaccuracies
	// within their data.
	//   "PRIVACY_POLICY_RIGHT_TO_KNOW_ABOUT_SELLING_NOTICE" - Checks if
	// your privacy policy mentions your users' right to know about
	// information selling.
	//   "PRIVACY_POLICY_RIGHT_TO_KNOW_ABOUT_SHARING_NOTICE" - Checks if
	// your privacy policy mentions your users' right to know about
	// information sharing.
	//   "PRIVACY_POLICY_RIGHT_TO_OPT_OUT_FROM_SELLING_NOTICE" - Checks if
	// your privacy policy mentions your users' right to opt out from
	// information selling.
	//   "PRIVACY_POLICY_METHOD_TO_OPT_OUT_FROM_SELLING_OR_SHARING_NOTICE" -
	// Checks if your privacy policy explains how your users opt out from
	// the selling or sharing of their data.
	//   "PRIVACY_POLICY_DATA_CONTROLLER_IDENTITY" - Checks if your privacy
	// policy provides the name and contact information for your data
	// controller.
	//   "PRIVACY_POLICY_DPO_CONTACT_DETAILS" - Checks if your privacy
	// policy provides the name and contact information for your Data
	// Protection Officer.
	//   "PRIVACY_POLICY_RIGHT_TO_LODGE_A_COMPLAINT" - Checks if your
	// privacy policy mentions your users' right to lodge a complaint with a
	// supervisory authority.
	//   "PRIVACY_POLICY_LEGAL_BASIS" - Checks if your privacy policy
	// mentions the legal basis you rely on for processing your users' data.
	//   "PRIVACY_POLICY_CHILDREN_INFO_COLLECTION" - Checks if your privacy
	// policy mentions what personal information is collected from children.
	//   "PRIVACY_POLICY_CHILDREN_INFO_USAGE_PURPOSES" - Checks if your
	// privacy policy mentions why you collect personal information from
	// children.
	//   "PRIVACY_POLICY_CHILDREN_INFO_DISCLOSURE_PRACTICES" - Checks if
	// your privacy policy mentions what personal information from children
	// is shared with third parties.
	//   "PRIVACY_POLICY_CHILDREN_INFO_PUBLICITY" - Checks if your privacy
	// policy mentions whether your app allows children to make their
	// personal information publicly available.
	//   "PRIVACY_POLICY_PARENTS_METHOD_OF_INFO_DELETION" - Checks if your
	// privacy policy mentions how parents/caregivers/guardians can request
	// the deletion of their child's personal information.
	//   "PRIVACY_POLICY_PARENTS_METHOD_TO_INFO_REVIEW" - Checks if your
	// privacy policy mentions how parents/caregivers/guardians can review
	// their child's personal information.
	//   "PRIVACY_POLICY_PARENTS_METHOD_TO_STOP_FURTHER_INFO_COLLECTION_USE"
	// - Checks if your privacy policy explains how a
	// parent/caregiver/guardian can stop the collection/use from their
	// child's personal information.
	//   "PRIVACY_POLICY_PARENTS_RIGHT_TO_INFO_DELETION" - Checks if your
	// privacy policy mentions the right of a parent/caregiver/guardian to
	// request the deletion of their child's personal information.
	//   "PRIVACY_POLICY_PARENTS_RIGHT_TO_INFO_REVIEW" - Checks if your
	// privacy policy mentions the right of a parent/caregiver/guardian to
	// review their child's personal information.
	//   "PRIVACY_POLICY_PARENTS_RIGHT_TO_STOP_FURTHER_INFO_COLLECTION_USE"
	// - Checks if your privacy policy mentions the right of a
	// parent/caregiver/guardian to stop collection/use from their child's
	// personal information.
	//   "PRIVACY_POLICY_PSL_APPROXIMATE_LOCATION" - Checks if your privacy
	// policy mentions collection of your users' approximate location if
	// this data type is declared in your Play Data Safety Section.
	//   "PRIVACY_POLICY_PSL_PRECISE_LOCATION" - Checks if your privacy
	// policy mentions collection of your users' precise location if this
	// data type is declared in your Play Data Safety Section.
	//   "PRIVACY_POLICY_PSL_NAME" - Checks if your privacy policy mentions
	// collection of your users' personal names if this data type is
	// declared in your Play Data Safety Section.
	//   "PRIVACY_POLICY_PSL_EMAIL_ADDRESS" - Checks if your privacy policy
	// mentions collection of your users' email addresses if this data type
	// is declared in your Play Data Safety Section.
	//   "PRIVACY_POLICY_PSL_USER_IDENTIFIERS" - Checks if your privacy
	// policy mentions collection of your users' user IDs if this data type
	// is declared in your Play Data Safety Section.
	//   "PRIVACY_POLICY_PSL_ADDRESS" - Checks if your privacy policy
	// mentions collection of your users' physical addresses if this data
	// type is declared in your Play Data Safety Section.
	//   "PRIVACY_POLICY_PSL_PHONE_NUMBER" - Checks if your privacy policy
	// mentions collection of your users' phone numbers if this data type is
	// declared in your Play Data Safety Section.
	//   "PRIVACY_POLICY_PSL_RACE_AND_ETHNICITY" - Checks if your privacy
	// policy mentions collection of your users' race or ethnicity if this
	// data type is declared in your Play Data Safety Section.
	//   "PRIVACY_POLICY_PSL_CREDIT_SCORE" - Checks if your privacy policy
	// mentions collection of your users' credit score if this data type is
	// declared in your Play Data Safety Section.
	//   "PRIVACY_POLICY_PSL_PURCHASE_HISTORY" - Checks if your privacy
	// policy mentions collection of your users' purchase history if this
	// data type is declared in your Play Data Safety Section.
	//   "PRIVACY_POLICY_PSL_HEALTH_INFO" - Checks if your privacy policy
	// mentions collection of your users' health info if this data type is
	// declared in your Play Data Safety Section.
	//   "PRIVACY_POLICY_PSL_FITNESS_INFO" - Checks if your privacy policy
	// mentions collection of your users' fitness info if this data type is
	// declared in your Play Data Safety Section.
	//   "PRIVACY_POLICY_PSL_EMAIL_MESSAGES" - Checks if your privacy policy
	// mentions collection of your users' emails if this data type is
	// declared in your Play Data Safety Section.
	//   "PRIVACY_POLICY_PSL_TEXT_MESSAGES" - Checks if your privacy policy
	// mentions collection of your users' text messages if this data type is
	// declared in your Play Data Safety Section.
	//   "PRIVACY_POLICY_PSL_PHOTOS" - Checks if your privacy policy
	// mentions collection of your users' photos if this data type is
	// declared in your Play Data Safety Section.
	//   "PRIVACY_POLICY_PSL_VIDEOS" - Checks if your privacy policy
	// mentions collection of your users' videos if this data type is
	// declared in your Play Data Safety Section.
	//   "PRIVACY_POLICY_PSL_MUSIC_FILES" - Checks if your privacy policy
	// mentions collection of your users' music files if this data type is
	// declared in your Play Data Safety Section.
	//   "PRIVACY_POLICY_PSL_VOICE_OR_SOUND_RECORDINGS" - Checks if your
	// privacy policy mentions collection of your users' voice or sound
	// recordings if this data type is declared in your Play Data Safety
	// Section.
	//   "PRIVACY_POLICY_PSL_FILES_AND_DOCS" - Checks if your privacy policy
	// mentions collection of your users' files or documents if this data
	// type is declared in your Play Data Safety Section.
	//   "PRIVACY_POLICY_PSL_CALENDAR_EVENTS" - Checks if your privacy
	// policy mentions collection of your users' calendar events if this
	// data type is declared in your Play Data Safety Section.
	//   "PRIVACY_POLICY_PSL_CONTACTS" - Checks if your privacy policy
	// mentions collection of your users' contacts if this data type is
	// declared in your Play Data Safety Section.
	//   "PRIVACY_POLICY_PSL_APP_INTERACTIONS" - Checks if your privacy
	// policy mentions collection of your users' app interactions if this
	// data type is declared in your Play Data Safety Section.
	//   "PRIVACY_POLICY_PSL_IN_APP_SEARCH_HISTORY" - Checks if your privacy
	// policy mentions collection of your users' in-app search history if
	// this data type is declared in your Play Data Safety Section.
	//   "PRIVACY_POLICY_PSL_WEB_BROWSING_HISTORY" - Checks if your privacy
	// policy mentions collection of your users' web browsing history if
	// this data type is declared in your Play Data Safety Section.
	//   "PRIVACY_POLICY_PSL_INSTALLED_APPS" - Checks if your privacy policy
	// mentions collection of your users' installed apps if this data type
	// is declared in your Play Data Safety Section.
	//   "PRIVACY_POLICY_PSL_CRASH_LOGS" - Checks if your privacy policy
	// mentions collection of your users' crash logs if this data type is
	// declared in your Play Data Safety Section.
	//   "PRIVACY_POLICY_PSL_DIAGNOSTICS" - Checks if your privacy policy
	// mentions collection of your users' performance diagnostics if this
	// data type is declared in your Play Data Safety Section.
	//   "PRIVACY_POLICY_PSL_DEVICE_OR_OTHER_IDS" - Checks if your privacy
	// policy mentions collection of your users' device or other IDs if this
	// data type is declared in your Play Data Safety Section.
	//   "DATA_MONITORING_NEW_ENDPOINT" - Checks if there is a new endpoint
	// we've recently detected. Because this check accounts for flakiness,
	// it may fail for several weeks even if the endpoint is not detected in
	// the current report.
	//   "DATA_MONITORING_NEW_PERMISSION" - Checks if there is a new
	// permission we've recently detected. Because this check accounts for
	// flakiness, it may fail for several weeks even if the permission is
	// not detected in the current report.
	//   "DATA_MONITORING_NEW_DATA_TYPE" - Checks if there is a new data
	// type we've recently detected. Because this check accounts for
	// flakiness, it may fail for several weeks even if the data type is not
	// detected in the current report.
	//   "DATA_MONITORING_NEW_SDK" - Checks if there is a new SDK we've
	// recently detected. Because this check accounts for flakiness, it may
	// fail for several weeks even if the SDK is not detected in the current
	// report.
	//   "DATA_MONITORING_ENCRYPTION" - Checks if there is any endpoint
	// contacted using HTTP protocol instead of HTTPS. If no protocol is
	// found in the URL, the endpoint is not considered for analysis.
	//   "DATA_MONITORING_NEW_DATA_TYPE_VERSION_DIFF" - Checks if new data
	// types have been detected since a specific app version.
	//   "DATA_MONITORING_NEW_ENDPOINT_VERSION_DIFF" - Checks if new
	// endpoints have been detected since a specific app version.
	//   "DATA_MONITORING_NEW_PERMISSION_VERSION_DIFF" - Checks if new
	// permissions have been detected since a specific app version.
	//   "DATA_MONITORING_NEW_SDK_VERSION_DIFF" - Checks if new SDKs have
	// been detected since a specific app version.
	//   "DATA_MONITORING_SDKS_DENYLIST_VIOLATION" - Checks if any SDKs were
	// detected that are specified in the denylist.
	//   "DATA_MONITORING_PERMISSIONS_DENYLIST_VIOLATION" - Checks if any
	// permissions were detected that are specified in the denylist.
	//   "DATA_MONITORING_ENDPOINTS_DENYLIST_VIOLATION" - Checks if any
	// endpoints were detected that are specified in the denylist.
	//   "DATA_MONITORING_OUTDATED_SDK_VERSION" - Checks if there are any
	// outdated SDKs.
	//   "DATA_MONITORING_CRITICAL_SDK_ISSUE" - Checks if there are any SDKs
	// with critical issues.
	Type string `json:"type,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Citations") 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. "Citations") 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:"-"`
}

GoogleChecksReportV1alphaCheck: A check that was run on your app.

func (*GoogleChecksReportV1alphaCheck) MarshalJSON

func (s *GoogleChecksReportV1alphaCheck) MarshalJSON() ([]byte, error)

type GoogleChecksReportV1alphaCheckCitation

type GoogleChecksReportV1alphaCheckCitation struct {
	// Type: Citation type.
	//
	// Possible values:
	//   "CITATION_TYPE_UNSPECIFIED" - Not specified.
	//   "COPPA" - Children's Online Privacy Protection Act.
	//   "GDPR" - General Data Protection Regulation.
	//   "FERPA" - Family Educational Rights and Privacy Act.
	//   "CAL_OPPA" - The California Online Privacy Protection Act.
	//   "CCPA" - California Consumer Privacy Act.
	//   "SOPIPA" - Student Online Personal Information Protection Act.
	//   "LGPD" - Lei Geral de Proteção de Dados.
	//   "CPRA" - California Consumer Privacy Act.
	//   "VCDPA" - Virginia Consumer Data Protection Act.
	//   "GOOGLE_PLAY_POLICY" - Google Play Policy.
	//   "APP_STORE_POLICY" - App Store Policy.
	//   "CPA" - Colorado Privacy Act.
	//   "CTDPA" - Connecticut Data Privacy Act.
	//   "UCPA" - Utah Consumer Privacy Act.
	//   "PIPEDA" - Personal Information Protection and Electronic Documents
	// Act.
	//   "ALBERTA_PIPA" - Alberta (Canada) Personal Information Protection
	// Act.
	//   "QUEBEC_ACT" - Quebec: Act Respecting the Protection of Personal
	// Information in the Private Sector.
	//   "QUEBEC_BILL_64" - Quebec Bill 64: An Act to Modernize Legislative
	// Provisions as Regards the Protection of Personal Information.
	//   "CHINA_PIPL" - China Personal Information Protection Law.
	Type string `json:"type,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Type") 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. "Type") 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:"-"`
}

GoogleChecksReportV1alphaCheckCitation: Regulation or policy that serves as the legal basis for the check.

func (*GoogleChecksReportV1alphaCheckCitation) MarshalJSON

func (s *GoogleChecksReportV1alphaCheckCitation) MarshalJSON() ([]byte, error)

type GoogleChecksReportV1alphaCheckDataSecurityEvidence

type GoogleChecksReportV1alphaCheckDataSecurityEvidence struct {
	// DataInTransitInfo: Evidence related to data in transit.
	DataInTransitInfo []*GoogleChecksReportV1alphaCheckDataSecurityEvidenceDataInTransitInfo `json:"dataInTransitInfo,omitempty"`

	// ForceSendFields is a list of field names (e.g. "DataInTransitInfo")
	// 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. "DataInTransitInfo") 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:"-"`
}

GoogleChecksReportV1alphaCheckDataSecurityEvidence: Evidence concerning data security.

func (*GoogleChecksReportV1alphaCheckDataSecurityEvidence) MarshalJSON

type GoogleChecksReportV1alphaCheckDataSecurityEvidenceDataInTransitInfo

type GoogleChecksReportV1alphaCheckDataSecurityEvidenceDataInTransitInfo struct {
	// Uri: The URL contacted by your app. This includes the protocol,
	// domain, and URL parameters.
	Uri string `json:"uri,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Uri") 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. "Uri") 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:"-"`
}

GoogleChecksReportV1alphaCheckDataSecurityEvidenceDataInTransitInfo: Evidence related to data in transit detected in your app.

func (*GoogleChecksReportV1alphaCheckDataSecurityEvidenceDataInTransitInfo) MarshalJSON

type GoogleChecksReportV1alphaCheckDataTypeEvidence

type GoogleChecksReportV1alphaCheckDataTypeEvidence struct {
	// DataType: The data type that was found in your app.
	//
	// Possible values:
	//   "DATA_TYPE_UNSPECIFIED" - Not specified.
	//   "DATA_TYPE_APPROXIMATE_LOCATION" - User or device physical location
	// to an area greater than or equal to 3 square kilometers, such as the
	// city a user is in, or location provided by Android's
	// ACCESS_COARSE_LOCATION permission.
	//   "DATA_TYPE_PRECISE_LOCATION" - User or device physical location
	// within an area less than 3 square kilometers, such as location
	// provided by Android's ACCESS_FINE_LOCATION permission.
	//   "DATA_TYPE_PERSONAL_NAME" - How a user refers to themselves, such
	// as their first or last name, or nickname.
	//   "DATA_TYPE_EMAIL_ADDRESS" - A user's email address.
	//   "DATA_TYPE_USER_IDS" - Identifiers that relate to an identifiable
	// person. For example, an account ID, account number, or account name.
	//   "DATA_TYPE_PHYSICAL_ADDRESS" - A user's address, such as a mailing
	// or home address.
	//   "DATA_TYPE_PHONE_NUMBER" - A user's phone number.
	//   "DATA_TYPE_RACE_AND_ETHNICITY" - Information about a user's race or
	// ethnicity.
	//   "DATA_TYPE_POLITICAL_OR_RELIGIOUS_BELIEFS" - Information about a
	// user's political or religious beliefs.
	//   "DATA_TYPE_SEXUAL_ORIENTATION" - Information about a user's sexual
	// orientation.
	//   "DATA_TYPE_OTHER_PERSONAL_INFO" - Any other personal information
	// such as date of birth, gender identity, veteran status, etc.
	//   "DATA_TYPE_PAYMENT_INFO" - Information about a user's financial
	// accounts such as credit card number.
	//   "DATA_TYPE_PURCHASE_HISTORY" - Information about purchases or
	// transactions a user has made.
	//   "DATA_TYPE_CREDIT_SCORE" - Information about a user's credit score.
	//   "DATA_TYPE_OTHER_FINANCIAL_INFO" - Any other financial information
	// such as user salary or debts.
	//   "DATA_TYPE_HEALTH_INFO" - Information about a user's health, such
	// as medical records or symptoms.
	//   "DATA_TYPE_FITNESS_INFO" - Information about a user's fitness, such
	// as exercise or other physical activity.
	//   "DATA_TYPE_EMAILS" - A user's emails including the email subject
	// line, sender, recipients, and the content of the email.
	//   "DATA_TYPE_TEXT_MESSAGES" - A user's text messages including the
	// sender, recipients, and the content of the message.
	//   "DATA_TYPE_PHOTOS" - A user's photos.
	//   "DATA_TYPE_VIDEOS" - A user's videos.
	//   "DATA_TYPE_VOICE_OR_SOUND_RECORDINGS" - A user's voice such as a
	// voicemail or a sound recording.
	//   "DATA_TYPE_MUSIC_FILES" - A user's music files.
	//   "DATA_TYPE_OTHER_AUDIO_FILES" - Any other user-created or
	// user-provided audio files.
	//   "DATA_TYPE_FILES_AND_DOCS" - A user's files or documents, or
	// information about their files or documents such as file names.
	//   "DATA_TYPE_CALENDAR_EVENTS" - Information from a user's calendar
	// such as events, event notes, and attendees.
	//   "DATA_TYPE_CONTACTS" - Information about the user’s contacts such
	// as contact names, message history, and social graph information like
	// usernames, contact recency, contact frequency, interaction duration
	// and call history.
	//   "DATA_TYPE_APP_INTERACTIONS" - Information about how a user
	// interacts with your app, such as the number of page views or taps.
	//   "DATA_TYPE_IN_APP_SEARCH_HISTORY" - Information about what a user
	// has searched for in your app.
	//   "DATA_TYPE_INSTALLED_APPS" - Inventory of apps or packages
	// installed on the user’s device.
	//   "DATA_TYPE_OTHER_USER_GENERATED_CONTENT" - Any other user-generated
	// content not listed here, or in any other section. For example, user
	// bios, notes, or open-ended responses.
	//   "DATA_TYPE_OTHER_ACTIONS" - Any other user activity or actions
	// in-app not listed here such as gameplay, likes, and dialog options.
	//   "DATA_TYPE_WEB_BROWSING_HISTORY" - Information about the websites a
	// user has visited.
	//   "DATA_TYPE_CRASH_LOGS" - Crash log data from your app. For example,
	// the number of times your app has crashed, stack traces, or other
	// information directly related to a crash.
	//   "DATA_TYPE_PERFORMANCE_DIAGNOSTICS" - Information about the
	// performance of your app. For example battery life, loading time,
	// latency, framerate, or any technical diagnostics.
	//   "DATA_TYPE_OTHER_APP_PERFORMANCE_DATA" - Any other app performance
	// data not listed here.
	//   "DATA_TYPE_DEVICE_OR_OTHER_IDS" - Identifiers that relate to an
	// individual device, browser or app. For example, an IMEI number, MAC
	// address, Widevine Device ID, Firebase installation ID, or advertising
	// identifier.
	DataType string `json:"dataType,omitempty"`

	// DataTypeEvidence: Evidence collected about the data type.
	DataTypeEvidence *GoogleChecksReportV1alphaDataTypeEvidence `json:"dataTypeEvidence,omitempty"`

	// ForceSendFields is a list of field names (e.g. "DataType") 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. "DataType") 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:"-"`
}

GoogleChecksReportV1alphaCheckDataTypeEvidence: Evidence concerning a data type that was found in your app.

func (*GoogleChecksReportV1alphaCheckDataTypeEvidence) MarshalJSON

type GoogleChecksReportV1alphaCheckEndpointEvidence

type GoogleChecksReportV1alphaCheckEndpointEvidence struct {
	// Endpoint: The endpoint that was contacted by your app.
	Endpoint *GoogleChecksReportV1alphaEndpoint `json:"endpoint,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Endpoint") 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. "Endpoint") 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:"-"`
}

GoogleChecksReportV1alphaCheckEndpointEvidence: Evidence concerning an endpoint that was contacted by your app.

func (*GoogleChecksReportV1alphaCheckEndpointEvidence) MarshalJSON

type GoogleChecksReportV1alphaCheckEndpointRestrictionViolationEvidence

type GoogleChecksReportV1alphaCheckEndpointRestrictionViolationEvidence struct {
	// EndpointDetails: Endpoints in violation.
	EndpointDetails []*GoogleChecksReportV1alphaCheckEndpointRestrictionViolationEvidenceEndpointDetails `json:"endpointDetails,omitempty"`

	// ForceSendFields is a list of field names (e.g. "EndpointDetails") 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. "EndpointDetails") 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:"-"`
}

GoogleChecksReportV1alphaCheckEndpointRestrictionViolationEvidence: Evidence collected from endpoint restriction violation analysis.

func (*GoogleChecksReportV1alphaCheckEndpointRestrictionViolationEvidence) MarshalJSON

type GoogleChecksReportV1alphaCheckEndpointRestrictionViolationEvidenceEndpointDetails

type GoogleChecksReportV1alphaCheckEndpointRestrictionViolationEvidenceEndpointDetails struct {
	// Endpoint: The endpoint in violation.
	Endpoint *GoogleChecksReportV1alphaEndpoint `json:"endpoint,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Endpoint") 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. "Endpoint") 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:"-"`
}

GoogleChecksReportV1alphaCheckEndpointRestrictionViolationEvidenceEndp ointDetails: Details of the endpoint in violation.

func (*GoogleChecksReportV1alphaCheckEndpointRestrictionViolationEvidenceEndpointDetails) MarshalJSON

type GoogleChecksReportV1alphaCheckEvidence

type GoogleChecksReportV1alphaCheckEvidence struct {
	// DataSecurity: Evidence concerning data security.
	DataSecurity *GoogleChecksReportV1alphaCheckDataSecurityEvidence `json:"dataSecurity,omitempty"`

	// DataTypes: Evidence concerning data types found in your app.
	DataTypes []*GoogleChecksReportV1alphaCheckDataTypeEvidence `json:"dataTypes,omitempty"`

	// EndpointRestrictionViolations: Evidence collected from endpoint
	// restriction violation analysis.
	EndpointRestrictionViolations []*GoogleChecksReportV1alphaCheckEndpointRestrictionViolationEvidence `json:"endpointRestrictionViolations,omitempty"`

	// Endpoints: Evidence concerning endpoints that were contacted by your
	// app.
	Endpoints []*GoogleChecksReportV1alphaCheckEndpointEvidence `json:"endpoints,omitempty"`

	// PermissionRestrictionViolations: Evidence collected from permission
	// restriction violation analysis.
	PermissionRestrictionViolations []*GoogleChecksReportV1alphaCheckPermissionRestrictionViolationEvidence `json:"permissionRestrictionViolations,omitempty"`

	// Permissions: Evidence concerning permissions that were found in your
	// app.
	Permissions []*GoogleChecksReportV1alphaCheckPermissionEvidence `json:"permissions,omitempty"`

	// PrivacyPolicyTexts: Evidence collected from your privacy policy(s).
	PrivacyPolicyTexts []*GoogleChecksReportV1alphaCheckPrivacyPolicyTextEvidence `json:"privacyPolicyTexts,omitempty"`

	// SdkIssues: Evidence concerning SDK issues.
	SdkIssues []*GoogleChecksReportV1alphaCheckSdkIssueEvidence `json:"sdkIssues,omitempty"`

	// SdkRestrictionViolations: Evidence collected from SDK restriction
	// violation analysis.
	SdkRestrictionViolations []*GoogleChecksReportV1alphaCheckSdkRestrictionViolationEvidence `json:"sdkRestrictionViolations,omitempty"`

	// Sdks: Evidence concerning SDKs that were found in your app.
	Sdks []*GoogleChecksReportV1alphaCheckSdkEvidence `json:"sdks,omitempty"`

	// ForceSendFields is a list of field names (e.g. "DataSecurity") 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. "DataSecurity") 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:"-"`
}

GoogleChecksReportV1alphaCheckEvidence: Evidence for a check.

func (*GoogleChecksReportV1alphaCheckEvidence) MarshalJSON

func (s *GoogleChecksReportV1alphaCheckEvidence) MarshalJSON() ([]byte, error)

type GoogleChecksReportV1alphaCheckPermissionEvidence

type GoogleChecksReportV1alphaCheckPermissionEvidence struct {
	// Permission: The permission that was found in your app.
	Permission *GoogleChecksReportV1alphaPermission `json:"permission,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Permission") 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. "Permission") 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:"-"`
}

GoogleChecksReportV1alphaCheckPermissionEvidence: Evidence concerning a permission that was found in your app.

func (*GoogleChecksReportV1alphaCheckPermissionEvidence) MarshalJSON

type GoogleChecksReportV1alphaCheckPermissionRestrictionViolationEvidence

type GoogleChecksReportV1alphaCheckPermissionRestrictionViolationEvidence struct {
	// PermissionDetails: Permissions in violation.
	PermissionDetails []*GoogleChecksReportV1alphaCheckPermissionRestrictionViolationEvidencePermissionDetails `json:"permissionDetails,omitempty"`

	// ForceSendFields is a list of field names (e.g. "PermissionDetails")
	// 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. "PermissionDetails") 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:"-"`
}

GoogleChecksReportV1alphaCheckPermissionRestrictionViolationEvidence: Evidence collected from permission restriction violation analysis.

func (*GoogleChecksReportV1alphaCheckPermissionRestrictionViolationEvidence) MarshalJSON

type GoogleChecksReportV1alphaCheckPermissionRestrictionViolationEvidencePermissionDetails

type GoogleChecksReportV1alphaCheckPermissionRestrictionViolationEvidencePermissionDetails struct {
	// Permission: The permission in violation.
	Permission *GoogleChecksReportV1alphaPermission `json:"permission,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Permission") 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. "Permission") 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:"-"`
}

GoogleChecksReportV1alphaCheckPermissionRestrictionViolationEvidencePe rmissionDetails: Details of the permission in violation.

func (*GoogleChecksReportV1alphaCheckPermissionRestrictionViolationEvidencePermissionDetails) MarshalJSON

type GoogleChecksReportV1alphaCheckPrivacyPolicyTextEvidence

type GoogleChecksReportV1alphaCheckPrivacyPolicyTextEvidence struct {
	// PolicyFragment: The privacy policy fragment that was used during the
	// check.
	PolicyFragment *GoogleChecksReportV1alphaPolicyFragment `json:"policyFragment,omitempty"`

	// ForceSendFields is a list of field names (e.g. "PolicyFragment") 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. "PolicyFragment") 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:"-"`
}

GoogleChecksReportV1alphaCheckPrivacyPolicyTextEvidence: Evidence collected from your privacy policy(s).

func (*GoogleChecksReportV1alphaCheckPrivacyPolicyTextEvidence) MarshalJSON

type GoogleChecksReportV1alphaCheckSdkEvidence

type GoogleChecksReportV1alphaCheckSdkEvidence struct {
	// Sdk: The SDK that was found in your app.
	Sdk *GoogleChecksReportV1alphaSdk `json:"sdk,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Sdk") 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. "Sdk") 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:"-"`
}

GoogleChecksReportV1alphaCheckSdkEvidence: Evidence conerning an SDK that was found in your app.

func (*GoogleChecksReportV1alphaCheckSdkEvidence) MarshalJSON

type GoogleChecksReportV1alphaCheckSdkIssueEvidence

type GoogleChecksReportV1alphaCheckSdkIssueEvidence struct {
	// Sdk: The SDK with an issue.
	Sdk *GoogleChecksReportV1alphaSdk `json:"sdk,omitempty"`

	// SdkVersion: The SDK version.
	SdkVersion string `json:"sdkVersion,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Sdk") 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. "Sdk") 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:"-"`
}

GoogleChecksReportV1alphaCheckSdkIssueEvidence: Evidence concerning an SDK issue.

func (*GoogleChecksReportV1alphaCheckSdkIssueEvidence) MarshalJSON

type GoogleChecksReportV1alphaCheckSdkRestrictionViolationEvidence

type GoogleChecksReportV1alphaCheckSdkRestrictionViolationEvidence struct {
	// SdkDetails: SDKs in violation.
	SdkDetails []*GoogleChecksReportV1alphaCheckSdkRestrictionViolationEvidenceSdkDetails `json:"sdkDetails,omitempty"`

	// ForceSendFields is a list of field names (e.g. "SdkDetails") 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. "SdkDetails") 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:"-"`
}

GoogleChecksReportV1alphaCheckSdkRestrictionViolationEvidence: Evidence collected from SDK restriction violation analysis.

func (*GoogleChecksReportV1alphaCheckSdkRestrictionViolationEvidence) MarshalJSON

type GoogleChecksReportV1alphaCheckSdkRestrictionViolationEvidenceSdkDetails

type GoogleChecksReportV1alphaCheckSdkRestrictionViolationEvidenceSdkDetails struct {
	// Sdk: The SDK in violation.
	Sdk *GoogleChecksReportV1alphaSdk `json:"sdk,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Sdk") 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. "Sdk") 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:"-"`
}

GoogleChecksReportV1alphaCheckSdkRestrictionViolationEvidenceSdkDetail s: Details of the SDK in violation.

func (*GoogleChecksReportV1alphaCheckSdkRestrictionViolationEvidenceSdkDetails) MarshalJSON

type GoogleChecksReportV1alphaCheckStateMetadata

type GoogleChecksReportV1alphaCheckStateMetadata struct {
	// Badges: Indicators related to the check state.
	//
	// Possible values:
	//   "CHECK_STATE_BADGE_UNSPECIFIED" - Not specified.
	//   "NEWLY_FAILING" - The check is newly failing, i.e. now failing but
	// previously passing.
	//   "RECENTLY_FAILING" - The check is currently failing and first
	// started failing continuously within the last 28 days.
	//   "RESOLVED" - The check is newly passing, i.e. now passing but
	// previously failing.
	Badges []string `json:"badges,omitempty"`

	// FirstFailingTime: The time when the check first started failing.
	FirstFailingTime string `json:"firstFailingTime,omitempty"`

	// LastFailingTime: The last time the check failed.
	LastFailingTime string `json:"lastFailingTime,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Badges") 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. "Badges") 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:"-"`
}

GoogleChecksReportV1alphaCheckStateMetadata: Additional information about the check state in relation to past reports.

func (*GoogleChecksReportV1alphaCheckStateMetadata) MarshalJSON

type GoogleChecksReportV1alphaDataMonitoring

type GoogleChecksReportV1alphaDataMonitoring struct {
	// DataTypes: Data types that your app shares or collects.
	DataTypes []*GoogleChecksReportV1alphaDataMonitoringDataTypeResult `json:"dataTypes,omitempty"`

	// Endpoints: Endpoints that were found by dynamic analysis of your app.
	Endpoints []*GoogleChecksReportV1alphaDataMonitoringEndpointResult `json:"endpoints,omitempty"`

	// Permissions: Permissions that your app uses.
	Permissions []*GoogleChecksReportV1alphaDataMonitoringPermissionResult `json:"permissions,omitempty"`

	// Sdks: SDKs that your app uses.
	Sdks []*GoogleChecksReportV1alphaDataMonitoringSdkResult `json:"sdks,omitempty"`

	// ForceSendFields is a list of field names (e.g. "DataTypes") 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. "DataTypes") 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:"-"`
}

GoogleChecksReportV1alphaDataMonitoring: Represents the data monitoring section of the report.

func (*GoogleChecksReportV1alphaDataMonitoring) MarshalJSON

func (s *GoogleChecksReportV1alphaDataMonitoring) MarshalJSON() ([]byte, error)

type GoogleChecksReportV1alphaDataMonitoringDataTypeResult

type GoogleChecksReportV1alphaDataMonitoringDataTypeResult struct {
	// DataType: The data type that was shared or collected by your app.
	//
	// Possible values:
	//   "DATA_TYPE_UNSPECIFIED" - Not specified.
	//   "DATA_TYPE_APPROXIMATE_LOCATION" - User or device physical location
	// to an area greater than or equal to 3 square kilometers, such as the
	// city a user is in, or location provided by Android's
	// ACCESS_COARSE_LOCATION permission.
	//   "DATA_TYPE_PRECISE_LOCATION" - User or device physical location
	// within an area less than 3 square kilometers, such as location
	// provided by Android's ACCESS_FINE_LOCATION permission.
	//   "DATA_TYPE_PERSONAL_NAME" - How a user refers to themselves, such
	// as their first or last name, or nickname.
	//   "DATA_TYPE_EMAIL_ADDRESS" - A user's email address.
	//   "DATA_TYPE_USER_IDS" - Identifiers that relate to an identifiable
	// person. For example, an account ID, account number, or account name.
	//   "DATA_TYPE_PHYSICAL_ADDRESS" - A user's address, such as a mailing
	// or home address.
	//   "DATA_TYPE_PHONE_NUMBER" - A user's phone number.
	//   "DATA_TYPE_RACE_AND_ETHNICITY" - Information about a user's race or
	// ethnicity.
	//   "DATA_TYPE_POLITICAL_OR_RELIGIOUS_BELIEFS" - Information about a
	// user's political or religious beliefs.
	//   "DATA_TYPE_SEXUAL_ORIENTATION" - Information about a user's sexual
	// orientation.
	//   "DATA_TYPE_OTHER_PERSONAL_INFO" - Any other personal information
	// such as date of birth, gender identity, veteran status, etc.
	//   "DATA_TYPE_PAYMENT_INFO" - Information about a user's financial
	// accounts such as credit card number.
	//   "DATA_TYPE_PURCHASE_HISTORY" - Information about purchases or
	// transactions a user has made.
	//   "DATA_TYPE_CREDIT_SCORE" - Information about a user's credit score.
	//   "DATA_TYPE_OTHER_FINANCIAL_INFO" - Any other financial information
	// such as user salary or debts.
	//   "DATA_TYPE_HEALTH_INFO" - Information about a user's health, such
	// as medical records or symptoms.
	//   "DATA_TYPE_FITNESS_INFO" - Information about a user's fitness, such
	// as exercise or other physical activity.
	//   "DATA_TYPE_EMAILS" - A user's emails including the email subject
	// line, sender, recipients, and the content of the email.
	//   "DATA_TYPE_TEXT_MESSAGES" - A user's text messages including the
	// sender, recipients, and the content of the message.
	//   "DATA_TYPE_PHOTOS" - A user's photos.
	//   "DATA_TYPE_VIDEOS" - A user's videos.
	//   "DATA_TYPE_VOICE_OR_SOUND_RECORDINGS" - A user's voice such as a
	// voicemail or a sound recording.
	//   "DATA_TYPE_MUSIC_FILES" - A user's music files.
	//   "DATA_TYPE_OTHER_AUDIO_FILES" - Any other user-created or
	// user-provided audio files.
	//   "DATA_TYPE_FILES_AND_DOCS" - A user's files or documents, or
	// information about their files or documents such as file names.
	//   "DATA_TYPE_CALENDAR_EVENTS" - Information from a user's calendar
	// such as events, event notes, and attendees.
	//   "DATA_TYPE_CONTACTS" - Information about the user’s contacts such
	// as contact names, message history, and social graph information like
	// usernames, contact recency, contact frequency, interaction duration
	// and call history.
	//   "DATA_TYPE_APP_INTERACTIONS" - Information about how a user
	// interacts with your app, such as the number of page views or taps.
	//   "DATA_TYPE_IN_APP_SEARCH_HISTORY" - Information about what a user
	// has searched for in your app.
	//   "DATA_TYPE_INSTALLED_APPS" - Inventory of apps or packages
	// installed on the user’s device.
	//   "DATA_TYPE_OTHER_USER_GENERATED_CONTENT" - Any other user-generated
	// content not listed here, or in any other section. For example, user
	// bios, notes, or open-ended responses.
	//   "DATA_TYPE_OTHER_ACTIONS" - Any other user activity or actions
	// in-app not listed here such as gameplay, likes, and dialog options.
	//   "DATA_TYPE_WEB_BROWSING_HISTORY" - Information about the websites a
	// user has visited.
	//   "DATA_TYPE_CRASH_LOGS" - Crash log data from your app. For example,
	// the number of times your app has crashed, stack traces, or other
	// information directly related to a crash.
	//   "DATA_TYPE_PERFORMANCE_DIAGNOSTICS" - Information about the
	// performance of your app. For example battery life, loading time,
	// latency, framerate, or any technical diagnostics.
	//   "DATA_TYPE_OTHER_APP_PERFORMANCE_DATA" - Any other app performance
	// data not listed here.
	//   "DATA_TYPE_DEVICE_OR_OTHER_IDS" - Identifiers that relate to an
	// individual device, browser or app. For example, an IMEI number, MAC
	// address, Widevine Device ID, Firebase installation ID, or advertising
	// identifier.
	DataType string `json:"dataType,omitempty"`

	// DataTypeEvidence: Evidence collected about the data type.
	DataTypeEvidence *GoogleChecksReportV1alphaDataTypeEvidence `json:"dataTypeEvidence,omitempty"`

	// Metadata: Metadata about the result.
	Metadata *GoogleChecksReportV1alphaDataMonitoringResultMetadata `json:"metadata,omitempty"`

	// ForceSendFields is a list of field names (e.g. "DataType") 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. "DataType") 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:"-"`
}

GoogleChecksReportV1alphaDataMonitoringDataTypeResult: Information about a data type that was found in your app.

func (*GoogleChecksReportV1alphaDataMonitoringDataTypeResult) MarshalJSON

type GoogleChecksReportV1alphaDataMonitoringEndpointResult

type GoogleChecksReportV1alphaDataMonitoringEndpointResult struct {
	// Endpoint: The endpoint that was contacted by your app.
	Endpoint *GoogleChecksReportV1alphaEndpoint `json:"endpoint,omitempty"`

	// HitCount: The number of times this endpoint was contacted by your
	// app.
	HitCount int64 `json:"hitCount,omitempty"`

	// Metadata: Metadata about the result.
	Metadata *GoogleChecksReportV1alphaDataMonitoringResultMetadata `json:"metadata,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Endpoint") 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. "Endpoint") 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:"-"`
}

GoogleChecksReportV1alphaDataMonitoringEndpointResult: Information about an endpoint that was contacted by your app.

func (*GoogleChecksReportV1alphaDataMonitoringEndpointResult) MarshalJSON

type GoogleChecksReportV1alphaDataMonitoringPermissionResult

type GoogleChecksReportV1alphaDataMonitoringPermissionResult struct {
	// Metadata: Metadata about the result.
	Metadata *GoogleChecksReportV1alphaDataMonitoringResultMetadata `json:"metadata,omitempty"`

	// Permission: The permission that was found in your app.
	Permission *GoogleChecksReportV1alphaPermission `json:"permission,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Metadata") 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. "Metadata") 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:"-"`
}

GoogleChecksReportV1alphaDataMonitoringPermissionResult: Information about a permission that was found in your app.

func (*GoogleChecksReportV1alphaDataMonitoringPermissionResult) MarshalJSON

type GoogleChecksReportV1alphaDataMonitoringResultMetadata

type GoogleChecksReportV1alphaDataMonitoringResultMetadata struct {
	// Badges: Badges that apply to this result.
	//
	// Possible values:
	//   "DATA_MONITORING_RESULT_BADGE_UNSPECIFIED" - Not specified.
	//   "NEW" - Indicates a newly detected result in the data monitoring
	// report.
	Badges []string `json:"badges,omitempty"`

	// FirstDetectedTime: The timestamp when this result was first detected
	// within the last 8 weeks. If not set, it wasn't detected within the
	// last 8 weeks.
	FirstDetectedTime string `json:"firstDetectedTime,omitempty"`

	// LastDetectedAppVersion: Your app's version name when this result was
	// last detected within the last 8 weeks. If not set, it wasn't detected
	// within the last 8 weeks.
	LastDetectedAppVersion string `json:"lastDetectedAppVersion,omitempty"`

	// LastDetectedTime: The timestamp when this result was last detected
	// within the last 8 weeks. If not set, it wasn't detected within the
	// last 8 weeks.
	LastDetectedTime string `json:"lastDetectedTime,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Badges") 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. "Badges") 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:"-"`
}

GoogleChecksReportV1alphaDataMonitoringResultMetadata: Information about a data monitoring result.

func (*GoogleChecksReportV1alphaDataMonitoringResultMetadata) MarshalJSON

type GoogleChecksReportV1alphaDataMonitoringSdkResult

type GoogleChecksReportV1alphaDataMonitoringSdkResult struct {
	// Metadata: Metadata about the result.
	Metadata *GoogleChecksReportV1alphaDataMonitoringResultMetadata `json:"metadata,omitempty"`

	// Sdk: The SDK that was found in your app.
	Sdk *GoogleChecksReportV1alphaSdk `json:"sdk,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Metadata") 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. "Metadata") 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:"-"`
}

GoogleChecksReportV1alphaDataMonitoringSdkResult: Information about an SDK that was found in your app.

func (*GoogleChecksReportV1alphaDataMonitoringSdkResult) MarshalJSON

type GoogleChecksReportV1alphaDataTypeEndpointEvidence

type GoogleChecksReportV1alphaDataTypeEndpointEvidence struct {
	// AttributedSdks: Set of SDKs that are attributed to the exfiltration.
	AttributedSdks []*GoogleChecksReportV1alphaDataTypeEndpointEvidenceAttributedSdk `json:"attributedSdks,omitempty"`

	// EndpointDetails: Endpoints the data type was sent to.
	EndpointDetails []*GoogleChecksReportV1alphaDataTypeEndpointEvidenceEndpointDetails `json:"endpointDetails,omitempty"`

	// ExfiltratedDataType: Type of data that was exfiltrated.
	//
	// Possible values:
	//   "EXFILTRATED_DATA_TYPE_UNSPECIFIED" - Not specified.
	//   "EXFILTRATED_DATA_TYPE_PHONE_NUMBER" - The user's phone number.
	//   "EXFILTRATED_DATA_TYPE_PRECISE_LOCATION" - The user's precise
	// location.
	//   "EXFILTRATED_DATA_TYPE_CONTACT_NAME" - Name of one or more contacts
	// from the user's phone.
	//   "EXFILTRATED_DATA_TYPE_CONTACT_EMAIL" - Email of one or more
	// contacts from the user's phone.
	//   "EXFILTRATED_DATA_TYPE_CONTACT_PHONE_NUMBER" - Phone number of one
	// or more contacts from the user's phone.
	//   "EXFILTRATED_DATA_TYPE_INCOMING_TEXT_NUMBER" - Phone number of an
	// incoming text message.
	//   "EXFILTRATED_DATA_TYPE_INCOMING_TEXT_MESSAGE" - Content of an
	// incoming text message.
	//   "EXFILTRATED_DATA_TYPE_OUTGOING_TEXT_NUMBER" - Phone number of an
	// outgoing text message.
	//   "EXFILTRATED_DATA_TYPE_OUTGOING_TEXT_MESSAGE" - Content of an
	// outgoing text message.
	//   "EXFILTRATED_DATA_TYPE_ADVERTISING_ID" - Advertising ID.
	//   "EXFILTRATED_DATA_TYPE_ANDROID_ID" - Android ID.
	//   "EXFILTRATED_DATA_TYPE_IMEI" - IMEI.
	//   "EXFILTRATED_DATA_TYPE_IMSI" - IMSI.
	//   "EXFILTRATED_DATA_TYPE_SIM_SERIAL_NUMBER" - Sim serial number.
	//   "EXFILTRATED_DATA_TYPE_SSID" - SSID: Service Set IDentifier, i.e.
	// the network's name.
	//   "EXFILTRATED_DATA_TYPE_ACCOUNT" - Information about the main
	// account of the device.
	//   "EXFILTRATED_DATA_TYPE_EXTERNAL_ACCOUNT" - Information about an
	// external account, e.g. Facebook, Twitter.
	//   "EXFILTRATED_DATA_TYPE_INSTALLED_PACKAGES" - One or more of the
	// package names of apps on the device.
	ExfiltratedDataType string `json:"exfiltratedDataType,omitempty"`

	// ForceSendFields is a list of field names (e.g. "AttributedSdks") 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. "AttributedSdks") 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:"-"`
}

GoogleChecksReportV1alphaDataTypeEndpointEvidence: Evidence based on an endpoint that data was sent to.

func (*GoogleChecksReportV1alphaDataTypeEndpointEvidence) MarshalJSON

type GoogleChecksReportV1alphaDataTypeEndpointEvidenceAttributedSdk

type GoogleChecksReportV1alphaDataTypeEndpointEvidenceAttributedSdk struct {
	// Sdk: SDK that is attributed to the exfiltration.
	Sdk *GoogleChecksReportV1alphaSdk `json:"sdk,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Sdk") 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. "Sdk") 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:"-"`
}

GoogleChecksReportV1alphaDataTypeEndpointEvidenceAttributedSdk: Details of SDK that is attributed to the exfiltration.

func (*GoogleChecksReportV1alphaDataTypeEndpointEvidenceAttributedSdk) MarshalJSON

type GoogleChecksReportV1alphaDataTypeEndpointEvidenceEndpointDetails

type GoogleChecksReportV1alphaDataTypeEndpointEvidenceEndpointDetails struct {
	// Endpoint: Endpoint the data type was sent to.
	Endpoint *GoogleChecksReportV1alphaEndpoint `json:"endpoint,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Endpoint") 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. "Endpoint") 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:"-"`
}

GoogleChecksReportV1alphaDataTypeEndpointEvidenceEndpointDetails: Details of the endpoint the data type was sent to.

func (*GoogleChecksReportV1alphaDataTypeEndpointEvidenceEndpointDetails) MarshalJSON

type GoogleChecksReportV1alphaDataTypeEvidence

type GoogleChecksReportV1alphaDataTypeEvidence struct {
	// Endpoints: List of endpoints the data type was sent to.
	Endpoints []*GoogleChecksReportV1alphaDataTypeEndpointEvidence `json:"endpoints,omitempty"`

	// Permissions: List of included permissions that imply collection of
	// the data type.
	Permissions []*GoogleChecksReportV1alphaDataTypePermissionEvidence `json:"permissions,omitempty"`

	// PrivacyPolicyTexts: List of privacy policy texts that imply
	// collection of the data type.
	PrivacyPolicyTexts []*GoogleChecksReportV1alphaDataTypePrivacyPolicyTextEvidence `json:"privacyPolicyTexts,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Endpoints") 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. "Endpoints") 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:"-"`
}

GoogleChecksReportV1alphaDataTypeEvidence: Evidence collected about a data type.

func (*GoogleChecksReportV1alphaDataTypeEvidence) MarshalJSON

type GoogleChecksReportV1alphaDataTypePermissionEvidence

type GoogleChecksReportV1alphaDataTypePermissionEvidence struct {
	// Permission: Permission declared by your app.
	Permission *GoogleChecksReportV1alphaPermission `json:"permission,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Permission") 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. "Permission") 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:"-"`
}

GoogleChecksReportV1alphaDataTypePermissionEvidence: Evidence based on the inclusion of a permission.

func (*GoogleChecksReportV1alphaDataTypePermissionEvidence) MarshalJSON

type GoogleChecksReportV1alphaDataTypePrivacyPolicyTextEvidence

type GoogleChecksReportV1alphaDataTypePrivacyPolicyTextEvidence struct {
	// PolicyFragment: The privacy policy fragment that implies collection
	// of the data type.
	PolicyFragment *GoogleChecksReportV1alphaPolicyFragment `json:"policyFragment,omitempty"`

	// ForceSendFields is a list of field names (e.g. "PolicyFragment") 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. "PolicyFragment") 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:"-"`
}

GoogleChecksReportV1alphaDataTypePrivacyPolicyTextEvidence: Evidence based on information from the privacy policy.

func (*GoogleChecksReportV1alphaDataTypePrivacyPolicyTextEvidence) MarshalJSON

type GoogleChecksReportV1alphaEndpoint

type GoogleChecksReportV1alphaEndpoint struct {
	// Domain: Domain name (e.g. ads.google.com).
	Domain string `json:"domain,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Domain") 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. "Domain") 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:"-"`
}

GoogleChecksReportV1alphaEndpoint: Information about an endpoint.

func (*GoogleChecksReportV1alphaEndpoint) MarshalJSON

func (s *GoogleChecksReportV1alphaEndpoint) MarshalJSON() ([]byte, error)

type GoogleChecksReportV1alphaListReportsResponse

type GoogleChecksReportV1alphaListReportsResponse struct {
	// 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"`

	// Reports: The reports for the specified app.
	Reports []*GoogleChecksReportV1alphaReport `json:"reports,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "NextPageToken") 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. "NextPageToken") 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:"-"`
}

GoogleChecksReportV1alphaListReportsResponse: The response message for ReportService.ListReports.

func (*GoogleChecksReportV1alphaListReportsResponse) MarshalJSON

type GoogleChecksReportV1alphaPermission

type GoogleChecksReportV1alphaPermission struct {
	// Id: Permission identifier.
	Id string `json:"id,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Id") 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. "Id") 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:"-"`
}

GoogleChecksReportV1alphaPermission: Information about a permission.

func (*GoogleChecksReportV1alphaPermission) MarshalJSON

func (s *GoogleChecksReportV1alphaPermission) MarshalJSON() ([]byte, error)

type GoogleChecksReportV1alphaPolicyFragment

type GoogleChecksReportV1alphaPolicyFragment struct {
	// HtmlContent: HTML content.
	HtmlContent string `json:"htmlContent,omitempty"`

	// SourceUri: Policy URL.
	SourceUri string `json:"sourceUri,omitempty"`

	// ForceSendFields is a list of field names (e.g. "HtmlContent") 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. "HtmlContent") 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:"-"`
}

GoogleChecksReportV1alphaPolicyFragment: Information about a policy fragment.

func (*GoogleChecksReportV1alphaPolicyFragment) MarshalJSON

func (s *GoogleChecksReportV1alphaPolicyFragment) MarshalJSON() ([]byte, error)

type GoogleChecksReportV1alphaReport

type GoogleChecksReportV1alphaReport struct {
	// AppBundle: Information about the analyzed app bundle.
	AppBundle *GoogleChecksReportV1alphaAppBundle `json:"appBundle,omitempty"`

	// Checks: List of checks that were run on the app bundle.
	Checks []*GoogleChecksReportV1alphaCheck `json:"checks,omitempty"`

	// DataMonitoring: Information related to data monitoring.
	DataMonitoring *GoogleChecksReportV1alphaDataMonitoring `json:"dataMonitoring,omitempty"`

	// Name: Resource name of the report.
	Name string `json:"name,omitempty"`

	// ResultsUri: A URL to view results.
	ResultsUri string `json:"resultsUri,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "AppBundle") 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. "AppBundle") 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:"-"`
}

GoogleChecksReportV1alphaReport: Privacy report.

func (*GoogleChecksReportV1alphaReport) MarshalJSON

func (s *GoogleChecksReportV1alphaReport) MarshalJSON() ([]byte, error)

type GoogleChecksReportV1alphaSdk

type GoogleChecksReportV1alphaSdk struct {
	// Id: SDK identifier.
	Id string `json:"id,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Id") 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. "Id") 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:"-"`
}

GoogleChecksReportV1alphaSdk: Information about an SDK.

func (*GoogleChecksReportV1alphaSdk) MarshalJSON

func (s *GoogleChecksReportV1alphaSdk) MarshalJSON() ([]byte, error)

type ListOperationsResponse

type ListOperationsResponse struct {
	// NextPageToken: The standard List next-page token.
	NextPageToken string `json:"nextPageToken,omitempty"`

	// Operations: A list of operations that matches the specified filter in
	// the request.
	Operations []*Operation `json:"operations,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "NextPageToken") 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. "NextPageToken") 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:"-"`
}

ListOperationsResponse: The response message for Operations.ListOperations.

func (*ListOperationsResponse) MarshalJSON

func (s *ListOperationsResponse) MarshalJSON() ([]byte, error)

type MediaService

type MediaService struct {
	// contains filtered or unexported fields
}

func NewMediaService

func NewMediaService(s *Service) *MediaService

func (*MediaService) Upload

func (r *MediaService) Upload(parent string, googlechecksreportv1alphaanalyzeuploadrequest *GoogleChecksReportV1alphaAnalyzeUploadRequest) *MediaUploadCall

Upload: Analyzes the uploaded app bundle and returns a google.longrunning.Operation containing the generated Report. ## Example (upload only) Send a regular POST request with the header `X-Goog-Upload-Protocol: raw`. ``` POST https://checks.googleapis.com/upload/v1alpha/{parent=accounts/*/apps/*}/reports:analyzeUpload HTTP/1.1 X-Goog-Upload-Protocol: raw Content-Length: Content-Type: application/octet-stream ``` ## Example (upload with metadata) Send a multipart POST request where the first body part contains the metadata JSON and the second body part contains the binary upload. Include the header `X-Goog-Upload-Protocol: multipart`. ``` POST https://checks.googleapis.com/upload/v1alpha/{parent=accounts/*/apps/*}/reports:analyzeUpload HTTP/1.1 X-Goog-Upload-Protocol: multipart Content-Length: ? Content-Type: multipart/related; boundary=BOUNDARY --BOUNDARY Content-Type: application/json {"code_reference_id":"db5bcc20f94055fb5bc08cbb9b0e7a5530308786"} --BOUNDARY --BOUNDARY-- ``` *Note:* Metadata-only requests are not supported.

- parent: Resource name of the app. Example: `accounts/123/apps/456`.

type MediaUploadCall

type MediaUploadCall struct {
	// contains filtered or unexported fields
}

func (*MediaUploadCall) Context

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. This context will supersede any context previously provided to the ResumableMedia method.

func (*MediaUploadCall) Do

func (c *MediaUploadCall) Do(opts ...googleapi.CallOption) (*Operation, error)

Do executes the "checks.media.upload" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.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 (*MediaUploadCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*MediaUploadCall) Header

func (c *MediaUploadCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*MediaUploadCall) Media

func (c *MediaUploadCall) Media(r io.Reader, options ...googleapi.MediaOption) *MediaUploadCall

Media specifies the media to upload in one or more chunks. The chunk size may be controlled by supplying a MediaOption generated by googleapi.ChunkSize. The chunk size defaults to googleapi.DefaultUploadChunkSize.The Content-Type header used in the upload request will be determined by sniffing the contents of r, unless a MediaOption generated by googleapi.ContentType is supplied. At most one of Media and ResumableMedia may be set.

func (*MediaUploadCall) ProgressUpdater

func (c *MediaUploadCall) ProgressUpdater(pu googleapi.ProgressUpdater) *MediaUploadCall

ProgressUpdater provides a callback function that will be called after every chunk. It should be a low-latency function in order to not slow down the upload operation. This should only be called when using ResumableMedia (as opposed to Media).

func (*MediaUploadCall) ResumableMedia deprecated

func (c *MediaUploadCall) ResumableMedia(ctx context.Context, r io.ReaderAt, size int64, mediaType string) *MediaUploadCall

ResumableMedia specifies the media to upload in chunks and can be canceled with ctx.

Deprecated: use Media instead.

At most one of Media and ResumableMedia may be set. mediaType identifies the MIME media type of the upload, such as "image/png". If mediaType is "", it will be auto-detected. The provided ctx will supersede any context previously provided to the Context method.

type Operation

type Operation struct {
	// Done: If the value is `false`, it means the operation is still in
	// progress. If `true`, the operation is completed, and either `error`
	// or `response` is available.
	Done bool `json:"done,omitempty"`

	// Error: The error result of the operation in case of failure or
	// cancellation.
	Error *Status `json:"error,omitempty"`

	// Metadata: Service-specific metadata associated with the operation. It
	// typically contains progress information and common metadata such as
	// create time. Some services might not provide such metadata. Any
	// method that returns a long-running operation should document the
	// metadata type, if any.
	Metadata googleapi.RawMessage `json:"metadata,omitempty"`

	// Name: The server-assigned name, which is only unique within the same
	// service that originally returns it. If you use the default HTTP
	// mapping, the `name` should be a resource name ending with
	// `operations/{unique_id}`.
	Name string `json:"name,omitempty"`

	// Response: The normal, successful response of the operation. If the
	// original method returns no data on success, such as `Delete`, the
	// response is `google.protobuf.Empty`. If the original method is
	// standard `Get`/`Create`/`Update`, the response should be the
	// resource. For other methods, the response should have the type
	// `XxxResponse`, where `Xxx` is the original method name. For example,
	// if the original method name is `TakeSnapshot()`, the inferred
	// response type is `TakeSnapshotResponse`.
	Response googleapi.RawMessage `json:"response,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "Done") 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. "Done") 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:"-"`
}

Operation: This resource represents a long-running operation that is the result of a network API call.

func (*Operation) MarshalJSON

func (s *Operation) MarshalJSON() ([]byte, error)

type Service

type Service struct {
	BasePath  string // API endpoint base URL
	UserAgent string // optional additional User-Agent fragment

	Accounts *AccountsService

	Media *MediaService
	// contains filtered or unexported fields
}

func New deprecated

func New(client *http.Client) (*Service, error)

New creates a new Service. It uses the provided http.Client for requests.

Deprecated: please use NewService instead. To provide a custom HTTP client, use option.WithHTTPClient. If you are using google.golang.org/api/googleapis/transport.APIKey, use option.WithAPIKey with NewService instead.

func NewService

func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error)

NewService creates a new Service.

type Status

type Status struct {
	// Code: The status code, which should be an enum value of
	// google.rpc.Code.
	Code int64 `json:"code,omitempty"`

	// Details: A list of messages that carry the error details. There is a
	// common set of message types for APIs to use.
	Details []googleapi.RawMessage `json:"details,omitempty"`

	// Message: A developer-facing error message, which should be in
	// English. Any user-facing error message should be localized and sent
	// in the google.rpc.Status.details field, or localized by the client.
	Message string `json:"message,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Code") 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. "Code") 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:"-"`
}

Status: The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC (https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide (https://cloud.google.com/apis/design/errors).

func (*Status) MarshalJSON

func (s *Status) MarshalJSON() ([]byte, error)

type WaitOperationRequest

type WaitOperationRequest struct {
	// Timeout: The maximum duration to wait before timing out. If left
	// blank, the wait will be at most the time permitted by the underlying
	// HTTP/RPC protocol. If RPC context deadline is also specified, the
	// shorter one will be used.
	Timeout string `json:"timeout,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Timeout") 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. "Timeout") 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:"-"`
}

WaitOperationRequest: The request message for Operations.WaitOperation.

func (*WaitOperationRequest) MarshalJSON

func (s *WaitOperationRequest) MarshalJSON() ([]byte, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL