Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleMapsResultStepGoogleMapsResultItem

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

Overview

The result of the Google Maps.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GenaiVertexV1beta1GoogleMapsResultStepGoogleMapsResultItem

Returns a new instance of GenaiVertexV1beta1GoogleMapsResultStepGoogleMapsResultItem.



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

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

Instance Attribute Details

#placesArray<Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleMapsResultStepGoogleMapsResultItemGoogleMapsResultPlaces>

Corresponds to the JSON property places



2922
2923
2924
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 2922

def places
  @places
end

#widget_context_tokenString

Corresponds to the JSON property widgetContextToken

Returns:

  • (String)


2927
2928
2929
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 2927

def widget_context_token
  @widget_context_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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