Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleMapsResultContentGoogleMapsResult

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) ⇒ GenaiVertexV1beta1GoogleMapsResultContentGoogleMapsResult

Returns a new instance of GenaiVertexV1beta1GoogleMapsResultContentGoogleMapsResult.



3163
3164
3165
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3163

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

Instance Attribute Details

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

The places that were found. Corresponds to the JSON property places



3156
3157
3158
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3156

def places
  @places
end

#widget_context_tokenString

Resource name of the Google Maps widget context token. Corresponds to the JSON property widgetContextToken

Returns:

  • (String)


3161
3162
3163
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3161

def widget_context_token
  @widget_context_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3168
3169
3170
3171
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3168

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