Class Column (1.12.1)

Stay organized with collections Save and categorize content based on your preferences.
Column(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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

Attributes

NameDescription
column_id str
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.
display_name str
The column's display name.
data_type google.cloud.channel_v1.types.Column.DataType
The type of the values for this column.

Classes

DataType

DataType(value)

Available data types for columns. Corresponds to the fields in the ReportValue oneof field.

Values: DATA_TYPE_UNSPECIFIED (0): Not used. STRING (1): ReportValues for this column will use string_value. INT (2): ReportValues for this column will use int_value. DECIMAL (3): ReportValues for this column will use decimal_value. MONEY (4): ReportValues for this column will use money_value. DATE (5): ReportValues for this column will use date_value. DATE_TIME (6): ReportValues for this column will use date_time_value.