google-apis-aiplatform_v1beta1 0.54.0 → 0.56.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5b13baf22c432bd73d4a8b494223ee69063f55f034caa9d43ae13ef385851215
4
- data.tar.gz: ca922f7a1206a6a5c7c0e9f6f6891f44f2d9ce956b3600932f496a0fa7dc61f8
3
+ metadata.gz: c3be55fa7419227763712ec5e8a5844339e07d0d212cd9e56a56c179d3c801bc
4
+ data.tar.gz: ca453a090906e6f1c6ebee7bf2785bb5489a555d37f1fecacaef243177c0febe
5
5
  SHA512:
6
- metadata.gz: 7ec7e49d06df866fa8fd33d0c8844363db33dcf12b04e1d328bb0567fcef97192bcbeefebb29e4425860b14c78c717d3bd07c9f361bfcfda214c263d8c04faf2
7
- data.tar.gz: ebf35af08763d75d43a440e476f36832f484df32bf86172a7c42cc3a2c111235bb0164ffdbddc22a16fcb7127442e3a08fc33a55fc6755df7ca8df0ada64cabb
6
+ metadata.gz: f1cfacdc396ea873e8bef3d87c500d4a811e1254bcfbc773db2e32090636a1bbc0f1c8dec6327d6d488fa69d923dc0dcdffda110d2fe902b5ba68674b39e530a
7
+ data.tar.gz: c4f71a6be340fa344d4f98fd8e5b8925cf72e73003e7469e19dcc2b142d0f661282720314db3e64a827aac32c86656b641e22efc5c330ab53ec9e5f8339ffba1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-aiplatform_v1beta1
2
2
 
3
+ ### v0.56.0 (2025-08-03)
4
+
5
+ * Regenerated from discovery document revision 20250728
6
+
7
+ ### v0.55.0 (2025-07-27)
8
+
9
+ * Regenerated from discovery document revision 20250715
10
+
3
11
  ### v0.54.0 (2025-07-20)
4
12
 
5
13
  * Regenerated from discovery document revision 20250711
@@ -4771,6 +4771,12 @@ module Google
4771
4771
  class GoogleCloudAiplatformV1beta1CreateEndpointOperationMetadata
4772
4772
  include Google::Apis::Core::Hashable
4773
4773
 
4774
+ # Output only. The deployment stage of the model. Only populated if this
4775
+ # CreateEndpoint request deploys a model at the same time.
4776
+ # Corresponds to the JSON property `deploymentStage`
4777
+ # @return [String]
4778
+ attr_accessor :deployment_stage
4779
+
4774
4780
  # Generic Metadata shared by all operations.
4775
4781
  # Corresponds to the JSON property `genericMetadata`
4776
4782
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenericOperationMetadata]
@@ -4782,6 +4788,7 @@ module Google
4782
4788
 
4783
4789
  # Update properties of this object
4784
4790
  def update!(**args)
4791
+ @deployment_stage = args[:deployment_stage] if args.key?(:deployment_stage)
4785
4792
  @generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
4786
4793
  end
4787
4794
  end
@@ -6736,6 +6743,11 @@ module Google
6736
6743
  class GoogleCloudAiplatformV1beta1DeployModelOperationMetadata
6737
6744
  include Google::Apis::Core::Hashable
6738
6745
 
6746
+ # Output only. The deployment stage of the model.
6747
+ # Corresponds to the JSON property `deploymentStage`
6748
+ # @return [String]
6749
+ attr_accessor :deployment_stage
6750
+
6739
6751
  # Generic Metadata shared by all operations.
6740
6752
  # Corresponds to the JSON property `genericMetadata`
6741
6753
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenericOperationMetadata]
@@ -6747,6 +6759,7 @@ module Google
6747
6759
 
6748
6760
  # Update properties of this object
6749
6761
  def update!(**args)
6762
+ @deployment_stage = args[:deployment_stage] if args.key?(:deployment_stage)
6750
6763
  @generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
6751
6764
  end
6752
6765
  end
@@ -6864,6 +6877,12 @@ module Google
6864
6877
  class GoogleCloudAiplatformV1beta1DeployRequest
6865
6878
  include Google::Apis::Core::Hashable
6866
6879
 
6880
+ # The custom model to deploy from model weights in a Google Cloud Storage URI or
6881
+ # Model Registry model.
6882
+ # Corresponds to the JSON property `customModel`
6883
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DeployRequestCustomModel]
6884
+ attr_accessor :custom_model
6885
+
6867
6886
  # The deploy config to use for the deployment.
6868
6887
  # Corresponds to the JSON property `deployConfig`
6869
6888
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DeployRequestDeployConfig]
@@ -6898,6 +6917,7 @@ module Google
6898
6917
 
6899
6918
  # Update properties of this object
6900
6919
  def update!(**args)
6920
+ @custom_model = args[:custom_model] if args.key?(:custom_model)
6901
6921
  @deploy_config = args[:deploy_config] if args.key?(:deploy_config)
6902
6922
  @endpoint_config = args[:endpoint_config] if args.key?(:endpoint_config)
6903
6923
  @hugging_face_model_id = args[:hugging_face_model_id] if args.key?(:hugging_face_model_id)
@@ -6906,6 +6926,33 @@ module Google
6906
6926
  end
6907
6927
  end
6908
6928
 
6929
+ # The custom model to deploy from model weights in a Google Cloud Storage URI or
6930
+ # Model Registry model.
6931
+ class GoogleCloudAiplatformV1beta1DeployRequestCustomModel
6932
+ include Google::Apis::Core::Hashable
6933
+
6934
+ # Immutable. The Google Cloud Storage URI of the custom model, storing weights
6935
+ # and config files (which can be used to infer the base model).
6936
+ # Corresponds to the JSON property `gcsUri`
6937
+ # @return [String]
6938
+ attr_accessor :gcs_uri
6939
+
6940
+ # Optional. Deprecated. Use ModelConfig.model_user_id instead.
6941
+ # Corresponds to the JSON property `modelId`
6942
+ # @return [String]
6943
+ attr_accessor :model_id
6944
+
6945
+ def initialize(**args)
6946
+ update!(**args)
6947
+ end
6948
+
6949
+ # Update properties of this object
6950
+ def update!(**args)
6951
+ @gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri)
6952
+ @model_id = args[:model_id] if args.key?(:model_id)
6953
+ end
6954
+ end
6955
+
6909
6956
  # The deploy config to use for the deployment.
6910
6957
  class GoogleCloudAiplatformV1beta1DeployRequestDeployConfig
6911
6958
  include Google::Apis::Core::Hashable
@@ -7012,6 +7059,15 @@ module Google
7012
7059
  # @return [String]
7013
7060
  attr_accessor :model_display_name
7014
7061
 
7062
+ # Optional. The ID to use for the uploaded Model, which will become the final
7063
+ # component of the model resource name. When not provided, Vertex AI will
7064
+ # generate a value for this ID. When Model Registry model is provided, this
7065
+ # field will be ignored. This value may be up to 63 characters, and valid
7066
+ # characters are `[a-z0-9_-]`. The first character cannot be a number or hyphen.
7067
+ # Corresponds to the JSON property `modelUserId`
7068
+ # @return [String]
7069
+ attr_accessor :model_user_id
7070
+
7015
7071
  def initialize(**args)
7016
7072
  update!(**args)
7017
7073
  end
@@ -7023,6 +7079,7 @@ module Google
7023
7079
  @hugging_face_access_token = args[:hugging_face_access_token] if args.key?(:hugging_face_access_token)
