Class: Google::Apis::FirebaseappdistributionV1::FirebaseAppDistributionService
- Inherits:
-
Core::BaseService
- Object
- Core::BaseService
- Google::Apis::FirebaseappdistributionV1::FirebaseAppDistributionService
- Defined in:
- lib/google/apis/firebaseappdistribution_v1/service.rb
Overview
Firebase App Distribution API
Constant Summary collapse
- DEFAULT_ENDPOINT_TEMPLATE =
"https://firebaseappdistribution.$UNIVERSE_DOMAIN$/"
Instance Attribute Summary collapse
-
#key ⇒ String
API key.
-
#quota_user ⇒ String
Available to use for quota purposes for server-side applications.
Instance Method Summary collapse
-
#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.
-
#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.
-
#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.
-
#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.
-
#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.
-
#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.
-
#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.
-
#delete_project_app_release_feedback_report(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebaseappdistributionV1::GoogleProtobufEmpty
Deletes a feedback report.
-
#delete_project_app_release_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebaseappdistributionV1::GoogleProtobufEmpty
Deletes a long-running operation.
-
#delete_project_group(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebaseappdistributionV1::GoogleProtobufEmpty
Delete a group.
-
#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.
-
#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.
-
#get_project_app_release(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebaseappdistributionV1::GoogleFirebaseAppdistroV1Release
Gets a release.
-
#get_project_app_release_feedback_report(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebaseappdistributionV1::GoogleFirebaseAppdistroV1FeedbackReport
Gets a feedback report.
-
#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.
-
#get_project_group(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebaseappdistributionV1::GoogleFirebaseAppdistroV1Group
Get a group.
-
#initialize ⇒ FirebaseAppDistributionService
constructor
A new instance of FirebaseAppDistributionService.
-
#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.
-
#list_project_app_release_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::FirebaseappdistributionV1::GoogleLongrunningListOperationsResponse
Lists operations that match the specified filter in the request.
-
#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.
-
#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.
-
#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.
-
#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.
-
#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.
-
#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.
-
#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.
-
#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.
Constructor Details
#initialize ⇒ FirebaseAppDistributionService
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
#key ⇒ String
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.
40 41 42 |
# File 'lib/google/apis/firebaseappdistribution_v1/service.rb', line 40 def key @key end |
#quota_user ⇒ String
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.
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.
152 153 154 155 156 157 158 159 160 161 162 |
# File 'lib/google/apis/firebaseappdistribution_v1/service.rb', line 152 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', ) 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.
638 639 640 641 642 643 644 645 646 647 648 |
# File 'lib/google/apis/firebaseappdistribution_v1/service.rb', line 638 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', ) 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.
673 674 675 676 677 678 679 680 681 682 683 |
# File 'lib/google/apis/firebaseappdistribution_v1/service.rb', line 673 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', ) 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.
889 890 891 892 893 894 895 896 897 898 899 |
# File 'lib/google/apis/firebaseappdistribution_v1/service.rb', line 889 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', ) 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.
923 924 925 926 927 928 929 930 931 932 933 |
# File 'lib/google/apis/firebaseappdistribution_v1/service.rb', line 923 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', ) 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
.
459 460 461 462 463 464 465 466 467 468 469 |
# File 'lib/google/apis/firebaseappdistribution_v1/service.rb', line 459 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', ) 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.
713 714 715 716 717 718 719 720 721 722 723 724 |
# File 'lib/google/apis/firebaseappdistribution_v1/service.rb', line 713 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', ) 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.
347 348 349 350 351 352 353 354 355 |
# File 'lib/google/apis/firebaseappdistribution_v1/service.rb', line 347 def delete_project_app_release_feedback_report(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) 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
.
494 495 496 497 498 499 500 501 502 |
# File 'lib/google/apis/firebaseappdistribution_v1/service.rb', line 494 def delete_project_app_release_operation(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) 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.
747 748 749 750 751 752 753 754 755 |
# File 'lib/google/apis/firebaseappdistribution_v1/service.rb', line 747 def delete_project_group(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) 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.
190 191 192 193 194 195 196 197 198 199 200 |
# File 'lib/google/apis/firebaseappdistribution_v1/service.rb', line 190 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', ) 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.
120 121 122 123 124 125 126 127 128 |
# File 'lib/google/apis/firebaseappdistribution_v1/service.rb', line 120 def get_project_app_aab_info(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) 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.
223 224 225 226 227 228 229 230 231 |
# File 'lib/google/apis/firebaseappdistribution_v1/service.rb', line 223 def get_project_app_release(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) 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.
378 379 380 381 382 383 384 385 386 |
# File 'lib/google/apis/firebaseappdistribution_v1/service.rb', line 378 def get_project_app_release_feedback_report(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) 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.
525 526 527 528 529 530 531 532 533 |
# File 'lib/google/apis/firebaseappdistribution_v1/service.rb', line 525 def get_project_app_release_operation(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) 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.
778 779 780 781 782 783 784 785 786 |
# File 'lib/google/apis/firebaseappdistribution_v1/service.rb', line 778 def get_project_group(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) 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.
419 420 421 422 423 424 425 426 427 428 429 |
# File 'lib/google/apis/firebaseappdistribution_v1/service.rb', line 419 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', ) 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, 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
.
562 563 564 565 566 567 568 569 570 571 572 573 |
# File 'lib/google/apis/firebaseappdistribution_v1/service.rb', line 562 def list_project_app_release_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}/operations', ) 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['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.
275 276 277 278 279 280 281 282 283 284 285 286 287 |
# File 'lib/google/apis/firebaseappdistribution_v1/service.rb', line 275 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', ) 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.
817 818 819 820 821 822 823 824 825 826 827 |
# File 'lib/google/apis/firebaseappdistribution_v1/service.rb', line 817 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', ) 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.
970 971 972 973 974 975 976 977 978 979 980 981 |
# File 'lib/google/apis/firebaseappdistribution_v1/service.rb', line 970 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', ) 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.
313 314 315 316 317 318 319 320 321 322 323 324 |
# File 'lib/google/apis/firebaseappdistribution_v1/service.rb', line 313 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}', ) 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.
853 854 855 856 857 858 859 860 861 862 863 864 |
# File 'lib/google/apis/firebaseappdistribution_v1/service.rb', line 853 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}', ) 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.
1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 |
# File 'lib/google/apis/firebaseappdistribution_v1/service.rb', line 1008 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}', ) 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.
81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 |
# File 'lib/google/apis/firebaseappdistribution_v1/service.rb', line 81 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', ) else command = make_upload_command(:post, 'v1/{+app}/releases:upload', ) 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.
603 604 605 606 607 608 609 610 611 612 613 |
# File 'lib/google/apis/firebaseappdistribution_v1/service.rb', line 603 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', ) 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 |