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.



108
109
110
# File 'generated/google/apis/cloudbilling_v1/classes.rb', line 108

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)


106
107
108
# File 'generated/google/apis/cloudbilling_v1/classes.rb', line 106

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



99
100
101
# File 'generated/google/apis/cloudbilling_v1/classes.rb', line 99

def project_billing_info
  @project_billing_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



113
114
115
116
# File 'generated/google/apis/cloudbilling_v1/classes.rb', line 113

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