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.
11545 11546 11547 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 11545 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
11527 11528 11529 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 11527 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
11533 11534 11535 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 11533 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
11538 11539 11540 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 11538 def container @container end |
#filter ⇒ String
Filter applied to all charts in the container. Should support scope later.
Corresponds to the JSON property filter
11543 11544 11545 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 11543 def filter @filter end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11550 11551 11552 11553 11554 11555 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 11550 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 |