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.



1903
1904
1905
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1903

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)


1866
1867
1868
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1866

def container_id
  @container_id
end

#date_range_configGoogle::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1DateRangeConfig

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



1871
1872
1873
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1871

def date_range_config
  @date_range_config
end

#descriptionString

Container description Corresponds to the JSON property description

Returns:

  • (String)


1876
1877
1878
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1876

def description
  @description
end

#display_nameString

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

Returns:

  • (String)


1881
1882
1883
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1881

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)


1886
1887
1888
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1886

def filter
  @filter
end

#heightFixnum

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

Returns:

  • (Fixnum)


1891
1892
1893
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1891

def height
  @height
end

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

Widgets in the Container. Corresponds to the JSON property widgets



1896
1897
1898
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1896

def widgets
  @widgets
end

#widthFixnum

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

Returns:

  • (Fixnum)


1901
1902
1903
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1901

def width
  @width
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1908

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