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.



2385
2386
2387
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2385

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)


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

def container_id
  @container_id
end

#date_range_configGoogle::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1DateRangeConfig

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



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

def date_range_config
  @date_range_config
end

#descriptionString

Container description Corresponds to the JSON property description

Returns:

  • (String)


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

def description
  @description
end

#display_nameString

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

Returns:

  • (String)


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

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)


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

def filter
  @filter
end

#heightFixnum

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

Returns:

  • (Fixnum)


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

def height
  @height
end

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

Widgets in the Container. Corresponds to the JSON property widgets



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

def widgets
  @widgets
end

#widthFixnum

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

Returns:

  • (Fixnum)


2383
2384
2385
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2383

def width
  @width
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2390

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