Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleMapsResultStepGoogleMapsResultItemGoogleMapsResultPlaces

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GenaiVertexV1beta1GoogleMapsResultStepGoogleMapsResultItemGoogleMapsResultPlaces

Returns a new instance of GenaiVertexV1beta1GoogleMapsResultStepGoogleMapsResultItemGoogleMapsResultPlaces.



2964
2965
2966
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 2964

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

Instance Attribute Details

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


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

def name
  @name
end

#place_idString

Corresponds to the JSON property placeId

Returns:

  • (String)


2952
2953
2954
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 2952

def place_id
  @place_id
end

#review_snippetsArray<Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ReviewSnippet>

Corresponds to the JSON property reviewSnippets



2957
2958
2959
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 2957

def review_snippets
  @review_snippets
end

#urlString

Corresponds to the JSON property url

Returns:

  • (String)


2962
2963
2964
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 2962

def url
  @url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2969
2970
2971
2972
2973
2974
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 2969

def update!(**args)
  @name = args[:name] if args.key?(:name)
  @place_id = args[:place_id] if args.key?(:place_id)
  @review_snippets = args[:review_snippets] if args.key?(:review_snippets)
  @url = args[:url] if args.key?(:url)
end