Class: Google::Apis::CloudbillingV1beta::CloudbillingService
- Inherits:
-
Google::Apis::Core::BaseService
- Object
- Google::Apis::Core::BaseService
- Google::Apis::CloudbillingV1beta::CloudbillingService
- Defined in:
- lib/google/apis/cloudbilling_v1beta/service.rb
Overview
Cloud Billing API
Allows developers to manage billing for their Google Cloud Platform projects programmatically.
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
-
#estimate_cost_scenario_for_billing_account(billing_account, estimate_cost_scenario_for_billing_account_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::CloudbillingV1beta::EstimateCostScenarioForBillingAccountResponse
Use custom pricing in the estimate, using a
CostScenariowith a definedbillingAccount. -
#estimate_cost_scenario_with_list_price(estimate_cost_scenario_with_list_price_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::CloudbillingV1beta::EstimateCostScenarioWithListPriceResponse
Estimate list prices using a
CostScenariowithout a definedbillingAccount. -
#get_billing_account_service(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountservicesV1betaBillingAccountService
Gets a Google Cloud service visible to a billing account.
-
#get_billing_account_sku(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountskusV1betaBillingAccountSku
Gets a SKU visible to a billing account.
-
#get_billing_account_sku_group(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountskugroupsV1betaBillingAccountSkuGroup
Gets a SKU group visible to a billing account.
-
#get_billing_account_sku_group_sku(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountskugroupskusV1betaBillingAccountSkuGroupSku
Gets a SKU that is part of a billing account SKU group.
-
#get_billing_account_sku_price(name, currency_code: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountpricesV1betaBillingAccountPrice
Gets the latest price for the given billing account SKU.
-
#get_sku_group(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::CloudbillingV1beta::GoogleCloudBillingSkugroupsV1betaSkuGroup
Gets a publicly listed SKU group.
-
#get_sku_group_sku(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::CloudbillingV1beta::GoogleCloudBillingSkugroupskusV1betaSkuGroupSku
Gets a publicly listed SKU that is part of a publicly listed SKU group.
-
#get_sku_price(name, currency_code: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::CloudbillingV1beta::GoogleCloudBillingPricesV1betaPrice
Gets the latest price for the given SKU.
-
#initialize ⇒ CloudbillingService
constructor
A new instance of CloudbillingService.
-
#list_billing_account_services(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountservicesV1betaListBillingAccountServicesResponse
Lists services visible to a billing account.
-
#list_billing_account_sku_group_skus(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountskugroupskusV1betaListBillingAccountSkuGroupSkusResponse
Lists SKUs that is part of billing account SKU groups.
-
#list_billing_account_sku_groups(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountskugroupsV1betaListBillingAccountSkuGroupsResponse
Lists SKU groups visible to a billing account.
-
#list_billing_account_skus(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountskusV1betaListBillingAccountSkusResponse
Lists SKUs visible to a billing account.
-
#list_sku_group_skus(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::CloudbillingV1beta::GoogleCloudBillingSkugroupskusV1betaListSkuGroupSkusResponse
Lists all publicly listed SKUs contained by a publicly listed SKU group.
-
#list_sku_groups(page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::CloudbillingV1beta::GoogleCloudBillingSkugroupsV1betaListSkuGroupsResponse
Lists all publicly listed SKU groups.
Constructor Details
#initialize ⇒ CloudbillingService
Returns a new instance of CloudbillingService.
46 47 48 49 50 51 |
# File 'lib/google/apis/cloudbilling_v1beta/service.rb', line 46 def initialize super('https://cloudbilling.googleapis.com/', '', client_name: 'google-apis-cloudbilling_v1beta', client_version: Google::Apis::CloudbillingV1beta::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.
39 40 41 |
# File 'lib/google/apis/cloudbilling_v1beta/service.rb', line 39 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.
44 45 46 |
# File 'lib/google/apis/cloudbilling_v1beta/service.rb', line 44 def quota_user @quota_user end |
Instance Method Details
#estimate_cost_scenario_for_billing_account(billing_account, estimate_cost_scenario_for_billing_account_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::CloudbillingV1beta::EstimateCostScenarioForBillingAccountResponse
Use custom pricing in the estimate, using a CostScenario with a defined
billingAccount.
78 79 80 81 82 83 84 85 86 87 88 |
# File 'lib/google/apis/cloudbilling_v1beta/service.rb', line 78 def estimate_cost_scenario_for_billing_account(billing_account, estimate_cost_scenario_for_billing_account_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta/{+billingAccount}:estimateCostScenario', ) command.request_representation = Google::Apis::CloudbillingV1beta::EstimateCostScenarioForBillingAccountRequest::Representation command.request_object = estimate_cost_scenario_for_billing_account_request_object command.response_representation = Google::Apis::CloudbillingV1beta::EstimateCostScenarioForBillingAccountResponse::Representation command.response_class = Google::Apis::CloudbillingV1beta::EstimateCostScenarioForBillingAccountResponse command.params['billingAccount'] = billing_account unless billing_account.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#estimate_cost_scenario_with_list_price(estimate_cost_scenario_with_list_price_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::CloudbillingV1beta::EstimateCostScenarioWithListPriceResponse
Estimate list prices using a CostScenario without a defined billingAccount.
601 602 603 604 605 606 607 608 609 610 |
# File 'lib/google/apis/cloudbilling_v1beta/service.rb', line 601 def estimate_cost_scenario_with_list_price(estimate_cost_scenario_with_list_price_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta:estimateCostScenario', ) command.request_representation = Google::Apis::CloudbillingV1beta::EstimateCostScenarioWithListPriceRequest::Representation command.request_object = estimate_cost_scenario_with_list_price_request_object command.response_representation = Google::Apis::CloudbillingV1beta::EstimateCostScenarioWithListPriceResponse::Representation command.response_class = Google::Apis::CloudbillingV1beta::EstimateCostScenarioWithListPriceResponse command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_billing_account_service(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountservicesV1betaBillingAccountService
Gets a Google Cloud service visible to a billing account.
111 112 113 114 115 116 117 118 119 |
# File 'lib/google/apis/cloudbilling_v1beta/service.rb', line 111 def get_billing_account_service(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+name}', ) command.response_representation = Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountservicesV1betaBillingAccountService::Representation command.response_class = Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountservicesV1betaBillingAccountService 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_billing_account_sku(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountskusV1betaBillingAccountSku
Gets a SKU visible to a billing account.
324 325 326 327 328 329 330 331 332 |
# File 'lib/google/apis/cloudbilling_v1beta/service.rb', line 324 def get_billing_account_sku(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+name}', ) command.response_representation = Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountskusV1betaBillingAccountSku::Representation command.response_class = Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountskusV1betaBillingAccountSku 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_billing_account_sku_group(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountskugroupsV1betaBillingAccountSkuGroup
Gets a SKU group visible to a billing account.
182 183 184 185 186 187 188 189 190 |
# File 'lib/google/apis/cloudbilling_v1beta/service.rb', line 182 def get_billing_account_sku_group(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+name}', ) command.response_representation = Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountskugroupsV1betaBillingAccountSkuGroup::Representation command.response_class = Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountskugroupsV1betaBillingAccountSkuGroup 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_billing_account_sku_group_sku(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountskugroupskusV1betaBillingAccountSkuGroupSku
Gets a SKU that is part of a billing account SKU group.
253 254 255 256 257 258 259 260 261 |
# File 'lib/google/apis/cloudbilling_v1beta/service.rb', line 253 def get_billing_account_sku_group_sku(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+name}', ) command.response_representation = Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountskugroupskusV1betaBillingAccountSkuGroupSku::Representation command.response_class = Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountskugroupskusV1betaBillingAccountSkuGroupSku 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_billing_account_sku_price(name, currency_code: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountpricesV1betaBillingAccountPrice
Gets the latest price for the given billing account SKU.
403 404 405 406 407 408 409 410 411 412 |
# File 'lib/google/apis/cloudbilling_v1beta/service.rb', line 403 def get_billing_account_sku_price(name, currency_code: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+name}', ) command.response_representation = Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountpricesV1betaBillingAccountPrice::Representation command.response_class = Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountpricesV1betaBillingAccountPrice command.params['name'] = name unless name.nil? command.query['currencyCode'] = currency_code unless currency_code.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_sku_group(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::CloudbillingV1beta::GoogleCloudBillingSkugroupsV1betaSkuGroup
Gets a publicly listed SKU group.
434 435 436 437 438 439 440 441 442 |
# File 'lib/google/apis/cloudbilling_v1beta/service.rb', line 434 def get_sku_group(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+name}', ) command.response_representation = Google::Apis::CloudbillingV1beta::GoogleCloudBillingSkugroupsV1betaSkuGroup::Representation command.response_class = Google::Apis::CloudbillingV1beta::GoogleCloudBillingSkugroupsV1betaSkuGroup 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_sku_group_sku(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::CloudbillingV1beta::GoogleCloudBillingSkugroupskusV1betaSkuGroupSku
Gets a publicly listed SKU that is part of a publicly listed SKU group.
500 501 502 503 504 505 506 507 508 |
# File 'lib/google/apis/cloudbilling_v1beta/service.rb', line 500 def get_sku_group_sku(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+name}', ) command.response_representation = Google::Apis::CloudbillingV1beta::GoogleCloudBillingSkugroupskusV1betaSkuGroupSku::Representation command.response_class = Google::Apis::CloudbillingV1beta::GoogleCloudBillingSkugroupskusV1betaSkuGroupSku 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_sku_price(name, currency_code: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::CloudbillingV1beta::GoogleCloudBillingPricesV1betaPrice
Gets the latest price for the given SKU.
571 572 573 574 575 576 577 578 579 580 |
# File 'lib/google/apis/cloudbilling_v1beta/service.rb', line 571 def get_sku_price(name, currency_code: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+name}', ) command.response_representation = Google::Apis::CloudbillingV1beta::GoogleCloudBillingPricesV1betaPrice::Representation command.response_class = Google::Apis::CloudbillingV1beta::GoogleCloudBillingPricesV1betaPrice command.params['name'] = name unless name.nil? command.query['currencyCode'] = currency_code unless currency_code.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_billing_account_services(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountservicesV1betaListBillingAccountServicesResponse
Lists services visible to a billing account.
149 150 151 152 153 154 155 156 157 158 159 |
# File 'lib/google/apis/cloudbilling_v1beta/service.rb', line 149 def list_billing_account_services(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+parent}/services', ) command.response_representation = Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountservicesV1betaListBillingAccountServicesResponse::Representation command.response_class = Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountservicesV1betaListBillingAccountServicesResponse 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_billing_account_sku_group_skus(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountskugroupskusV1betaListBillingAccountSkuGroupSkusResponse
Lists SKUs that is part of billing account SKU groups.
291 292 293 294 295 296 297 298 299 300 301 |
# File 'lib/google/apis/cloudbilling_v1beta/service.rb', line 291 def list_billing_account_sku_group_skus(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+parent}/skus', ) command.response_representation = Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountskugroupskusV1betaListBillingAccountSkuGroupSkusResponse::Representation command.response_class = Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountskugroupskusV1betaListBillingAccountSkuGroupSkusResponse 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_billing_account_sku_groups(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountskugroupsV1betaListBillingAccountSkuGroupsResponse
Lists SKU groups visible to a billing account.
220 221 222 223 224 225 226 227 228 229 230 |
# File 'lib/google/apis/cloudbilling_v1beta/service.rb', line 220 def list_billing_account_sku_groups(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+parent}/skuGroups', ) command.response_representation = Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountskugroupsV1betaListBillingAccountSkuGroupsResponse::Representation command.response_class = Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountskugroupsV1betaListBillingAccountSkuGroupsResponse 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_billing_account_skus(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountskusV1betaListBillingAccountSkusResponse
Lists SKUs visible to a billing account.
366 367 368 369 370 371 372 373 374 375 376 377 |
# File 'lib/google/apis/cloudbilling_v1beta/service.rb', line 366 def list_billing_account_skus(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+parent}/skus', ) command.response_representation = Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountskusV1betaListBillingAccountSkusResponse::Representation command.response_class = Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountskusV1betaListBillingAccountSkusResponse 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 |
#list_sku_group_skus(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::CloudbillingV1beta::GoogleCloudBillingSkugroupskusV1betaListSkuGroupSkusResponse
Lists all publicly listed SKUs contained by a publicly listed SKU group.
536 537 538 539 540 541 542 543 544 545 546 |
# File 'lib/google/apis/cloudbilling_v1beta/service.rb', line 536 def list_sku_group_skus(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+parent}/skus', ) command.response_representation = Google::Apis::CloudbillingV1beta::GoogleCloudBillingSkugroupskusV1betaListSkuGroupSkusResponse::Representation command.response_class = Google::Apis::CloudbillingV1beta::GoogleCloudBillingSkugroupskusV1betaListSkuGroupSkusResponse 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_sku_groups(page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::CloudbillingV1beta::GoogleCloudBillingSkugroupsV1betaListSkuGroupsResponse
Lists all publicly listed SKU groups.
468 469 470 471 472 473 474 475 476 477 |
# File 'lib/google/apis/cloudbilling_v1beta/service.rb', line 468 def list_sku_groups(page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/skuGroups', ) command.response_representation = Google::Apis::CloudbillingV1beta::GoogleCloudBillingSkugroupsV1betaListSkuGroupsResponse::Representation command.response_class = Google::Apis::CloudbillingV1beta::GoogleCloudBillingSkugroupsV1betaListSkuGroupsResponse 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 |