7024
7080
  @hugging_face_cache_enabled = args[:hugging_face_cache_enabled] if args.key?(:hugging_face_cache_enabled)
7025
7081
  @model_display_name = args[:model_display_name] if args.key?(:model_display_name)
7082
+ @model_user_id = args[:model_user_id] if args.key?(:model_user_id)
7026
7083
  end
7027
7084
  end
7028
7085
 
@@ -7338,6 +7395,12 @@ module Google
7338
7395
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FasterDeploymentConfig]
7339
7396
  attr_accessor :faster_deployment_config
7340
7397
 
7398
+ # GDC pretrained / Gemini model name. The model name is a plain model name, e.g.
7399
+ # gemini-1.5-flash-002.
7400
+ # Corresponds to the JSON property `gdcConnectedModel`
7401
+ # @return [String]
7402
+ attr_accessor :gdc_connected_model
7403
+
7341
7404
  # Immutable. The ID of the DeployedModel. If not provided upon deployment,
7342
7405
  # Vertex AI will generate a value for this ID. This value should be 1-10
7343
7406
  # characters, and valid characters are `/[0-9]/`.
@@ -7421,6 +7484,7 @@ module Google
7421
7484
  @enable_container_logging = args[:enable_container_logging] if args.key?(:enable_container_logging)
7422
7485
  @explanation_spec = args[:explanation_spec] if args.key?(:explanation_spec)
7423
7486
  @faster_deployment_config = args[:faster_deployment_config] if args.key?(:faster_deployment_config)
7487
+ @gdc_connected_model = args[:gdc_connected_model] if args.key?(:gdc_connected_model)
7424
7488
  @id = args[:id] if args.key?(:id)
7425
7489
  @model = args[:model] if args.key?(:model)
7426
7490
  @model_version_id = args[:model_version_id] if args.key?(:model_version_id)
@@ -8031,6 +8095,11 @@ module Google
8031
8095
  # @return [String]
8032
8096
  attr_accessor :etag
8033
8097
 
8098
+ # Google Distributed Cloud (GDC) config.
8099
+ # Corresponds to the JSON property `gdcConfig`
8100
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GdcConfig]
8101
+ attr_accessor :gdc_config
8102
+
8034
8103
  # Configuration for GenAiAdvancedFeatures.
8035
8104
  # Corresponds to the JSON property `genAiAdvancedFeaturesConfig`
8036
8105
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenAiAdvancedFeaturesConfig]
@@ -8122,6 +8191,7 @@ module Google
8122
8191
  @enable_private_service_connect = args[:enable_private_service_connect] if args.key?(:enable_private_service_connect)
8123
8192
  @encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
8124
8193
  @etag = args[:etag] if args.key?(:etag)
8194
+ @gdc_config = args[:gdc_config] if args.key?(:gdc_config)
8125
8195
  @gen_ai_advanced_features_config = args[:gen_ai_advanced_features_config] if args.key?(:gen_ai_advanced_features_config)
8126
8196
  @labels = args[:labels] if args.key?(:labels)
8127
8197
  @model_deployment_monitoring_job = args[:model_deployment_monitoring_job] if args.key?(:model_deployment_monitoring_job)
@@ -12685,6 +12755,11 @@ module Google
12685
12755
  # @return [String]
12686
12756
  attr_accessor :name
12687
12757
 
12758
+ # Value for a feature.
12759
+ # Corresponds to the JSON property `value`
12760
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureValue]
12761
+ attr_accessor :value
12762
+
12688
12763
  # Feature value and timestamp.
12689
12764
  # Corresponds to the JSON property `valueAndTimestamp`
12690
12765
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureViewDirectWriteRequestDataKeyAndFeatureValuesFeatureFeatureValueAndTimestamp]
@@ -12697,6 +12772,7 @@ module Google
12697
12772
  # Update properties of this object
12698
12773
  def update!(**args)
12699
12774
  @name = args[:name] if args.key?(:name)
12775
+ @value = args[:value] if args.key?(:value)
12700
12776
  @value_and_timestamp = args[:value_and_timestamp] if args.key?(:value_and_timestamp)
12701
12777
  end
12702
12778
  end
@@ -14502,6 +14578,25 @@ module Google
14502
14578
  end
14503
14579
  end
14504
14580
 
14581
+ # Google Distributed Cloud (GDC) config.
14582
+ class GoogleCloudAiplatformV1beta1GdcConfig
14583
+ include Google::Apis::Core::Hashable
14584
+
14585
+ # GDC zone. A cluster will be designated for the Vertex AI workload in this zone.
14586
+ # Corresponds to the JSON property `zone`
14587
+ # @return [String]
14588
+ attr_accessor :zone
14589
+
14590
+ def initialize(**args)
14591
+ update!(**args)
14592
+ end
14593
+
14594
+ # Update properties of this object
14595
+ def update!(**args)
14596
+ @zone = args[:zone] if args.key?(:zone)
14597
+ end
14598
+ end
14599
+
14505
14600
  # Format for Gemini examples used for Vertex Multimodal datasets.
14506
14601
  class GoogleCloudAiplatformV1beta1GeminiExample
14507
14602
  include Google::Apis::Core::Hashable
@@ -15558,6 +15653,32 @@ module Google
15558
15653
  end
15559
15654
  end
15560
15655
 
15656
+ # Tool to retrieve public maps data for grounding, powered by Google.
15657
+ class GoogleCloudAiplatformV1beta1GoogleMaps
15658
+ include Google::Apis::Core::Hashable
15659
+
15660
+ # The generic reusable api auth config. Deprecated. Please use AuthConfig (
15661
+ # google/cloud/aiplatform/master/auth.proto) instead.
15662
+ # Corresponds to the JSON property `apiAuth`
15663
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ApiAuth]
15664
+ attr_accessor :api_auth
15665
+
15666
+ # Auth configuration to run the extension.
15667
+ # Corresponds to the JSON property `authConfig`
15668
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AuthConfig]
15669
+ attr_accessor :auth_config
15670
+
15671
+ def initialize(**args)
15672
+ update!(**args)
15673
+ end
15674
+
15675
+ # Update properties of this object
15676
+ def update!(**args)
15677
+ @api_auth = args[:api_auth] if args.key?(:api_auth)
15678
+ @auth_config = args[:auth_config] if args.key?(:auth_config)
15679
+ end
15680
+ end
15681
+
15561
15682
  # Tool to retrieve public web data for grounding, powered by Google.
15562
15683
  class GoogleCloudAiplatformV1beta1GoogleSearchRetrieval
15563
15684
  include Google::Apis::Core::Hashable
@@ -15682,6 +15803,11 @@ module Google
15682
15803
  class GoogleCloudAiplatformV1beta1GroundingChunk
15683
15804
  include Google::Apis::Core::Hashable
15684
15805
 
15806
+ # Chunk from Google Maps.
15807
+ # Corresponds to the JSON property `maps`
15808
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GroundingChunkMaps]
15809
+ attr_accessor :maps
15810
+
15685
15811
  # Chunk from context retrieved by the retrieval tools.
15686
15812
  # Corresponds to the JSON property `retrievedContext`
15687
15813
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext]
@@ -15698,11 +15824,157 @@ module Google
15698
15824
 
15699
15825
  # Update properties of this object
15700
15826
  def update!(**args)
15827
+ @maps = args[:maps] if args.key?(:maps)
15701
15828
  @retrieved_context = args[:retrieved_context] if args.key?(:retrieved_context)
15702
15829
  @web = args[:web] if args.key?(:web)
15703
15830
  end
