Class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1Report

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudChannelV1alpha1Report

Returns a new instance of GoogleCloudChannelV1alpha1Report.



3884
3885
3886
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3884

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

Instance Attribute Details

#columnsArray<Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1Column>

The list of columns included in the report. This defines the schema of the report results. Corresponds to the JSON property columns



3865
3866
3867
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3865

def columns
  @columns
end

#descriptionString

A description of other aspects of the report, such as the products it supports. Corresponds to the JSON property description

Returns:

  • (String)


3870
3871
3872
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3870

def description
  @description
end

#display_nameString

A human-readable name for this report. Corresponds to the JSON property displayName

Returns:

  • (String)


3875
3876
3877
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3875

def display_name
  @display_name
end

#nameString

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

Returns:

  • (String)


3882
3883
3884
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3882

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3889
3890
3891
3892
3893
3894
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3889

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