Class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1Row
- Inherits:
-
Object
- Object
- Google::Apis::CloudchannelV1::GoogleCloudChannelV1Row
- 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
-
#partition_key ⇒ String
The key for the partition this row belongs to.
-
#values ⇒ Array<Google::Apis::CloudchannelV1::GoogleCloudChannelV1ReportValue>
The list of values in the row.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudChannelV1Row
constructor
A new instance of GoogleCloudChannelV1Row.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudChannelV1Row
Returns a new instance of GoogleCloudChannelV1Row.
3119 3120 3121 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3119 def initialize(**args) update!(**args) end |
Instance Attribute Details
#partition_key ⇒ String
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
3112 3113 3114 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3112 def partition_key @partition_key end |
#values ⇒ Array<Google::Apis::CloudchannelV1::GoogleCloudChannelV1ReportValue>
The list of values in the row.
Corresponds to the JSON property values
3117 3118 3119 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3117 def values @values end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3124 3125 3126 3127 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3124 def update!(**args) @partition_key = args[:partition_key] if args.key?(:partition_key) @values = args[:values] if args.key?(:values) end |