15704
15831
  end
15705
15832
 
15833
+ # Chunk from Google Maps.
15834
+ class GoogleCloudAiplatformV1beta1GroundingChunkMaps
15835
+ include Google::Apis::Core::Hashable
15836
+
15837
+ # Sources used to generate the place answer.
15838
+ # Corresponds to the JSON property `placeAnswerSources`
15839
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSources]
15840
+ attr_accessor :place_answer_sources
15841
+
15842
+ # This Place's resource name, in `places/`place_id`` format. Can be used to look
15843
+ # up the Place.
15844
+ # Corresponds to the JSON property `placeId`
15845
+ # @return [String]
15846
+ attr_accessor :place_id
15847
+
15848
+ # Text of the chunk.
15849
+ # Corresponds to the JSON property `text`
15850
+ # @return [String]
15851
+ attr_accessor :text
15852
+
15853
+ # Title of the chunk.
15854
+ # Corresponds to the JSON property `title`
15855
+ # @return [String]
15856
+ attr_accessor :title
15857
+
15858
+ # URI reference of the chunk.
15859
+ # Corresponds to the JSON property `uri`
15860
+ # @return [String]
15861
+ attr_accessor :uri
15862
+
15863
+ def initialize(**args)
15864
+ update!(**args)
15865
+ end
15866
+
15867
+ # Update properties of this object
15868
+ def update!(**args)
15869
+ @place_answer_sources = args[:place_answer_sources] if args.key?(:place_answer_sources)
15870
+ @place_id = args[:place_id] if args.key?(:place_id)
15871
+ @text = args[:text] if args.key?(:text)
15872
+ @title = args[:title] if args.key?(:title)
15873
+ @uri = args[:uri] if args.key?(:uri)
15874
+ end
15875
+ end
15876
+
15877
+ # Sources used to generate the place answer.
15878
+ class GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSources
15879
+ include Google::Apis::Core::Hashable
15880
+
15881
+ # A link where users can flag a problem with the generated answer.
15882
+ # Corresponds to the JSON property `flagContentUri`
15883
+ # @return [String]
15884
+ attr_accessor :flag_content_uri
15885
+
15886
+ # Snippets of reviews that are used to generate the answer.
15887
+ # Corresponds to the JSON property `reviewSnippets`
15888
+ # @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSourcesReviewSnippet>]
15889
+ attr_accessor :review_snippets
15890
+
15891
+ def initialize(**args)
15892
+ update!(**args)
15893
+ end
15894
+
15895
+ # Update properties of this object
15896
+ def update!(**args)
15897
+ @flag_content_uri = args[:flag_content_uri] if args.key?(:flag_content_uri)
15898
+ @review_snippets = args[:review_snippets] if args.key?(:review_snippets)
15899
+ end
15900
+ end
15901
+
15902
+ # Author attribution for a photo or review.
15903
+ class GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution
15904
+ include Google::Apis::Core::Hashable
15905
+
15906
+ # Name of the author of the Photo or Review.
15907
+ # Corresponds to the JSON property `displayName`
15908
+ # @return [String]
15909
+ attr_accessor :display_name
15910
+
15911
+ # Profile photo URI of the author of the Photo or Review.
15912
+ # Corresponds to the JSON property `photoUri`
15913
+ # @return [String]
15914
+ attr_accessor :photo_uri
15915
+
15916
+ # URI of the author of the Photo or Review.
15917
+ # Corresponds to the JSON property `uri`
15918
+ # @return [String]
15919
+ attr_accessor :uri
15920
+
15921
+ def initialize(**args)
15922
+ update!(**args)
15923
+ end
15924
+
15925
+ # Update properties of this object
15926
+ def update!(**args)
15927
+ @display_name = args[:display_name] if args.key?(:display_name)
15928
+ @photo_uri = args[:photo_uri] if args.key?(:photo_uri)
15929
+ @uri = args[:uri] if args.key?(:uri)
15930
+ end
15931
+ end
15932
+
15933
+ # Encapsulates a review snippet.
15934
+ class GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSourcesReviewSnippet
15935
+ include Google::Apis::Core::Hashable
15936
+
15937
+ # Author attribution for a photo or review.
15938
+ # Corresponds to the JSON property `authorAttribution`
15939
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution]
15940
+ attr_accessor :author_attribution
15941
+
15942
+ # A link where users can flag a problem with the review.
15943
+ # Corresponds to the JSON property `flagContentUri`
15944
+ # @return [String]
15945
+ attr_accessor :flag_content_uri
15946
+
15947
+ # A link to show the review on Google Maps.
15948
+ # Corresponds to the JSON property `googleMapsUri`
15949
+ # @return [String]
15950
+ attr_accessor :google_maps_uri
15951
+
15952
+ # A string of formatted recent time, expressing the review time relative to the
15953
+ # current time in a form appropriate for the language and country.
15954
+ # Corresponds to the JSON property `relativePublishTimeDescription`
15955
+ # @return [String]
15956
+ attr_accessor :relative_publish_time_description
15957
+
15958
+ # A reference representing this place review which may be used to look up this
15959
+ # place review again.
15960
+ # Corresponds to the JSON property `review`
15961
+ # @return [String]
15962
+ attr_accessor :review
15963
+
15964
+ def initialize(**args)
15965
+ update!(**args)
15966
+ end
15967
+
15968
+ # Update properties of this object
15969
+ def update!(**args)
15970
+ @author_attribution = args[:author_attribution] if args.key?(:author_attribution)
15971
+ @flag_content_uri = args[:flag_content_uri] if args.key?(:flag_content_uri)
15972
+ @google_maps_uri = args[:google_maps_uri] if args.key?(:google_maps_uri)
15973
+ @relative_publish_time_description = args[:relative_publish_time_description] if args.key?(:relative_publish_time_description)
15974
+ @review = args[:review] if args.key?(:review)
15975
+ end
15976
+ end
15977
+
15706
15978
  # Chunk from context retrieved by the retrieval tools.
15707
15979
  class GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext
15708
15980
  include Google::Apis::Core::Hashable
@@ -15776,6 +16048,13 @@ module Google
15776
16048
  class GoogleCloudAiplatformV1beta1GroundingMetadata
15777
16049
  include Google::Apis::Core::Hashable
15778
16050
 
16051
+ # Optional. Output only. Resource name of the Google Maps widget context token
16052
+ # to be used with the PlacesContextElement widget to render contextual data.
16053
+ # This is populated only for Google Maps grounding.
16054
+ # Corresponds to the JSON property `googleMapsWidgetContextToken`
16055
+ # @return [String]
16056
+ attr_accessor :google_maps_widget_context_token
16057
+
15779
16058
  # List of supporting references retrieved from specified grounding source.
15780
16059
  # Corresponds to the JSON property `groundingChunks`
15781
16060
  # @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GroundingChunk>]
@@ -15812,6 +16091,7 @@ module Google
15812
16091
 
15813
16092
  # Update properties of this object
15814
16093
  def update!(**args)
16094
+ @google_maps_widget_context_token = args[:google_maps_widget_context_token] if args.key?(:google_maps_widget_context_token)
15815
16095
  @grounding_chunks = args[:grounding_chunks] if args.key?(:grounding_chunks)
15816
16096
  @grounding_supports = args[:grounding_supports] if args.key?(:grounding_supports)
15817
16097
  @retrieval_metadata = args[:retrieval_metadata] if args.key?(:retrieval_metadata)
@@ -16841,6 +17121,11 @@ module Google
16841
17121
  # @return [String]
