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.



2523
2524
2525
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2523

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)


2486
2487
2488
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2486

def container_id
  @container_id
end

#date_range_configGoogle::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1DateRangeConfig

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



2491
2492
2493
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2491

def date_range_config
  @date_range_config
end

#descriptionString

Container description Corresponds to the JSON property description

Returns:

  • (String)


2496
2497
2498
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2496

def description
  @description
end

#display_nameString

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

Returns:

  • (String)


2501
2502
2503
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2501

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)


2506
2507
2508
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2506

def filter
  @filter
end

#heightFixnum

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

Returns:

  • (Fixnum)


2511
2512
2513
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2511

def height
  @height
end

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

Widgets in the Container. Corresponds to the JSON property widgets



2516
2517
2518
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2516

def widgets
  @widgets
end

#widthFixnum

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

Returns:

  • (Fixnum)


2521
2522
2523
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2521

def width
  @width
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2528

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