Class: Google::Apis::FirebaseappdistributionV1::FirebaseAppDistributionService

Inherits:
Core::BaseService
  • Object
show all
Defined in:
lib/google/apis/firebaseappdistribution_v1/service.rb

Overview

Firebase App Distribution API

Examples:

require 'google/apis/firebaseappdistribution_v1'

Firebaseappdistribution = Google::Apis::FirebaseappdistributionV1 # Alias the module
service = Firebaseappdistribution::FirebaseAppDistributionService.new

See Also:

Constant Summary collapse

DEFAULT_ENDPOINT_TEMPLATE =
"https://firebaseappdistribution.$UNIVERSE_DOMAIN$/"

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeFirebaseAppDistributionService

Returns a new instance of FirebaseAppDistributionService.



47
48
49
50
51
52
# File 'lib/google/apis/firebaseappdistribution_v1/service.rb', line 47

def initialize
  super(DEFAULT_ENDPOINT_TEMPLATE, '',
        client_name: 'google-apis-firebaseappdistribution_v1',
        client_version: Google::Apis::FirebaseappdistributionV1::GEM_VERSION)
  @batch_path = 'batch'
end

Instance Attribute Details

#keyString

Returns API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

Returns:

  • (String)

    API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.



40
41
42
# File 'lib/google/apis/firebaseappdistribution_v1/service.rb', line 40

def key
  @key
end

#quota_userString

Returns Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

Returns:

  • (String)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.



45
46
47
# File 'lib/google/apis/firebaseappdistribution_v1/service.rb', line 45

def quota_user
  @quota_user
end

Instance Method Details

#batch_project_app_release_delete(parent, google_firebase_appdistro_v1_batch_delete_releases_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebaseappdistributionV1::GoogleProtobufEmpty

Deletes releases. A maximum of 100 releases can be deleted per request.