16842
17122
  attr_accessor :datapoint_id
16843
17123
 
17124
+ # Optional. The key-value map of additional metadata for the datapoint.
17125
+ # Corresponds to the JSON property `embeddingMetadata`
17126
+ # @return [Hash<String,Object>]
17127
+ attr_accessor :embedding_metadata
17128
+
16844
17129
  # Required. Feature embedding vector for dense index. An array of numbers with
16845
17130
  # the length of [NearestNeighborSearchConfig.dimensions].
16846
17131
  # Corresponds to the JSON property `featureVector`
@@ -16876,6 +17161,7 @@ module Google
16876
17161
  def update!(**args)
16877
17162
  @crowding_tag = args[:crowding_tag] if args.key?(:crowding_tag)
16878
17163
  @datapoint_id = args[:datapoint_id] if args.key?(:datapoint_id)
17164
+ @embedding_metadata = args[:embedding_metadata] if args.key?(:embedding_metadata)
16879
17165
  @feature_vector = args[:feature_vector] if args.key?(:feature_vector)
16880
17166
  @numeric_restricts = args[:numeric_restricts] if args.key?(:numeric_restricts)
16881
17167
  @restricts = args[:restricts] if args.key?(:restricts)
@@ -27857,6 +28143,13 @@ module Google
27857
28143
  class GoogleCloudAiplatformV1beta1PublisherModelCallToActionRegionalResourceReferences
27858
28144
  include Google::Apis::Core::Hashable
27859
28145
 
28146
+ # Optional. For notebook resource. When set to true, the Colab Enterprise link
28147
+ # will be disabled in the "open notebook" dialog in UI.
28148
+ # Corresponds to the JSON property `colabNotebookDisabled`
28149
+ # @return [Boolean]
28150
+ attr_accessor :colab_notebook_disabled
28151
+ alias_method :colab_notebook_disabled?, :colab_notebook_disabled
28152
+
27860
28153
  # Required.
27861
28154
  # Corresponds to the JSON property `references`
27862
28155
  # @return [Hash<String,Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelResourceReference>]
@@ -27894,6 +28187,7 @@ module Google
27894
28187
 
27895
28188
  # Update properties of this object
27896
28189
  def update!(**args)
28190
+ @colab_notebook_disabled = args[:colab_notebook_disabled] if args.key?(:colab_notebook_disabled)
27897
28191
  @references = args[:references] if args.key?(:references)
27898
28192
  @resource_description = args[:resource_description] if args.key?(:resource_description)
27899
28193
  @resource_title = args[:resource_title] if args.key?(:resource_title)
@@ -30840,6 +31134,12 @@ module Google
30840
31134
  # @return [String]
30841
31135
  attr_accessor :display_name
30842
31136
 
31137
+ # Represents a customer-managed encryption key spec that can be applied to a top-
31138
+ # level resource.
31139
+ # Corresponds to the JSON property `encryptionSpec`
31140
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec]
31141
+ attr_accessor :encryption_spec
31142
+
30843
31143
  # Optional. Used to perform consistent read-modify-write updates. If not set, a
30844
31144
  # blind "overwrite" update happens.
30845
31145
  # Corresponds to the JSON property `etag`
@@ -30872,6 +31172,7 @@ module Google
30872
31172
  @create_time = args[:create_time] if args.key?(:create_time)
30873
31173
  @description = args[:description] if args.key?(:description)
30874
31174
  @display_name = args[:display_name] if args.key?(:display_name)
31175
+ @encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
30875
31176
  @etag = args[:etag] if args.key?(:etag)
30876
31177
  @name = args[:name] if args.key?(:name)
30877
31178
  @spec = args[:spec] if args.key?(:spec)
@@ -30991,6 +31292,15 @@ module Google
30991
31292
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngineSpecPackageSpec]
30992
31293
  attr_accessor :package_spec
30993
31294
 
31295
+ # Optional. The service account that the Reasoning Engine artifact runs as. It
31296
+ # should have "roles/storage.objectViewer" for reading the user project's Cloud
31297
+ # Storage and "roles/aiplatform.user" for using Vertex extensions. If not
31298
+ # specified, the Vertex AI Reasoning Engine Service Agent in the project will be
31299
+ # used.
31300
+ # Corresponds to the JSON property `serviceAccount`
31301
+ # @return [String]
31302
+ attr_accessor :service_account
31303
+
30994
31304
  def initialize(**args)
30995
31305
  update!(**args)
30996
31306
  end
@@ -31001,6 +31311,7 @@ module Google
31001
31311
  @class_methods = args[:class_methods] if args.key?(:class_methods)
31002
31312
  @deployment_spec = args[:deployment_spec] if args.key?(:deployment_spec)
31003
31313
  @package_spec = args[:package_spec] if args.key?(:package_spec)
31314
+ @service_account = args[:service_account] if args.key?(:service_account)
31004
31315
  end
31005
31316
  end
31006
31317
 
@@ -40610,6 +40921,12 @@ module Google
40610
40921
  # @return [String]
40611
40922
  attr_accessor :display_name
40612
40923
 
40924
+ # Optional. Timestamp of when this session is considered expired. This is *
40925
+ # always* provided on output, regardless of what was sent on input.
40926
+ # Corresponds to the JSON property `expireTime`
40927
+ # @return [String]
40928
+ attr_accessor :expire_time
40929
+
40613
40930
  # Identifier. The resource name of the session. Format: 'projects/`project`/
40614
40931
  # locations/`location`/reasoningEngines/`reasoning_engine`/sessions/`session`'.
40615
40932
  # Corresponds to the JSON property `name`
@@ -40621,6 +40938,11 @@ module Google
40621
40938
  # @return [Hash<String,Object>]
40622
40939
  attr_accessor :session_state
40623
40940
 
40941
+ # Optional. Input only. The TTL for this session.
40942
+ # Corresponds to the JSON property `ttl`
40943
+ # @return [String]
40944
+ attr_accessor :ttl
40945
+
40624
40946
  # Output only. Timestamp when the session was updated.
40625
40947
  # Corresponds to the JSON property `updateTime`
40626
40948
  # @return [String]
@@ -40639,8 +40961,10 @@ module Google
40639
40961
  def update!(**args)
40640
40962
  @create_time = args[:create_time] if args.key?(:create_time)
40641
40963
  @display_name = args[:display_name] if args.key?(:display_name)
40964
+ @expire_time = args[:expire_time] if args.key?(:expire_time)
40642
40965
  @name = args[:name] if args.key?(:name)
40643
40966
  @session_state = args[:session_state] if args.key?(:session_state)
40967
+ @ttl = args[:ttl] if args.key?(:ttl)
40644
40968
  @update_time = args[:update_time] if args.key?(:update_time)
40645
40969
  @user_id = args[:user_id] if args.key?(:user_id)
40646
40970
  end
@@ -42967,14 +43291,27 @@ module Google
42967
43291
  # @return [String]
42968
43292
  attr_accessor :adapter_size
42969
43293
 
43294
+ # Optional. Batch size for tuning. This feature is only available for open
43295
+ # source models.
43296
+ # Corresponds to the JSON property `batchSize`
43297
+ # @return [Fixnum]
43298
+ attr_accessor :batch_size
43299
+
42970
43300
  # Optional. Number of complete passes the model makes over the entire training
42971
43301
  # dataset during training.
42972
43302
  # Corresponds to the JSON property `epochCount`
42973
43303
  # @return [Fixnum]
42974
43304
  attr_accessor :epoch_count
42975
43305
 
