@@ -1625,6 +1625,11 @@ def update!(**args)
1625
1625
class GoogleCloudAiplatformV1beta1GroundingChunkMaps
1626
1626
include Google ::Apis ::Core ::Hashable
1627
1627
1628
+ # Sources used to generate the place answer.
1629
+ # Corresponds to the JSON property `placeAnswerSources`
1630
+ # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSources]
1631
+ attr_accessor :place_answer_sources
1632
+
1628
1633
# This Place's resource name, in `places/`place_id`` format. Can be used to look
1629
1634
# up the Place.
1630
1635
# Corresponds to the JSON property `placeId`
@@ -1652,13 +1657,115 @@ def initialize(**args)
1652
1657
1653
1658
# Update properties of this object
1654
1659
def update! ( **args )
1660
+ @place_answer_sources = args [ :place_answer_sources ] if args . key? ( :place_answer_sources )
1655
1661
@place_id = args [ :place_id ] if args . key? ( :place_id )
1656
1662
@text = args [ :text ] if args . key? ( :text )
1657
1663
@title = args [ :title ] if args . key? ( :title )
1658
1664
@uri = args [ :uri ] if args . key? ( :uri )
1659
1665
end
1660
1666
end
1661
1667
1668
+ # Sources used to generate the place answer.
1669
+ class GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSources
1670
+ include Google ::Apis ::Core ::Hashable
1671
+
1672
+ # A link where users can flag a problem with the generated answer.
1673
+ # Corresponds to the JSON property `flagContentUri`
1674
+ # @return [String]
1675
+ attr_accessor :flag_content_uri
1676
+
1677
+ # Snippets of reviews that are used to generate the answer.
1678
+ # Corresponds to the JSON property `reviewSnippets`
1679
+ # @return [Array<Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSourcesReviewSnippet>]
1680
+ attr_accessor :review_snippets
1681
+
1682
+ def initialize ( **args )
1683
+ update! ( **args )
1684
+ end
1685
+
1686
+ # Update properties of this object
1687
+ def update! ( **args )
1688
+ @flag_content_uri = args [ :flag_content_uri ] if args . key? ( :flag_content_uri )
1689
+ @review_snippets = args [ :review_snippets ] if args . key? ( :review_snippets )
1690
+ end
1691
+ end
1692
+
1693
+ # Author attribution for a photo or review.
1694
+ class GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution
1695
+ include Google ::Apis ::Core ::Hashable
1696
+
1697
+ # Name of the author of the Photo or Review.
1698
+ # Corresponds to the JSON property `displayName`
1699
+ # @return [String]
1700
+ attr_accessor :display_name
1701
+
1702
+ # Profile photo URI of the author of the Photo or Review.
1703
+ # Corresponds to the JSON property `photoUri`
1704
+ # @return [String]
1705
+ attr_accessor :photo_uri
1706
+
1707
+ # URI of the author of the Photo or Review.
1708
+ # Corresponds to the JSON property `uri`
1709
+ # @return [String]
1710
+ attr_accessor :uri
1711
+
1712
+ def initialize ( **args )
1713
+ update! ( **args )
1714
+ end
1715
+
1716
+ # Update properties of this object
1717
+ def update! ( **args )
1718
+ @display_name = args [ :display_name ] if args . key? ( :display_name )
1719
+ @photo_uri = args [ :photo_uri ] if args . key? ( :photo_uri )
1720
+ @uri = args [ :uri ] if args . key? ( :uri )
1721
+ end
1722
+ end
1723
+
1724
+ # Encapsulates a review snippet.
1725
+ class GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSourcesReviewSnippet
1726
+ include Google ::Apis ::Core ::Hashable
1727
+
1728
+ # Author attribution for a photo or review.
1729
+ # Corresponds to the JSON property `authorAttribution`
1730
+ # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution]
1731
+ attr_accessor :author_attribution
1732
+
1733
+ # A link where users can flag a problem with the review.
1734
+ # Corresponds to the JSON property `flagContentUri`
1735
+ # @return [String]
1736
+ attr_accessor :flag_content_uri
1737
+
1738
+ # A link to show the review on Google Maps.
1739
+ # Corresponds to the JSON property `googleMapsUri`
1740
+ # @return [String]
1741
+ attr_accessor :google_maps_uri
1742
+
1743
+ # A string of formatted recent time, expressing the review time relative to the
1744
+ # current time in a form appropriate for the language and country.
1745
+ # Corresponds to the JSON property `relativePublishTimeDescription`
1746
+ # @return [String]
1747
+ attr_accessor :relative_publish_time_description
1748
+
1749
+ # A reference representing this place review which may be used to look up this
1750
+ # place review again.
1751
+ # Corresponds to the JSON property `review`
1752
+ # @return [String]
1753
+ attr_accessor :review
1754
+
1755
+ def initialize ( **args )
1756
+ update! ( **args )
1757
+ end
1758
+
1759
+ # Update properties of this object
1760
+ def update! ( **args )
1761
+ @author_attribution = args [ :author_attribution ] if args . key? ( :author_attribution )
1762
+ @flag_content_uri = args [ :flag_content_uri ] if args . key? ( :flag_content_uri )
1763
+ @google_maps_uri = args [ :google_maps_uri ] if args . key? ( :google_maps_uri )
1764
+ @relative_publish_time_description = args [ :relative_publish_time_description ] if args . key? ( :relative_publish_time_description )
1765
+ @review = args [ :review ] if args . key? ( :review )
1766
+ end
1767
+ end
1768
+
1662
1769
# Chunk from context retrieved by the retrieval tools.
1663
1770
class GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext
1664
1771
include Google ::Apis ::Core ::Hashable
@@ -2716,11 +2823,6 @@ class GoogleCloudAiplatformV1beta1Tool
2716
2823
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolCodeExecution]
2717
2824
attr_accessor :code_execution
2718
2825
2719
- # Tool to support computer use.
2720
- # Corresponds to the JSON property `computerUse`
2721
- # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolComputerUse]
2722
- attr_accessor :computer_use
2723
-
2724
2826
# Tool to search public web data, powered by Vertex AI Search and Sec4
2725
2827
# compliance.
2726
2828
# Corresponds to the JSON property `enterpriseWebSearch`
@@ -2770,7 +2872,6 @@ def initialize(**args)
2770
2872
# Update properties of this object
2771
2873
def update! ( **args )
2772
2874
@code_execution = args [ :code_execution ] if args . key? ( :code_execution )
2773
- @computer_use = args [ :computer_use ] if args . key? ( :computer_use )
2774
2875
@enterprise_web_search = args [ :enterprise_web_search ] if args . key? ( :enterprise_web_search )
2775
2876
@function_declarations = args [ :function_declarations ] if args . key? ( :function_declarations )
2776
2877
@google_maps = args [ :google_maps ] if args . key? ( :google_maps )
@@ -2796,25 +2897,6 @@ def update!(**args)
2796
2897
end
2797
2898
end
2798
2899
2799
- # Tool to support computer use.
2800
- class GoogleCloudAiplatformV1beta1ToolComputerUse
2801
- include Google ::Apis ::Core ::Hashable
2802
-
2803
- # Required. The environment being operated.
2804
- # Corresponds to the JSON property `environment`
2805
- # @return [String]
2806
- attr_accessor :environment
2807
-
2808
- def initialize ( **args )
2809
- update! ( **args )
2810
- end
2811
-
2812
- # Update properties of this object
2813
- def update! ( **args )
2814
- @environment = args [ :environment ] if args . key? ( :environment )
2815
- end
2816
- end
2817
-
2818
2900
# Tool config. This config is shared for all tools provided in the request.
2819
2901
class GoogleCloudAiplatformV1beta1ToolConfig
2820
2902
include Google ::Apis ::Core ::Hashable
@@ -3086,6 +3168,12 @@ class GoogleCloudAiplatformV1beta1VideoMetadata
3086
3168
# @return [String]
3087
3169
attr_accessor :end_offset
3088
3170
3171
+ # Optional. The frame rate of the video sent to the model. If not specified, the
3172
+ # default value will be 1.0. The fps range is (0.0, 24.0].
3173
+ # Corresponds to the JSON property `fps`
3174
+ # @return [Float]
3175
+ attr_accessor :fps
3176
+
3089
3177
# Optional. The start offset of the video.
3090
3178
# Corresponds to the JSON property `startOffset`
3091
3179
# @return [String]
@@ -3098,6 +3186,7 @@ def initialize(**args)
3098
3186
# Update properties of this object
3099
3187
def update! ( **args )
3100
3188
@end_offset = args [ :end_offset ] if args . key? ( :end_offset )
3189
+ @fps = args [ :fps ] if args . key? ( :fps )
3101
3190
@start_offset = args [ :start_offset ] if args . key? ( :start_offset )
3102
3191
end
3103
3192
end
0 commit comments