Documentation ¶
Overview ¶
Package firebaseappdistribution provides access to the Firebase App Distribution API.
For product documentation, see: https://firebase.google.com/products/app-distribution
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/firebaseappdistribution/v1alpha" ... ctx := context.Background() firebaseappdistributionService, err := firebaseappdistribution.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:
firebaseappdistributionService, err := firebaseappdistribution.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, ...) firebaseappdistributionService, err := firebaseappdistribution.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
See google.golang.org/api/option.ClientOption for details on options.
Index ¶
- Constants
- type AppsGetCall
- func (c *AppsGetCall) AppView(appView string) *AppsGetCall
- func (c *AppsGetCall) Context(ctx context.Context) *AppsGetCall
- func (c *AppsGetCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppdistroV1alphaApp, error)
- func (c *AppsGetCall) Fields(s ...googleapi.Field) *AppsGetCall
- func (c *AppsGetCall) Header() http.Header
- func (c *AppsGetCall) IfNoneMatch(entityTag string) *AppsGetCall
- type AppsGetJwtCall
- func (c *AppsGetJwtCall) Context(ctx context.Context) *AppsGetJwtCall
- func (c *AppsGetJwtCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppdistroV1alphaJwt, error)
- func (c *AppsGetJwtCall) Fields(s ...googleapi.Field) *AppsGetJwtCall
- func (c *AppsGetJwtCall) Header() http.Header
- func (c *AppsGetJwtCall) IfNoneMatch(entityTag string) *AppsGetJwtCall
- type AppsProvisionAppCall
- func (c *AppsProvisionAppCall) Context(ctx context.Context) *AppsProvisionAppCall
- func (c *AppsProvisionAppCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppdistroV1alphaProvisionAppResponse, error)
- func (c *AppsProvisionAppCall) Fields(s ...googleapi.Field) *AppsProvisionAppCall
- func (c *AppsProvisionAppCall) Header() http.Header
- type AppsReleaseByHashGetCall
- func (c *AppsReleaseByHashGetCall) Context(ctx context.Context) *AppsReleaseByHashGetCall
- func (c *AppsReleaseByHashGetCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppdistroV1alphaGetReleaseByUploadHashResponse, error)
- func (c *AppsReleaseByHashGetCall) Fields(s ...googleapi.Field) *AppsReleaseByHashGetCall
- func (c *AppsReleaseByHashGetCall) Header() http.Header
- func (c *AppsReleaseByHashGetCall) IfNoneMatch(entityTag string) *AppsReleaseByHashGetCall
- type AppsReleaseByHashService
- type AppsReleasesEnableAccessCall
- func (c *AppsReleasesEnableAccessCall) Context(ctx context.Context) *AppsReleasesEnableAccessCall
- func (c *AppsReleasesEnableAccessCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppdistroV1alphaEnableAccessOnReleaseResponse, error)
- func (c *AppsReleasesEnableAccessCall) Fields(s ...googleapi.Field) *AppsReleasesEnableAccessCall
- func (c *AppsReleasesEnableAccessCall) Header() http.Header
- type AppsReleasesNotesCreateCall
- func (c *AppsReleasesNotesCreateCall) Context(ctx context.Context) *AppsReleasesNotesCreateCall
- func (c *AppsReleasesNotesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppdistroV1alphaCreateReleaseNotesResponse, error)
- func (c *AppsReleasesNotesCreateCall) Fields(s ...googleapi.Field) *AppsReleasesNotesCreateCall
- func (c *AppsReleasesNotesCreateCall) Header() http.Header
- type AppsReleasesNotesService
- type AppsReleasesService
- type AppsService
- type AppsTestersGetTesterUdidsCall
- func (c *AppsTestersGetTesterUdidsCall) Context(ctx context.Context) *AppsTestersGetTesterUdidsCall
- func (c *AppsTestersGetTesterUdidsCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppdistroV1alphaGetTesterUdidsResponse, error)
- func (c *AppsTestersGetTesterUdidsCall) Fields(s ...googleapi.Field) *AppsTestersGetTesterUdidsCall
- func (c *AppsTestersGetTesterUdidsCall) Header() http.Header
- func (c *AppsTestersGetTesterUdidsCall) IfNoneMatch(entityTag string) *AppsTestersGetTesterUdidsCall
- func (c *AppsTestersGetTesterUdidsCall) Project(project string) *AppsTestersGetTesterUdidsCall
- type AppsTestersService
- type AppsUploadStatusGetCall
- func (c *AppsUploadStatusGetCall) Context(ctx context.Context) *AppsUploadStatusGetCall
- func (c *AppsUploadStatusGetCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppdistroV1alphaGetUploadStatusResponse, error)
- func (c *AppsUploadStatusGetCall) Fields(s ...googleapi.Field) *AppsUploadStatusGetCall
- func (c *AppsUploadStatusGetCall) Header() http.Header
- func (c *AppsUploadStatusGetCall) IfNoneMatch(entityTag string) *AppsUploadStatusGetCall
- type AppsUploadStatusService
- type GoogleFirebaseAppdistroV1Release
- type GoogleFirebaseAppdistroV1ReleaseNotes
- type GoogleFirebaseAppdistroV1UploadReleaseMetadata
- type GoogleFirebaseAppdistroV1UploadReleaseResponse
- type GoogleFirebaseAppdistroV1alphaAabCertificate
- type GoogleFirebaseAppdistroV1alphaApp
- type GoogleFirebaseAppdistroV1alphaAppCrash
- type GoogleFirebaseAppdistroV1alphaCreateReleaseNotesRequest
- type GoogleFirebaseAppdistroV1alphaCreateReleaseNotesResponse
- type GoogleFirebaseAppdistroV1alphaDeviceExecution
- type GoogleFirebaseAppdistroV1alphaEnableAccessOnReleaseRequest
- type GoogleFirebaseAppdistroV1alphaEnableAccessOnReleaseResponse
- type GoogleFirebaseAppdistroV1alphaGetReleaseByUploadHashResponse
- type GoogleFirebaseAppdistroV1alphaGetTesterUdidsResponse
- type GoogleFirebaseAppdistroV1alphaGetUploadStatusResponse
- type GoogleFirebaseAppdistroV1alphaJwt
- type GoogleFirebaseAppdistroV1alphaListReleaseTestsResponse
- type GoogleFirebaseAppdistroV1alphaLoginCredential
- type GoogleFirebaseAppdistroV1alphaLoginCredentialFieldHints
- type GoogleFirebaseAppdistroV1alphaProvisionAppResponse
- type GoogleFirebaseAppdistroV1alphaRelease
- type GoogleFirebaseAppdistroV1alphaReleaseNotes
- type GoogleFirebaseAppdistroV1alphaReleaseTest
- type GoogleFirebaseAppdistroV1alphaRoboCrawler
- type GoogleFirebaseAppdistroV1alphaRoboStats
- type GoogleFirebaseAppdistroV1alphaTestConfig
- type GoogleFirebaseAppdistroV1alphaTestDevice
- type GoogleFirebaseAppdistroV1alphaTesterUdid
- type ProjectsAppsGetTestConfigCall
- func (c *ProjectsAppsGetTestConfigCall) Context(ctx context.Context) *ProjectsAppsGetTestConfigCall
- func (c *ProjectsAppsGetTestConfigCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppdistroV1alphaTestConfig, error)
- func (c *ProjectsAppsGetTestConfigCall) Fields(s ...googleapi.Field) *ProjectsAppsGetTestConfigCall
- func (c *ProjectsAppsGetTestConfigCall) Header() http.Header
- func (c *ProjectsAppsGetTestConfigCall) IfNoneMatch(entityTag string) *ProjectsAppsGetTestConfigCall
- type ProjectsAppsReleasesService
- type ProjectsAppsReleasesTestsCreateCall
- func (c *ProjectsAppsReleasesTestsCreateCall) Context(ctx context.Context) *ProjectsAppsReleasesTestsCreateCall
- func (c *ProjectsAppsReleasesTestsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppdistroV1alphaReleaseTest, error)
- func (c *ProjectsAppsReleasesTestsCreateCall) Fields(s ...googleapi.Field) *ProjectsAppsReleasesTestsCreateCall
- func (c *ProjectsAppsReleasesTestsCreateCall) Header() http.Header
- func (c *ProjectsAppsReleasesTestsCreateCall) ReleaseTestId(releaseTestId string) *ProjectsAppsReleasesTestsCreateCall
- type ProjectsAppsReleasesTestsGetCall
- func (c *ProjectsAppsReleasesTestsGetCall) Context(ctx context.Context) *ProjectsAppsReleasesTestsGetCall
- func (c *ProjectsAppsReleasesTestsGetCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppdistroV1alphaReleaseTest, error)
- func (c *ProjectsAppsReleasesTestsGetCall) Fields(s ...googleapi.Field) *ProjectsAppsReleasesTestsGetCall
- func (c *ProjectsAppsReleasesTestsGetCall) Header() http.Header
- func (c *ProjectsAppsReleasesTestsGetCall) IfNoneMatch(entityTag string) *ProjectsAppsReleasesTestsGetCall
- type ProjectsAppsReleasesTestsListCall
- func (c *ProjectsAppsReleasesTestsListCall) Context(ctx context.Context) *ProjectsAppsReleasesTestsListCall
- func (c *ProjectsAppsReleasesTestsListCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppdistroV1alphaListReleaseTestsResponse, error)
- func (c *ProjectsAppsReleasesTestsListCall) Fields(s ...googleapi.Field) *ProjectsAppsReleasesTestsListCall
- func (c *ProjectsAppsReleasesTestsListCall) Header() http.Header
- func (c *ProjectsAppsReleasesTestsListCall) IfNoneMatch(entityTag string) *ProjectsAppsReleasesTestsListCall
- func (c *ProjectsAppsReleasesTestsListCall) PageSize(pageSize int64) *ProjectsAppsReleasesTestsListCall
- func (c *ProjectsAppsReleasesTestsListCall) PageToken(pageToken string) *ProjectsAppsReleasesTestsListCall
- func (c *ProjectsAppsReleasesTestsListCall) Pages(ctx context.Context, ...) error
- type ProjectsAppsReleasesTestsService
- type ProjectsAppsService
- type ProjectsAppsUpdateTestConfigCall
- func (c *ProjectsAppsUpdateTestConfigCall) Context(ctx context.Context) *ProjectsAppsUpdateTestConfigCall
- func (c *ProjectsAppsUpdateTestConfigCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppdistroV1alphaTestConfig, error)
- func (c *ProjectsAppsUpdateTestConfigCall) Fields(s ...googleapi.Field) *ProjectsAppsUpdateTestConfigCall
- func (c *ProjectsAppsUpdateTestConfigCall) Header() http.Header
- func (c *ProjectsAppsUpdateTestConfigCall) UpdateMask(updateMask string) *ProjectsAppsUpdateTestConfigCall
- type ProjectsService
- type ProjectsTestersGetUdidsCall
- func (c *ProjectsTestersGetUdidsCall) Context(ctx context.Context) *ProjectsTestersGetUdidsCall
- func (c *ProjectsTestersGetUdidsCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppdistroV1alphaGetTesterUdidsResponse, error)
- func (c *ProjectsTestersGetUdidsCall) Fields(s ...googleapi.Field) *ProjectsTestersGetUdidsCall
- func (c *ProjectsTestersGetUdidsCall) Header() http.Header
- func (c *ProjectsTestersGetUdidsCall) IfNoneMatch(entityTag string) *ProjectsTestersGetUdidsCall
- func (c *ProjectsTestersGetUdidsCall) MobilesdkAppId(mobilesdkAppId string) *ProjectsTestersGetUdidsCall
- type ProjectsTestersService
- type Service
Constants ¶
const ( // See, edit, configure, and delete your Google Cloud data and see the // email address for your Google Account. CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platform" )
OAuth2 scopes used by this API.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppsGetCall ¶
type AppsGetCall struct {
// contains filtered or unexported fields
}
func (*AppsGetCall) AppView ¶
func (c *AppsGetCall) AppView(appView string) *AppsGetCall
AppView sets the optional parameter "appView": App view. When unset or set to BASIC, returns an App with everything set except for aab_state. When set to FULL, returns an App with aab_state set.
Possible values:
"APP_VIEW_UNSPECIFIED" - The default / unset value. The API will
default to the BASIC view.
"BASIC" - Include everything except aab_state. "FULL" - Include everything.
func (*AppsGetCall) Context ¶
func (c *AppsGetCall) Context(ctx context.Context) *AppsGetCall
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 (*AppsGetCall) Do ¶
func (c *AppsGetCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppdistroV1alphaApp, error)
Do executes the "firebaseappdistribution.apps.get" call. Exactly one of *GoogleFirebaseAppdistroV1alphaApp or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppdistroV1alphaApp.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 (*AppsGetCall) Fields ¶
func (c *AppsGetCall) Fields(s ...googleapi.Field) *AppsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AppsGetCall) Header ¶
func (c *AppsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*AppsGetCall) IfNoneMatch ¶
func (c *AppsGetCall) IfNoneMatch(entityTag string) *AppsGetCall
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 AppsGetJwtCall ¶
type AppsGetJwtCall struct {
// contains filtered or unexported fields
}
func (*AppsGetJwtCall) Context ¶
func (c *AppsGetJwtCall) Context(ctx context.Context) *AppsGetJwtCall
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 (*AppsGetJwtCall) Do ¶
func (c *AppsGetJwtCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppdistroV1alphaJwt, error)
Do executes the "firebaseappdistribution.apps.getJwt" call. Exactly one of *GoogleFirebaseAppdistroV1alphaJwt or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppdistroV1alphaJwt.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 (*AppsGetJwtCall) Fields ¶
func (c *AppsGetJwtCall) Fields(s ...googleapi.Field) *AppsGetJwtCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AppsGetJwtCall) Header ¶
func (c *AppsGetJwtCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*AppsGetJwtCall) IfNoneMatch ¶
func (c *AppsGetJwtCall) IfNoneMatch(entityTag string) *AppsGetJwtCall
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 AppsProvisionAppCall ¶
type AppsProvisionAppCall struct {
// contains filtered or unexported fields
}
func (*AppsProvisionAppCall) Context ¶
func (c *AppsProvisionAppCall) Context(ctx context.Context) *AppsProvisionAppCall
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 (*AppsProvisionAppCall) Do ¶
func (c *AppsProvisionAppCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppdistroV1alphaProvisionAppResponse, error)
Do executes the "firebaseappdistribution.apps.provisionApp" call. Exactly one of *GoogleFirebaseAppdistroV1alphaProvisionAppResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppdistroV1alphaProvisionAppResponse.ServerResponse.Hea der 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 (*AppsProvisionAppCall) Fields ¶
func (c *AppsProvisionAppCall) Fields(s ...googleapi.Field) *AppsProvisionAppCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AppsProvisionAppCall) Header ¶
func (c *AppsProvisionAppCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type AppsReleaseByHashGetCall ¶
type AppsReleaseByHashGetCall struct {
// contains filtered or unexported fields
}
func (*AppsReleaseByHashGetCall) Context ¶
func (c *AppsReleaseByHashGetCall) Context(ctx context.Context) *AppsReleaseByHashGetCall
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 (*AppsReleaseByHashGetCall) Do ¶
func (c *AppsReleaseByHashGetCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppdistroV1alphaGetReleaseByUploadHashResponse, error)
Do executes the "firebaseappdistribution.apps.release_by_hash.get" call. Exactly one of *GoogleFirebaseAppdistroV1alphaGetReleaseByUploadHashResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppdistroV1alphaGetReleaseByUploadHashResponse.ServerRe sponse.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 (*AppsReleaseByHashGetCall) Fields ¶
func (c *AppsReleaseByHashGetCall) Fields(s ...googleapi.Field) *AppsReleaseByHashGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AppsReleaseByHashGetCall) Header ¶
func (c *AppsReleaseByHashGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*AppsReleaseByHashGetCall) IfNoneMatch ¶
func (c *AppsReleaseByHashGetCall) IfNoneMatch(entityTag string) *AppsReleaseByHashGetCall
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 AppsReleaseByHashService ¶
type AppsReleaseByHashService struct {
// contains filtered or unexported fields
}
func NewAppsReleaseByHashService ¶
func NewAppsReleaseByHashService(s *Service) *AppsReleaseByHashService
func (*AppsReleaseByHashService) Get ¶
func (r *AppsReleaseByHashService) Get(mobilesdkAppId string, uploadHash string) *AppsReleaseByHashGetCall
Get: GET Release by binary upload hash
- mobilesdkAppId: Unique id for a Firebase app of the format: {version}:{project_number}:{platform}:{hash(bundle_id)} Example: 1:581234567376:android:aa0a3c7b135e90289.
- uploadHash: The hash for the upload.
type AppsReleasesEnableAccessCall ¶
type AppsReleasesEnableAccessCall struct {
// contains filtered or unexported fields
}
func (*AppsReleasesEnableAccessCall) Context ¶
func (c *AppsReleasesEnableAccessCall) Context(ctx context.Context) *AppsReleasesEnableAccessCall
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 (*AppsReleasesEnableAccessCall) Do ¶
func (c *AppsReleasesEnableAccessCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppdistroV1alphaEnableAccessOnReleaseResponse, error)
Do executes the "firebaseappdistribution.apps.releases.enable_access" call. Exactly one of *GoogleFirebaseAppdistroV1alphaEnableAccessOnReleaseResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppdistroV1alphaEnableAccessOnReleaseResponse.ServerRes ponse.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 (*AppsReleasesEnableAccessCall) Fields ¶
func (c *AppsReleasesEnableAccessCall) Fields(s ...googleapi.Field) *AppsReleasesEnableAccessCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AppsReleasesEnableAccessCall) Header ¶
func (c *AppsReleasesEnableAccessCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type AppsReleasesNotesCreateCall ¶
type AppsReleasesNotesCreateCall struct {
// contains filtered or unexported fields
}
func (*AppsReleasesNotesCreateCall) Context ¶
func (c *AppsReleasesNotesCreateCall) Context(ctx context.Context) *AppsReleasesNotesCreateCall
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 (*AppsReleasesNotesCreateCall) Do ¶
func (c *AppsReleasesNotesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppdistroV1alphaCreateReleaseNotesResponse, error)
Do executes the "firebaseappdistribution.apps.releases.notes.create" call. Exactly one of *GoogleFirebaseAppdistroV1alphaCreateReleaseNotesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppdistroV1alphaCreateReleaseNotesResponse.ServerRespon se.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*AppsReleasesNotesCreateCall) Fields ¶
func (c *AppsReleasesNotesCreateCall) Fields(s ...googleapi.Field) *AppsReleasesNotesCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AppsReleasesNotesCreateCall) Header ¶
func (c *AppsReleasesNotesCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type AppsReleasesNotesService ¶
type AppsReleasesNotesService struct {
// contains filtered or unexported fields
}
func NewAppsReleasesNotesService ¶
func NewAppsReleasesNotesService(s *Service) *AppsReleasesNotesService
func (*AppsReleasesNotesService) Create ¶
func (r *AppsReleasesNotesService) Create(mobilesdkAppId string, releaseId string, googlefirebaseappdistrov1alphacreatereleasenotesrequest *GoogleFirebaseAppdistroV1alphaCreateReleaseNotesRequest) *AppsReleasesNotesCreateCall
Create: Create release notes on a release.
- mobilesdkAppId: Unique id for a Firebase app of the format: {version}:{project_number}:{platform}:{hash(bundle_id)} Example: 1:581234567376:android:aa0a3c7b135e90289.
- releaseId: Release identifier.
type AppsReleasesService ¶
type AppsReleasesService struct { Notes *AppsReleasesNotesService // contains filtered or unexported fields }
func NewAppsReleasesService ¶
func NewAppsReleasesService(s *Service) *AppsReleasesService
func (*AppsReleasesService) EnableAccess ¶
func (r *AppsReleasesService) EnableAccess(mobilesdkAppId string, releaseId string, googlefirebaseappdistrov1alphaenableaccessonreleaserequest *GoogleFirebaseAppdistroV1alphaEnableAccessOnReleaseRequest) *AppsReleasesEnableAccessCall
EnableAccess: Enable access on a release for testers.
- mobilesdkAppId: Unique id for a Firebase app of the format: {version}:{project_number}:{platform}:{hash(bundle_id)} Example: 1:581234567376:android:aa0a3c7b135e90289.
- releaseId: Release identifier.
type AppsService ¶
type AppsService struct { ReleaseByHash *AppsReleaseByHashService Releases *AppsReleasesService Testers *AppsTestersService UploadStatus *AppsUploadStatusService // contains filtered or unexported fields }
func NewAppsService ¶
func NewAppsService(s *Service) *AppsService
func (*AppsService) Get ¶
func (r *AppsService) Get(mobilesdkAppId string) *AppsGetCall
Get: Get the app, if it exists
- mobilesdkAppId: Unique id for a Firebase app of the format: {version}:{project_number}:{platform}:{hash(bundle_id)} Example: 1:581234567376:android:aa0a3c7b135e90289.
func (*AppsService) GetJwt ¶
func (r *AppsService) GetJwt(mobilesdkAppId string) *AppsGetJwtCall
GetJwt: Get a JWT token
- mobilesdkAppId: Unique id for a Firebase app of the format: {version}:{project_number}:{platform}:{hash(bundle_id)} Example: 1:581234567376:android:aa0a3c7b135e90289.
func (*AppsService) ProvisionApp ¶
func (r *AppsService) ProvisionApp(mobilesdkAppId string) *AppsProvisionAppCall
ProvisionApp: Provision app distribution for an existing Firebase app, enabling it to subsequently be used by appdistro.
- mobilesdkAppId: Unique id for a Firebase app of the format: {version}:{project_number}:{platform}:{hash(bundle_id)} Example: 1:581234567376:android:aa0a3c7b135e90289.
type AppsTestersGetTesterUdidsCall ¶
type AppsTestersGetTesterUdidsCall struct {
// contains filtered or unexported fields
}
func (*AppsTestersGetTesterUdidsCall) Context ¶
func (c *AppsTestersGetTesterUdidsCall) Context(ctx context.Context) *AppsTestersGetTesterUdidsCall
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 (*AppsTestersGetTesterUdidsCall) Do ¶
func (c *AppsTestersGetTesterUdidsCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppdistroV1alphaGetTesterUdidsResponse, error)
Do executes the "firebaseappdistribution.apps.testers.getTesterUdids" call. Exactly one of *GoogleFirebaseAppdistroV1alphaGetTesterUdidsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppdistroV1alphaGetTesterUdidsResponse.ServerResponse.H eader 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 (*AppsTestersGetTesterUdidsCall) Fields ¶
func (c *AppsTestersGetTesterUdidsCall) Fields(s ...googleapi.Field) *AppsTestersGetTesterUdidsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AppsTestersGetTesterUdidsCall) Header ¶
func (c *AppsTestersGetTesterUdidsCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*AppsTestersGetTesterUdidsCall) IfNoneMatch ¶
func (c *AppsTestersGetTesterUdidsCall) IfNoneMatch(entityTag string) *AppsTestersGetTesterUdidsCall
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 (*AppsTestersGetTesterUdidsCall) Project ¶ added in v0.155.0
func (c *AppsTestersGetTesterUdidsCall) Project(project string) *AppsTestersGetTesterUdidsCall
Project sets the optional parameter "project": The name of the project, which is the parent of testers Format: `projects/{project_number}`
type AppsTestersService ¶
type AppsTestersService struct {
// contains filtered or unexported fields
}
func NewAppsTestersService ¶
func NewAppsTestersService(s *Service) *AppsTestersService
func (*AppsTestersService) GetTesterUdids ¶
func (r *AppsTestersService) GetTesterUdids(mobilesdkAppId string) *AppsTestersGetTesterUdidsCall
GetTesterUdids: Get UDIDs of tester iOS devices in a project
- mobilesdkAppId: Unique id for a Firebase app of the format: {version}:{project_number}:{platform}:{hash(bundle_id)} Example: 1:581234567376:android:aa0a3c7b135e90289.
type AppsUploadStatusGetCall ¶
type AppsUploadStatusGetCall struct {
// contains filtered or unexported fields
}
func (*AppsUploadStatusGetCall) Context ¶
func (c *AppsUploadStatusGetCall) Context(ctx context.Context) *AppsUploadStatusGetCall
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 (*AppsUploadStatusGetCall) Do ¶
func (c *AppsUploadStatusGetCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppdistroV1alphaGetUploadStatusResponse, error)
Do executes the "firebaseappdistribution.apps.upload_status.get" call. Exactly one of *GoogleFirebaseAppdistroV1alphaGetUploadStatusResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppdistroV1alphaGetUploadStatusResponse.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 (*AppsUploadStatusGetCall) Fields ¶
func (c *AppsUploadStatusGetCall) Fields(s ...googleapi.Field) *AppsUploadStatusGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AppsUploadStatusGetCall) Header ¶
func (c *AppsUploadStatusGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*AppsUploadStatusGetCall) IfNoneMatch ¶
func (c *AppsUploadStatusGetCall) IfNoneMatch(entityTag string) *AppsUploadStatusGetCall
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 AppsUploadStatusService ¶
type AppsUploadStatusService struct {
// contains filtered or unexported fields
}
func NewAppsUploadStatusService ¶
func NewAppsUploadStatusService(s *Service) *AppsUploadStatusService
func (*AppsUploadStatusService) Get ¶
func (r *AppsUploadStatusService) Get(mobilesdkAppId string, uploadToken string) *AppsUploadStatusGetCall
Get: GET Binary upload status by token
- mobilesdkAppId: Unique id for a Firebase app of the format: {version}:{project_number}:{platform}:{hash(bundle_id)} Example: 1:581234567376:android:aa0a3c7b135e90289.
- uploadToken: The token for the upload.
type GoogleFirebaseAppdistroV1Release ¶
type GoogleFirebaseAppdistroV1Release struct { // BinaryDownloadUri: Output only. A signed link (which expires in one // hour) to directly download the app binary (IPA/APK/AAB) file. BinaryDownloadUri string `json:"binaryDownloadUri,omitempty"` // BuildVersion: Output only. Build version of the release. For an // Android release, the build version is the `versionCode`. For an iOS // release, the build version is the `CFBundleVersion`. BuildVersion string `json:"buildVersion,omitempty"` // CreateTime: Output only. The time the release was created. CreateTime string `json:"createTime,omitempty"` // DisplayVersion: Output only. Display version of the release. For an // Android release, the display version is the `versionName`. For an iOS // release, the display version is the `CFBundleShortVersionString`. DisplayVersion string `json:"displayVersion,omitempty"` // FirebaseConsoleUri: Output only. A link to the Firebase console // displaying a single release. FirebaseConsoleUri string `json:"firebaseConsoleUri,omitempty"` // Name: The name of the release resource. Format: // `projects/{project_number}/apps/{app_id}/releases/{release_id}` Name string `json:"name,omitempty"` // ReleaseNotes: Notes of the release. ReleaseNotes *GoogleFirebaseAppdistroV1ReleaseNotes `json:"releaseNotes,omitempty"` // TestingUri: Output only. A link to the release in the tester web clip // or Android app that lets testers (which were granted access to the // app) view release notes and install the app onto their devices. TestingUri string `json:"testingUri,omitempty"` // ForceSendFields is a list of field names (e.g. "BinaryDownloadUri") // 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. "BinaryDownloadUri") 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:"-"` }
GoogleFirebaseAppdistroV1Release: A release of a Firebase app.
func (*GoogleFirebaseAppdistroV1Release) MarshalJSON ¶
func (s *GoogleFirebaseAppdistroV1Release) MarshalJSON() ([]byte, error)
type GoogleFirebaseAppdistroV1ReleaseNotes ¶
type GoogleFirebaseAppdistroV1ReleaseNotes struct { // Text: The text of the release notes. Text string `json:"text,omitempty"` // ForceSendFields is a list of field names (e.g. "Text") 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. "Text") 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:"-"` }
GoogleFirebaseAppdistroV1ReleaseNotes: Notes that belong to a release.
func (*GoogleFirebaseAppdistroV1ReleaseNotes) MarshalJSON ¶
func (s *GoogleFirebaseAppdistroV1ReleaseNotes) MarshalJSON() ([]byte, error)
type GoogleFirebaseAppdistroV1UploadReleaseMetadata ¶
type GoogleFirebaseAppdistroV1UploadReleaseMetadata struct { }
GoogleFirebaseAppdistroV1UploadReleaseMetadata: Operation metadata for `UploadRelease`.
type GoogleFirebaseAppdistroV1UploadReleaseResponse ¶
type GoogleFirebaseAppdistroV1UploadReleaseResponse struct { // Release: Release associated with the uploaded binary. Release *GoogleFirebaseAppdistroV1Release `json:"release,omitempty"` // Result: Result of upload release. // // Possible values: // "UPLOAD_RELEASE_RESULT_UNSPECIFIED" - Upload binary result // unspecified // "RELEASE_CREATED" - Upload binary resulted in a new release // "RELEASE_UPDATED" - Upload binary updated an existing release // "RELEASE_UNMODIFIED" - Upload binary resulted in a no-op. A release // with the exact same binary already exists. Result string `json:"result,omitempty"` // ForceSendFields is a list of field names (e.g. "Release") 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. "Release") 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:"-"` }
GoogleFirebaseAppdistroV1UploadReleaseResponse: Response message for `UploadRelease`.
func (*GoogleFirebaseAppdistroV1UploadReleaseResponse) MarshalJSON ¶
func (s *GoogleFirebaseAppdistroV1UploadReleaseResponse) MarshalJSON() ([]byte, error)
type GoogleFirebaseAppdistroV1alphaAabCertificate ¶
type GoogleFirebaseAppdistroV1alphaAabCertificate struct { // CertificateHashMd5: MD5 hash of the certificate used to resign the // AAB CertificateHashMd5 string `json:"certificateHashMd5,omitempty"` // CertificateHashSha1: SHA1 hash of the certificate used to resign the // AAB CertificateHashSha1 string `json:"certificateHashSha1,omitempty"` // CertificateHashSha256: SHA256 hash of the certificate used to resign // the AAB CertificateHashSha256 string `json:"certificateHashSha256,omitempty"` // ForceSendFields is a list of field names (e.g. "CertificateHashMd5") // 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. "CertificateHashMd5") 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:"-"` }
GoogleFirebaseAppdistroV1alphaAabCertificate: App bundle test certificate
func (*GoogleFirebaseAppdistroV1alphaAabCertificate) MarshalJSON ¶
func (s *GoogleFirebaseAppdistroV1alphaAabCertificate) MarshalJSON() ([]byte, error)
type GoogleFirebaseAppdistroV1alphaApp ¶
type GoogleFirebaseAppdistroV1alphaApp struct { // AabCertificate: App bundle test certificate generated for the app. AabCertificate *GoogleFirebaseAppdistroV1alphaAabCertificate `json:"aabCertificate,omitempty"` // AabState: App bundle state. Only valid for android apps. The app_view // field in the request must be set to FULL in order for this to be // populated. // // Possible values: // "AAB_STATE_UNSPECIFIED" - Aab state unspecified // "ACTIVE" - App can receive app bundle uploads // "PLAY_ACCOUNT_NOT_LINKED" - Firebase project is not linked to a // Play developer account // "NO_APP_WITH_GIVEN_BUNDLE_ID_IN_PLAY_ACCOUNT" - There is no app in // linked Play developer account with the same bundle id // "APP_NOT_PUBLISHED" - The app in Play developer account is not in a // published state // "AAB_STATE_UNAVAILABLE" - Play App status is unavailable // "PLAY_IAS_TERMS_NOT_ACCEPTED" - Play IAS terms not accepted AabState string `json:"aabState,omitempty"` // AppId: Firebase gmp app id AppId string `json:"appId,omitempty"` // BundleId: Bundle identifier BundleId string `json:"bundleId,omitempty"` // ContactEmail: Developer contact email for testers to reach out to // about privacy or support issues. ContactEmail string `json:"contactEmail,omitempty"` // Platform: iOS or Android Platform string `json:"platform,omitempty"` // ProjectNumber: Project number of the Firebase project, for example // 300830567303. ProjectNumber string `json:"projectNumber,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "AabCertificate") 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. "AabCertificate") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
func (*GoogleFirebaseAppdistroV1alphaApp) MarshalJSON ¶
func (s *GoogleFirebaseAppdistroV1alphaApp) MarshalJSON() ([]byte, error)
type GoogleFirebaseAppdistroV1alphaAppCrash ¶
type GoogleFirebaseAppdistroV1alphaAppCrash struct { // Message: Output only. The message associated with the crash. Message string `json:"message,omitempty"` // StackTrace: Output only. The raw stack trace. StackTrace string `json:"stackTrace,omitempty"` // ForceSendFields is a list of field names (e.g. "Message") 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. "Message") 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:"-"` }
GoogleFirebaseAppdistroV1alphaAppCrash: An app crash that occurred during an automated test.
func (*GoogleFirebaseAppdistroV1alphaAppCrash) MarshalJSON ¶
func (s *GoogleFirebaseAppdistroV1alphaAppCrash) MarshalJSON() ([]byte, error)
type GoogleFirebaseAppdistroV1alphaCreateReleaseNotesRequest ¶
type GoogleFirebaseAppdistroV1alphaCreateReleaseNotesRequest struct { // ReleaseNotes: The actual release notes body from the user ReleaseNotes *GoogleFirebaseAppdistroV1alphaReleaseNotes `json:"releaseNotes,omitempty"` // ForceSendFields is a list of field names (e.g. "ReleaseNotes") 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. "ReleaseNotes") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
func (*GoogleFirebaseAppdistroV1alphaCreateReleaseNotesRequest) MarshalJSON ¶
func (s *GoogleFirebaseAppdistroV1alphaCreateReleaseNotesRequest) MarshalJSON() ([]byte, error)
type GoogleFirebaseAppdistroV1alphaCreateReleaseNotesResponse ¶
type GoogleFirebaseAppdistroV1alphaCreateReleaseNotesResponse struct { // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` }
type GoogleFirebaseAppdistroV1alphaDeviceExecution ¶
type GoogleFirebaseAppdistroV1alphaDeviceExecution struct { // AppCrash: Output only. An app crash, if any occurred during the test. AppCrash *GoogleFirebaseAppdistroV1alphaAppCrash `json:"appCrash,omitempty"` // CrawlGraphUri: Output only. A URI to an image of the Robo crawl // graph. CrawlGraphUri string `json:"crawlGraphUri,omitempty"` // Device: Required. The device that the test was run on. Device *GoogleFirebaseAppdistroV1alphaTestDevice `json:"device,omitempty"` // FailedReason: Output only. The reason why the test failed. // // Possible values: // "FAILED_REASON_UNSPECIFIED" - Reason unspecified. // "CRASHED" - The app crashed during the test. // "NOT_INSTALLED" - If an app is not installed and thus no test can // be run with the app. This might be caused by trying to run a test on // an unsupported platform. // "UNABLE_TO_CRAWL" - If the app could not be crawled (possibly // because the app did not start). // "DEVICE_OUT_OF_MEMORY" - If the device ran out of memory during the // test. FailedReason string `json:"failedReason,omitempty"` // InconclusiveReason: Output only. The reason why the test was // inconclusive. // // Possible values: // "INCONCLUSIVE_REASON_UNSPECIFIED" - Reason unspecified. // "QUOTA_EXCEEDED" - Not enough quota remained to run the test. // "INFRASTRUCTURE_FAILURE" - The outcome of the test could not be // determined because of a failure in the test running infrastructure. // "SERVICE_NOT_ACTIVATED" - A required cloud service api is not // activated (Google Cloud Testing API or Cloud Tool Results API). // "NO_SIGNATURE" - The app was not signed. // "NO_LAUNCHER_ACTIVITY" - A main launcher activity could not be // found. // "FORBIDDEN_PERMISSIONS" - The app declares one or more permissions // that are not allowed. // "DEVICE_ADMIN_RECEIVER" - Device administrator applications are not // allowed. // "NO_CODE_APK" - APK contains no code. See also // https://developer.android.com/guide/topics/manifest/application-element.html#code // "INVALID_APK_PREVIEW_SDK" - APK is built for a preview SDK which is // unsupported. InconclusiveReason string `json:"inconclusiveReason,omitempty"` // ResultsStoragePath: Output only. The path to a directory in Cloud // Storage that will eventually contain the results for this execution. // For example, gs://bucket/Nexus5-18-en-portrait. ResultsStoragePath string `json:"resultsStoragePath,omitempty"` // RoboStats: Output only. The statistics collected during the Robo // test. RoboStats *GoogleFirebaseAppdistroV1alphaRoboStats `json:"roboStats,omitempty"` // ScreenshotUris: Output only. A list of screenshot image URIs taken // from the Robo crawl. The file names are numbered by the order in // which they were taken. ScreenshotUris []string `json:"screenshotUris,omitempty"` // State: Output only. The state of the test. // // Possible values: // "TEST_STATE_UNSPECIFIED" - Test state unspecified. // "IN_PROGRESS" - The test is in progress. // "PASSED" - The test has passed. // "FAILED" - The test has failed. // "INCONCLUSIVE" - The test was inconclusive. State string `json:"state,omitempty"` // VideoUri: Output only. A URI to a video of the test run. VideoUri string `json:"videoUri,omitempty"` // ForceSendFields is a list of field names (e.g. "AppCrash") 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. "AppCrash") 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:"-"` }
GoogleFirebaseAppdistroV1alphaDeviceExecution: The results of running an automated test on a particular device.
func (*GoogleFirebaseAppdistroV1alphaDeviceExecution) MarshalJSON ¶
func (s *GoogleFirebaseAppdistroV1alphaDeviceExecution) MarshalJSON() ([]byte, error)
type GoogleFirebaseAppdistroV1alphaEnableAccessOnReleaseRequest ¶
type GoogleFirebaseAppdistroV1alphaEnableAccessOnReleaseRequest struct { // BuildVersion: Optional. Ignored. Used to be build version of the app // release if an instance identifier was provided for the release_id. BuildVersion string `json:"buildVersion,omitempty"` // DisplayVersion: Optional. Ignored. Used to be display version of the // app release if an instance identifier was provided for the // release_id. DisplayVersion string `json:"displayVersion,omitempty"` // Emails: Optional. An email address which should get access to this // release, for example rebeccahe@google.com Emails []string `json:"emails,omitempty"` // GroupIds: Optional. A repeated list of group aliases to enable access // to a release for Note: This field is misnamed, but can't be changed // because we need to maintain compatibility with old build tools GroupIds []string `json:"groupIds,omitempty"` // ForceSendFields is a list of field names (e.g. "BuildVersion") 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. "BuildVersion") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
func (*GoogleFirebaseAppdistroV1alphaEnableAccessOnReleaseRequest) MarshalJSON ¶
func (s *GoogleFirebaseAppdistroV1alphaEnableAccessOnReleaseRequest) MarshalJSON() ([]byte, error)
type GoogleFirebaseAppdistroV1alphaEnableAccessOnReleaseResponse ¶
type GoogleFirebaseAppdistroV1alphaEnableAccessOnReleaseResponse struct { // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` }
type GoogleFirebaseAppdistroV1alphaGetReleaseByUploadHashResponse ¶
type GoogleFirebaseAppdistroV1alphaGetReleaseByUploadHashResponse struct { // Release: Release object Release *GoogleFirebaseAppdistroV1alphaRelease `json:"release,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Release") 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. "Release") 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:"-"` }
GoogleFirebaseAppdistroV1alphaGetReleaseByUploadHashResponse: Response object to get the release given a upload hash
func (*GoogleFirebaseAppdistroV1alphaGetReleaseByUploadHashResponse) MarshalJSON ¶
func (s *GoogleFirebaseAppdistroV1alphaGetReleaseByUploadHashResponse) MarshalJSON() ([]byte, error)
type GoogleFirebaseAppdistroV1alphaGetTesterUdidsResponse ¶
type GoogleFirebaseAppdistroV1alphaGetTesterUdidsResponse struct { // TesterUdids: The UDIDs of tester iOS devices in a project TesterUdids []*GoogleFirebaseAppdistroV1alphaTesterUdid `json:"testerUdids,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "TesterUdids") 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. "TesterUdids") 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:"-"` }
GoogleFirebaseAppdistroV1alphaGetTesterUdidsResponse: Response containing the UDIDs of tester iOS devices in a project
func (*GoogleFirebaseAppdistroV1alphaGetTesterUdidsResponse) MarshalJSON ¶
func (s *GoogleFirebaseAppdistroV1alphaGetTesterUdidsResponse) MarshalJSON() ([]byte, error)
type GoogleFirebaseAppdistroV1alphaGetUploadStatusResponse ¶
type GoogleFirebaseAppdistroV1alphaGetUploadStatusResponse struct { // ErrorCode: The error code associated with (only set on "FAILURE") // // Possible values: // "ERROR_UNSPECIFIED" // "INVALID_ZIP" // "MISSING_PLIST" // "MISSING_PROFILE" // "VERSION_TOO_LONG" // "MISSING_UUIDS" // "MISSING_RESOURCES" // "MISSING_MANIFEST" // "IOS_METADATA_ERROR" // "ANDROID_METADATA_ERROR" // "UNSUPPORTED_PLATFORM_TYPE" // "BUNDLE_ID_MISMATCH" // "APK_NOT_ZIP_ALIGNED" // "INVALID_CERTIFICATE" // "APK_TOO_LARGE" // "AAB_NOT_PUBLISHED" // "INVALID_PLIST_DEVICE_FAMILIES" // "AAB_TOS_NOT_ACCEPTED" // "APP_NAME_TOO_LONG" // "AAB_DEVELOPER_ACCOUNT_NOT_LINKED" // "AAB_NO_APP_WITH_GIVEN_PACKAGE_NAME_IN_ACCOUNT" // "AAB_UPLOAD_ERROR" ErrorCode string `json:"errorCode,omitempty"` // Message: Any additional context for the given upload status (e.g. // error message) Meant to be displayed to the client Message string `json:"message,omitempty"` // Release: The release that was created from the upload (only set on // "SUCCESS") Release *GoogleFirebaseAppdistroV1alphaRelease `json:"release,omitempty"` // Status: The status of the upload // // Possible values: // "STATUS_UNSPECIFIED" // "IN_PROGRESS" // "ALREADY_UPLOADED" // "SUCCESS" // "ERROR" Status string `json:"status,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "ErrorCode") 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. "ErrorCode") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
func (*GoogleFirebaseAppdistroV1alphaGetUploadStatusResponse) MarshalJSON ¶
func (s *GoogleFirebaseAppdistroV1alphaGetUploadStatusResponse) MarshalJSON() ([]byte, error)
type GoogleFirebaseAppdistroV1alphaJwt ¶
type GoogleFirebaseAppdistroV1alphaJwt struct { Token string `json:"token,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Token") 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. "Token") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
func (*GoogleFirebaseAppdistroV1alphaJwt) MarshalJSON ¶
func (s *GoogleFirebaseAppdistroV1alphaJwt) MarshalJSON() ([]byte, error)
type GoogleFirebaseAppdistroV1alphaListReleaseTestsResponse ¶
type GoogleFirebaseAppdistroV1alphaListReleaseTestsResponse struct { // NextPageToken: A short-lived token, which can be sent as `pageToken` // to retrieve the next page. If this field is omitted, there are no // subsequent pages. NextPageToken string `json:"nextPageToken,omitempty"` // ReleaseTests: The tests listed. ReleaseTests []*GoogleFirebaseAppdistroV1alphaReleaseTest `json:"releaseTests,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:"-"` }
GoogleFirebaseAppdistroV1alphaListReleaseTestsResponse: The response message for `ListReleaseTests`.
func (*GoogleFirebaseAppdistroV1alphaListReleaseTestsResponse) MarshalJSON ¶
func (s *GoogleFirebaseAppdistroV1alphaListReleaseTestsResponse) MarshalJSON() ([]byte, error)
type GoogleFirebaseAppdistroV1alphaLoginCredential ¶
type GoogleFirebaseAppdistroV1alphaLoginCredential struct { // FieldHints: Optional. Hints to the crawler for identifying input // fields FieldHints *GoogleFirebaseAppdistroV1alphaLoginCredentialFieldHints `json:"fieldHints,omitempty"` // Google: Optional. Are these credentials for Google? Google bool `json:"google,omitempty"` // Password: Optional. Password for automated tests Password string `json:"password,omitempty"` // Username: Optional. Username for automated tests Username string `json:"username,omitempty"` // ForceSendFields is a list of field names (e.g. "FieldHints") 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. "FieldHints") 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:"-"` }
GoogleFirebaseAppdistroV1alphaLoginCredential: Login credential for automated tests
func (*GoogleFirebaseAppdistroV1alphaLoginCredential) MarshalJSON ¶
func (s *GoogleFirebaseAppdistroV1alphaLoginCredential) MarshalJSON() ([]byte, error)
type GoogleFirebaseAppdistroV1alphaLoginCredentialFieldHints ¶
type GoogleFirebaseAppdistroV1alphaLoginCredentialFieldHints struct { // PasswordResourceName: Required. The Android resource name of the // password UI element. For example, in Java: R.string.foo in xml: // @string/foo Only the "foo" part is needed. Reference doc: // https://developer.android.com/guide/topics/resources/accessing-resources.html PasswordResourceName string `json:"passwordResourceName,omitempty"` // UsernameResourceName: Required. The Android resource name of the // username UI element. For example, in Java: R.string.foo in xml: // @string/foo Only the "foo" part is needed. Reference doc: // https://developer.android.com/guide/topics/resources/accessing-resources.html UsernameResourceName string `json:"usernameResourceName,omitempty"` // ForceSendFields is a list of field names (e.g. // "PasswordResourceName") 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. "PasswordResourceName") 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:"-"` }
GoogleFirebaseAppdistroV1alphaLoginCredentialFieldHints: Hints to the crawler for identifying input fields
func (*GoogleFirebaseAppdistroV1alphaLoginCredentialFieldHints) MarshalJSON ¶
func (s *GoogleFirebaseAppdistroV1alphaLoginCredentialFieldHints) MarshalJSON() ([]byte, error)
type GoogleFirebaseAppdistroV1alphaProvisionAppResponse ¶
type GoogleFirebaseAppdistroV1alphaProvisionAppResponse struct { // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` }
type GoogleFirebaseAppdistroV1alphaRelease ¶
type GoogleFirebaseAppdistroV1alphaRelease struct { // BuildVersion: Release build version BuildVersion string `json:"buildVersion,omitempty"` // DisplayVersion: Release version DisplayVersion string `json:"displayVersion,omitempty"` // DistributedAt: Timestamp when the release was created DistributedAt string `json:"distributedAt,omitempty"` // Id: Release Id Id string `json:"id,omitempty"` // InstanceId: Instance id of the release InstanceId string `json:"instanceId,omitempty"` // LastActivityAt: Last activity timestamp LastActivityAt string `json:"lastActivityAt,omitempty"` // OpenInvitationCount: Number of testers who have open invitations for // the release OpenInvitationCount int64 `json:"openInvitationCount,omitempty"` // ReceivedAt: unused. ReceivedAt string `json:"receivedAt,omitempty"` // ReleaseNotesSummary: Release notes summary ReleaseNotesSummary string `json:"releaseNotesSummary,omitempty"` // TesterCount: Count of testers added to the release TesterCount int64 `json:"testerCount,omitempty"` // TesterWithInstallCount: Number of testers who have installed the // release TesterWithInstallCount int64 `json:"testerWithInstallCount,omitempty"` // ForceSendFields is a list of field names (e.g. "BuildVersion") 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. "BuildVersion") 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:"-"` }
GoogleFirebaseAppdistroV1alphaRelease: Proto defining a release object
func (*GoogleFirebaseAppdistroV1alphaRelease) MarshalJSON ¶
func (s *GoogleFirebaseAppdistroV1alphaRelease) MarshalJSON() ([]byte, error)
type GoogleFirebaseAppdistroV1alphaReleaseNotes ¶
type GoogleFirebaseAppdistroV1alphaReleaseNotes struct { ReleaseNotes string `json:"releaseNotes,omitempty"` // ForceSendFields is a list of field names (e.g. "ReleaseNotes") 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. "ReleaseNotes") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
func (*GoogleFirebaseAppdistroV1alphaReleaseNotes) MarshalJSON ¶
func (s *GoogleFirebaseAppdistroV1alphaReleaseNotes) MarshalJSON() ([]byte, error)
type GoogleFirebaseAppdistroV1alphaReleaseTest ¶
type GoogleFirebaseAppdistroV1alphaReleaseTest struct { // CreateTime: Output only. Timestamp when the test was run. CreateTime string `json:"createTime,omitempty"` // DeviceExecutions: Required. The results of the test on each device. DeviceExecutions []*GoogleFirebaseAppdistroV1alphaDeviceExecution `json:"deviceExecutions,omitempty"` // LoginCredential: Optional. Input only. Login credentials for the // test. Input only. LoginCredential *GoogleFirebaseAppdistroV1alphaLoginCredential `json:"loginCredential,omitempty"` // Name: The name of the release test resource. Format: // `projects/{project_number}/apps/{app_id}/releases/{release_id}/tests/{ // test_id}` Name string `json:"name,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "CreateTime") 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. "CreateTime") 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:"-"` }
GoogleFirebaseAppdistroV1alphaReleaseTest: The results of running an automated test on a release.
func (*GoogleFirebaseAppdistroV1alphaReleaseTest) MarshalJSON ¶
func (s *GoogleFirebaseAppdistroV1alphaReleaseTest) MarshalJSON() ([]byte, error)
type GoogleFirebaseAppdistroV1alphaRoboCrawler ¶
type GoogleFirebaseAppdistroV1alphaRoboCrawler struct { // LoginCredential: Optional. Login credential for automated tests LoginCredential *GoogleFirebaseAppdistroV1alphaLoginCredential `json:"loginCredential,omitempty"` // ForceSendFields is a list of field names (e.g. "LoginCredential") 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. "LoginCredential") 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:"-"` }
GoogleFirebaseAppdistroV1alphaRoboCrawler: Configuration for Robo crawler
func (*GoogleFirebaseAppdistroV1alphaRoboCrawler) MarshalJSON ¶
func (s *GoogleFirebaseAppdistroV1alphaRoboCrawler) MarshalJSON() ([]byte, error)
type GoogleFirebaseAppdistroV1alphaRoboStats ¶
type GoogleFirebaseAppdistroV1alphaRoboStats struct { // ActionsPerformed: Output only. Number of actions that crawler // performed. ActionsPerformed int64 `json:"actionsPerformed,omitempty"` // CrawlDuration: Output only. Duration of crawl. CrawlDuration string `json:"crawlDuration,omitempty"` // DistinctVisitedScreens: Output only. Number of distinct screens // visited. DistinctVisitedScreens int64 `json:"distinctVisitedScreens,omitempty"` // MainActivityCrawlTimedOut: Output only. Whether the main activity // crawl timed out. MainActivityCrawlTimedOut bool `json:"mainActivityCrawlTimedOut,omitempty"` // ForceSendFields is a list of field names (e.g. "ActionsPerformed") 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. "ActionsPerformed") 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:"-"` }
GoogleFirebaseAppdistroV1alphaRoboStats: Statistics collected during a Robo test.
func (*GoogleFirebaseAppdistroV1alphaRoboStats) MarshalJSON ¶
func (s *GoogleFirebaseAppdistroV1alphaRoboStats) MarshalJSON() ([]byte, error)
type GoogleFirebaseAppdistroV1alphaTestConfig ¶
type GoogleFirebaseAppdistroV1alphaTestConfig struct { // Name: Identifier. The name of the test configuration resource. // Format: `projects/{project_number}/apps/{app_id}/testConfig` Name string `json:"name,omitempty"` // RoboCrawler: Optional. Configuration for Robo crawler RoboCrawler *GoogleFirebaseAppdistroV1alphaRoboCrawler `json:"roboCrawler,omitempty"` // TestDevices: Optional. Tests will be run on this list of devices TestDevices []*GoogleFirebaseAppdistroV1alphaTestDevice `json:"testDevices,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:"-"` }
GoogleFirebaseAppdistroV1alphaTestConfig: Configuration for automated tests
func (*GoogleFirebaseAppdistroV1alphaTestConfig) MarshalJSON ¶
func (s *GoogleFirebaseAppdistroV1alphaTestConfig) MarshalJSON() ([]byte, error)
type GoogleFirebaseAppdistroV1alphaTestDevice ¶
type GoogleFirebaseAppdistroV1alphaTestDevice struct { // Locale: Optional. The locale of the device (e.g. "en_US" for US // English) during the test. Locale string `json:"locale,omitempty"` // Model: Required. The device model. Model string `json:"model,omitempty"` // Orientation: Optional. The orientation of the device during the test. Orientation string `json:"orientation,omitempty"` // Version: Required. The version of the device (API level on Android). Version string `json:"version,omitempty"` // ForceSendFields is a list of field names (e.g. "Locale") 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. "Locale") 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:"-"` }
GoogleFirebaseAppdistroV1alphaTestDevice: A device on which automated tests can be run.
func (*GoogleFirebaseAppdistroV1alphaTestDevice) MarshalJSON ¶
func (s *GoogleFirebaseAppdistroV1alphaTestDevice) MarshalJSON() ([]byte, error)
type GoogleFirebaseAppdistroV1alphaTesterUdid ¶
type GoogleFirebaseAppdistroV1alphaTesterUdid struct { // Name: The name of the tester's device Name string `json:"name,omitempty"` // Platform: The platform of the tester's device Platform string `json:"platform,omitempty"` // Udid: The UDID of the tester's device Udid string `json:"udid,omitempty"` // ForceSendFields is a list of field names (e.g. "Name") to // unconditionally include in API requests. By default, fields with // empty or default values are 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:"-"` }
GoogleFirebaseAppdistroV1alphaTesterUdid: The UDIDs of a tester's iOS device
func (*GoogleFirebaseAppdistroV1alphaTesterUdid) MarshalJSON ¶
func (s *GoogleFirebaseAppdistroV1alphaTesterUdid) MarshalJSON() ([]byte, error)
type ProjectsAppsGetTestConfigCall ¶
type ProjectsAppsGetTestConfigCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAppsGetTestConfigCall) Context ¶
func (c *ProjectsAppsGetTestConfigCall) Context(ctx context.Context) *ProjectsAppsGetTestConfigCall
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 (*ProjectsAppsGetTestConfigCall) Do ¶
func (c *ProjectsAppsGetTestConfigCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppdistroV1alphaTestConfig, error)
Do executes the "firebaseappdistribution.projects.apps.getTestConfig" call. Exactly one of *GoogleFirebaseAppdistroV1alphaTestConfig or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppdistroV1alphaTestConfig.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 (*ProjectsAppsGetTestConfigCall) Fields ¶
func (c *ProjectsAppsGetTestConfigCall) Fields(s ...googleapi.Field) *ProjectsAppsGetTestConfigCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAppsGetTestConfigCall) Header ¶
func (c *ProjectsAppsGetTestConfigCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsAppsGetTestConfigCall) IfNoneMatch ¶
func (c *ProjectsAppsGetTestConfigCall) IfNoneMatch(entityTag string) *ProjectsAppsGetTestConfigCall
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 ProjectsAppsReleasesService ¶
type ProjectsAppsReleasesService struct { Tests *ProjectsAppsReleasesTestsService // contains filtered or unexported fields }
func NewProjectsAppsReleasesService ¶
func NewProjectsAppsReleasesService(s *Service) *ProjectsAppsReleasesService
type ProjectsAppsReleasesTestsCreateCall ¶
type ProjectsAppsReleasesTestsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAppsReleasesTestsCreateCall) Context ¶
func (c *ProjectsAppsReleasesTestsCreateCall) Context(ctx context.Context) *ProjectsAppsReleasesTestsCreateCall
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 (*ProjectsAppsReleasesTestsCreateCall) Do ¶
func (c *ProjectsAppsReleasesTestsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppdistroV1alphaReleaseTest, error)
Do executes the "firebaseappdistribution.projects.apps.releases.tests.create" call. Exactly one of *GoogleFirebaseAppdistroV1alphaReleaseTest or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppdistroV1alphaReleaseTest.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 (*ProjectsAppsReleasesTestsCreateCall) Fields ¶
func (c *ProjectsAppsReleasesTestsCreateCall) Fields(s ...googleapi.Field) *ProjectsAppsReleasesTestsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAppsReleasesTestsCreateCall) Header ¶
func (c *ProjectsAppsReleasesTestsCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsAppsReleasesTestsCreateCall) ReleaseTestId ¶
func (c *ProjectsAppsReleasesTestsCreateCall) ReleaseTestId(releaseTestId string) *ProjectsAppsReleasesTestsCreateCall
ReleaseTestId sets the optional parameter "releaseTestId": The ID to use for the test, which will become the final component of the tests's resource name. This value should be 4-63 characters, and valid characters are /a-z-/. If it is not provided one will be automatically generated.
type ProjectsAppsReleasesTestsGetCall ¶
type ProjectsAppsReleasesTestsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAppsReleasesTestsGetCall) Context ¶
func (c *ProjectsAppsReleasesTestsGetCall) Context(ctx context.Context) *ProjectsAppsReleasesTestsGetCall
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 (*ProjectsAppsReleasesTestsGetCall) Do ¶
func (c *ProjectsAppsReleasesTestsGetCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppdistroV1alphaReleaseTest, error)
Do executes the "firebaseappdistribution.projects.apps.releases.tests.get" call. Exactly one of *GoogleFirebaseAppdistroV1alphaReleaseTest or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppdistroV1alphaReleaseTest.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 (*ProjectsAppsReleasesTestsGetCall) Fields ¶
func (c *ProjectsAppsReleasesTestsGetCall) Fields(s ...googleapi.Field) *ProjectsAppsReleasesTestsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAppsReleasesTestsGetCall) Header ¶
func (c *ProjectsAppsReleasesTestsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsAppsReleasesTestsGetCall) IfNoneMatch ¶
func (c *ProjectsAppsReleasesTestsGetCall) IfNoneMatch(entityTag string) *ProjectsAppsReleasesTestsGetCall
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 ProjectsAppsReleasesTestsListCall ¶
type ProjectsAppsReleasesTestsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAppsReleasesTestsListCall) Context ¶
func (c *ProjectsAppsReleasesTestsListCall) Context(ctx context.Context) *ProjectsAppsReleasesTestsListCall
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 (*ProjectsAppsReleasesTestsListCall) Do ¶
func (c *ProjectsAppsReleasesTestsListCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppdistroV1alphaListReleaseTestsResponse, error)
Do executes the "firebaseappdistribution.projects.apps.releases.tests.list" call. Exactly one of *GoogleFirebaseAppdistroV1alphaListReleaseTestsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppdistroV1alphaListReleaseTestsResponse.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 (*ProjectsAppsReleasesTestsListCall) Fields ¶
func (c *ProjectsAppsReleasesTestsListCall) Fields(s ...googleapi.Field) *ProjectsAppsReleasesTestsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAppsReleasesTestsListCall) Header ¶
func (c *ProjectsAppsReleasesTestsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsAppsReleasesTestsListCall) IfNoneMatch ¶
func (c *ProjectsAppsReleasesTestsListCall) IfNoneMatch(entityTag string) *ProjectsAppsReleasesTestsListCall
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 (*ProjectsAppsReleasesTestsListCall) PageSize ¶
func (c *ProjectsAppsReleasesTestsListCall) PageSize(pageSize int64) *ProjectsAppsReleasesTestsListCall
PageSize sets the optional parameter "pageSize": The maximum number of tests to return. The service may return fewer than this value.
func (*ProjectsAppsReleasesTestsListCall) PageToken ¶
func (c *ProjectsAppsReleasesTestsListCall) PageToken(pageToken string) *ProjectsAppsReleasesTestsListCall
PageToken sets the optional parameter "pageToken": A page token, received from a previous `ListReleaseTests` call. Provide this to retrieve the subsequent page.
func (*ProjectsAppsReleasesTestsListCall) Pages ¶
func (c *ProjectsAppsReleasesTestsListCall) Pages(ctx context.Context, f func(*GoogleFirebaseAppdistroV1alphaListReleaseTestsResponse) error) error
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 ProjectsAppsReleasesTestsService ¶
type ProjectsAppsReleasesTestsService struct {
// contains filtered or unexported fields
}
func NewProjectsAppsReleasesTestsService ¶
func NewProjectsAppsReleasesTestsService(s *Service) *ProjectsAppsReleasesTestsService
func (*ProjectsAppsReleasesTestsService) Create ¶
func (r *ProjectsAppsReleasesTestsService) Create(parent string, googlefirebaseappdistrov1alphareleasetest *GoogleFirebaseAppdistroV1alphaReleaseTest) *ProjectsAppsReleasesTestsCreateCall
Create: Run automated test(s) on release.
- parent: The name of the release resource, which is the parent of the test Format: `projects/{project_number}/apps/{app_id}/releases/{release_id}`.
func (*ProjectsAppsReleasesTestsService) Get ¶
func (r *ProjectsAppsReleasesTestsService) Get(name string) *ProjectsAppsReleasesTestsGetCall
Get: Get results for automated test run on release.
- name: The name of the release test resource. Format: `projects/{project_number}/apps/{app_id}/releases/{release_id}/tests /{test_id}`.
func (*ProjectsAppsReleasesTestsService) List ¶
func (r *ProjectsAppsReleasesTestsService) List(parent string) *ProjectsAppsReleasesTestsListCall
List: List results for automated tests run on release.
- parent: The name of the release resource, which is the parent of the tests Format: `projects/{project_number}/apps/{app_id}/releases/{release_id}`.
type ProjectsAppsService ¶
type ProjectsAppsService struct { Releases *ProjectsAppsReleasesService // contains filtered or unexported fields }
func NewProjectsAppsService ¶
func NewProjectsAppsService(s *Service) *ProjectsAppsService
func (*ProjectsAppsService) GetTestConfig ¶
func (r *ProjectsAppsService) GetTestConfig(name string) *ProjectsAppsGetTestConfigCall
GetTestConfig: Gets configuration for automated tests.
- name: The name of the `TestConfig` resource to retrieve. Format: `projects/{project_number}/apps/{app_id}/testConfig`.
func (*ProjectsAppsService) UpdateTestConfig ¶
func (r *ProjectsAppsService) UpdateTestConfig(name string, googlefirebaseappdistrov1alphatestconfig *GoogleFirebaseAppdistroV1alphaTestConfig) *ProjectsAppsUpdateTestConfigCall
UpdateTestConfig: Updates a release.
- name: Identifier. The name of the test configuration resource. Format: `projects/{project_number}/apps/{app_id}/testConfig`.
type ProjectsAppsUpdateTestConfigCall ¶
type ProjectsAppsUpdateTestConfigCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAppsUpdateTestConfigCall) Context ¶
func (c *ProjectsAppsUpdateTestConfigCall) Context(ctx context.Context) *ProjectsAppsUpdateTestConfigCall
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 (*ProjectsAppsUpdateTestConfigCall) Do ¶
func (c *ProjectsAppsUpdateTestConfigCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppdistroV1alphaTestConfig, error)
Do executes the "firebaseappdistribution.projects.apps.updateTestConfig" call. Exactly one of *GoogleFirebaseAppdistroV1alphaTestConfig or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppdistroV1alphaTestConfig.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 (*ProjectsAppsUpdateTestConfigCall) Fields ¶
func (c *ProjectsAppsUpdateTestConfigCall) Fields(s ...googleapi.Field) *ProjectsAppsUpdateTestConfigCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAppsUpdateTestConfigCall) Header ¶
func (c *ProjectsAppsUpdateTestConfigCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsAppsUpdateTestConfigCall) UpdateMask ¶
func (c *ProjectsAppsUpdateTestConfigCall) UpdateMask(updateMask string) *ProjectsAppsUpdateTestConfigCall
UpdateMask sets the optional parameter "updateMask": The list of fields to update.
type ProjectsService ¶
type ProjectsService struct { Apps *ProjectsAppsService Testers *ProjectsTestersService // contains filtered or unexported fields }
func NewProjectsService ¶
func NewProjectsService(s *Service) *ProjectsService
type ProjectsTestersGetUdidsCall ¶ added in v0.155.0
type ProjectsTestersGetUdidsCall struct {
// contains filtered or unexported fields
}
func (*ProjectsTestersGetUdidsCall) Context ¶ added in v0.155.0
func (c *ProjectsTestersGetUdidsCall) Context(ctx context.Context) *ProjectsTestersGetUdidsCall
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 (*ProjectsTestersGetUdidsCall) Do ¶ added in v0.155.0
func (c *ProjectsTestersGetUdidsCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppdistroV1alphaGetTesterUdidsResponse, error)
Do executes the "firebaseappdistribution.projects.testers.getUdids" call. Exactly one of *GoogleFirebaseAppdistroV1alphaGetTesterUdidsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppdistroV1alphaGetTesterUdidsResponse.ServerResponse.H eader 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 (*ProjectsTestersGetUdidsCall) Fields ¶ added in v0.155.0
func (c *ProjectsTestersGetUdidsCall) Fields(s ...googleapi.Field) *ProjectsTestersGetUdidsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsTestersGetUdidsCall) Header ¶ added in v0.155.0
func (c *ProjectsTestersGetUdidsCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsTestersGetUdidsCall) IfNoneMatch ¶ added in v0.155.0
func (c *ProjectsTestersGetUdidsCall) IfNoneMatch(entityTag string) *ProjectsTestersGetUdidsCall
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 (*ProjectsTestersGetUdidsCall) MobilesdkAppId ¶ added in v0.155.0
func (c *ProjectsTestersGetUdidsCall) MobilesdkAppId(mobilesdkAppId string) *ProjectsTestersGetUdidsCall
MobilesdkAppId sets the optional parameter "mobilesdkAppId": Unique id for a Firebase app of the format: {version}:{project_number}:{platform}:{hash(bundle_id)} Example: 1:581234567376:android:aa0a3c7b135e90289
type ProjectsTestersService ¶ added in v0.155.0
type ProjectsTestersService struct {
// contains filtered or unexported fields
}
func NewProjectsTestersService ¶ added in v0.155.0
func NewProjectsTestersService(s *Service) *ProjectsTestersService
func (*ProjectsTestersService) GetUdids ¶ added in v0.155.0
func (r *ProjectsTestersService) GetUdids(project string) *ProjectsTestersGetUdidsCall
GetUdids: Get UDIDs of tester iOS devices in a project
- project: The name of the project, which is the parent of testers Format: `projects/{project_number}`.
type Service ¶
type Service struct { BasePath string // API endpoint base URL UserAgent string // optional additional User-Agent fragment Apps *AppsService Projects *ProjectsService // contains filtered or unexported fields }
func New
deprecated
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 ¶
NewService creates a new Service.