Class: Google::Apis::CloudbillingV1beta::BillingData

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

Overview

Encapsulates billing data.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BillingData

Returns a new instance of BillingData.



116
117
118
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 116

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

Instance Attribute Details

#column_infoArray<Google::Apis::CloudbillingV1beta::ColumnInfo>

Information about columns. Corresponds to the JSON property columnInfo



109
110
111
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 109

def column_info
  @column_info
end

#rowsArray<Google::Apis::CloudbillingV1beta::Row>

Rows. Corresponds to the JSON property rows



114
115
116
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 114

def rows
  @rows
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



121
122
123
124
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 121

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