Class: Google::Apis::ApphubV1alpha::AppHubService
- Inherits:
-
Core::BaseService
- Object
- Core::BaseService
- Google::Apis::ApphubV1alpha::AppHubService
- Defined in:
- lib/google/apis/apphub_v1alpha/service.rb
Overview
App Hub API
Constant Summary collapse
- DEFAULT_ENDPOINT_TEMPLATE =
"https://apphub.$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
-
#cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApphubV1alpha::Empty
Starts asynchronous cancellation on a long-running operation.
-
#create_project_location_application(parent, application_object = nil, application_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApphubV1alpha::Operation
Creates an Application in a host project and location.
-
#create_project_location_application_service(parent, service_object = nil, request_id: nil, service_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApphubV1alpha::Operation
Creates a Service in an Application.
-
#create_project_location_application_workload(parent, workload_object = nil, request_id: nil, workload_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApphubV1alpha::Operation
Creates a Workload in an Application.
-
#create_project_location_service_project_attachment(parent, service_project_attachment_object = nil, request_id: nil, service_project_attachment_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApphubV1alpha::Operation
Attaches a service project to the host project.
-
#delete_project_location_application(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApphubV1alpha::Operation
Deletes an Application in a host project and location.
-
#delete_project_location_application_service(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApphubV1alpha::Operation
Deletes a Service in an Application.
-
#delete_project_location_application_workload(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApphubV1alpha::Operation
Deletes a Workload in an Application.
-
#delete_project_location_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApphubV1alpha::Empty
Deletes a long-running operation.
-
#delete_project_location_service_project_attachment(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApphubV1alpha::Operation
Deletes a service project attached to the host project.
-
#detach_location_service_project_attachment(name, detach_service_project_attachment_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApphubV1alpha::DetachServiceProjectAttachmentResponse
Detaches a service project from a host project.
-
#find_project_location_discovered_service_unregistered(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApphubV1alpha::FindUnregisteredServicesResponse
Finds unregistered services in a host project and location.
-
#find_project_location_discovered_workload_unregistered(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApphubV1alpha::FindUnregisteredWorkloadsResponse
Finds unregistered workloads in a host project and location.
-
#get_project_location(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApphubV1alpha::Location
Gets information about a location.
-
#get_project_location_application(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApphubV1alpha::Application
Gets an Application in a host project and location.
-
#get_project_location_application_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApphubV1alpha::Policy
Gets the access control policy for a resource.
-
#get_project_location_application_service(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApphubV1alpha::Service
Gets a Service in an Application.
-
#get_project_location_application_workload(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApphubV1alpha::Workload
Gets a Workload in an Application.
-
#get_project_location_discovered_service(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApphubV1alpha::DiscoveredService
Gets a discovered service in a host project and location.
-
#get_project_location_discovered_workload(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApphubV1alpha::DiscoveredWorkload
Gets a discovered workload in a host project and location.
-
#get_project_location_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApphubV1alpha::Operation
Gets the latest state of a long-running operation.
-
#get_project_location_service_project_attachment(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApphubV1alpha::ServiceProjectAttachment
Gets a service project attached to the host project.
-
#initialize ⇒ AppHubService
constructor
A new instance of AppHubService.
-
#list_project_location_application_services(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApphubV1alpha::ListServicesResponse
List Services in an Application.
-
#list_project_location_application_workloads(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApphubV1alpha::ListWorkloadsResponse
Lists Workloads in an Application.
-
#list_project_location_applications(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApphubV1alpha::ListApplicationsResponse
Lists Applications in a host project and location.
-
#list_project_location_discovered_services(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApphubV1alpha::ListDiscoveredServicesResponse
Lists discovered services in a host project and location.
-
#list_project_location_discovered_workloads(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApphubV1alpha::ListDiscoveredWorkloadsResponse
Lists discovered workloads in a host project and location.
-
#list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApphubV1alpha::ListOperationsResponse
Lists operations that match the specified filter in the request.
-
#list_project_location_service_project_attachments(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApphubV1alpha::ListServiceProjectAttachmentsResponse
List service projects attached to the host project.
-
#list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApphubV1alpha::ListLocationsResponse
Lists information about the supported locations for this service.
-
#lookup_project_location_service_project_attachment(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApphubV1alpha::LookupServiceProjectAttachmentResponse
Looks up a service project attachment.
-
#patch_project_location_application(name, application_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApphubV1alpha::Operation
Updates an Application in a host project and location.
-
#patch_project_location_application_service(name, service_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApphubV1alpha::Operation
Updates a Service in an Application.
-
#patch_project_location_application_workload(name, workload_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApphubV1alpha::Operation
Updates a Workload in an Application.
-
#set_application_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApphubV1alpha::Policy
Sets the access control policy on the specified resource.
-
#test_application_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApphubV1alpha::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource.
Constructor Details
#initialize ⇒ AppHubService
Returns a new instance of AppHubService.
47 48 49 50 51 52 |
# File 'lib/google/apis/apphub_v1alpha/service.rb', line 47 def initialize super(DEFAULT_ENDPOINT_TEMPLATE, '', client_name: 'google-apis-apphub_v1alpha', client_version: Google::Apis::ApphubV1alpha::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/apphub_v1alpha/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/apphub_v1alpha/service.rb', line 45 def quota_user @quota_user end |
Instance Method Details
#cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApphubV1alpha::Empty
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.
1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 |
# File 'lib/google/apis/apphub_v1alpha/service.rb', line 1227 def cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1alpha/{+name}:cancel', ) command.request_representation = Google::Apis::ApphubV1alpha::CancelOperationRequest::Representation command.request_object = cancel_operation_request_object command.response_representation = Google::Apis::ApphubV1alpha::Empty::Representation command.response_class = Google::Apis::ApphubV1alpha::Empty 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_location_application(parent, application_object = nil, application_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApphubV1alpha::Operation
Creates an Application in a host project and location.
226 227 228 229 230 231 232 233 234 235 236 237 238 |
# File 'lib/google/apis/apphub_v1alpha/service.rb', line 226 def create_project_location_application(parent, application_object = nil, application_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1alpha/{+parent}/applications', ) command.request_representation = Google::Apis::ApphubV1alpha::Application::Representation command.request_object = application_object command.response_representation = Google::Apis::ApphubV1alpha::Operation::Representation command.response_class = Google::Apis::ApphubV1alpha::Operation command.params['parent'] = parent unless parent.nil? command.query['applicationId'] = application_id unless application_id.nil? command.query['requestId'] = request_id unless request_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 |
#create_project_location_application_service(parent, service_object = nil, request_id: nil, service_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApphubV1alpha::Operation
Creates a Service in an Application.
565 566 567 568 569 570 571 572 573 574 575 576 577 |
# File 'lib/google/apis/apphub_v1alpha/service.rb', line 565 def create_project_location_application_service(parent, service_object = nil, request_id: nil, service_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1alpha/{+parent}/services', ) command.request_representation = Google::Apis::ApphubV1alpha::Service::Representation command.request_object = service_object command.response_representation = Google::Apis::ApphubV1alpha::Operation::Representation command.response_class = Google::Apis::ApphubV1alpha::Operation command.params['parent'] = parent unless parent.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['serviceId'] = service_id unless service_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 |
#create_project_location_application_workload(parent, workload_object = nil, request_id: nil, workload_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApphubV1alpha::Operation
Creates a Workload in an Application.
783 784 785 786 787 788 789 790 791 792 793 794 795 |
# File 'lib/google/apis/apphub_v1alpha/service.rb', line 783 def create_project_location_application_workload(parent, workload_object = nil, request_id: nil, workload_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1alpha/{+parent}/workloads', ) command.request_representation = Google::Apis::ApphubV1alpha::Workload::Representation command.request_object = workload_object command.response_representation = Google::Apis::ApphubV1alpha::Operation::Representation command.response_class = Google::Apis::ApphubV1alpha::Operation command.params['parent'] = parent unless parent.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['workloadId'] = workload_id unless workload_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 |
#create_project_location_service_project_attachment(parent, service_project_attachment_object = nil, request_id: nil, service_project_attachment_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApphubV1alpha::Operation
Attaches a service project to the host project.
1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 |
# File 'lib/google/apis/apphub_v1alpha/service.rb', line 1379 def (parent, = nil, request_id: nil, service_project_attachment_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1alpha/{+parent}/serviceProjectAttachments', ) command.request_representation = Google::Apis::ApphubV1alpha::ServiceProjectAttachment::Representation command.request_object = command.response_representation = Google::Apis::ApphubV1alpha::Operation::Representation command.response_class = Google::Apis::ApphubV1alpha::Operation command.params['parent'] = parent unless parent.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['serviceProjectAttachmentId'] = unless .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_location_application(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApphubV1alpha::Operation
Deletes an Application in a host project and location.
271 272 273 274 275 276 277 278 279 280 |
# File 'lib/google/apis/apphub_v1alpha/service.rb', line 271 def delete_project_location_application(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1alpha/{+name}', ) command.response_representation = Google::Apis::ApphubV1alpha::Operation::Representation command.response_class = Google::Apis::ApphubV1alpha::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_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_location_application_service(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApphubV1alpha::Operation
Deletes a Service in an Application.
610 611 612 613 614 615 616 617 618 619 |
# File 'lib/google/apis/apphub_v1alpha/service.rb', line 610 def delete_project_location_application_service(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1alpha/{+name}', ) command.response_representation = Google::Apis::ApphubV1alpha::Operation::Representation command.response_class = Google::Apis::ApphubV1alpha::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_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_location_application_workload(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApphubV1alpha::Operation
Deletes a Workload in an Application.
828 829 830 831 832 833 834 835 836 837 |
# File 'lib/google/apis/apphub_v1alpha/service.rb', line 828 def delete_project_location_application_workload(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1alpha/{+name}', ) command.response_representation = Google::Apis::ApphubV1alpha::Operation::Representation command.response_class = Google::Apis::ApphubV1alpha::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_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_location_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApphubV1alpha::Empty
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.
1262 1263 1264 1265 1266 1267 1268 1269 1270 |
# File 'lib/google/apis/apphub_v1alpha/service.rb', line 1262 def delete_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1alpha/{+name}', ) command.response_representation = Google::Apis::ApphubV1alpha::Empty::Representation command.response_class = Google::Apis::ApphubV1alpha::Empty 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_location_service_project_attachment(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApphubV1alpha::Operation
Deletes a service project attached to the host project.
1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 |
# File 'lib/google/apis/apphub_v1alpha/service.rb', line 1424 def (name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1alpha/{+name}', ) command.response_representation = Google::Apis::ApphubV1alpha::Operation::Representation command.response_class = Google::Apis::ApphubV1alpha::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_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 |
#detach_location_service_project_attachment(name, detach_service_project_attachment_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApphubV1alpha::DetachServiceProjectAttachmentResponse
Detaches a service project from a host project. You can call this API from either a host or service project.
76 77 78 79 80 81 82 83 84 85 86 |
# File 'lib/google/apis/apphub_v1alpha/service.rb', line 76 def (name, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1alpha/{+name}:detachServiceProjectAttachment', ) command.request_representation = Google::Apis::ApphubV1alpha::DetachServiceProjectAttachmentRequest::Representation command.request_object = command.response_representation = Google::Apis::ApphubV1alpha::DetachServiceProjectAttachmentResponse::Representation command.response_class = Google::Apis::ApphubV1alpha::DetachServiceProjectAttachmentResponse 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 |
#find_project_location_discovered_service_unregistered(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApphubV1alpha::FindUnregisteredServicesResponse
Finds unregistered services in a host project and location.
996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 |
# File 'lib/google/apis/apphub_v1alpha/service.rb', line 996 def find_project_location_discovered_service_unregistered(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, 'v1alpha/{+parent}/discoveredServices:findUnregistered', ) command.response_representation = Google::Apis::ApphubV1alpha::FindUnregisteredServicesResponse::Representation command.response_class = Google::Apis::ApphubV1alpha::FindUnregisteredServicesResponse 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 |
#find_project_location_discovered_workload_unregistered(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApphubV1alpha::FindUnregisteredWorkloadsResponse
Finds unregistered workloads in a host project and location.
1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 |
# File 'lib/google/apis/apphub_v1alpha/service.rb', line 1112 def find_project_location_discovered_workload_unregistered(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, 'v1alpha/{+parent}/discoveredWorkloads:findUnregistered', ) command.response_representation = Google::Apis::ApphubV1alpha::FindUnregisteredWorkloadsResponse::Representation command.response_class = Google::Apis::ApphubV1alpha::FindUnregisteredWorkloadsResponse 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 |
#get_project_location(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApphubV1alpha::Location
Gets information about a location.
108 109 110 111 112 113 114 115 116 |
# File 'lib/google/apis/apphub_v1alpha/service.rb', line 108 def get_project_location(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha/{+name}', ) command.response_representation = Google::Apis::ApphubV1alpha::Location::Representation command.response_class = Google::Apis::ApphubV1alpha::Location 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_location_application(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApphubV1alpha::Application
Gets an Application in a host project and location.
302 303 304 305 306 307 308 309 310 |
# File 'lib/google/apis/apphub_v1alpha/service.rb', line 302 def get_project_location_application(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha/{+name}', ) command.response_representation = Google::Apis::ApphubV1alpha::Application::Representation command.response_class = Google::Apis::ApphubV1alpha::Application 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_location_application_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApphubV1alpha::Policy
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
346 347 348 349 350 351 352 353 354 355 |
# File 'lib/google/apis/apphub_v1alpha/service.rb', line 346 def get_project_location_application_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha/{+resource}:getIamPolicy', ) command.response_representation = Google::Apis::ApphubV1alpha::Policy::Representation command.response_class = Google::Apis::ApphubV1alpha::Policy command.params['resource'] = resource unless resource.nil? command.query['options.requestedPolicyVersion'] = unless .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_location_application_service(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApphubV1alpha::Service
Gets a Service in an Application.
641 642 643 644 645 646 647 648 649 |
# File 'lib/google/apis/apphub_v1alpha/service.rb', line 641 def get_project_location_application_service(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha/{+name}', ) command.response_representation = Google::Apis::ApphubV1alpha::Service::Representation command.response_class = Google::Apis::ApphubV1alpha::Service 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_location_application_workload(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApphubV1alpha::Workload
Gets a Workload in an Application.
859 860 861 862 863 864 865 866 867 |
# File 'lib/google/apis/apphub_v1alpha/service.rb', line 859 def get_project_location_application_workload(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha/{+name}', ) command.response_representation = Google::Apis::ApphubV1alpha::Workload::Representation command.response_class = Google::Apis::ApphubV1alpha::Workload 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_location_discovered_service(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApphubV1alpha::DiscoveredService
Gets a discovered service in a host project and location.
1030 1031 1032 1033 1034 1035 1036 1037 1038 |
# File 'lib/google/apis/apphub_v1alpha/service.rb', line 1030 def get_project_location_discovered_service(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha/{+name}', ) command.response_representation = Google::Apis::ApphubV1alpha::DiscoveredService::Representation command.response_class = Google::Apis::ApphubV1alpha::DiscoveredService 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_location_discovered_workload(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApphubV1alpha::DiscoveredWorkload
Gets a discovered workload in a host project and location.
1146 1147 1148 1149 1150 1151 1152 1153 1154 |
# File 'lib/google/apis/apphub_v1alpha/service.rb', line 1146 def get_project_location_discovered_workload(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha/{+name}', ) command.response_representation = Google::Apis::ApphubV1alpha::DiscoveredWorkload::Representation command.response_class = Google::Apis::ApphubV1alpha::DiscoveredWorkload 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_location_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApphubV1alpha::Operation
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.
1293 1294 1295 1296 1297 1298 1299 1300 1301 |
# File 'lib/google/apis/apphub_v1alpha/service.rb', line 1293 def get_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha/{+name}', ) command.response_representation = Google::Apis::ApphubV1alpha::Operation::Representation command.response_class = Google::Apis::ApphubV1alpha::Operation 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_location_service_project_attachment(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApphubV1alpha::ServiceProjectAttachment
Gets a service project attached to the host project.
1455 1456 1457 1458 1459 1460 1461 1462 1463 |
# File 'lib/google/apis/apphub_v1alpha/service.rb', line 1455 def (name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha/{+name}', ) command.response_representation = Google::Apis::ApphubV1alpha::ServiceProjectAttachment::Representation command.response_class = Google::Apis::ApphubV1alpha::ServiceProjectAttachment 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_location_application_services(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApphubV1alpha::ListServicesResponse
List Services in an Application.
680 681 682 683 684 685 686 687 688 689 690 691 692 |
# File 'lib/google/apis/apphub_v1alpha/service.rb', line 680 def list_project_location_application_services(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, 'v1alpha/{+parent}/services', ) command.response_representation = Google::Apis::ApphubV1alpha::ListServicesResponse::Representation command.response_class = Google::Apis::ApphubV1alpha::ListServicesResponse 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_location_application_workloads(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApphubV1alpha::ListWorkloadsResponse
Lists Workloads in an Application.
898 899 900 901 902 903 904 905 906 907 908 909 910 |
# File 'lib/google/apis/apphub_v1alpha/service.rb', line 898 def list_project_location_application_workloads(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, 'v1alpha/{+parent}/workloads', ) command.response_representation = Google::Apis::ApphubV1alpha::ListWorkloadsResponse::Representation command.response_class = Google::Apis::ApphubV1alpha::ListWorkloadsResponse 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_location_applications(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApphubV1alpha::ListApplicationsResponse
Lists Applications in a host project and location.
386 387 388 389 390 391 392 393 394 395 396 397 398 |
# File 'lib/google/apis/apphub_v1alpha/service.rb', line 386 def list_project_location_applications(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, 'v1alpha/{+parent}/applications', ) command.response_representation = Google::Apis::ApphubV1alpha::ListApplicationsResponse::Representation command.response_class = Google::Apis::ApphubV1alpha::ListApplicationsResponse 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_location_discovered_services(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApphubV1alpha::ListDiscoveredServicesResponse
Lists discovered services in a host project and location.
1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 |
# File 'lib/google/apis/apphub_v1alpha/service.rb', line 1069 def list_project_location_discovered_services(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, 'v1alpha/{+parent}/discoveredServices', ) command.response_representation = Google::Apis::ApphubV1alpha::ListDiscoveredServicesResponse::Representation command.response_class = Google::Apis::ApphubV1alpha::ListDiscoveredServicesResponse 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_location_discovered_workloads(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApphubV1alpha::ListDiscoveredWorkloadsResponse
Lists discovered workloads in a host project and location.
1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 |
# File 'lib/google/apis/apphub_v1alpha/service.rb', line 1185 def list_project_location_discovered_workloads(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, 'v1alpha/{+parent}/discoveredWorkloads', ) command.response_representation = Google::Apis::ApphubV1alpha::ListDiscoveredWorkloadsResponse::Representation command.response_class = Google::Apis::ApphubV1alpha::ListDiscoveredWorkloadsResponse 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_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApphubV1alpha::ListOperationsResponse
Lists operations that match the specified filter in the request. If the server
doesn't support this method, it returns UNIMPLEMENTED.
1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 |
# File 'lib/google/apis/apphub_v1alpha/service.rb', line 1330 def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha/{+name}/operations', ) command.response_representation = Google::Apis::ApphubV1alpha::ListOperationsResponse::Representation command.response_class = Google::Apis::ApphubV1alpha::ListOperationsResponse 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_location_service_project_attachments(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApphubV1alpha::ListServiceProjectAttachmentsResponse
List service projects attached to the host project.
1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 |
# File 'lib/google/apis/apphub_v1alpha/service.rb', line 1494 def (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, 'v1alpha/{+parent}/serviceProjectAttachments', ) command.response_representation = Google::Apis::ApphubV1alpha::ListServiceProjectAttachmentsResponse::Representation command.response_class = Google::Apis::ApphubV1alpha::ListServiceProjectAttachmentsResponse 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_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApphubV1alpha::ListLocationsResponse
Lists information about the supported locations for this service.
148 149 150 151 152 153 154 155 156 157 158 159 |
# File 'lib/google/apis/apphub_v1alpha/service.rb', line 148 def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha/{+name}/locations', ) command.response_representation = Google::Apis::ApphubV1alpha::ListLocationsResponse::Representation command.response_class = Google::Apis::ApphubV1alpha::ListLocationsResponse 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 |
#lookup_project_location_service_project_attachment(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApphubV1alpha::LookupServiceProjectAttachmentResponse
Looks up a service project attachment. You can call this API from either a host or service project.
182 183 184 185 186 187 188 189 190 |
# File 'lib/google/apis/apphub_v1alpha/service.rb', line 182 def (name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1alpha/{+name}:lookupServiceProjectAttachment', ) command.response_representation = Google::Apis::ApphubV1alpha::LookupServiceProjectAttachmentResponse::Representation command.response_class = Google::Apis::ApphubV1alpha::LookupServiceProjectAttachmentResponse 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 |
#patch_project_location_application(name, application_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApphubV1alpha::Operation
Updates an Application in a host project and location.
441 442 443 444 445 446 447 448 449 450 451 452 453 |
# File 'lib/google/apis/apphub_v1alpha/service.rb', line 441 def patch_project_location_application(name, application_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1alpha/{+name}', ) command.request_representation = Google::Apis::ApphubV1alpha::Application::Representation command.request_object = application_object command.response_representation = Google::Apis::ApphubV1alpha::Operation::Representation command.response_class = Google::Apis::ApphubV1alpha::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.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_location_application_service(name, service_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApphubV1alpha::Operation
Updates a Service in an Application.
735 736 737 738 739 740 741 742 743 744 745 746 747 |
# File 'lib/google/apis/apphub_v1alpha/service.rb', line 735 def patch_project_location_application_service(name, service_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1alpha/{+name}', ) command.request_representation = Google::Apis::ApphubV1alpha::Service::Representation command.request_object = service_object command.response_representation = Google::Apis::ApphubV1alpha::Operation::Representation command.response_class = Google::Apis::ApphubV1alpha::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.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_location_application_workload(name, workload_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApphubV1alpha::Operation
Updates a Workload in an Application.
953 954 955 956 957 958 959 960 961 962 963 964 965 |
# File 'lib/google/apis/apphub_v1alpha/service.rb', line 953 def patch_project_location_application_workload(name, workload_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1alpha/{+name}', ) command.request_representation = Google::Apis::ApphubV1alpha::Workload::Representation command.request_object = workload_object command.response_representation = Google::Apis::ApphubV1alpha::Operation::Representation command.response_class = Google::Apis::ApphubV1alpha::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.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 |
#set_application_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApphubV1alpha::Policy
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and
PERMISSION_DENIED errors.
480 481 482 483 484 485 486 487 488 489 490 |
# File 'lib/google/apis/apphub_v1alpha/service.rb', line 480 def set_application_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1alpha/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::ApphubV1alpha::SetIamPolicyRequest::Representation command.request_object = set_iam_policy_request_object command.response_representation = Google::Apis::ApphubV1alpha::Policy::Representation command.response_class = Google::Apis::ApphubV1alpha::Policy command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#test_application_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApphubV1alpha::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of permissions, not a
NOT_FOUND error. Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization checking.
This operation may "fail open" without warning.
519 520 521 522 523 524 525 526 527 528 529 |
# File 'lib/google/apis/apphub_v1alpha/service.rb', line 519 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1alpha/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::ApphubV1alpha::TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ApphubV1alpha::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::ApphubV1alpha::TestIamPermissionsResponse command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |