Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1View

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

The View resource.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1View

Returns a new instance of GoogleCloudContactcenterinsightsV1View.



2947
2948
2949
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2947

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

Instance Attribute Details

#create_timeString

Output only. The time at which this view was created. Corresponds to the JSON property createTime

Returns:

  • (String)


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

def create_time
  @create_time
end

#display_nameString

The human-readable display name of the view. Corresponds to the JSON property displayName

Returns:

  • (String)


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

def display_name
  @display_name
end

#nameString

Immutable. The resource name of the view. Format: projects/project/locations/ location/views/view Corresponds to the JSON property name

Returns:

  • (String)


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

def name
  @name
end

#update_timeString

Output only. The most recent time at which the view was updated. Corresponds to the JSON property updateTime

Returns:

  • (String)


2940
2941
2942
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2940

def update_time
  @update_time
end

#valueString

String with specific view properties, must be non-empty. Corresponds to the JSON property value

Returns:

  • (String)


2945
2946
2947
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2945

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2952
2953
2954
2955
2956
2957
2958
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2952

def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @display_name = args[:display_name] if args.key?(:display_name)
  @name = args[:name] if args.key?(:name)
  @update_time = args[:update_time] if args.key?(:update_time)
  @value = args[:value] if args.key?(:value)
end