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



91
92
93
# File 'generated/google/apis/cloudbilling_v1/classes.rb', line 91

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)


83
84
85
# File 'generated/google/apis/cloudbilling_v1/classes.rb', line 83

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



89
90
91
# File 'generated/google/apis/cloudbilling_v1/classes.rb', line 89

def project_billing_info
  @project_billing_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



96
97
98
99
# File 'generated/google/apis/cloudbilling_v1/classes.rb', line 96

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