Parameters:

  • parent (String)

    Required. The name of the app resource, which is the parent of the release resources. Format: projects/project_number/apps/app``

  • google_firebase_appdistro_v1_batch_delete_releases_request_object (Google::Apis::FirebaseappdistributionV1::GoogleFirebaseAppdistroV1BatchDeleteReleasesRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



153
154
155
156
157
158
159
160
161
162
163
# File 'lib/google/apis/firebaseappdistribution_v1/service.rb', line 153

def batch_project_app_release_delete(parent, google_firebase_appdistro_v1_batch_delete_releases_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1/{+parent}/releases:batchDelete', options)
  command.request_representation = Google::Apis::FirebaseappdistributionV1::GoogleFirebaseAppdistroV1BatchDeleteReleasesRequest::Representation
  command.request_object = google_firebase_appdistro_v1_batch_delete_releases_request_object
  command.response_representation = Google::Apis::FirebaseappdistributionV1::GoogleProtobufEmpty::Representation
  command.response_class = Google::Apis::FirebaseappdistributionV1::GoogleProtobufEmpty
  command.params['parent'] = parent unless parent.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#batch_project_group_join(group, google_firebase_appdistro_v1_batch_join_group_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebaseappdistributionV1::GoogleProtobufEmpty

Batch adds members to a group. The testers will gain access to all releases that the groups have access to.

Parameters:

  • group (String)

    Required. The name of the group resource to which testers are added. Format: projects/project_number/groups/group_alias``

  • google_firebase_appdistro_v1_batch_join_group_request_object (Google::Apis::FirebaseappdistributionV1::GoogleFirebaseAppdistroV1BatchJoinGroupRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



655
656
657
658
659
660
661
662
663
664
665
# File 'lib/google/apis/firebaseappdistribution_v1/service.rb', line 655

def batch_project_group_join(group, google_firebase_appdistro_v1_batch_join_group_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1/{+group}:batchJoin', options)
  command.request_representation = Google::Apis::FirebaseappdistributionV1::GoogleFirebaseAppdistroV1BatchJoinGroupRequest::Representation
  command.request_object = google_firebase_appdistro_v1_batch_join_group_request_object
  command.response_representation = Google::Apis::FirebaseappdistributionV1::GoogleProtobufEmpty::Representation
  command.response_class = Google::Apis::FirebaseappdistributionV1::GoogleProtobufEmpty
  command.params['group'] = group unless group.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#batch_project_group_leave(group, google_firebase_appdistro_v1_batch_leave_group_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebaseappdistributionV1::GoogleProtobufEmpty

Batch removed members from a group. The testers will lose access to all releases that the groups have access to.

Parameters:

  • group (String)

    Required. The name of the group resource from which testers are removed. Format: projects/project_number/groups/group_alias``

  • google_firebase_appdistro_v1_batch_leave_group_request_object (Google::Apis::FirebaseappdistributionV1::GoogleFirebaseAppdistroV1BatchLeaveGroupRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



690
691
692
693
694
695
696
697
698
699
700
# File 'lib/google/apis/firebaseappdistribution_v1/service.rb', line 690

def batch_project_group_leave(group, google_firebase_appdistro_v1_batch_leave_group_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1/{+group}:batchLeave', options)
  command.request_representation = Google::Apis::FirebaseappdistributionV1::GoogleFirebaseAppdistroV1BatchLeaveGroupRequest::Representation
  command.request_object = google_firebase_appdistro_v1_batch_leave_group_request_object
  command.response_representation = Google::Apis::FirebaseappdistributionV1::GoogleProtobufEmpty::Representation
  command.response_class = Google::Apis::FirebaseappdistributionV1::GoogleProtobufEmpty
  command.params['group'] = group unless group.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#batch_project_tester_add(project, google_firebase_appdistro_v1_batch_add_testers_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebaseappdistributionV1::GoogleFirebaseAppdistroV1BatchAddTestersResponse

Batch adds testers. This call adds testers for the specified emails if they don't already exist. Returns all testers specified in the request, including newly created and previously existing testers. This action is idempotent.

Parameters:

  • project (String)

    Required. The name of the project resource. Format: projects/project_number``

  • google_firebase_appdistro_v1_batch_add_testers_request_object (Google::Apis::FirebaseappdistributionV1::GoogleFirebaseAppdistroV1BatchAddTestersRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



906
907
908
909
910
911
912
913
914
915
916
# File 'lib/google/apis/firebaseappdistribution_v1/service.rb', line 906

def batch_project_tester_add(project, google_firebase_appdistro_v1_batch_add_testers_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1/{+project}/testers:batchAdd', options)
  command.request_representation = Google::Apis::FirebaseappdistributionV1::GoogleFirebaseAppdistroV1BatchAddTestersRequest::Representation
  command.request_object = google_firebase_appdistro_v1_batch_add_testers_request_object
  command.response_representation = Google::Apis::FirebaseappdistributionV1::GoogleFirebaseAppdistroV1BatchAddTestersResponse::Representation
  command.response_class = Google::Apis::FirebaseappdistributionV1::GoogleFirebaseAppdistroV1BatchAddTestersResponse
  command.params['project'] = project unless project.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#batch_project_tester_remove(project, google_firebase_appdistro_v1_batch_remove_testers_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebaseappdistributionV1::GoogleFirebaseAppdistroV1BatchRemoveTestersResponse

Batch removes testers. If found, this call deletes testers for the specified emails. Returns all deleted testers.

Parameters:

  • project (String)

    Required. The name of the project resource. Format: projects/project_number``

  • google_firebase_appdistro_v1_batch_remove_testers_request_object (Google::Apis::FirebaseappdistributionV1::GoogleFirebaseAppdistroV1BatchRemoveTestersRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



940
941
942
943
944
945
946
947
948
949
950
# File 'lib/google/apis/firebaseappdistribution_v1/service.rb', line 940

def batch_project_tester_remove(project, google_firebase_appdistro_v1_batch_remove_testers_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1/{+project}/testers:batchRemove', options)
  command.request_representation = Google::Apis::FirebaseappdistributionV1::GoogleFirebaseAppdistroV1BatchRemoveTestersRequest::Representation
  command.request_object = google_firebase_appdistro_v1_batch_remove_testers_request_object
  command.response_representation = Google::Apis::FirebaseappdistributionV1::GoogleFirebaseAppdistroV1BatchRemoveTestersResponse::Representation
  command.response_class = Google::Apis::FirebaseappdistributionV1::GoogleFirebaseAppdistroV1BatchRemoveTestersResponse
  command.params['project'] = project unless project.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#cancel_project_app_release_operation(name, google_longrunning_cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebaseappdistributionV1::GoogleProtobufEmpty

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

Parameters:

  • name (String)

    The name of the operation resource to be cancelled.

  • google_longrunning_cancel_operation_request_object (Google::Apis::FirebaseappdistributionV1::GoogleLongrunningCancelOperationRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



467
468
469
470
471
472
473
474
475
476
477
# File 'lib/google/apis/firebaseappdistribution_v1/service.rb', line 467

def cancel_project_app_release_operation(name, google_longrunning_cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1/{+name}:cancel', options)
  command.request_representation = Google::Apis::FirebaseappdistributionV1::GoogleLongrunningCancelOperationRequest::Representation
  command.request_object = google_longrunning_cancel_operation_request_object
  command.response_representation = Google::Apis::FirebaseappdistributionV1::GoogleProtobufEmpty::Representation
  command.response_class = Google::Apis::FirebaseappdistributionV1::GoogleProtobufEmpty
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#create_project_group(parent, google_firebase_appdistro_v1_group_object = nil, group_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebaseappdistributionV1::GoogleFirebaseAppdistroV1Group

Create a group.

Parameters:

  • parent (String)

    Required. The name of the project resource, which is the parent of the group resource. Format: projects/project_number``

  • google_firebase_appdistro_v1_group_object (Google::Apis::FirebaseappdistributionV1::GoogleFirebaseAppdistroV1Group) (defaults to: nil)
  • group_id (String) (defaults to: nil)

    Optional. The "alias" to use for the group, which will become the final component of the group's resource name. This value must be unique per project. The field is named groupId to comply with AIP guidance for user-specified IDs. This value should be 4-63 characters, and valid characters are /a-z-/. If not set, it will be generated based on the display name.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



730
731
732
733
734
735
736
737
738
739
740
741
# File 'lib/google/apis/firebaseappdistribution_v1/service.rb', line 730

def create_project_group(parent, google_firebase_appdistro_v1_group_object = nil, group_id: nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1/{+parent}/groups', options)
  command.request_representation = Google::Apis::FirebaseappdistributionV1::GoogleFirebaseAppdistroV1Group::Representation
  command.request_object = google_firebase_appdistro_v1_group_object
  command.response_representation = Google::Apis::FirebaseappdistributionV1::GoogleFirebaseAppdistroV1Group::Representation
  command.response_class = Google::Apis::FirebaseappdistributionV1::GoogleFirebaseAppdistroV1Group
  command.params['parent'] = parent unless parent.nil?
  command.query['groupId'] = group_id unless group_id.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#delete_project_app_release_feedback_report(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebaseappdistributionV1::GoogleProtobufEmpty

Deletes a feedback report.

Parameters:

  • name (String)

    Required. The name of the feedback report to delete. Format: projects/ project_number/apps/app/releases/release/feedbackReports/feedback_report

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



355
356
357
358
359
360
361
362
363
# File 'lib/google/apis/firebaseappdistribution_v1/service.rb', line 355

def delete_project_app_release_feedback_report(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:delete, 'v1/{+name}', options)
  command.response_representation = Google::Apis::FirebaseappdistributionV1::GoogleProtobufEmpty::Representation
  command.response_class = Google::Apis::FirebaseappdistributionV1::GoogleProtobufEmpty
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#delete_project_app_release_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebaseappdistributionV1::GoogleProtobufEmpty

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

Parameters:

  • name (String)

    The name of the operation resource to be deleted.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



502
503
504
505
506
507
508
509
510
# File 'lib/google/apis/firebaseappdistribution_v1/service.rb', line 502

def delete_project_app_release_operation(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:delete, 'v1/{+name}', options)
  command.response_representation = Google::Apis::FirebaseappdistributionV1::GoogleProtobufEmpty::Representation
  command.response_class = Google::Apis::FirebaseappdistributionV1::GoogleProtobufEmpty
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#delete_project_group(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebaseappdistributionV1::GoogleProtobufEmpty

Delete a group.

Parameters:

  • name (String)

    Required. The name of the group resource. Format: projects/project_number/ groups/group_alias``

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



764
765
766
767
768
769
770
771
772
# File 'lib/google/apis/firebaseappdistribution_v1/service.rb', line 764

def delete_project_group(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:delete, 'v1/{+name}', options)
  command.response_representation = Google::Apis::FirebaseappdistributionV1::GoogleProtobufEmpty::Representation
  command.response_class = Google::Apis::FirebaseappdistributionV1::GoogleProtobufEmpty
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#distribute_project_app_release(name, google_firebase_appdistro_v1_distribute_release_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebaseappdistributionV1::GoogleFirebaseAppdistroV1DistributeReleaseResponse

Distributes a release to testers. This call does the following: 1. Creates testers for the specified emails, if none exist. 2. Adds the testers and groups to the release. 3. Sends new testers an invitation email. 4. Sends existing testers a new release email. The request will fail with a INVALID_ARGUMENT if it contains a group that doesn't exist.

Parameters:

  • name (String)

    Required. The name of the release resource to distribute. Format: projects/ project_number/apps/app/releases/release``

  • google_firebase_appdistro_v1_distribute_release_request_object (Google::Apis::FirebaseappdistributionV1::GoogleFirebaseAppdistroV1DistributeReleaseRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



191
192
193
194
195
196
197
198
199
200
201
# File 'lib/google/apis/firebaseappdistribution_v1/service.rb', line 191

def distribute_project_app_release(name, google_firebase_appdistro_v1_distribute_release_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1/{+name}:distribute', options)
  command.request_representation = Google::Apis::FirebaseappdistributionV1::GoogleFirebaseAppdistroV1DistributeReleaseRequest::Representation
  command.request_object = google_firebase_appdistro_v1_distribute_release_request_object
  command.response_representation = Google::Apis::FirebaseappdistributionV1::GoogleFirebaseAppdistroV1DistributeReleaseResponse::Representation
  command.response_class = Google::Apis::FirebaseappdistributionV1::GoogleFirebaseAppdistroV1DistributeReleaseResponse
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#get_project_app_aab_info(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebaseappdistributionV1::GoogleFirebaseAppdistroV1AabInfo

Gets Android App Bundle (AAB) information for a Firebase app.

Parameters:

  • name (String)

    Required. The name of the AabInfo resource to retrieve. Format: projects/ project_number/apps/app/aabInfo

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



121
122
123
124
125
126
127
128
129
# File 'lib/google/apis/firebaseappdistribution_v1/service.rb', line 121

def get_project_app_aab_info(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1/{+name}', options)
  command.response_representation = Google::Apis::FirebaseappdistributionV1::GoogleFirebaseAppdistroV1AabInfo::Representation
  command.response_class = Google::Apis::FirebaseappdistributionV1::GoogleFirebaseAppdistroV1AabInfo
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#get_project_app_release(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebaseappdistributionV1::GoogleFirebaseAppdistroV1Release

Gets a release.

Parameters:

  • name (String)

    Required. The name of the release resource to retrieve. Format: projects/ project_number/apps/app/releases/release

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



224
225
226
227
228
229
230
231
232
# File 'lib/google/apis/firebaseappdistribution_v1/service.rb', line 224

def get_project_app_release(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1/{+name}', options)
  command.response_representation = Google::Apis::FirebaseappdistributionV1::GoogleFirebaseAppdistroV1Release::Representation
  command.response_class = Google::Apis::FirebaseappdistributionV1::GoogleFirebaseAppdistroV1Release
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#get_project_app_release_feedback_report(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebaseappdistributionV1::GoogleFirebaseAppdistroV1FeedbackReport

Gets a feedback report.

Parameters:

  • name (String)

    Required. The name of the feedback report to retrieve. Format: projects/ project_number/apps/app/releases/release/feedbackReports/feedback_report

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



386
387
388
389
390
391
392
393
394
# File 'lib/google/apis/firebaseappdistribution_v1/service.rb', line 386

def get_project_app_release_feedback_report(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1/{+name}', options)
  command.response_representation = Google::Apis::FirebaseappdistributionV1::GoogleFirebaseAppdistroV1FeedbackReport::Representation
  command.response_class = Google::Apis::FirebaseappdistributionV1::GoogleFirebaseAppdistroV1FeedbackReport
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#get_project_app_release_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebaseappdistributionV1::GoogleLongrunningOperation

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

Parameters:

  • name (String)

    The name of the operation resource.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



533
534
535
536
537
538
539
540
541
# File 'lib/google/apis/firebaseappdistribution_v1/service.rb', line 533

def get_project_app_release_operation(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1/{+name}', options)
  command.response_representation = Google::Apis::FirebaseappdistributionV1::GoogleLongrunningOperation::Representation
  command.response_class = Google::Apis::FirebaseappdistributionV1::GoogleLongrunningOperation
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#get_project_group(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebaseappdistributionV1::GoogleFirebaseAppdistroV1Group

Get a group.

Parameters:

  • name (String)

    Required. The name of the group resource to retrieve. Format: projects/ project_number/groups/group_alias``

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



795
796
797
798
799
800
801
802
803
# File 'lib/google/apis/firebaseappdistribution_v1/service.rb', line 795

def get_project_group(name, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1/{+name}', options)
  command.response_representation = Google::Apis::FirebaseappdistributionV1::GoogleFirebaseAppdistroV1Group::Representation
  command.response_class = Google::Apis::FirebaseappdistributionV1::GoogleFirebaseAppdistroV1Group
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#list_project_app_release_feedback_reports(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebaseappdistributionV1::GoogleFirebaseAppdistroV1ListFeedbackReportsResponse

Lists feedback reports. By default, sorts by createTime in descending order.

Parameters:

  • parent (String)

    Required. The name of the release resource, which is the parent of the feedback report resources. Format: projects/project_number/apps/app/ releases/release``

  • page_size (Fixnum) (defaults to: nil)

    Output only. The maximum number of feedback reports to return. The service may return fewer than this value. The valid range is [1-100]; If unspecified (0), at most 25 feedback reports are returned. Values above 100 are coerced to 100.

  • page_token (String) (defaults to: nil)

    Output only. A page token, received from a previous ListFeedbackReports call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListFeedbackReports must match the call that provided the page token.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



427
428
429
430
431
432
433
434
435
436
437
# File 'lib/google/apis/firebaseappdistribution_v1/service.rb', line 427

def list_project_app_release_feedback_reports(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1/{+parent}/feedbackReports', options)
  command.response_representation = Google::Apis::FirebaseappdistributionV1::GoogleFirebaseAppdistroV1ListFeedbackReportsResponse::Representation
  command.response_class = Google::Apis::FirebaseappdistributionV1::GoogleFirebaseAppdistroV1ListFeedbackReportsResponse
  command.params['parent'] = parent unless parent.nil?
  command.query['pageSize'] = page_size unless page_size.nil?
  command.query['pageToken'] = page_token unless page_token.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#list_project_app_release_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebaseappdistributionV1::GoogleLongrunningListOperationsResponse

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

Parameters:

  • name (String)

    The name of the operation's parent resource.

  • filter (String) (defaults to: nil)

    The standard list filter.

  • page_size (Fixnum) (defaults to: nil)

    The standard list page size.

  • page_token (String) (defaults to: nil)

    The standard list page token.

  • return_partial_success (Boolean) (defaults to: nil)

    When set to true, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse. unreachable field. This can only be true when reading across collections. For example, when parent is set to "projects/example/locations/-". This field is not supported by default and will result in an UNIMPLEMENTED error if set unless explicitly documented otherwise in service or product specific documentation.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



578
579
580
581
582
583
584
585
586
587
588
589
590
# File 'lib/google/apis/firebaseappdistribution_v1/service.rb', line 578

def list_project_app_release_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1/{+name}/operations', options)
  command.response_representation = Google::Apis::FirebaseappdistributionV1::GoogleLongrunningListOperationsResponse::Representation
  command.response_class = Google::Apis::FirebaseappdistributionV1::GoogleLongrunningListOperationsResponse
  command.params['name'] = name unless name.nil?
  command.query['filter'] = filter unless filter.nil?
  command.query['pageSize'] = page_size unless page_size.nil?
  command.query['pageToken'] = page_token unless page_token.nil?
  command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#list_project_app_releases(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebaseappdistributionV1::GoogleFirebaseAppdistroV1ListReleasesResponse

Lists releases. By default, sorts by createTime in descending order.

Parameters:

  • parent (String)

    Required. The name of the app resource, which is the parent of the release resources. Format: projects/project_number/apps/app``

  • filter (String) (defaults to: nil)

    Optional. The expression to filter releases listed in the response. To learn more about filtering, refer to the AIP-160 standard. Supported fields: - Time fields supporting <, <=, > and >=; expecting an RFC-3339 formatted string: - create_time (or createTime) - update_time (or updateTime) - expire_time (or expireTime) - Text fields supporting =. The compared text can contain a wildcard character (*) at the beginning and/or end of the string which also enables case-insensitive matching: - release_notes.text (or releaseNotes.text) - display_version (or displayVersion) - build_version (or buildVersion). Examples: - createTime <= "2021-09-08T00:00:00+04:00" - expire_time > "2021-09-08T00:00: 00+04:00" - releaseNotes.text="fixes" AND createTime >= "2021-09-08T00:00:00. 0Z" - releaseNotes.text="*v1.0.0-rc*" - (display_version = "v1.0.0-rc2" ANDbuild_version = "123") OR release_notes = "v1.0.0-rc2 (123)"`

  • order_by (String) (defaults to: nil)

    Optional. The fields used to order releases. Supported fields: - create_time (or createTime) - update_time (or updateTime) - expire_time (or expireTime) To specify descending order for a field, append a "desc" suffix, for example, createTime desc. If this parameter is not set, releases are ordered by createTime in descending order.

  • page_size (Fixnum) (defaults to: nil)

    Optional. The maximum number of releases to return. The service may return fewer than this value. The valid range is [1-100]; If unspecified (0), at most 25 releases are returned. Values above 100 are coerced to 100.

  • page_token (String) (defaults to: nil)

    Optional. A page token, received from a previous ListReleases call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListReleases must match the call that provided the page token.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



283
284
285
286
287
288
289
290
291
292
293
294
295
# File 'lib/google/apis/firebaseappdistribution_v1/service.rb', line 283

def list_project_app_releases(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1/{+parent}/releases', options)
  command.response_representation = Google::Apis::FirebaseappdistributionV1::GoogleFirebaseAppdistroV1ListReleasesResponse::Representation
  command.response_class = Google::Apis::FirebaseappdistributionV1::GoogleFirebaseAppdistroV1ListReleasesResponse
  command.params['parent'] = parent unless parent.nil?
  command.query['filter'] = filter unless filter.nil?
  command.query['orderBy'] = order_by unless order_by.nil?
  command.query['pageSize'] = page_size unless page_size.nil?
  command.query['pageToken'] = page_token unless page_token.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#list_project_groups(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebaseappdistributionV1::GoogleFirebaseAppdistroV1ListGroupsResponse

List groups.

Parameters:

  • parent (String)

    Required. The name of the project resource, which is the parent of the group resources. Format: projects/project_number``

  • page_size (Fixnum) (defaults to: nil)

    Optional. The maximum number of groups to return. The service may return fewer than this value. The valid range is [1-1000]; If unspecified (0), at most 25 groups are returned. Values above 1000 are coerced to 1000.

  • page_token (String) (defaults to: nil)

    Optional. A page token, received from a previous ListGroups call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListGroups must match the call that provided the page token.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



834
835
836
837
838
839
840
841
842
843
844
# File 'lib/google/apis/firebaseappdistribution_v1/service.rb', line 834

def list_project_groups(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1/{+parent}/groups', options)
  command.response_representation = Google::Apis::FirebaseappdistributionV1::GoogleFirebaseAppdistroV1ListGroupsResponse::Representation
  command.response_class = Google::Apis::FirebaseappdistributionV1::GoogleFirebaseAppdistroV1ListGroupsResponse
  command.params['parent'] = parent unless parent.nil?
  command.query['pageSize'] = page_size unless page_size.nil?
  command.query['pageToken'] = page_token unless page_token.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#list_project_testers(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebaseappdistributionV1::GoogleFirebaseAppdistroV1ListTestersResponse

Lists testers and their resource ids.

Parameters:

  • parent (String)

    Required. The name of the project resource, which is the parent of the tester resources. Format: projects/project_number``

  • filter (String) (defaults to: nil)

    Optional. The expression to filter testers listed in the response. To learn more about filtering, refer to Google's AIP-160 standard. Supported fields: - name - displayName - groups Example: - name = " projects/-/testers/*@example.com" - displayName = "Joe Sixpack" - groups = "projects/*/groups/qa-team"

  • page_size (Fixnum) (defaults to: nil)

    Optional. The maximum number of testers to return. The service may return fewer than this value. The valid range is [1-1000]; If unspecified (0), at most 10 testers are returned. Values above 1000 are coerced to 1000.

  • page_token (String) (defaults to: nil)

    Optional. A page token, received from a previous ListTesters call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListTesters must match the call that provided the page token.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



987
988
989
990
991
992
993
994
995
996
997
998
# File 'lib/google/apis/firebaseappdistribution_v1/service.rb', line 987

def list_project_testers(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:get, 'v1/{+parent}/testers', options)
  command.response_representation = Google::Apis::FirebaseappdistributionV1::GoogleFirebaseAppdistroV1ListTestersResponse::Representation
  command.response_class = Google::Apis::FirebaseappdistributionV1::GoogleFirebaseAppdistroV1ListTestersResponse
  command.params['parent'] = parent unless parent.nil?
  command.query['filter'] = filter unless filter.nil?
  command.query['pageSize'] = page_size unless page_size.nil?
  command.query['pageToken'] = page_token unless page_token.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#patch_project_app_release(name, google_firebase_appdistro_v1_release_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebaseappdistributionV1::GoogleFirebaseAppdistroV1Release

Updates a release.

Parameters:

  • name (String)

    The name of the release resource. Format: projects/project_number/apps/app /releases/release``

  • google_firebase_appdistro_v1_release_object (Google::Apis::FirebaseappdistributionV1::GoogleFirebaseAppdistroV1Release) (defaults to: nil)
  • update_mask (String) (defaults to: nil)

    Optional. The list of fields to update.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



321
322
323
324
325
326
327
328
329
330
331
332
# File 'lib/google/apis/firebaseappdistribution_v1/service.rb', line 321

def patch_project_app_release(name, google_firebase_appdistro_v1_release_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:patch, 'v1/{+name}', options)
  command.request_representation = Google::Apis::FirebaseappdistributionV1::GoogleFirebaseAppdistroV1Release::Representation
  command.request_object = google_firebase_appdistro_v1_release_object
  command.response_representation = Google::Apis::FirebaseappdistributionV1::GoogleFirebaseAppdistroV1Release::Representation
  command.response_class = Google::Apis::FirebaseappdistributionV1::GoogleFirebaseAppdistroV1Release
  command.params['name'] = name unless name.nil?
  command.query['updateMask'] = update_mask unless update_mask.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#patch_project_group(name, google_firebase_appdistro_v1_group_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebaseappdistributionV1::GoogleFirebaseAppdistroV1Group

Update a group.

Parameters:

  • name (String)

    The name of the group resource. Format: projects/project_number/groups/ group_alias``

  • google_firebase_appdistro_v1_group_object (Google::Apis::FirebaseappdistributionV1::GoogleFirebaseAppdistroV1Group) (defaults to: nil)
  • update_mask (String) (defaults to: nil)

    Optional. The list of fields to update.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



870
871
872
873
874
875
876
877
878
879
880
881
# File 'lib/google/apis/firebaseappdistribution_v1/service.rb', line 870

def patch_project_group(name, google_firebase_appdistro_v1_group_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:patch, 'v1/{+name}', options)
  command.request_representation = Google::Apis::FirebaseappdistributionV1::GoogleFirebaseAppdistroV1Group::Representation
  command.request_object = google_firebase_appdistro_v1_group_object
  command.response_representation = Google::Apis::FirebaseappdistributionV1::GoogleFirebaseAppdistroV1Group::Representation
  command.response_class = Google::Apis::FirebaseappdistributionV1::GoogleFirebaseAppdistroV1Group
  command.params['name'] = name unless name.nil?
  command.query['updateMask'] = update_mask unless update_mask.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#patch_project_tester(name, google_firebase_appdistro_v1_tester_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebaseappdistributionV1::GoogleFirebaseAppdistroV1Tester

Update a tester. If the testers joins a group they gain access to all releases that the group has access to.

Parameters:

  • name (String)

    The name of the tester resource. Format: projects/project_number/testers/ email_address``

  • google_firebase_appdistro_v1_tester_object (Google::Apis::FirebaseappdistributionV1::GoogleFirebaseAppdistroV1Tester) (defaults to: nil)
  • update_mask (String) (defaults to: nil)

    Optional. The list of fields to update.

  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
# File 'lib/google/apis/firebaseappdistribution_v1/service.rb', line 1025

def patch_project_tester(name, google_firebase_appdistro_v1_tester_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:patch, 'v1/{+name}', options)
  command.request_representation = Google::Apis::FirebaseappdistributionV1::GoogleFirebaseAppdistroV1Tester::Representation
  command.request_object = google_firebase_appdistro_v1_tester_object
  command.response_representation = Google::Apis::FirebaseappdistributionV1::GoogleFirebaseAppdistroV1Tester::Representation
  command.response_class = Google::Apis::FirebaseappdistributionV1::GoogleFirebaseAppdistroV1Tester
  command.params['name'] = name unless name.nil?
  command.query['updateMask'] = update_mask unless update_mask.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#upload_medium(app, google_firebase_appdistro_v1_upload_release_request_object = nil, fields: nil, quota_user: nil, upload_source: nil, content_type: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebaseappdistributionV1::GoogleLongrunningOperation

Uploads a binary. Uploading a binary can result in a new release being created, an update to an existing release, or a no-op if a release with the same binary already exists.

Parameters:

  • app (String)

    Required. The name of the app resource. Format: projects/project_number/ apps/app``

  • google_firebase_appdistro_v1_upload_release_request_object (Google::Apis::FirebaseappdistributionV1::GoogleFirebaseAppdistroV1UploadReleaseRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • upload_source (IO, String) (defaults to: nil)

    IO stream or filename containing content to upload

  • content_type (String) (defaults to: nil)

    Content type of the uploaded content.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
# File 'lib/google/apis/firebaseappdistribution_v1/service.rb', line 82

def upload_medium(app, google_firebase_appdistro_v1_upload_release_request_object = nil, fields: nil, quota_user: nil, upload_source: nil, content_type: nil, options: nil, &block)
  if upload_source.nil?
    command = make_simple_command(:post, 'v1/{+app}/releases:upload', options)
  else
    command = make_upload_command(:post, 'v1/{+app}/releases:upload', options)
    command.upload_source = upload_source
    command.upload_content_type = content_type
  end
  command.request_representation = Google::Apis::FirebaseappdistributionV1::GoogleFirebaseAppdistroV1UploadReleaseRequest::Representation
  command.request_object = google_firebase_appdistro_v1_upload_release_request_object
  command.response_representation = Google::Apis::FirebaseappdistributionV1::GoogleLongrunningOperation::Representation
  command.response_class = Google::Apis::FirebaseappdistributionV1::GoogleLongrunningOperation
  command.params['app'] = app unless app.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end

#wait_project_app_release_operation(name, google_longrunning_wait_operation_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebaseappdistributionV1::GoogleLongrunningOperation

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

Parameters:

  • name (String)

    The name of the operation resource to wait on.

  • google_longrunning_wait_operation_request_object (Google::Apis::FirebaseappdistributionV1::GoogleLongrunningWaitOperationRequest) (defaults to: nil)
  • fields (String) (defaults to: nil)

    Selector specifying which fields to include in a partial response.

  • quota_user (String) (defaults to: nil)

    Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

  • options (Google::Apis::RequestOptions) (defaults to: nil)

    Request-specific options

Yields:

  • (result, err)

    Result & error if block supplied

Yield Parameters:

Returns:

Raises:

  • (Google::Apis::ServerError)

    An error occurred on the server and the request can be retried

  • (Google::Apis::ClientError)

    The request is invalid and should not be retried without modification

  • (Google::Apis::AuthorizationError)

    Authorization is required



620
621
622
623
624
625
626
627
628
629
630
# File 'lib/google/apis/firebaseappdistribution_v1/service.rb', line 620

def wait_project_app_release_operation(name, google_longrunning_wait_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
  command = make_simple_command(:post, 'v1/{+name}:wait', options)
  command.request_representation = Google::Apis::FirebaseappdistributionV1::GoogleLongrunningWaitOperationRequest::Representation
  command.request_object = google_longrunning_wait_operation_request_object
  command.response_representation = Google::Apis::FirebaseappdistributionV1::GoogleLongrunningOperation::Representation
  command.response_class = Google::Apis::FirebaseappdistributionV1::GoogleLongrunningOperation
  command.params['name'] = name unless name.nil?
  command.query['fields'] = fields unless fields.nil?
  command.query['quotaUser'] = quota_user unless quota_user.nil?
  execute_or_queue_command(command, &block)
end