Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Container

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's container. Container can contain multiple widgets.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1Container

Returns a new instance of GoogleCloudContactcenterinsightsV1Container.



2936
2937
2938
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2936

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

Instance Attribute Details

#container_idString

Output only. Unique ID for the container. Corresponds to the JSON property containerId

Returns:

  • (String)


2899
2900
2901
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2899

def container_id
  @container_id
end

#date_range_configGoogle::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1DateRangeConfig

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



2904
2905
2906
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2904

def date_range_config
  @date_range_config
end

#descriptionString

Container description Corresponds to the JSON property description

Returns:

  • (String)


2909
2910
2911
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2909

def description
  @description
end

#display_nameString

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

Returns:

  • (String)


2914
2915
2916
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2914

def display_name
  @display_name
end

#filterString

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

Returns:

  • (String)


2919
2920
2921
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2919

def filter
  @filter
end

#heightFixnum

The height of the container in grid units. Corresponds to the JSON property height

Returns:

  • (Fixnum)


2924
2925
2926
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2924

def height
  @height
end

#widgetsArray<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Widget>

Widgets in the Container. Corresponds to the JSON property widgets



2929
2930
2931
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2929

def widgets
  @widgets
end

#widthFixnum

The width of the container in grid units. Corresponds to the JSON property width

Returns:

  • (Fixnum)


2934
2935
2936
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2934

def width
  @width
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2941

def update!(**args)
  @container_id = args[:container_id] if args.key?(:container_id)
  @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)
  @height = args[:height] if args.key?(:height)
  @widgets = args[:widgets] if args.key?(:widgets)
  @width = args[:width] if args.key?(:width)
end