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

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

Overview

Request message for ListProjectBillingInfoResponse.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListProjectBillingInfoResponse

Returns a new instance of ListProjectBillingInfoResponse.



463
464
465
# File 'lib/google/apis/cloudbilling_v1/classes.rb', line 463

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)


455
456
457
# File 'lib/google/apis/cloudbilling_v1/classes.rb', line 455

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



461
462
463
# File 'lib/google/apis/cloudbilling_v1/classes.rb', line 461

def project_billing_info
  @project_billing_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



468
469
470
471
# File 'lib/google/apis/cloudbilling_v1/classes.rb', line 468

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