Class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1Column
- Inherits:
-
Object
- Object
- Google::Apis::CloudchannelV1::GoogleCloudChannelV1Column
- 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
The definition of a report column. Specifies the data properties in the corresponding position of the report rows.
Instance Attribute Summary collapse
-
#column_id ⇒ String
The unique name of the column (for example, customer_domain, channel_partner, customer_cost).
-
#data_type ⇒ String
The type of the values for this column.
-
#display_name ⇒ String
The column's display name.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudChannelV1Column
constructor
A new instance of GoogleCloudChannelV1Column.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudChannelV1Column
Returns a new instance of GoogleCloudChannelV1Column.
655 656 657 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 655 def initialize(**args) update!(**args) end |
Instance Attribute Details
#column_id ⇒ String
The unique name of the column (for example, customer_domain, channel_partner,
customer_cost). You can use column IDs in RunReportJobRequest.filter. To see
all reports and their columns, call CloudChannelReportsService.ListReports.
Corresponds to the JSON property columnId
643 644 645 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 643 def column_id @column_id end |
#data_type ⇒ String
The type of the values for this column.
Corresponds to the JSON property dataType
648 649 650 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 648 def data_type @data_type end |
#display_name ⇒ String
The column's display name.
Corresponds to the JSON property displayName
653 654 655 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 653 def display_name @display_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
660 661 662 663 664 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 660 def update!(**args) @column_id = args[:column_id] if args.key?(:column_id) @data_type = args[:data_type] if args.key?(:data_type) @display_name = args[:display_name] if args.key?(:display_name) end |