Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Dashboard

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/contactcenterinsights_v1/classes.rb,
lib/google/apis/contactcenterinsights_v1/representations.rb,
lib/google/apis/contactcenterinsights_v1/representations.rb

Overview

Configurable dashboard

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1Dashboard

Returns a new instance of GoogleCloudContactcenterinsightsV1Dashboard.



4072
4073
4074
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4072

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

Instance Attribute Details

#create_timeString

Output only. Dashboard creation time. Corresponds to the JSON property createTime

Returns:

  • (String)


4027
4028
4029
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4027

def create_time
  @create_time
end

#date_range_configGoogle::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1DateRangeConfig

Date range configuration for dashboard charts. Corresponds to the JSON property dateRangeConfig



4032
4033
4034
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4032

def date_range_config
  @date_range_config
end

#descriptionString

Dashboard description Corresponds to the JSON property description

Returns:

  • (String)


4037
4038
4039
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4037

def description
  @description
end

#display_nameString

User provided display name of the dashboard. Corresponds to the JSON property displayName

Returns:

  • (String)


4042
4043
4044
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4042

def display_name
  @display_name
end

#filterString

Filter applied to all charts in the dashboard. Should support scope later. Corresponds to the JSON property filter

Returns:

  • (String)


4047
4048
4049
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4047

def filter
  @filter
end

#nameString

Identifier. Dashboard resource name. Format: projects/project/locations/ location/dashboards/dashboard Corresponds to the JSON property name

Returns:

  • (String)


4053
4054
4055
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4053

def name
  @name
end

#read_onlyBoolean Also known as: read_only?

Output only. Whether the dashboard is read-only. All predefined dashboards are read-only and cannot be modified by the user. Corresponds to the JSON property readOnly

Returns:

  • (Boolean)


4059
4060
4061
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4059

def read_only
  @read_only
end

#root_containerGoogle::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Container

Configurable dashboard's container. Container can contain multiple widgets. Corresponds to the JSON property rootContainer



4065
4066
4067
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4065

def root_container
  @root_container
end

#update_timeString

Output only. Dashboard last update time. Corresponds to the JSON property updateTime

Returns:

  • (String)


4070
4071
4072
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4070

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4077

def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @date_range_config = args[:date_range_config] if args.key?(:date_range_config)
  @description = args[:description] if args.key?(:description)
  @display_name = args[:display_name] if args.key?(:display_name)
  @filter = args[:filter] if args.key?(:filter)
  @name = args[:name] if args.key?(:name)
  @read_only = args[:read_only] if args.key?(:read_only)
  @root_container = args[:root_container] if args.key?(:root_container)
  @update_time = args[:update_time] if args.key?(:update_time)
end