Class: Google::Cloud::Channel::V1::Column

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/channel/v1/reports_service.rb

Overview

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

Defined Under Namespace

Modules: DataType

Instance Attribute Summary collapse

Instance Attribute Details

#column_id::String

Returns 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.

Returns:



232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
# File 'proto_docs/google/cloud/channel/v1/reports_service.rb', line 232

class Column
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Available data types for columns. Corresponds to the fields in the
  # ReportValue `oneof` field.
  module DataType
    # Not used.
    DATA_TYPE_UNSPECIFIED = 0

    # ReportValues for this column will use string_value.
    STRING = 1

    # ReportValues for this column will use int_value.
    INT = 2

    # ReportValues for this column will use decimal_value.
    DECIMAL = 3

    # ReportValues for this column will use money_value.
    MONEY = 4

    # ReportValues for this column will use date_value.
    DATE = 5

    # ReportValues for this column will use date_time_value.
    DATE_TIME = 6
  end
end

#data_type::Google::Cloud::Channel::V1::Column::DataType

Returns The type of the values for this column.

Returns:



232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
# File 'proto_docs/google/cloud/channel/v1/reports_service.rb', line 232

class Column
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Available data types for columns. Corresponds to the fields in the
  # ReportValue `oneof` field.
  module DataType
    # Not used.
    DATA_TYPE_UNSPECIFIED = 0

    # ReportValues for this column will use string_value.
    STRING = 1

    # ReportValues for this column will use int_value.
    INT = 2

    # ReportValues for this column will use decimal_value.
    DECIMAL = 3

    # ReportValues for this column will use money_value.
    MONEY = 4

    # ReportValues for this column will use date_value.
    DATE = 5

    # ReportValues for this column will use date_time_value.
    DATE_TIME = 6
  end
end

#display_name::String

Returns The column's display name.

Returns:

  • (::String)

    The column's display name.



232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
# File 'proto_docs/google/cloud/channel/v1/reports_service.rb', line 232

class Column
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Available data types for columns. Corresponds to the fields in the
  # ReportValue `oneof` field.
  module DataType
    # Not used.
    DATA_TYPE_UNSPECIFIED = 0

    # ReportValues for this column will use string_value.
    STRING = 1

    # ReportValues for this column will use int_value.
    INT = 2

    # ReportValues for this column will use decimal_value.
    DECIMAL = 3

    # ReportValues for this column will use money_value.
    MONEY = 4

    # ReportValues for this column will use date_value.
    DATE = 5

    # ReportValues for this column will use date_time_value.
    DATE_TIME = 6
  end
end