Class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1Report
- Inherits:
-
Object
- Object
- Google::Apis::CloudchannelV1::GoogleCloudChannelV1Report
- 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 ID and description of a report that was used to generate report data. For example, "GCP Daily Spend", "Google Workspace License Activity", etc.
Instance Attribute Summary collapse
-
#columns ⇒ Array<Google::Apis::CloudchannelV1::GoogleCloudChannelV1Column>
The list of columns included in the report.
-
#description ⇒ String
A description of other aspects of the report, such as the products it supports.
-
#display_name ⇒ String
A human-readable name for this report.
-
#name ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudChannelV1Report
constructor
A new instance of GoogleCloudChannelV1Report.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudChannelV1Report
Returns a new instance of GoogleCloudChannelV1Report.
2452 2453 2454 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 2452 def initialize(**args) update!(**args) end |
Instance Attribute Details
#columns ⇒ Array<Google::Apis::CloudchannelV1::GoogleCloudChannelV1Column>
The list of columns included in the report. This defines the schema of the
report results.
Corresponds to the JSON property columns
2433 2434 2435 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 2433 def columns @columns end |
#description ⇒ String
A description of other aspects of the report, such as the products it supports.
Corresponds to the JSON property description
2438 2439 2440 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 2438 def description @description end |
#display_name ⇒ String
A human-readable name for this report.
Corresponds to the JSON property displayName
2443 2444 2445 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 2443 def display_name @display_name end |
#name ⇒ String
Required. The report's resource name. Specifies the account and report used to
generate report data. The report_id identifier is a UID (for example,
613bf59q
). Name uses the format: accounts/account_id
/reports/report_id
Corresponds to the JSON property name
2450 2451 2452 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 2450 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2457 2458 2459 2460 2461 2462 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 2457 def update!(**args) @columns = args[:columns] if args.key?(:columns) @description = args[:description] if args.key?(:description) @display_name = args[:display_name] if args.key?(:display_name) @name = args[:name] if args.key?(:name) end |