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.



3019
3020
3021
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 3019

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

Instance Attribute Details

#create_timeString

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

Returns:

  • (String)


2974
2975
2976
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2974

def create_time
  @create_time
end

#date_range_configGoogle::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1DateRangeConfig

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



2979
2980
2981
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2979

def date_range_config
  @date_range_config
end

#descriptionString

Dashboard description Corresponds to the JSON property description

Returns:

  • (String)


2984
2985
2986
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2984

def description
  @description
end

#display_nameString

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

Returns:

  • (String)


2989
2990
2991
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2989

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)


2994
2995
2996
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2994

def filter
  @filter
end

#nameString

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

Returns:

  • (String)


3000
3001
3002
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 3000

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)


3006
3007
3008
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 3006

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



3012
3013
3014
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 3012

def root_container
  @root_container
end

#update_timeString

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

Returns:

  • (String)


3017
3018
3019
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 3017

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 3024

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