Class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1Column

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

The definition of a report column. Specifies the data properties in the corresponding position of the report rows.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudChannelV1alpha1Column

Returns a new instance of GoogleCloudChannelV1alpha1Column.



3797
3798
3799
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3797

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

Instance Attribute Details

#column_idString

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

Returns:

  • (String)


3785
3786
3787
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3785

def column_id
  @column_id
end

#data_typeString

The type of the values for this column. Corresponds to the JSON property dataType

Returns:

  • (String)


3790
3791
3792
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3790

def data_type
  @data_type
end

#display_nameString

The column's display name. Corresponds to the JSON property displayName

Returns:

  • (String)


3795
3796
3797
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3795

def display_name
  @display_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3802
3803
3804
3805
3806
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3802

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