43306
+ # Optional. Learning rate for tuning. Mutually exclusive with `
43307
+ # learning_rate_multiplier`. This feature is only available for open source
43308
+ # models.
43309
+ # Corresponds to the JSON property `learningRate`
43310
+ # @return [Float]
43311
+ attr_accessor :learning_rate
43312
+
42976
43313
  # Optional. Multiplier for adjusting the default learning rate. Mutually
42977
- # exclusive with `learning_rate`.
43314
+ # exclusive with `learning_rate`. This feature is only available for 1P models.
42978
43315
  # Corresponds to the JSON property `learningRateMultiplier`
42979
43316
  # @return [Float]
42980
43317
  attr_accessor :learning_rate_multiplier
@@ -42986,7 +43323,9 @@ module Google
42986
43323
  # Update properties of this object
42987
43324
  def update!(**args)
42988
43325
  @adapter_size = args[:adapter_size] if args.key?(:adapter_size)
43326
+ @batch_size = args[:batch_size] if args.key?(:batch_size)
42989
43327
  @epoch_count = args[:epoch_count] if args.key?(:epoch_count)
43328
+ @learning_rate = args[:learning_rate] if args.key?(:learning_rate)
42990
43329
  @learning_rate_multiplier = args[:learning_rate_multiplier] if args.key?(:learning_rate_multiplier)
42991
43330
  end
42992
43331
  end
@@ -43203,6 +43542,11 @@ module Google
43203
43542
  # @return [String]
43204
43543
  attr_accessor :training_dataset_uri
43205
43544
 
43545
+ # Tuning mode.
43546
+ # Corresponds to the JSON property `tuningMode`
43547
+ # @return [String]
43548
+ attr_accessor :tuning_mode
43549
+
43206
43550
  # Optional. Validation dataset used for tuning. The dataset can be specified as
43207
43551
  # either a Cloud Storage path to a JSONL file or as the resource name of a
43208
43552
  # Vertex Multimodal Dataset.
@@ -43219,6 +43563,7 @@ module Google
43219
43563
  @export_last_checkpoint_only = args[:export_last_checkpoint_only] if args.key?(:export_last_checkpoint_only)
43220
43564
  @hyper_parameters = args[:hyper_parameters] if args.key?(:hyper_parameters)
43221
43565
  @training_dataset_uri = args[:training_dataset_uri] if args.key?(:training_dataset_uri)
43566
+ @tuning_mode = args[:tuning_mode] if args.key?(:tuning_mode)
43222
43567
  @validation_dataset_uri = args[:validation_dataset_uri] if args.key?(:validation_dataset_uri)
43223
43568
  end
43224
43569
  end
@@ -44023,11 +44368,16 @@ module Google
44023
44368
  # subset of these functions by populating FunctionCall in the response. User
44024
44369
  # should provide a FunctionResponse for each function call in the next turn.
44025
44370
  # Based on the function responses, Model will generate the final response back
44026
- # to the user. Maximum 128 function declarations can be provided.
44371
+ # to the user. Maximum 512 function declarations can be provided.
44027
44372
  # Corresponds to the JSON property `functionDeclarations`
44028
44373
  # @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FunctionDeclaration>]
44029
44374
  attr_accessor :function_declarations
44030
44375
 
44376
+ # Tool to retrieve public maps data for grounding, powered by Google.
44377
+ # Corresponds to the JSON property `googleMaps`
44378
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GoogleMaps]
44379
+ attr_accessor :google_maps
44380
+
44031
44381
  # GoogleSearch tool type. Tool to support Google Search in Model. Powered by
44032
44382
  # Google.
44033
44383
  # Corresponds to the JSON property `googleSearch`
@@ -44059,6 +44409,7 @@ module Google
44059
44409
  @computer_use = args[:computer_use] if args.key?(:computer_use)
44060
44410
  @enterprise_web_search = args[:enterprise_web_search] if args.key?(:enterprise_web_search)
44061
44411
  @function_declarations = args[:function_declarations] if args.key?(:function_declarations)
44412
+ @google_maps = args[:google_maps] if args.key?(:google_maps)
44062
44413
  @google_search = args[:google_search] if args.key?(:google_search)
44063
44414
  @google_search_retrieval = args[:google_search_retrieval] if args.key?(:google_search_retrieval)
44064
44415
  @retrieval = args[:retrieval] if args.key?(:retrieval)
@@ -45779,6 +46130,16 @@ module Google
45779
46130
  # @return [String]
45780
46131
  attr_accessor :create_time
45781
46132
 
46133
+ # Optional. The user-provided path to custom model weights. Set this field to
46134
+ # tune a custom model. The path must be a Cloud Storage directory that contains
46135
+ # the model weights in .safetensors format along with associated model metadata
46136
+ # files. If this field is set, the base_model field must still be set to
46137
+ # indicate which base model the custom model is derived from. This feature is
46138
+ # only available for open source models.
46139
+ # Corresponds to the JSON property `customBaseModel`
46140
+ # @return [String]
46141
+ attr_accessor :custom_base_model
46142
+
45782
46143
  # Optional. The description of the TuningJob.
45783
46144
  # Corresponds to the JSON property `description`
45784
46145
  # @return [String]
@@ -45833,6 +46194,12 @@ module Google
45833
46194
  # @return [String]
45834
46195
  attr_accessor :name
45835
46196
 
46197
+ # Optional. Cloud Storage path to the directory where tuning job outputs are
46198
+ # written to. This field is only available and required for open source models.
46199
+ # Corresponds to the JSON property `outputUri`
46200
+ # @return [String]
46201
+ attr_accessor :output_uri
46202
+
45836
46203
  # Tuning spec for Partner models.
45837
46204
  # Corresponds to the JSON property `partnerModelTuningSpec`
45838
46205
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PartnerModelTuningSpec]
@@ -45912,6 +46279,7 @@ module Google
45912
46279
  def update!(**args)
45913
46280
  @base_model = args[:base_model] if args.key?(:base_model)
45914
46281
  @create_time = args[:create_time] if args.key?(:create_time)
46282
+ @custom_base_model = args[:custom_base_model] if args.key?(:custom_base_model)
45915
46283
  @description = args[:description] if args.key?(:description)
45916
46284
  @distillation_spec = args[:distillation_spec] if args.key?(:distillation_spec)
45917
46285
  @encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
@@ -45920,6 +46288,7 @@ module Google
45920
46288
  @experiment = args[:experiment] if args.key?(:experiment)
45921
46289
  @labels = args[:labels] if args.key?(:labels)
45922
46290
  @name = args[:name] if args.key?(:name)
46291
+ @output_uri = args[:output_uri] if args.key?(:output_uri)
45923
46292
  @partner_model_tuning_spec = args[:partner_model_tuning_spec] if args.key?(:partner_model_tuning_spec)
45924
46293
  @pipeline_job = args[:pipeline_job] if args.key?(:pipeline_job)
45925
46294
  @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AiplatformV1beta1
18
18
  # Version of the google-apis-aiplatform_v1beta1 gem
19
- GEM_VERSION = "0.54.0"
19
+ GEM_VERSION = "0.56.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250711"
25
+ REVISION = "20250728"
26
26
  end
27
27
  end
28
28
  end
@@ -1264,6 +1264,12 @@ module Google
1264
1264
  include Google::Apis::Core::JsonObjectSupport
1265
1265
  end
1266
1266
 
1267
+ class GoogleCloudAiplatformV1beta1DeployRequestCustomModel
1268
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1269
+
1270
+ include Google::Apis::Core::JsonObjectSupport
1271
+ end
1272
+
1267
1273
  class GoogleCloudAiplatformV1beta1DeployRequestDeployConfig
