Class: Google::Apis::CloudbillingV1::ListProjectBillingInfoResponse

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/cloudbilling_v1/classes.rb,
generated/google/apis/cloudbilling_v1/representations.rb,
generated/google/apis/cloudbilling_v1/representations.rb

Overview

Request message for ListProjectBillingInfoResponse.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ListProjectBillingInfoResponse

Returns a new instance of ListProjectBillingInfoResponse



350
351
352
# File 'generated/google/apis/cloudbilling_v1/classes.rb', line 350

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#next_page_tokenString

A token to retrieve the next page of results. To retrieve the next page, call ListProjectBillingInfo again with the page_token field set to this value. This field is empty if there are no more results to retrieve. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


342
343
344
# File 'generated/google/apis/cloudbilling_v1/classes.rb', line 342

def next_page_token
  @next_page_token
end

#project_billing_infoArray<Google::Apis::CloudbillingV1::ProjectBillingInfo>

A list of ProjectBillingInfo resources representing the projects associated with the billing account. Corresponds to the JSON property projectBillingInfo



348
349
350
# File 'generated/google/apis/cloudbilling_v1/classes.rb', line 348

def project_billing_info
  @project_billing_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



355
356
357
358
# File 'generated/google/apis/cloudbilling_v1/classes.rb', line 355

def update!(**args)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
  @project_billing_info = args[:project_billing_info] if args.key?(:project_billing_info)
end