Class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1Row

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

Overview

A row of report values.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudChannelV1Row

Returns a new instance of GoogleCloudChannelV1Row.



3186
3187
3188
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3186

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

Instance Attribute Details

#partition_keyString

The key for the partition this row belongs to. This field is empty if the report is not partitioned. Corresponds to the JSON property partitionKey

Returns:

  • (String)


3179
3180
3181
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3179

def partition_key
  @partition_key
end

#valuesArray<Google::Apis::CloudchannelV1::GoogleCloudChannelV1ReportValue>

The list of values in the row. Corresponds to the JSON property values



3184
3185
3186
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3184

def values
  @values
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3191
3192
3193
3194
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3191

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