1268
1274
  class Representation < Google::Apis::Core::JsonRepresentation; end
1269
1275
 
@@ -2404,6 +2410,12 @@ module Google
2404
2410
  include Google::Apis::Core::JsonObjectSupport
2405
2411
  end
2406
2412
 
2413
+ class GoogleCloudAiplatformV1beta1GdcConfig
2414
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2415
+
2416
+ include Google::Apis::Core::JsonObjectSupport
2417
+ end
2418
+
2407
2419
  class GoogleCloudAiplatformV1beta1GeminiExample
2408
2420
  class Representation < Google::Apis::Core::JsonRepresentation; end
2409
2421
 
@@ -2566,6 +2578,12 @@ module Google
2566
2578
  include Google::Apis::Core::JsonObjectSupport
2567
2579
  end
2568
2580
 
2581
+ class GoogleCloudAiplatformV1beta1GoogleMaps
2582
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2583
+
2584
+ include Google::Apis::Core::JsonObjectSupport
2585
+ end
2586
+
2569
2587
  class GoogleCloudAiplatformV1beta1GoogleSearchRetrieval
2570
2588
  class Representation < Google::Apis::Core::JsonRepresentation; end
2571
2589
 
@@ -2602,6 +2620,30 @@ module Google
2602
2620
  include Google::Apis::Core::JsonObjectSupport
2603
2621
  end
2604
2622
 
2623
+ class GoogleCloudAiplatformV1beta1GroundingChunkMaps
2624
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2625
+
2626
+ include Google::Apis::Core::JsonObjectSupport
2627
+ end
2628
+
2629
+ class GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSources
2630
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2631
+
2632
+ include Google::Apis::Core::JsonObjectSupport
2633
+ end
2634
+
2635
+ class GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution
2636
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2637
+
2638
+ include Google::Apis::Core::JsonObjectSupport
2639
+ end
2640
+
2641
+ class GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSourcesReviewSnippet
2642
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2643
+
2644
+ include Google::Apis::Core::JsonObjectSupport
2645
+ end
2646
+
2605
2647
  class GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext
2606
2648
  class Representation < Google::Apis::Core::JsonRepresentation; end
2607
2649
 
@@ -9611,6 +9653,7 @@ module Google
9611
9653
  class GoogleCloudAiplatformV1beta1CreateEndpointOperationMetadata
9612
9654
  # @private
9613
9655
  class Representation < Google::Apis::Core::JsonRepresentation
9656
+ property :deployment_stage, as: 'deploymentStage'
9614
9657
  property :generic_metadata, as: 'genericMetadata', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenericOperationMetadata, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenericOperationMetadata::Representation
9615
9658
 
9616
9659
  end
@@ -10162,6 +10205,7 @@ module Google
10162
10205
  class GoogleCloudAiplatformV1beta1DeployModelOperationMetadata
10163
10206
  # @private
10164
10207
  class Representation < Google::Apis::Core::JsonRepresentation
10208
+ property :deployment_stage, as: 'deploymentStage'
10165
10209
  property :generic_metadata, as: 'genericMetadata', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenericOperationMetadata, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenericOperationMetadata::Representation
10166
10210
 
10167
10211
  end
@@ -10200,6 +10244,8 @@ module Google
10200
10244
  class GoogleCloudAiplatformV1beta1DeployRequest
10201
10245
  # @private
10202
10246
  class Representation < Google::Apis::Core::JsonRepresentation
10247
+ property :custom_model, as: 'customModel', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DeployRequestCustomModel, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DeployRequestCustomModel::Representation
10248
+
10203
10249
  property :deploy_config, as: 'deployConfig', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DeployRequestDeployConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DeployRequestDeployConfig::Representation
10204
10250
 
10205
10251
  property :endpoint_config, as: 'endpointConfig', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DeployRequestEndpointConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DeployRequestEndpointConfig::Representation
@@ -10211,6 +10257,14 @@ module Google
10211
10257
  end
10212
10258
  end
10213
10259
 
10260
+ class GoogleCloudAiplatformV1beta1DeployRequestCustomModel
10261
+ # @private
10262
+ class Representation < Google::Apis::Core::JsonRepresentation
10263
+ property :gcs_uri, as: 'gcsUri'
10264
+ property :model_id, as: 'modelId'
10265
+ end
10266
+ end
10267
+
10214
10268
  class GoogleCloudAiplatformV1beta1DeployRequestDeployConfig
10215
10269
  # @private
10216
10270
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -10238,6 +10292,7 @@ module Google
10238
10292
  property :hugging_face_access_token, as: 'huggingFaceAccessToken'
10239
10293
  property :hugging_face_cache_enabled, as: 'huggingFaceCacheEnabled'
10240
10294
  property :model_display_name, as: 'modelDisplayName'
10295
+ property :model_user_id, as: 'modelUserId'
10241
10296
  end
10242
10297
  end
10243
10298
 
@@ -10316,6 +10371,7 @@ module Google
10316
10371
 
10317
10372
  property :faster_deployment_config, as: 'fasterDeploymentConfig', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FasterDeploymentConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FasterDeploymentConfig::Representation
10318
10373
 
10374
+ property :gdc_connected_model, as: 'gdcConnectedModel'
10319
10375
  property :id, as: 'id'
10320
10376
  property :model, as: 'model'
10321
10377
  property :model_version_id, as: 'modelVersionId'
@@ -10502,6 +10558,8 @@ module Google
10502
10558
  property :encryption_spec, as: 'encryptionSpec', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec::Representation
10503
10559
 
10504
10560
  property :etag, as: 'etag'
10561
+ property :gdc_config, as: 'gdcConfig', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GdcConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GdcConfig::Representation
10562
+
10505
10563
  property :gen_ai_advanced_features_config, as: 'genAiAdvancedFeaturesConfig', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenAiAdvancedFeaturesConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenAiAdvancedFeaturesConfig::Representation
10506
10564
 
10507
10565
  hash :labels, as: 'labels'
@@ -11786,6 +11844,8 @@ module Google
11786
11844
  # @private
11787
11845
  class Representation < Google::Apis::Core::JsonRepresentation
11788
11846
  property :name, as: 'name'
11847
+ property :value, as: 'value', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureValue, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureValue::Representation
11848
+
11789
11849
  property :value_and_timestamp, as: 'valueAndTimestamp', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureViewDirectWriteRequestDataKeyAndFeatureValuesFeatureFeatureValueAndTimestamp, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureViewDirectWriteRequestDataKeyAndFeatureValuesFeatureFeatureValueAndTimestamp::Representation
11790
11850
 
11791
11851
  end
@@ -12304,6 +12364,13 @@ module Google
12304
12364
  end
12305
12365
  end
12306
12366
 
12367
+ class GoogleCloudAiplatformV1beta1GdcConfig
12368
+ # @private
12369
+ class Representation < Google::Apis::Core::JsonRepresentation
12370
+ property :zone, as: 'zone'
12371
+ end
12372
+ end
12373
+
12307
12374
  class GoogleCloudAiplatformV1beta1GeminiExample
12308
12375
  # @private
12309
12376
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -12603,6 +12670,16 @@ module Google
12603
12670
  end
12604
12671
  end
12605
12672
 
