Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaLookupWidgetConfigResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/discoveryengine_v1alpha/classes.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb

Overview

Response message for WidgetService.LookupWidgetConfig method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaLookupWidgetConfigResponse

Returns a new instance of GoogleCloudDiscoveryengineV1alphaLookupWidgetConfigResponse.



1984
1985
1986
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 1984

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

Instance Attribute Details

#anonymous_widget_configGoogle::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaWidgetConfig

WidgetConfig captures configs at the Widget level. Corresponds to the JSON property anonymousWidgetConfig



1982
1983
1984
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 1982

def anonymous_widget_config
  @anonymous_widget_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1989
1990
1991
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 1989

def update!(**args)
  @anonymous_widget_config = args[:anonymous_widget_config] if args.key?(:anonymous_widget_config)
end