Class: Google::Apis::AnalyticshubV1beta1::AnalyticsHubService
- Inherits:
-
Core::BaseService
- Object
- Core::BaseService
- Google::Apis::AnalyticshubV1beta1::AnalyticsHubService
- Defined in:
- lib/google/apis/analyticshub_v1beta1/service.rb
Overview
Analytics Hub API
Exchange data and analytics assets securely and efficiently.
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
-
#create_project_location_data_exchange(parent, data_exchange_object = nil, data_exchange_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AnalyticshubV1beta1::DataExchange
Creates a new data exchange.
-
#create_project_location_data_exchange_listing(parent, listing_object = nil, listing_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AnalyticshubV1beta1::Listing
Creates a new listing.
-
#delete_project_location_data_exchange(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AnalyticshubV1beta1::Empty
Deletes an existing data exchange.
-
#delete_project_location_data_exchange_listing(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AnalyticshubV1beta1::Empty
Deletes a listing.
-
#get_data_exchange_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AnalyticshubV1beta1::Policy
Gets the IAM policy.
-
#get_listing_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AnalyticshubV1beta1::Policy
Gets the IAM policy.
-
#get_project_location(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AnalyticshubV1beta1::Location
Gets information about a location.
-
#get_project_location_data_exchange(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AnalyticshubV1beta1::DataExchange
Gets the details of a data exchange.
-
#get_project_location_data_exchange_listing(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AnalyticshubV1beta1::Listing
Gets the details of a listing.
-
#initialize ⇒ AnalyticsHubService
constructor
A new instance of AnalyticsHubService.
-
#list_organization_location_data_exchanges(organization, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AnalyticshubV1beta1::ListOrgDataExchangesResponse
Lists all data exchanges from projects in a given organization and location.
-
#list_project_location_data_exchange_listings(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AnalyticshubV1beta1::ListListingsResponse
Lists all listings in a given project and location.
-
#list_project_location_data_exchanges(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AnalyticshubV1beta1::ListDataExchangesResponse
Lists all data exchanges in a given project and location.
-
#list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AnalyticshubV1beta1::ListLocationsResponse
Lists information about the supported locations for this service.
-
#patch_project_location_data_exchange(name, data_exchange_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AnalyticshubV1beta1::DataExchange
Updates an existing data exchange.
-
#patch_project_location_data_exchange_listing(name, listing_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AnalyticshubV1beta1::Listing
Updates an existing listing.
-
#set_data_exchange_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AnalyticshubV1beta1::Policy
Sets the IAM policy.
-
#set_listing_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AnalyticshubV1beta1::Policy
Sets the IAM policy.
-
#subscribe_listing(name, subscribe_listing_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AnalyticshubV1beta1::SubscribeListingResponse
Subscribes to a listing.
-
#test_data_exchange_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AnalyticshubV1beta1::TestIamPermissionsResponse
Returns the permissions that a caller has.
-
#test_listing_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AnalyticshubV1beta1::TestIamPermissionsResponse
Returns the permissions that a caller has.
Constructor Details
#initialize ⇒ AnalyticsHubService
Returns a new instance of AnalyticsHubService.
45 46 47 48 49 50 |
# File 'lib/google/apis/analyticshub_v1beta1/service.rb', line 45 def initialize super('https://analyticshub.googleapis.com/', '', client_name: 'google-apis-analyticshub_v1beta1', client_version: Google::Apis::AnalyticshubV1beta1::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.
38 39 40 |
# File 'lib/google/apis/analyticshub_v1beta1/service.rb', line 38 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.
43 44 45 |
# File 'lib/google/apis/analyticshub_v1beta1/service.rb', line 43 def quota_user @quota_user end |
Instance Method Details
#create_project_location_data_exchange(parent, data_exchange_object = nil, data_exchange_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AnalyticshubV1beta1::DataExchange
Creates a new data exchange.
189 190 191 192 193 194 195 196 197 198 199 200 |
# File 'lib/google/apis/analyticshub_v1beta1/service.rb', line 189 def create_project_location_data_exchange(parent, data_exchange_object = nil, data_exchange_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+parent}/dataExchanges', ) command.request_representation = Google::Apis::AnalyticshubV1beta1::DataExchange::Representation command.request_object = data_exchange_object command.response_representation = Google::Apis::AnalyticshubV1beta1::DataExchange::Representation command.response_class = Google::Apis::AnalyticshubV1beta1::DataExchange command.params['parent'] = parent unless parent.nil? command.query['dataExchangeId'] = data_exchange_id unless data_exchange_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_data_exchange_listing(parent, listing_object = nil, listing_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AnalyticshubV1beta1::Listing
Creates a new listing.
469 470 471 472 473 474 475 476 477 478 479 480 |
# File 'lib/google/apis/analyticshub_v1beta1/service.rb', line 469 def create_project_location_data_exchange_listing(parent, listing_object = nil, listing_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+parent}/listings', ) command.request_representation = Google::Apis::AnalyticshubV1beta1::Listing::Representation command.request_object = listing_object command.response_representation = Google::Apis::AnalyticshubV1beta1::Listing::Representation command.response_class = Google::Apis::AnalyticshubV1beta1::Listing command.params['parent'] = parent unless parent.nil? command.query['listingId'] = listing_id unless listing_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_data_exchange(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AnalyticshubV1beta1::Empty
Deletes an existing data exchange.
223 224 225 226 227 228 229 230 231 |
# File 'lib/google/apis/analyticshub_v1beta1/service.rb', line 223 def delete_project_location_data_exchange(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::AnalyticshubV1beta1::Empty::Representation command.response_class = Google::Apis::AnalyticshubV1beta1::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_data_exchange_listing(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AnalyticshubV1beta1::Empty
Deletes a listing.
503 504 505 506 507 508 509 510 511 |
# File 'lib/google/apis/analyticshub_v1beta1/service.rb', line 503 def delete_project_location_data_exchange_listing(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::AnalyticshubV1beta1::Empty::Representation command.response_class = Google::Apis::AnalyticshubV1beta1::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 |
#get_data_exchange_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AnalyticshubV1beta1::Policy
Gets the IAM policy.
286 287 288 289 290 291 292 293 294 295 296 |
# File 'lib/google/apis/analyticshub_v1beta1/service.rb', line 286 def get_data_exchange_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+resource}:getIamPolicy', ) command.request_representation = Google::Apis::AnalyticshubV1beta1::GetIamPolicyRequest::Representation command.request_object = get_iam_policy_request_object command.response_representation = Google::Apis::AnalyticshubV1beta1::Policy::Representation command.response_class = Google::Apis::AnalyticshubV1beta1::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 |
#get_listing_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AnalyticshubV1beta1::Policy
Gets the IAM policy.
566 567 568 569 570 571 572 573 574 575 576 |
# File 'lib/google/apis/analyticshub_v1beta1/service.rb', line 566 def get_listing_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+resource}:getIamPolicy', ) command.request_representation = Google::Apis::AnalyticshubV1beta1::GetIamPolicyRequest::Representation command.request_object = get_iam_policy_request_object command.response_representation = Google::Apis::AnalyticshubV1beta1::Policy::Representation command.response_class = Google::Apis::AnalyticshubV1beta1::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 |
#get_project_location(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AnalyticshubV1beta1::Location
Gets information about a location.
110 111 112 113 114 115 116 117 118 |
# File 'lib/google/apis/analyticshub_v1beta1/service.rb', line 110 def get_project_location(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::AnalyticshubV1beta1::Location::Representation command.response_class = Google::Apis::AnalyticshubV1beta1::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_data_exchange(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AnalyticshubV1beta1::DataExchange
Gets the details of a data exchange.
254 255 256 257 258 259 260 261 262 |
# File 'lib/google/apis/analyticshub_v1beta1/service.rb', line 254 def get_project_location_data_exchange(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::AnalyticshubV1beta1::DataExchange::Representation command.response_class = Google::Apis::AnalyticshubV1beta1::DataExchange 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_data_exchange_listing(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AnalyticshubV1beta1::Listing
Gets the details of a listing.
534 535 536 537 538 539 540 541 542 |
# File 'lib/google/apis/analyticshub_v1beta1/service.rb', line 534 def get_project_location_data_exchange_listing(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}', ) command.response_representation = Google::Apis::AnalyticshubV1beta1::Listing::Representation command.response_class = Google::Apis::AnalyticshubV1beta1::Listing 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_organization_location_data_exchanges(organization, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AnalyticshubV1beta1::ListOrgDataExchangesResponse
Lists all data exchanges from projects in a given organization and location.
78 79 80 81 82 83 84 85 86 87 88 |
# File 'lib/google/apis/analyticshub_v1beta1/service.rb', line 78 def list_organization_location_data_exchanges(organization, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+organization}/dataExchanges', ) command.response_representation = Google::Apis::AnalyticshubV1beta1::ListOrgDataExchangesResponse::Representation command.response_class = Google::Apis::AnalyticshubV1beta1::ListOrgDataExchangesResponse command.params['organization'] = organization unless organization.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_data_exchange_listings(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AnalyticshubV1beta1::ListListingsResponse
Lists all listings in a given project and location.
604 605 606 607 608 609 610 611 612 613 614 |
# File 'lib/google/apis/analyticshub_v1beta1/service.rb', line 604 def list_project_location_data_exchange_listings(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+parent}/listings', ) command.response_representation = Google::Apis::AnalyticshubV1beta1::ListListingsResponse::Representation command.response_class = Google::Apis::AnalyticshubV1beta1::ListListingsResponse 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_location_data_exchanges(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AnalyticshubV1beta1::ListDataExchangesResponse
Lists all data exchanges in a given project and location.
324 325 326 327 328 329 330 331 332 333 334 |
# File 'lib/google/apis/analyticshub_v1beta1/service.rb', line 324 def list_project_location_data_exchanges(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+parent}/dataExchanges', ) command.response_representation = Google::Apis::AnalyticshubV1beta1::ListDataExchangesResponse::Representation command.response_class = Google::Apis::AnalyticshubV1beta1::ListDataExchangesResponse 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_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AnalyticshubV1beta1::ListLocationsResponse
Lists information about the supported locations for this service.
150 151 152 153 154 155 156 157 158 159 160 161 |
# File 'lib/google/apis/analyticshub_v1beta1/service.rb', line 150 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, 'v1beta1/{+name}/locations', ) command.response_representation = Google::Apis::AnalyticshubV1beta1::ListLocationsResponse::Representation command.response_class = Google::Apis::AnalyticshubV1beta1::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 |
#patch_project_location_data_exchange(name, data_exchange_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AnalyticshubV1beta1::DataExchange
Updates an existing data exchange.
362 363 364 365 366 367 368 369 370 371 372 373 |
# File 'lib/google/apis/analyticshub_v1beta1/service.rb', line 362 def patch_project_location_data_exchange(name, data_exchange_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1beta1/{+name}', ) command.request_representation = Google::Apis::AnalyticshubV1beta1::DataExchange::Representation command.request_object = data_exchange_object command.response_representation = Google::Apis::AnalyticshubV1beta1::DataExchange::Representation command.response_class = Google::Apis::AnalyticshubV1beta1::DataExchange 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_location_data_exchange_listing(name, listing_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AnalyticshubV1beta1::Listing
Updates an existing listing.
642 643 644 645 646 647 648 649 650 651 652 653 |
# File 'lib/google/apis/analyticshub_v1beta1/service.rb', line 642 def patch_project_location_data_exchange_listing(name, listing_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1beta1/{+name}', ) command.request_representation = Google::Apis::AnalyticshubV1beta1::Listing::Representation command.request_object = listing_object command.response_representation = Google::Apis::AnalyticshubV1beta1::Listing::Representation command.response_class = Google::Apis::AnalyticshubV1beta1::Listing 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 |
#set_data_exchange_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AnalyticshubV1beta1::Policy
Sets the IAM policy.
397 398 399 400 401 402 403 404 405 406 407 |
# File 'lib/google/apis/analyticshub_v1beta1/service.rb', line 397 def set_data_exchange_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::AnalyticshubV1beta1::SetIamPolicyRequest::Representation command.request_object = set_iam_policy_request_object command.response_representation = Google::Apis::AnalyticshubV1beta1::Policy::Representation command.response_class = Google::Apis::AnalyticshubV1beta1::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 |
#set_listing_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AnalyticshubV1beta1::Policy
Sets the IAM policy.
677 678 679 680 681 682 683 684 685 686 687 |
# File 'lib/google/apis/analyticshub_v1beta1/service.rb', line 677 def set_listing_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::AnalyticshubV1beta1::SetIamPolicyRequest::Representation command.request_object = set_iam_policy_request_object command.response_representation = Google::Apis::AnalyticshubV1beta1::Policy::Representation command.response_class = Google::Apis::AnalyticshubV1beta1::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 |
#subscribe_listing(name, subscribe_listing_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AnalyticshubV1beta1::SubscribeListingResponse
Subscribes to a listing. Currently, with Analytics Hub, you can create listings that reference only BigQuery datasets. Upon subscription to a listing for a BigQuery dataset, Analytics Hub creates a linked dataset in the subscriber's project.
714 715 716 717 718 719 720 721 722 723 724 |
# File 'lib/google/apis/analyticshub_v1beta1/service.rb', line 714 def subscribe_listing(name, subscribe_listing_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+name}:subscribe', ) command.request_representation = Google::Apis::AnalyticshubV1beta1::SubscribeListingRequest::Representation command.request_object = subscribe_listing_request_object command.response_representation = Google::Apis::AnalyticshubV1beta1::SubscribeListingResponse::Representation command.response_class = Google::Apis::AnalyticshubV1beta1::SubscribeListingResponse 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 |
#test_data_exchange_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AnalyticshubV1beta1::TestIamPermissionsResponse
Returns the permissions that a caller has.
431 432 433 434 435 436 437 438 439 440 441 |
# File 'lib/google/apis/analyticshub_v1beta1/service.rb', line 431 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::AnalyticshubV1beta1::TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::AnalyticshubV1beta1::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::AnalyticshubV1beta1::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 |
#test_listing_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::AnalyticshubV1beta1::TestIamPermissionsResponse
Returns the permissions that a caller has.
748 749 750 751 752 753 754 755 756 757 758 |
# File 'lib/google/apis/analyticshub_v1beta1/service.rb', line 748 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::AnalyticshubV1beta1::TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::AnalyticshubV1beta1::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::AnalyticshubV1beta1::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 |