12673
+ class GoogleCloudAiplatformV1beta1GoogleMaps
12674
+ # @private
12675
+ class Representation < Google::Apis::Core::JsonRepresentation
12676
+ property :api_auth, as: 'apiAuth', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ApiAuth, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ApiAuth::Representation
12677
+
12678
+ property :auth_config, as: 'authConfig', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AuthConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AuthConfig::Representation
12679
+
12680
+ end
12681
+ end
12682
+
12606
12683
  class GoogleCloudAiplatformV1beta1GoogleSearchRetrieval
12607
12684
  # @private
12608
12685
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -12648,6 +12725,8 @@ module Google
12648
12725
  class GoogleCloudAiplatformV1beta1GroundingChunk
12649
12726
  # @private
12650
12727
  class Representation < Google::Apis::Core::JsonRepresentation
12728
+ property :maps, as: 'maps', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GroundingChunkMaps, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GroundingChunkMaps::Representation
12729
+
12651
12730
  property :retrieved_context, as: 'retrievedContext', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext::Representation
12652
12731
 
12653
12732
  property :web, as: 'web', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GroundingChunkWeb, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GroundingChunkWeb::Representation
@@ -12655,6 +12734,48 @@ module Google
12655
12734
  end
12656
12735
  end
12657
12736
 
12737
+ class GoogleCloudAiplatformV1beta1GroundingChunkMaps
12738
+ # @private
12739
+ class Representation < Google::Apis::Core::JsonRepresentation
12740
+ property :place_answer_sources, as: 'placeAnswerSources', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSources, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSources::Representation
12741
+
12742
+ property :place_id, as: 'placeId'
12743
+ property :text, as: 'text'
12744
+ property :title, as: 'title'
12745
+ property :uri, as: 'uri'
12746
+ end
12747
+ end
12748
+
12749
+ class GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSources
12750
+ # @private
12751
+ class Representation < Google::Apis::Core::JsonRepresentation
12752
+ property :flag_content_uri, as: 'flagContentUri'
12753
+ collection :review_snippets, as: 'reviewSnippets', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSourcesReviewSnippet, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSourcesReviewSnippet::Representation
12754
+
12755
+ end
12756
+ end
12757
+
12758
+ class GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution
12759
+ # @private
12760
+ class Representation < Google::Apis::Core::JsonRepresentation
12761
+ property :display_name, as: 'displayName'
12762
+ property :photo_uri, as: 'photoUri'
12763
+ property :uri, as: 'uri'
12764
+ end
12765
+ end
12766
+
12767
+ class GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSourcesReviewSnippet
12768
+ # @private
12769
+ class Representation < Google::Apis::Core::JsonRepresentation
12770
+ property :author_attribution, as: 'authorAttribution', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution::Representation
12771
+
12772
+ property :flag_content_uri, as: 'flagContentUri'
12773
+ property :google_maps_uri, as: 'googleMapsUri'
12774
+ property :relative_publish_time_description, as: 'relativePublishTimeDescription'
12775
+ property :review, as: 'review'
12776
+ end
12777
+ end
12778
+
12658
12779
  class GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext
12659
12780
  # @private
12660
12781
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -12678,6 +12799,7 @@ module Google
12678
12799
  class GoogleCloudAiplatformV1beta1GroundingMetadata
12679
12800
  # @private
12680
12801
  class Representation < Google::Apis::Core::JsonRepresentation
12802
+ property :google_maps_widget_context_token, as: 'googleMapsWidgetContextToken'
12681
12803
  collection :grounding_chunks, as: 'groundingChunks', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GroundingChunk, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GroundingChunk::Representation
12682
12804
 
12683
12805
  collection :grounding_supports, as: 'groundingSupports', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GroundingSupport, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GroundingSupport::Representation
@@ -12968,6 +13090,7 @@ module Google
12968
13090
  property :crowding_tag, as: 'crowdingTag', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1IndexDatapointCrowdingTag, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1IndexDatapointCrowdingTag::Representation
12969
13091
 
12970
13092
  property :datapoint_id, as: 'datapointId'
13093
+ hash :embedding_metadata, as: 'embeddingMetadata'
12971
13094
  collection :feature_vector, as: 'featureVector'
12972
13095
  collection :numeric_restricts, as: 'numericRestricts', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1IndexDatapointNumericRestriction, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1IndexDatapointNumericRestriction::Representation
12973
13096
 
@@ -16092,6 +16215,7 @@ module Google
16092
16215
  class GoogleCloudAiplatformV1beta1PublisherModelCallToActionRegionalResourceReferences
16093
16216
  # @private
16094
16217
  class Representation < Google::Apis::Core::JsonRepresentation
16218
+ property :colab_notebook_disabled, as: 'colabNotebookDisabled'
16095
16219
  hash :references, as: 'references', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelResourceReference, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelResourceReference::Representation
16096
16220
 
16097
16221
  property :resource_description, as: 'resourceDescription'
@@ -17038,6 +17162,8 @@ module Google
17038
17162
  property :create_time, as: 'createTime'
17039
17163
  property :description, as: 'description'
17040
17164
  property :display_name, as: 'displayName'
17165
+ property :encryption_spec, as: 'encryptionSpec', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec::Representation
17166
+
17041
17167
  property :etag, as: 'etag'
17042
17168
  property :name, as: 'name'
17043
17169
  property :spec, as: 'spec', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngineSpec, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngineSpec::Representation
@@ -17087,6 +17213,7 @@ module Google
17087
17213
 
17088
17214
  property :package_spec, as: 'packageSpec', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngineSpecPackageSpec, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngineSpecPackageSpec::Representation
17089
17215
 
17216
+ property :service_account, as: 'serviceAccount'
17090
17217
  end
17091
17218
  end
17092
17219
 
@@ -19742,8 +19869,10 @@ module Google
19742
19869
  class Representation < Google::Apis::Core::JsonRepresentation
19743
19870
  property :create_time, as: 'createTime'
19744
19871
  property :display_name, as: 'displayName'
19872
+ property :expire_time, as: 'expireTime'
19745
19873
  property :name, as: 'name'
19746
19874
  hash :session_state, as: 'sessionState'
19875
+ property :ttl, as: 'ttl'
19747
19876
  property :update_time, as: 'updateTime'
19748
19877
  property :user_id, as: 'userId'
19749
19878
  end
@@ -20427,7 +20556,9 @@ module Google
20427
20556
  # @private
20428
20557
  class Representation < Google::Apis::Core::JsonRepresentation
20429
20558
  property :adapter_size, as: 'adapterSize'
20559
+ property :batch_size, :numeric_string => true, as: 'batchSize'
20430
20560
  property :epoch_count, :numeric_string => true, as: 'epochCount'
20561
+ property :learning_rate, as: 'learningRate'
20431
20562
  property :learning_rate_multiplier, as: 'learningRateMultiplier'
20432
20563
  end
20433
20564
  end
@@ -20486,6 +20617,7 @@ module Google
20486
20617
  property :hyper_parameters, as: 'hyperParameters', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SupervisedHyperParameters, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SupervisedHyperParameters::Representation
20487
20618
 
20488
20619
  property :training_dataset_uri, as: 'trainingDatasetUri'
20620
+ property :tuning_mode, as: 'tuningMode'
20489
20621
  property :validation_dataset_uri, as: 'validationDatasetUri'
20490
20622
  end
20491
20623
  end
@@ -20691,6 +20823,8 @@ module Google
20691
20823
 
20692
20824
  collection :function_declarations, as: 'functionDeclarations', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FunctionDeclaration, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FunctionDeclaration::Representation
20693
20825
 
