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.
Constant Summary collapse
- DEFAULT_ENDPOINT_TEMPLATE =
"https://cloudbilling.$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
-
#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 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
CostScenario
without 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 SKUs available to your Cloud Billing account.
-
#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_sku_prices(parent, currency_code: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountpricesV1betaListBillingAccountPricesResponse
Lists the latest prices for SKUs available to your Cloud 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.
-
#list_sku_prices(parent, currency_code: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::CloudbillingV1beta::GoogleCloudBillingPricesV1betaListPricesResponse
Lists the latest prices for all SKUs.
Constructor Details
#initialize ⇒ CloudbillingService
Returns a new instance of CloudbillingService.
48 49 50 51 52 53 |
# File 'lib/google/apis/cloudbilling_v1beta/service.rb', line 48 def initialize super(DEFAULT_ENDPOINT_TEMPLATE, '', 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.
41 42 43 |
# File 'lib/google/apis/cloudbilling_v1beta/service.rb', line 41 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.
46 47 48 |
# File 'lib/google/apis/cloudbilling_v1beta/service.rb', line 46 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
.
80 81 82 83 84 85 86 87 88 89 90 |
# File 'lib/google/apis/cloudbilling_v1beta/service.rb', line 80 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
.
692 693 694 695 696 697 698 699 700 701 |
# File 'lib/google/apis/cloudbilling_v1beta/service.rb', line 692 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.
113 114 115 116 117 118 119 120 121 |
# File 'lib/google/apis/cloudbilling_v1beta/service.rb', line 113 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.
326 327 328 329 330 331 332 333 334 |
# File 'lib/google/apis/cloudbilling_v1beta/service.rb', line 326 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.
184 185 186 187 188 189 190 191 192 |
# File 'lib/google/apis/cloudbilling_v1beta/service.rb', line 184 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.
255 256 257 258 259 260 261 262 263 |
# File 'lib/google/apis/cloudbilling_v1beta/service.rb', line 255 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 SKUs available to your Cloud Billing account.
405 406 407 408 409 410 411 412 413 414 |
# File 'lib/google/apis/cloudbilling_v1beta/service.rb', line 405 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.
481 482 483 484 485 486 487 488 489 |
# File 'lib/google/apis/cloudbilling_v1beta/service.rb', line 481 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.
547 548 549 550 551 552 553 554 555 |
# File 'lib/google/apis/cloudbilling_v1beta/service.rb', line 547 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.
618 619 620 621 622 623 624 625 626 627 |
# File 'lib/google/apis/cloudbilling_v1beta/service.rb', line 618 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.
151 152 153 154 155 156 157 158 159 160 161 |
# File 'lib/google/apis/cloudbilling_v1beta/service.rb', line 151 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.
293 294 295 296 297 298 299 300 301 302 303 |
# File 'lib/google/apis/cloudbilling_v1beta/service.rb', line 293 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.
222 223 224 225 226 227 228 229 230 231 232 |
# File 'lib/google/apis/cloudbilling_v1beta/service.rb', line 222 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_sku_prices(parent, currency_code: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountpricesV1betaListBillingAccountPricesResponse
Lists the latest prices for SKUs available to your Cloud Billing account.
448 449 450 451 452 453 454 455 456 457 458 459 |
# File 'lib/google/apis/cloudbilling_v1beta/service.rb', line 448 def list_billing_account_sku_prices(parent, currency_code: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+parent}/prices', ) command.response_representation = Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountpricesV1betaListBillingAccountPricesResponse::Representation command.response_class = Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountpricesV1betaListBillingAccountPricesResponse command.params['parent'] = parent unless parent.nil? command.query['currencyCode'] = currency_code unless currency_code.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.
368 369 370 371 372 373 374 375 376 377 378 379 |
# File 'lib/google/apis/cloudbilling_v1beta/service.rb', line 368 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.
583 584 585 586 587 588 589 590 591 592 593 |
# File 'lib/google/apis/cloudbilling_v1beta/service.rb', line 583 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.
515 516 517 518 519 520 521 522 523 524 |
# File 'lib/google/apis/cloudbilling_v1beta/service.rb', line 515 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 |
#list_sku_prices(parent, currency_code: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::CloudbillingV1beta::GoogleCloudBillingPricesV1betaListPricesResponse
Lists the latest prices for all SKUs.
660 661 662 663 664 665 666 667 668 669 670 671 |
# File 'lib/google/apis/cloudbilling_v1beta/service.rb', line 660 def list_sku_prices(parent, currency_code: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+parent}/prices', ) command.response_representation = Google::Apis::CloudbillingV1beta::GoogleCloudBillingPricesV1betaListPricesResponse::Representation command.response_class = Google::Apis::CloudbillingV1beta::GoogleCloudBillingPricesV1betaListPricesResponse command.params['parent'] = parent unless parent.nil? command.query['currencyCode'] = currency_code unless currency_code.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 |