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.



2379
2380
2381
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2379

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)


2342
2343
2344
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2342

def container_id
  @container_id
end

#date_range_configGoogle::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1DateRangeConfig

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



2347
2348
2349
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2347

def date_range_config
  @date_range_config
end

#descriptionString

Container description Corresponds to the JSON property description

Returns:

  • (String)


2352
2353
2354
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2352

def description
  @description
end

#display_nameString

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

Returns:

  • (String)


2357
2358
2359
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2357

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)


2362
2363
2364
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2362

def filter
  @filter
end

#heightFixnum

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

Returns:

  • (Fixnum)


2367
2368
2369
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2367

def height
  @height
end

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

Widgets in the Container. Corresponds to the JSON property widgets



2372
2373
2374
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2372

def widgets
  @widgets
end

#widthFixnum

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

Returns:

  • (Fixnum)


2377
2378
2379
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2377

def width
  @width
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2384

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