20826
+ property :google_maps, as: 'googleMaps', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GoogleMaps, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GoogleMaps::Representation
20827
+
20694
20828
  property :google_search, as: 'googleSearch', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ToolGoogleSearch, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ToolGoogleSearch::Representation
20695
20829
 
20696
20830
  property :google_search_retrieval, as: 'googleSearchRetrieval', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GoogleSearchRetrieval, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GoogleSearchRetrieval::Representation
@@ -21287,6 +21421,7 @@ module Google
21287
21421
  class Representation < Google::Apis::Core::JsonRepresentation
21288
21422
  property :base_model, as: 'baseModel'
21289
21423
  property :create_time, as: 'createTime'
21424
+ property :custom_base_model, as: 'customBaseModel'
21290
21425
  property :description, as: 'description'
21291
21426
  property :distillation_spec, as: 'distillationSpec', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DistillationSpec, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DistillationSpec::Representation
21292
21427
 
@@ -21298,6 +21433,7 @@ module Google
21298
21433
  property :experiment, as: 'experiment'
21299
21434
  hash :labels, as: 'labels'
21300
21435
  property :name, as: 'name'
21436
+ property :output_uri, as: 'outputUri'
21301
21437
  property :partner_model_tuning_spec, as: 'partnerModelTuningSpec', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PartnerModelTuningSpec, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PartnerModelTuningSpec::Representation
21302
21438
 
21303
21439
  property :pipeline_job, as: 'pipelineJob'
@@ -903,6 +903,37 @@ module Google
903
903
  execute_or_queue_command(command, &block)
904
904
  end
905
905
 
906
+ # Fetches the configs of publisher models.
907
+ # @param [String] name
908
+ # Required. The name of the publisher model, in the format of `projects/`project`
909
+ # /locations/`location`/publishers/`publisher`/models/`model``.
910
+ # @param [String] fields
911
+ # Selector specifying which fields to include in a partial response.
912
+ # @param [String] quota_user
913
+ # Available to use for quota purposes for server-side applications. Can be any
914
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
915
+ # @param [Google::Apis::RequestOptions] options
916
+ # Request-specific options
917
+ #
918
+ # @yield [result, err] Result & error if block supplied
919
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelConfig] parsed result object
920
+ # @yieldparam err [StandardError] error object if request failed
921
+ #
922
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelConfig]
923
+ #
924
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
925
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
926
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
927
+ def fetch_project_publisher_model_config(name, fields: nil, quota_user: nil, options: nil, &block)
928
+ command = make_simple_command(:get, 'v1beta1/{+name}:fetchPublisherModelConfig', options)
929
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelConfig::Representation
930
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelConfig
931
+ command.params['name'] = name unless name.nil?
932
+ command.query['fields'] = fields unless fields.nil?
933
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
934
+ execute_or_queue_command(command, &block)
935
+ end
936
+
906
937
  # Gets a GenAI cache config.
907
938
  # @param [String] name
908
939
  # Required. Name of the cache config. Format: - `projects/`project`/cacheConfig`.
@@ -933,6 +964,41 @@ module Google
933
964
  execute_or_queue_command(command, &block)
934
965
  end
935
966
 
967
+ # Sets (creates or updates) configs of publisher models. For example, sets the
968
+ # request/response logging config.
969
+ # @param [String] name
970
+ # Required. The name of the publisher model, in the format of `projects/`project`
971
+ # /locations/`location`/publishers/`publisher`/models/`model``.
972
+ # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SetPublisherModelConfigRequest] google_cloud_aiplatform_v1beta1_set_publisher_model_config_request_object
973
+ # @param [String] fields
974
+ # Selector specifying which fields to include in a partial response.
975
+ # @param [String] quota_user
976
+ # Available to use for quota purposes for server-side applications. Can be any
977
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
978
+ # @param [Google::Apis::RequestOptions] options
979
+ # Request-specific options
980
+ #
981
+ # @yield [result, err] Result & error if block supplied
982
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
983
+ # @yieldparam err [StandardError] error object if request failed
984
+ #
985
+ # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
986
+ #
987
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
988
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
989
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
990
+ def set_project_publisher_model_config(name, google_cloud_aiplatform_v1beta1_set_publisher_model_config_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
991
+ command = make_simple_command(:post, 'v1beta1/{+name}:setPublisherModelConfig', options)
992
+ command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SetPublisherModelConfigRequest::Representation
993
+ command.request_object = google_cloud_aiplatform_v1beta1_set_publisher_model_config_request_object
994
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
995
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
996
+ command.params['name'] = name unless name.nil?
997
+ command.query['fields'] = fields unless fields.nil?
998
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
999
+ execute_or_queue_command(command, &block)
1000
+ end
1001
+
936
1002
  # Updates a cache config.
937
1003
  # @param [String] name
938
1004
  # Identifier. Name of the cache config. Format: - `projects/`project`/
@@ -5619,6 +5685,10 @@ module Google
5619
5685
  # space must be quoted. `labels."a key"`. * `base_model_name` only supports `=`.
5620
5686
  # Some examples: * `endpoint=1` * `displayName="myDisplayName"` * `labels.myKey="
5621
5687
  # myValue"` * `baseModelName="text-bison"`
5688
+ # @param [String] gdc_zone
5689
+ # Optional. Configures the Google Distributed Cloud (GDC) environment for online
5690
+ # prediction. Only set this field when the Endpoint is to be deployed in a GDC
5691
+ # environment.
5622
5692
  # @param [Fixnum] page_size
5623
5693
  # Optional. The standard list page size.
5624
5694
  # @param [String] page_token
@@ -5644,12 +5714,13 @@ module Google
5644
5714
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5645
5715
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5646
5716
  # @raise [Google::Apis::AuthorizationError] Authorization is required
5647
- def list_project_location_endpoints(parent, filter: nil, page_size: nil, page_token: nil, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
5717
+ def list_project_location_endpoints(parent, filter: nil, gdc_zone: nil, page_size: nil, page_token: nil, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
5648
5718
  command = make_simple_command(:get, 'v1beta1/{+parent}/endpoints', options)
5649
5719
  command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListEndpointsResponse::Representation
5650
5720
  command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListEndpointsResponse
5651
5721
  command.params['parent'] = parent unless parent.nil?
5652
5722
  command.query['filter'] = filter unless filter.nil?
5723
+ command.query['gdcZone'] = gdc_zone unless gdc_zone.nil?
5653
5724
  command.query['pageSize'] = page_size unless page_size.nil?
5654
5725
  command.query['pageToken'] = page_token unless page_token.nil?
5655
5726
  command.query['readMask'] = read_mask unless read_mask.nil?
@@ -5659,9 +5730,9 @@ module Google
5659
5730
  end
5660
5731
 
5661
5732
  # Updates an existing deployed model. Updatable fields include `
5662
- # min_replica_count`, `max_replica_count`, `autoscaling_metric_specs`, `
5663
- # disable_container_logging` (v1 only), and `enable_container_logging` (v1beta1
5664
- # only).
5733
+ # min_replica_count`, `max_replica_count`, `required_replica_count`, `
5734
+ # autoscaling_metric_specs`, `disable_container_logging` (v1 only), and `
5735
+ # enable_container_logging` (v1beta1 only).
5665
5736
  # @param [String] endpoint
5666
5737
  # Required. The name of the Endpoint resource into which to mutate a
5667
5738
  # DeployedModel. Format: `projects/`project`/locations/`location`/endpoints/`
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-aiplatform_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.54.0
4
+ version: 0.56.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1beta1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1beta1/v0.54.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1beta1/v0.56.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1beta1
62
62
  rdoc_options: []
63
63
  require_paths: