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.



4078
4079
4080
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4078

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

Instance Attribute Details

#create_timeString

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

Returns:

  • (String)


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

def create_time
  @create_time
end

#date_range_configGoogle::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1DateRangeConfig

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



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

def date_range_config
  @date_range_config
end

#descriptionString

Dashboard description Corresponds to the JSON property description

Returns:

  • (String)


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

def description
  @description
end

#display_nameString

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

Returns:

  • (String)


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

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)


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

def filter
  @filter
end

#nameString

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

Returns:

  • (String)


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

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)


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

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



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

def root_container
  @root_container
end

#update_timeString

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

Returns:

  • (String)


4076
4077
4078
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4076

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4083

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