Class: Google::Apis::CloudbillingV1beta::Array

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

An ordered collection of elements of arbitrary count.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Array

Returns a new instance of Array.



92
93
94
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 92

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

Instance Attribute Details

#elementArray<Google::Apis::CloudbillingV1beta::ValueProto>

The elements of the array. Corresponds to the JSON property element



90
91
92
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 90

def element
  @element
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



97
98
99
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 97

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