Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Widget
- Inherits:
-
Object
- Object
- Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Widget
- 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
Represents a dashboard element, could be a nested Container or Chart.
Instance Attribute Summary collapse
-
#chart ⇒ Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Chart
Configurable dashboard's widget that displays data as a chart.
-
#chart_reference ⇒ String
A reference to a chart widget.
-
#container ⇒ Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Container
Configurable dashboard's container.
-
#filter ⇒ String
Filter applied to all charts in the container.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1Widget
constructor
A new instance of GoogleCloudContactcenterinsightsV1Widget.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1Widget
Returns a new instance of GoogleCloudContactcenterinsightsV1Widget.
9590 9591 9592 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 9590 def initialize(**args) update!(**args) end |
Instance Attribute Details
#chart ⇒ Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Chart
Configurable dashboard's widget that displays data as a chart.
Corresponds to the JSON property chart
9572 9573 9574 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 9572 def chart @chart end |
#chart_reference ⇒ String
A reference to a chart widget. Format: projects/project/locations/location/
dashboards/dashboard/charts/chart
Corresponds to the JSON property chartReference
9578 9579 9580 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 9578 def chart_reference @chart_reference end |
#container ⇒ Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Container
Configurable dashboard's container. Container can contain multiple widgets.
Corresponds to the JSON property container
9583 9584 9585 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 9583 def container @container end |
#filter ⇒ String
Filter applied to all charts in the container. Should support scope later.
Corresponds to the JSON property filter
9588 9589 9590 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 9588 def filter @filter end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9595 9596 9597 9598 9599 9600 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 9595 def update!(**args) @chart = args[:chart] if args.key?(:chart) @chart_reference = args[:chart_reference] if args.key?(:chart_reference) @container = args[:container] if args.key?(:container) @filter = args[:filter] if args.key?(:filter) end |