google-apis-aiplatform_v1 0.12.0 → 0.13.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8fa723232bdff8b241382d63b870acba61602b4dad100c7fe13311a554d56503
4
- data.tar.gz: 13cd3b2a7aeba92a8181b76f1e5f44a44eb09a74150f7f451284ad6137690f79
3
+ metadata.gz: 8129d7f75a0c0bf39fc2f45ca9a326d4189d6654dcceafdbc604fecd11a1bd7e
4
+ data.tar.gz: 75e8fc22f5a0b4e1bbb3333709122968fc18eb1a1563878c8a814f91ae1208d6
5
5
  SHA512:
6
- metadata.gz: 0d7d77bf3230f5a90cea1248e571708cc3cb493db5365c0a58504590326c316cfba4fcef634dffdbed8b303a59b822bec0cdf366921c8003d6862be5d5e50a76
7
- data.tar.gz: 6c24bf11183e2b2411687b9214ec4b6d56e2db3a5d3ba1717fd58cd2a379b8a37f6560f74f81055cf4ccc53ceb2a5ce7e424680ff8140b239132e31c0290837d
6
+ metadata.gz: 31c4cb2d50456f93e11835474c81475ba599aaab98869415e4db9a1dc25012907d8b411302aa91a066ae0127c4e3fef00096269098d81ae236704d7214ef91d4
7
+ data.tar.gz: 2444f78cbea3f535f2911e3641dcde4cf4f85419dfb705742c08da8bd34c69e106b552c33380f3995a5247f7a0a995a1edda3882c7a92c4597b0419dd10a2b68
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-aiplatform_v1
2
2
 
3
+ ### v0.13.0 (2024-02-11)
4
+
5
+ * Regenerated from discovery document revision 20240205
6
+
3
7
  ### v0.12.0 (2024-01-28)
4
8
 
5
9
  * Regenerated from discovery document revision 20240125
@@ -882,11 +882,6 @@ module Google
882
882
  # @return [String]
883
883
  attr_accessor :end_offset
884
884
 
885
- # Internal only fields
886
- # Corresponds to the JSON property `modelLevelMetaData`
887
- # @return [Google::Apis::AiplatformV1::CloudAiNlLlmProtoServicePartVideoMetadataModelLevelMetadata]
888
- attr_accessor :model_level_meta_data
889
-
890
885
  # The start offset of the video.
891
886
  # Corresponds to the JSON property `startOffset`
892
887
  # @return [String]
@@ -899,36 +894,10 @@ module Google
899
894
  # Update properties of this object
900
895
  def update!(**args)
901
896
  @end_offset = args[:end_offset] if args.key?(:end_offset)
902
- @model_level_meta_data = args[:model_level_meta_data] if args.key?(:model_level_meta_data)
903
897
  @start_offset = args[:start_offset] if args.key?(:start_offset)
904
898
  end
905
899
  end
906
900
 
907
- # Internal only fields
908
- class CloudAiNlLlmProtoServicePartVideoMetadataModelLevelMetadata
909
- include Google::Apis::Core::Hashable
910
-
911
- # Frame rate to decode from this video.
912
- # Corresponds to the JSON property `fps`
913
- # @return [Float]
914
- attr_accessor :fps
915
-
916
- # Number of frames to decode from this video.
917
- # Corresponds to the JSON property `numFrames`
918
- # @return [Fixnum]
919
- attr_accessor :num_frames
920
-
921
- def initialize(**args)
922
- update!(**args)
923
- end
924
-
925
- # Update properties of this object
926
- def update!(**args)
927
- @fps = args[:fps] if args.key?(:fps)
928
- @num_frames = args[:num_frames] if args.key?(:num_frames)
929
- end
930
- end
931
-
932
901
  # Content filter results for a prompt sent in the request.
933
902
  class CloudAiNlLlmProtoServicePromptFeedback
934
903
  include Google::Apis::Core::Hashable
@@ -12685,7 +12654,7 @@ module Google
12685
12654
  include Google::Apis::Core::Hashable
12686
12655
 
12687
12656
  # Immutable. The path to the directory containing the Model artifact and any of
12688
- # its supporting files. Not present for AutoML Models or Large Models.
12657
+ # its supporting files. Not required for AutoML Models.
12689
12658
  # Corresponds to the JSON property `artifactUri`
12690
12659
  # @return [String]
12691
12660
  attr_accessor :artifact_uri
@@ -13231,6 +13200,12 @@ module Google
13231
13200
  # @return [String]
13232
13201
  attr_accessor :log_type
13233
13202
 
13203
+ # Output only. The schema version of the request/response logging BigQuery table.
13204
+ # Default to v1 if unset.
13205
+ # Corresponds to the JSON property `requestResponseLoggingSchemaVersion`
13206
+ # @return [String]
13207
+ attr_accessor :request_response_logging_schema_version
13208
+
13234
13209
  def initialize(**args)
13235
13210
  update!(**args)
13236
13211
  end
@@ -13240,6 +13215,7 @@ module Google
13240
13215
  @bigquery_table_path = args[:bigquery_table_path] if args.key?(:bigquery_table_path)
13241
13216
  @log_source = args[:log_source] if args.key?(:log_source)
13242
13217
  @log_type = args[:log_type] if args.key?(:log_type)
13218
+ @request_response_logging_schema_version = args[:request_response_logging_schema_version] if args.key?(:request_response_logging_schema_version)
13243
13219
  end
13244
13220
  end
13245
13221
 
@@ -13349,7 +13325,7 @@ module Google
13349
13325
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModelDeploymentMonitoringScheduleConfig]
13350
13326
  attr_accessor :model_deployment_monitoring_schedule_config
13351
13327
 
13352
- # Alert config for model monitoring.
13328
+ # The alert config for model monitoring.
13353
13329
  # Corresponds to the JSON property `modelMonitoringAlertConfig`
13354
13330
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModelMonitoringAlertConfig]
13355
13331
  attr_accessor :model_monitoring_alert_config
@@ -13927,7 +13903,7 @@ module Google
13927
13903
  end
13928
13904
  end
13929
13905
 
13930
- #
13906
+ # The alert config for model monitoring.
13931
13907
  class GoogleCloudAiplatformV1ModelMonitoringAlertConfig
13932
13908
  include Google::Apis::Core::Hashable
13933
13909
 
@@ -14847,6 +14823,146 @@ module Google
14847
14823
  end
14848
14824
  end
14849
14825
 
14826
+ # A query to find a number of similar entities.
14827
+ class GoogleCloudAiplatformV1NearestNeighborQuery
14828
+ include Google::Apis::Core::Hashable
14829
+
14830
+ # The embedding vector.
14831
+ # Corresponds to the JSON property `embedding`
14832
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NearestNeighborQueryEmbedding]
14833
+ attr_accessor :embedding
14834
+
14835
+ # Optional. The entity id whose similar entities should be searched for. If
14836
+ # embedding is set, search will use embedding instead of entity_id.
14837
+ # Corresponds to the JSON property `entityId`
14838
+ # @return [String]
14839
+ attr_accessor :entity_id
14840
+
14841
+ # Optional. The number of similar entities to be retrieved from feature view for
14842
+ # each query.
14843
+ # Corresponds to the JSON property `neighborCount`
14844
+ # @return [Fixnum]
14845
+ attr_accessor :neighbor_count
14846
+
14847
+ # Parameters that can be overrided in each query to tune query latency and
14848
+ # recall.
14849
+ # Corresponds to the JSON property `parameters`
14850
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NearestNeighborQueryParameters]
14851
+ attr_accessor :parameters
14852
+
14853
+ # Optional. Crowding is a constraint on a neighbor list produced by nearest
14854
+ # neighbor search requiring that no more than
14855
+ # sper_crowding_attribute_neighbor_count of the k neighbors returned have the
14856
+ # same value of crowding_attribute. It's used for improving result diversity.
14857
+ # Corresponds to the JSON property `perCrowdingAttributeNeighborCount`
14858
+ # @return [Fixnum]
14859
+ attr_accessor :per_crowding_attribute_neighbor_count
14860
+
14861
+ # Optional. The list of string filters.
14862
+ # Corresponds to the JSON property `stringFilters`
14863
+ # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NearestNeighborQueryStringFilter>]
14864
+ attr_accessor :string_filters
14865
+
14866
+ def initialize(**args)
14867
+ update!(**args)
14868
+ end
14869
+
14870
+ # Update properties of this object
14871
+ def update!(**args)
14872
+ @embedding = args[:embedding] if args.key?(:embedding)
14873
+ @entity_id = args[:entity_id] if args.key?(:entity_id)
14874
+ @neighbor_count = args[:neighbor_count] if args.key?(:neighbor_count)
14875
+ @parameters = args[:parameters] if args.key?(:parameters)
14876
+ @per_crowding_attribute_neighbor_count = args[:per_crowding_attribute_neighbor_count] if args.key?(:per_crowding_attribute_neighbor_count)
14877
+ @string_filters = args[:string_filters] if args.key?(:string_filters)
14878
+ end
14879
+ end
14880
+
14881
+ # The embedding vector.
14882
+ class GoogleCloudAiplatformV1NearestNeighborQueryEmbedding
14883
+ include Google::Apis::Core::Hashable
14884
+
14885
+ # Optional. Individual value in the embedding.
14886
+ # Corresponds to the JSON property `value`
14887
+ # @return [Array<Float>]
14888
+ attr_accessor :value
14889
+
14890
+ def initialize(**args)
14891
+ update!(**args)
14892
+ end
14893
+
14894
+ # Update properties of this object
14895
+ def update!(**args)
14896
+ @value = args[:value] if args.key?(:value)
14897
+ end
14898
+ end
14899
+
14900
+ # Parameters that can be overrided in each query to tune query latency and
14901
+ # recall.
14902
+ class GoogleCloudAiplatformV1NearestNeighborQueryParameters
14903
+ include Google::Apis::Core::Hashable
14904
+
14905
+ # Optional. The number of neighbors to find via approximate search before exact
14906
+ # reordering is performed; if set, this value must be > neighbor_count.
14907
+ # Corresponds to the JSON property `approximateNeighborCandidates`
14908
+ # @return [Fixnum]
14909
+ attr_accessor :approximate_neighbor_candidates
14910
+
14911
+ # Optional. The fraction of the number of leaves to search, set at query time
14912
+ # allows user to tune search performance. This value increase result in both
14913
+ # search accuracy and latency increase. The value should be between 0.0 and 1.0.
14914
+ # Corresponds to the JSON property `leafNodesSearchFraction`
14915
+ # @return [Float]
14916
+ attr_accessor :leaf_nodes_search_fraction
14917
+
14918
+ def initialize(**args)
14919
+ update!(**args)
14920
+ end
14921
+
14922
+ # Update properties of this object
14923
+ def update!(**args)
14924
+ @approximate_neighbor_candidates = args[:approximate_neighbor_candidates] if args.key?(:approximate_neighbor_candidates)
14925
+ @leaf_nodes_search_fraction = args[:leaf_nodes_search_fraction] if args.key?(:leaf_nodes_search_fraction)
14926
+ end
14927
+ end
14928
+
14929
+ # String filter is used to search a subset of the entities by using boolean
14930
+ # rules on string columns. For example: if a query specifies string filter with '
14931
+ # name = color, allow_tokens = `red, blue`, deny_tokens = `purple`',' then that
14932
+ # query will match entities that are red or blue, but if those points are also
14933
+ # purple, then they will be excluded even if they are red/blue. Only string
14934
+ # filter is supported for now, numeric filter will be supported in the near
14935
+ # future.
14936
+ class GoogleCloudAiplatformV1NearestNeighborQueryStringFilter
14937
+ include Google::Apis::Core::Hashable
14938
+
14939
+ # Optional. The allowed tokens.
14940
+ # Corresponds to the JSON property `allowTokens`
14941
+ # @return [Array<String>]
14942
+ attr_accessor :allow_tokens
14943
+
14944
+ # Optional. The denied tokens.
14945
+ # Corresponds to the JSON property `denyTokens`
14946
+ # @return [Array<String>]
14947
+ attr_accessor :deny_tokens
14948
+
14949
+ # Required. Column names in BigQuery that used as filters.
14950
+ # Corresponds to the JSON property `name`
14951
+ # @return [String]
14952
+ attr_accessor :name
14953
+
14954
+ def initialize(**args)
14955
+ update!(**args)
14956
+ end
14957
+
14958
+ # Update properties of this object
14959
+ def update!(**args)
14960
+ @allow_tokens = args[:allow_tokens] if args.key?(:allow_tokens)
14961
+ @deny_tokens = args[:deny_tokens] if args.key?(:deny_tokens)
14962
+ @name = args[:name] if args.key?(:name)
14963
+ end
14964
+ end
14965
+
14850
14966
  # Runtime operation metadata with regard to Matching Engine Index.
14851
14967
  class GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadata
14852
14968
  include Google::Apis::Core::Hashable
@@ -14959,6 +15075,56 @@ module Google
14959
15075
  end
14960
15076
  end
14961
15077
 
15078
+ # Nearest neighbors for one query.
15079
+ class GoogleCloudAiplatformV1NearestNeighbors
15080
+ include Google::Apis::Core::Hashable
15081
+
15082
+ # All its neighbors.
15083
+ # Corresponds to the JSON property `neighbors`
15084
+ # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NearestNeighborsNeighbor>]
15085
+ attr_accessor :neighbors
15086
+
15087
+ def initialize(**args)
15088
+ update!(**args)
15089
+ end
15090
+
15091
+ # Update properties of this object
15092
+ def update!(**args)
15093
+ @neighbors = args[:neighbors] if args.key?(:neighbors)
15094
+ end
15095
+ end
15096
+
15097
+ # A neighbor of the query vector.
15098
+ class GoogleCloudAiplatformV1NearestNeighborsNeighbor
15099
+ include Google::Apis::Core::Hashable
15100
+
15101
+ # The distance between the neighbor and the query vector.
15102
+ # Corresponds to the JSON property `distance`
15103
+ # @return [Float]
15104
+ attr_accessor :distance
15105
+
15106
+ # The id of the similar entity.
15107
+ # Corresponds to the JSON property `entityId`
15108
+ # @return [String]
15109
+ attr_accessor :entity_id
15110
+
15111
+ # Response message for FeatureOnlineStoreService.FetchFeatureValues
15112
+ # Corresponds to the JSON property `entityKeyValues`
15113
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FetchFeatureValuesResponse]
15114
+ attr_accessor :entity_key_values
15115
+
15116
+ def initialize(**args)
15117
+ update!(**args)
15118
+ end
15119
+
15120
+ # Update properties of this object
15121
+ def update!(**args)
15122
+ @distance = args[:distance] if args.key?(:distance)
15123
+ @entity_id = args[:entity_id] if args.key?(:entity_id)
15124
+ @entity_key_values = args[:entity_key_values] if args.key?(:entity_key_values)
15125
+ end
15126
+ end
15127
+
14962
15128
  # Neighbors for example-based explanations.
14963
15129
  class GoogleCloudAiplatformV1Neighbor
14964
15130
  include Google::Apis::Core::Hashable
@@ -16655,6 +16821,11 @@ module Google
16655
16821
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PublisherModelCallToActionDeploy]
16656
16822
  attr_accessor :deploy
16657
16823
 
16824
+ # Configurations for PublisherModel GKE deployment
16825
+ # Corresponds to the JSON property `deployGke`
16826
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PublisherModelCallToActionDeployGke]
16827
+ attr_accessor :deploy_gke
16828
+
16658
16829
  # The regional resource name or the URI. Key is region, e.g., us-central1,
16659
16830
  # europe-west2, global, etc..
16660
16831
  # Corresponds to the JSON property `openEvaluationPipeline`
@@ -16720,6 +16891,7 @@ module Google
16720
16891
  def update!(**args)
16721
16892
  @create_application = args[:create_application] if args.key?(:create_application)
16722
16893
  @deploy = args[:deploy] if args.key?(:deploy)
16894
+ @deploy_gke = args[:deploy_gke] if args.key?(:deploy_gke)
16723
16895
  @open_evaluation_pipeline = args[:open_evaluation_pipeline] if args.key?(:open_evaluation_pipeline)
16724
16896
  @open_fine_tuning_pipeline = args[:open_fine_tuning_pipeline] if args.key?(:open_fine_tuning_pipeline)
16725
16897
  @open_fine_tuning_pipelines = args[:open_fine_tuning_pipelines] if args.key?(:open_fine_tuning_pipelines)
@@ -16810,6 +16982,25 @@ module Google
16810
16982
  end
16811
16983
  end
16812
16984
 
16985
+ # Configurations for PublisherModel GKE deployment
16986
+ class GoogleCloudAiplatformV1PublisherModelCallToActionDeployGke
16987
+ include Google::Apis::Core::Hashable
16988
+
16989
+ # Optional. GKE deployment configuration in yaml format.
16990
+ # Corresponds to the JSON property `gkeYamlConfigs`
16991
+ # @return [Array<String>]
16992
+ attr_accessor :gke_yaml_configs
16993
+
16994
+ def initialize(**args)
16995
+ update!(**args)
16996
+ end
16997
+
16998
+ # Update properties of this object
16999
+ def update!(**args)
17000
+ @gke_yaml_configs = args[:gke_yaml_configs] if args.key?(:gke_yaml_configs)
17001
+ end
17002
+ end
17003
+
16813
17004
  # Open fine tuning pipelines.
16814
17005
  class GoogleCloudAiplatformV1PublisherModelCallToActionOpenFineTuningPipelines
16815
17006
  include Google::Apis::Core::Hashable
@@ -18230,12 +18421,6 @@ module Google
18230
18421
  attr_accessor :disable_retries
18231
18422
  alias_method :disable_retries?, :disable_retries
18232
18423
 
18233
- # Optional. This is the maximum time a user will wait in the QRM queue for
18234
- # resources. Default is 1 day
18235
- # Corresponds to the JSON property `maxWaitDuration`
18236
- # @return [String]
18237
- attr_accessor :max_wait_duration
18238
-
18239
18424
  # Restarts the entire CustomJob if a worker gets restarted. This feature can be
18240
18425
  # used by distributed training jobs that are not resilient to workers leaving
18241
18426
  # and joining a job.
@@ -18256,7 +18441,6 @@ module Google
18256
18441
  # Update properties of this object
18257
18442
  def update!(**args)
18258
18443
  @disable_retries = args[:disable_retries] if args.key?(:disable_retries)
18259
- @max_wait_duration = args[:max_wait_duration] if args.key?(:max_wait_duration)
18260
18444
  @restart_job_on_worker_restart = args[:restart_job_on_worker_restart] if args.key?(:restart_job_on_worker_restart)
18261
18445
  @timeout = args[:timeout] if args.key?(:timeout)
18262
18446
  end
@@ -24597,6 +24781,54 @@ module Google
24597
24781
  end
24598
24782
  end
24599
24783
 
24784
+ # The request message for FeatureOnlineStoreService.SearchNearestEntities.
24785
+ class GoogleCloudAiplatformV1SearchNearestEntitiesRequest
24786
+ include Google::Apis::Core::Hashable
24787
+
24788
+ # A query to find a number of similar entities.
24789
+ # Corresponds to the JSON property `query`
24790
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NearestNeighborQuery]
24791
+ attr_accessor :query
24792
+
24793
+ # Optional. If set to true, the full entities (including all vector values and
24794
+ # metadata) of the nearest neighbors are returned; otherwise only entity id of
24795
+ # the nearest neighbors will be returned. Note that returning full entities will
24796
+ # significantly increase the latency and cost of the query.
24797
+ # Corresponds to the JSON property `returnFullEntity`
24798
+ # @return [Boolean]
24799
+ attr_accessor :return_full_entity
24800
+ alias_method :return_full_entity?, :return_full_entity
24801
+
24802
+ def initialize(**args)
24803
+ update!(**args)
24804
+ end
24805
+
24806
+ # Update properties of this object
24807
+ def update!(**args)
24808
+ @query = args[:query] if args.key?(:query)
24809
+ @return_full_entity = args[:return_full_entity] if args.key?(:return_full_entity)
24810
+ end
24811
+ end
24812
+
24813
+ # Response message for FeatureOnlineStoreService.SearchNearestEntities
24814
+ class GoogleCloudAiplatformV1SearchNearestEntitiesResponse
24815
+ include Google::Apis::Core::Hashable
24816
+
24817
+ # Nearest neighbors for one query.
24818
+ # Corresponds to the JSON property `nearestNeighbors`
24819
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NearestNeighbors]
24820
+ attr_accessor :nearest_neighbors
24821
+
24822
+ def initialize(**args)
24823
+ update!(**args)
24824
+ end
24825
+
24826
+ # Update properties of this object
24827
+ def update!(**args)
24828
+ @nearest_neighbors = args[:nearest_neighbors] if args.key?(:nearest_neighbors)
24829
+ end
24830
+ end
24831
+
24600
24832
  # A set of Shielded Instance options. See [Images using supported Shielded VM
24601
24833
  # features](https://cloud.google.com/compute/docs/instances/modifying-shielded-
24602
24834
  # vm).
@@ -27446,6 +27678,14 @@ module Google
27446
27678
  # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1IndexDatapoint>]
27447
27679
  attr_accessor :datapoints
27448
27680
 
27681
+ # Optional. Update mask is used to specify the fields to be overwritten in the
27682
+ # datapoints by the update. The fields specified in the update_mask are relative
27683
+ # to each IndexDatapoint inside datapoints, not the full request. Updatable
27684
+ # fields: * Use `all_restricts` to update both restricts and numeric_restricts.
27685
+ # Corresponds to the JSON property `updateMask`
27686
+ # @return [String]
27687
+ attr_accessor :update_mask
27688
+
27449
27689
  def initialize(**args)
27450
27690
  update!(**args)
27451
27691
  end
@@ -27453,6 +27693,7 @@ module Google
27453
27693
  # Update properties of this object
27454
27694
  def update!(**args)
27455
27695
  @datapoints = args[:datapoints] if args.key?(:datapoints)
27696
+ @update_mask = args[:update_mask] if args.key?(:update_mask)
27456
27697
  end
27457
27698
  end
27458
27699
 
@@ -29685,7 +29926,9 @@ module Google
29685
29926
  # @return [Google::Apis::AiplatformV1::LearningGenaiRootHarmSafetyCatCategories]
29686
29927
  attr_accessor :safetycat
29687
29928
 
29688
- #
29929
+ # Spii Filter uses buckets http://google3/google/privacy/dlp/v2/storage.proto;l=
29930
+ # 77;rcl=584719820 to classify the input. LMRoot converts the bucket into double
29931
+ # score. For example the score for "POSSIBLE" is 3 / 5 = 0.6 .
29689
29932
  # Corresponds to the JSON property `spii`
29690
29933
  # @return [Google::Apis::AiplatformV1::LearningGenaiRootHarmSpiiFilter]
29691
29934
  attr_accessor :spii
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AiplatformV1
18
18
  # Version of the google-apis-aiplatform_v1 gem
19
- GEM_VERSION = "0.12.0"
19
+ GEM_VERSION = "0.13.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.13.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240125"
25
+ REVISION = "20240205"
26
26
  end
27
27
  end
28
28
  end
@@ -184,12 +184,6 @@ module Google
184
184
  include Google::Apis::Core::JsonObjectSupport
185
185
  end
186
186
 
187
- class CloudAiNlLlmProtoServicePartVideoMetadataModelLevelMetadata
188
- class Representation < Google::Apis::Core::JsonRepresentation; end
189
-
190
- include Google::Apis::Core::JsonObjectSupport
191
- end
192
-
193
187
  class CloudAiNlLlmProtoServicePromptFeedback
194
188
  class Representation < Google::Apis::Core::JsonRepresentation; end
195
189
 
@@ -2452,6 +2446,30 @@ module Google
2452
2446
  include Google::Apis::Core::JsonObjectSupport
2453
2447
  end
2454
2448
 
2449
+ class GoogleCloudAiplatformV1NearestNeighborQuery
2450
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2451
+
2452
+ include Google::Apis::Core::JsonObjectSupport
2453
+ end
2454
+
2455
+ class GoogleCloudAiplatformV1NearestNeighborQueryEmbedding
2456
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2457
+
2458
+ include Google::Apis::Core::JsonObjectSupport
2459
+ end
2460
+
2461
+ class GoogleCloudAiplatformV1NearestNeighborQueryParameters
2462
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2463
+
2464
+ include Google::Apis::Core::JsonObjectSupport
2465
+ end
2466
+
2467
+ class GoogleCloudAiplatformV1NearestNeighborQueryStringFilter
2468
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2469
+
2470
+ include Google::Apis::Core::JsonObjectSupport
2471
+ end
2472
+
2455
2473
  class GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadata
2456
2474
  class Representation < Google::Apis::Core::JsonRepresentation; end
2457
2475
 
@@ -2470,6 +2488,18 @@ module Google
2470
2488
  include Google::Apis::Core::JsonObjectSupport
2471
2489
  end
2472
2490
 
2491
+ class GoogleCloudAiplatformV1NearestNeighbors
2492
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2493
+
2494
+ include Google::Apis::Core::JsonObjectSupport
2495
+ end
2496
+
2497
+ class GoogleCloudAiplatformV1NearestNeighborsNeighbor
2498
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2499
+
2500
+ include Google::Apis::Core::JsonObjectSupport
2501
+ end
2502
+
2473
2503
  class GoogleCloudAiplatformV1Neighbor
2474
2504
  class Representation < Google::Apis::Core::JsonRepresentation; end
2475
2505
 
@@ -2716,6 +2746,12 @@ module Google
2716
2746
  include Google::Apis::Core::JsonObjectSupport
2717
2747
  end
2718
2748
 
2749
+ class GoogleCloudAiplatformV1PublisherModelCallToActionDeployGke
2750
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2751
+
2752
+ include Google::Apis::Core::JsonObjectSupport
2753
+ end
2754
+
2719
2755
  class GoogleCloudAiplatformV1PublisherModelCallToActionOpenFineTuningPipelines
2720
2756
  class Representation < Google::Apis::Core::JsonRepresentation; end
2721
2757
 
@@ -4042,6 +4078,18 @@ module Google
4042
4078
  include Google::Apis::Core::JsonObjectSupport
4043
4079
  end
4044
4080
 
4081
+ class GoogleCloudAiplatformV1SearchNearestEntitiesRequest
4082
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4083
+
4084
+ include Google::Apis::Core::JsonObjectSupport
4085
+ end
4086
+
4087
+ class GoogleCloudAiplatformV1SearchNearestEntitiesResponse
4088
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4089
+
4090
+ include Google::Apis::Core::JsonObjectSupport
4091
+ end
4092
+
4045
4093
  class GoogleCloudAiplatformV1ShieldedVmConfig
4046
4094
  class Representation < Google::Apis::Core::JsonRepresentation; end
4047
4095
 
@@ -5324,20 +5372,10 @@ module Google
5324
5372
  # @private
5325
5373
  class Representation < Google::Apis::Core::JsonRepresentation
5326
5374
  property :end_offset, as: 'endOffset'
5327
- property :model_level_meta_data, as: 'modelLevelMetaData', class: Google::Apis::AiplatformV1::CloudAiNlLlmProtoServicePartVideoMetadataModelLevelMetadata, decorator: Google::Apis::AiplatformV1::CloudAiNlLlmProtoServicePartVideoMetadataModelLevelMetadata::Representation
5328
-
5329
5375
  property :start_offset, as: 'startOffset'
5330
5376
  end
5331
5377
  end
5332
5378
 
5333
- class CloudAiNlLlmProtoServicePartVideoMetadataModelLevelMetadata
5334
- # @private
5335
- class Representation < Google::Apis::Core::JsonRepresentation
5336
- property :fps, as: 'fps'
5337
- property :num_frames, as: 'numFrames'
5338
- end
5339
- end
5340
-
5341
5379
  class CloudAiNlLlmProtoServicePromptFeedback
5342
5380
  # @private
5343
5381
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -8727,6 +8765,7 @@ module Google
8727
8765
  property :bigquery_table_path, as: 'bigqueryTablePath'
8728
8766
  property :log_source, as: 'logSource'
8729
8767
  property :log_type, as: 'logType'
8768
+ property :request_response_logging_schema_version, as: 'requestResponseLoggingSchemaVersion'
8730
8769
  end
8731
8770
  end
8732
8771
 
@@ -9185,6 +9224,45 @@ module Google
9185
9224
  end
9186
9225
  end
9187
9226
 
9227
+ class GoogleCloudAiplatformV1NearestNeighborQuery
9228
+ # @private
9229
+ class Representation < Google::Apis::Core::JsonRepresentation
9230
+ property :embedding, as: 'embedding', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NearestNeighborQueryEmbedding, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NearestNeighborQueryEmbedding::Representation
9231
+
9232
+ property :entity_id, as: 'entityId'
9233
+ property :neighbor_count, as: 'neighborCount'
9234
+ property :parameters, as: 'parameters', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NearestNeighborQueryParameters, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NearestNeighborQueryParameters::Representation
9235
+
9236
+ property :per_crowding_attribute_neighbor_count, as: 'perCrowdingAttributeNeighborCount'
9237
+ collection :string_filters, as: 'stringFilters', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NearestNeighborQueryStringFilter, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NearestNeighborQueryStringFilter::Representation
9238
+
9239
+ end
9240
+ end
9241
+
9242
+ class GoogleCloudAiplatformV1NearestNeighborQueryEmbedding
9243
+ # @private
9244
+ class Representation < Google::Apis::Core::JsonRepresentation
9245
+ collection :value, as: 'value'
9246
+ end
9247
+ end
9248
+
9249
+ class GoogleCloudAiplatformV1NearestNeighborQueryParameters
9250
+ # @private
9251
+ class Representation < Google::Apis::Core::JsonRepresentation
9252
+ property :approximate_neighbor_candidates, as: 'approximateNeighborCandidates'
9253
+ property :leaf_nodes_search_fraction, as: 'leafNodesSearchFraction'
9254
+ end
9255
+ end
9256
+
9257
+ class GoogleCloudAiplatformV1NearestNeighborQueryStringFilter
9258
+ # @private
9259
+ class Representation < Google::Apis::Core::JsonRepresentation
9260
+ collection :allow_tokens, as: 'allowTokens'
9261
+ collection :deny_tokens, as: 'denyTokens'
9262
+ property :name, as: 'name'
9263
+ end
9264
+ end
9265
+
9188
9266
  class GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadata
9189
9267
  # @private
9190
9268
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -9216,6 +9294,24 @@ module Google
9216
9294
  end
9217
9295
  end
9218
9296
 
9297
+ class GoogleCloudAiplatformV1NearestNeighbors
9298
+ # @private
9299
+ class Representation < Google::Apis::Core::JsonRepresentation
9300
+ collection :neighbors, as: 'neighbors', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NearestNeighborsNeighbor, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NearestNeighborsNeighbor::Representation
9301
+
9302
+ end
9303
+ end
9304
+
9305
+ class GoogleCloudAiplatformV1NearestNeighborsNeighbor
9306
+ # @private
9307
+ class Representation < Google::Apis::Core::JsonRepresentation
9308
+ property :distance, as: 'distance'
9309
+ property :entity_id, as: 'entityId'
9310
+ property :entity_key_values, as: 'entityKeyValues', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FetchFeatureValuesResponse, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FetchFeatureValuesResponse::Representation
9311
+
9312
+ end
9313
+ end
9314
+
9219
9315
  class GoogleCloudAiplatformV1Neighbor
9220
9316
  # @private
9221
9317
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -9654,6 +9750,8 @@ module Google
9654
9750
 
9655
9751
  property :deploy, as: 'deploy', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PublisherModelCallToActionDeploy, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PublisherModelCallToActionDeploy::Representation
9656
9752
 
9753
+ property :deploy_gke, as: 'deployGke', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PublisherModelCallToActionDeployGke, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PublisherModelCallToActionDeployGke::Representation
9754
+
9657
9755
  property :open_evaluation_pipeline, as: 'openEvaluationPipeline', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences::Representation
9658
9756
 
9659
9757
  property :open_fine_tuning_pipeline, as: 'openFineTuningPipeline', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences::Representation
@@ -9696,6 +9794,13 @@ module Google
9696
9794
  end
9697
9795
  end
9698
9796
 
9797
+ class GoogleCloudAiplatformV1PublisherModelCallToActionDeployGke
9798
+ # @private
9799
+ class Representation < Google::Apis::Core::JsonRepresentation
9800
+ collection :gke_yaml_configs, as: 'gkeYamlConfigs'
9801
+ end
9802
+ end
9803
+
9699
9804
  class GoogleCloudAiplatformV1PublisherModelCallToActionOpenFineTuningPipelines
9700
9805
  # @private
9701
9806
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -10136,7 +10241,6 @@ module Google
10136
10241
  # @private
10137
10242
  class Representation < Google::Apis::Core::JsonRepresentation
10138
10243
  property :disable_retries, as: 'disableRetries'
10139
- property :max_wait_duration, as: 'maxWaitDuration'
10140
10244
  property :restart_job_on_worker_restart, as: 'restartJobOnWorkerRestart'
10141
10245
  property :timeout, as: 'timeout'
10142
10246
  end
@@ -11823,6 +11927,23 @@ module Google
11823
11927
  end
11824
11928
  end
11825
11929
 
11930
+ class GoogleCloudAiplatformV1SearchNearestEntitiesRequest
11931
+ # @private
11932
+ class Representation < Google::Apis::Core::JsonRepresentation
11933
+ property :query, as: 'query', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NearestNeighborQuery, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NearestNeighborQuery::Representation
11934
+
11935
+ property :return_full_entity, as: 'returnFullEntity'
11936
+ end
11937
+ end
11938
+
11939
+ class GoogleCloudAiplatformV1SearchNearestEntitiesResponse
11940
+ # @private
11941
+ class Representation < Google::Apis::Core::JsonRepresentation
11942
+ property :nearest_neighbors, as: 'nearestNeighbors', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NearestNeighbors, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NearestNeighbors::Representation
11943
+
11944
+ end
11945
+ end
11946
+
11826
11947
  class GoogleCloudAiplatformV1ShieldedVmConfig
11827
11948
  # @private
11828
11949
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -12618,6 +12739,7 @@ module Google
12618
12739
  class Representation < Google::Apis::Core::JsonRepresentation
12619
12740
  collection :datapoints, as: 'datapoints', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1IndexDatapoint, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1IndexDatapoint::Representation
12620
12741
 
12742
+ property :update_mask, as: 'updateMask'
12621
12743
  end
12622
12744
  end
12623
12745
 
@@ -3253,8 +3253,8 @@ module Google
3253
3253
  execute_or_queue_command(command, &block)
3254
3254
  end
3255
3255
 
3256
- # Perform an unary online prediction request for Vertex first-party products and
3257
- # frameworks.
3256
+ # Perform an unary online prediction request to a gRPC model server for Vertex
3257
+ # first-party products and frameworks.
3258
3258
  # @param [String] endpoint
3259
3259
  # Required. The name of the Endpoint requested to serve the prediction. Format: `
3260
3260
  # projects/`project`/locations/`location`/endpoints/`endpoint``
@@ -3288,7 +3288,8 @@ module Google
3288
3288
  execute_or_queue_command(command, &block)
3289
3289
  end
3290
3290
 
3291
- # Perform an online prediction request through gRPC.
3291
+ # Perform an unary online prediction request to a gRPC model server for custom
3292
+ # containers.
3292
3293
  # @param [String] endpoint
3293
3294
  # Required. The name of the Endpoint requested to serve the prediction. Format: `
3294
3295
  # projects/`project`/locations/`location`/endpoints/`endpoint``
@@ -3359,6 +3360,40 @@ module Google
3359
3360
  execute_or_queue_command(command, &block)
3360
3361
  end
3361
3362
 
3363
+ # Generate content with multimodal inputs.
3364
+ # @param [String] model
3365
+ # Required. The name of the publisher model requested to serve the prediction.
3366
+ # Format: `projects/`project`/locations/`location`/publishers/*/models/*`
3367
+ # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerateContentRequest] google_cloud_aiplatform_v1_generate_content_request_object
3368
+ # @param [String] fields
3369
+ # Selector specifying which fields to include in a partial response.
3370
+ # @param [String] quota_user
3371
+ # Available to use for quota purposes for server-side applications. Can be any
3372
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3373
+ # @param [Google::Apis::RequestOptions] options
3374
+ # Request-specific options
3375
+ #
3376
+ # @yield [result, err] Result & error if block supplied
3377
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerateContentResponse] parsed result object
3378
+ # @yieldparam err [StandardError] error object if request failed
3379
+ #
3380
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerateContentResponse]
3381
+ #
3382
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3383
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3384
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3385
+ def generate_project_location_endpoint_content(model, google_cloud_aiplatform_v1_generate_content_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3386
+ command = make_simple_command(:post, 'v1/{+model}:generateContent', options)
3387
+ command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerateContentRequest::Representation
3388
+ command.request_object = google_cloud_aiplatform_v1_generate_content_request_object
3389
+ command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerateContentResponse::Representation
3390
+ command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerateContentResponse
3391
+ command.params['model'] = model unless model.nil?
3392
+ command.query['fields'] = fields unless fields.nil?
3393
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3394
+ execute_or_queue_command(command, &block)
3395
+ end
3396
+
3362
3397
  # Gets an Endpoint.
3363
3398
  # @param [String] name
3364
3399
  # Required. The name of the Endpoint resource. Format: `projects/`project`/
@@ -3662,7 +3697,7 @@ module Google
3662
3697
  execute_or_queue_command(command, &block)
3663
3698
  end
3664
3699
 
3665
- #
3700
+ # Perform a streaming online prediction with an arbitrary HTTP payload.
3666
3701
  # @param [String] endpoint
3667
3702
  # Required. The name of the Endpoint requested to serve the prediction. Format: `
3668
3703
  # projects/`project`/locations/`location`/endpoints/`endpoint``
@@ -4818,7 +4853,7 @@ module Google
4818
4853
  # be overwritten if it is in the mask. If the user does not provide a mask then
4819
4854
  # only the non-empty fields present in the request will be overwritten. Set the
4820
4855
  # update_mask to `*` to override all fields. Updatable fields: * `
4821
- # big_query_source` * `labels` * `sync_config`
4856
+ # big_query_source` * `bigtable` * `labels` * `sync_config`
4822
4857
  # @param [String] fields
4823
4858
  # Selector specifying which fields to include in a partial response.
4824
4859
  # @param [String] quota_user
@@ -5095,6 +5130,42 @@ module Google
5095
5130
  execute_or_queue_command(command, &block)
5096
5131
  end
5097
5132
 
5133
+ # Search the nearest entities under a FeatureView. Search only works for
5134
+ # indexable feature view; if a feature view isn't indexable, returns Invalid
5135
+ # argument response.
5136
+ # @param [String] feature_view
5137
+ # Required. FeatureView resource format `projects/`project`/locations/`location`/
5138
+ # featureOnlineStores/`featureOnlineStore`/featureViews/`featureView``
5139
+ # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SearchNearestEntitiesRequest] google_cloud_aiplatform_v1_search_nearest_entities_request_object
5140
+ # @param [String] fields
5141
+ # Selector specifying which fields to include in a partial response.
5142
+ # @param [String] quota_user
5143
+ # Available to use for quota purposes for server-side applications. Can be any
5144
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5145
+ # @param [Google::Apis::RequestOptions] options
5146
+ # Request-specific options
5147
+ #
5148
+ # @yield [result, err] Result & error if block supplied
5149
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SearchNearestEntitiesResponse] parsed result object
5150
+ # @yieldparam err [StandardError] error object if request failed
5151
+ #
5152
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SearchNearestEntitiesResponse]
5153
+ #
5154
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5155
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5156
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5157
+ def search_project_location_feature_online_store_feature_view_nearest_entities(feature_view, google_cloud_aiplatform_v1_search_nearest_entities_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
5158
+ command = make_simple_command(:post, 'v1/{+featureView}:searchNearestEntities', options)
5159
+ command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SearchNearestEntitiesRequest::Representation
5160
+ command.request_object = google_cloud_aiplatform_v1_search_nearest_entities_request_object
5161
+ command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SearchNearestEntitiesResponse::Representation
5162
+ command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SearchNearestEntitiesResponse
5163
+ command.params['featureView'] = feature_view unless feature_view.nil?
5164
+ command.query['fields'] = fields unless fields.nil?
5165
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5166
+ execute_or_queue_command(command, &block)
5167
+ end
5168
+
5098
5169
  # Triggers on-demand sync for the FeatureView.
5099
5170
  # @param [String] feature_view
5100
5171
  # Required. Format: `projects/`project`/locations/`location`/featureOnlineStores/
@@ -11674,6 +11745,51 @@ module Google
11674
11745
  execute_or_queue_command(command, &block)
11675
11746
  end
11676
11747
 
11748
+ # Gets the access control policy for a resource. Returns an empty policy if the
11749
+ # resource exists and does not have a policy set.
11750
+ # @param [String] resource
11751
+ # REQUIRED: The resource for which the policy is being requested. See [Resource
11752
+ # names](https://cloud.google.com/apis/design/resource_names) for the
11753
+ # appropriate value for this field.
11754
+ # @param [Fixnum] options_requested_policy_version
11755
+ # Optional. The maximum policy version that will be used to format the policy.
11756
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
11757
+ # rejected. Requests for policies with any conditional role bindings must
11758
+ # specify version 3. Policies with no conditional role bindings may specify any
11759
+ # valid value or leave the field unset. The policy in the response might use the
11760
+ # policy version that you specified, or it might use a lower policy version. For
11761
+ # example, if you specify version 3, but the policy has no conditional role
11762
+ # bindings, the response uses version 1. To learn which resources support
11763
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
11764
+ # google.com/iam/help/conditions/resource-policies).
11765
+ # @param [String] fields
11766
+ # Selector specifying which fields to include in a partial response.
11767
+ # @param [String] quota_user
11768
+ # Available to use for quota purposes for server-side applications. Can be any
11769
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
11770
+ # @param [Google::Apis::RequestOptions] options
11771
+ # Request-specific options
11772
+ #
11773
+ # @yield [result, err] Result & error if block supplied
11774
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleIamV1Policy] parsed result object
11775
+ # @yieldparam err [StandardError] error object if request failed
11776
+ #
11777
+ # @return [Google::Apis::AiplatformV1::GoogleIamV1Policy]
11778
+ #
11779
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
11780
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
11781
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
11782
+ def get_project_location_model_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
11783
+ command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options)
11784
+ command.response_representation = Google::Apis::AiplatformV1::GoogleIamV1Policy::Representation
11785
+ command.response_class = Google::Apis::AiplatformV1::GoogleIamV1Policy
11786
+ command.params['resource'] = resource unless resource.nil?
11787
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
11788
+ command.query['fields'] = fields unless fields.nil?
11789
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
11790
+ execute_or_queue_command(command, &block)
11791
+ end
11792
+
11677
11793
  # Lists Models in a Location.
11678
11794
  # @param [String] parent
11679
11795
  # Required. The resource name of the Location to list the Models from. Format: `
@@ -11854,6 +11970,84 @@ module Google
11854
11970
  execute_or_queue_command(command, &block)
11855
11971
  end
11856
11972
 
11973
+ # Sets the access control policy on the specified resource. Replaces any
11974
+ # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
11975
+ # PERMISSION_DENIED` errors.
11976
+ # @param [String] resource
11977
+ # REQUIRED: The resource for which the policy is being specified. See [Resource
11978
+ # names](https://cloud.google.com/apis/design/resource_names) for the
11979
+ # appropriate value for this field.
11980
+ # @param [Google::Apis::AiplatformV1::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
11981
+ # @param [String] fields
11982
+ # Selector specifying which fields to include in a partial response.
11983
+ # @param [String] quota_user
11984
+ # Available to use for quota purposes for server-side applications. Can be any
11985
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
11986
+ # @param [Google::Apis::RequestOptions] options
11987
+ # Request-specific options
11988
+ #
11989
+ # @yield [result, err] Result & error if block supplied
11990
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleIamV1Policy] parsed result object
11991
+ # @yieldparam err [StandardError] error object if request failed
11992
+ #
11993
+ # @return [Google::Apis::AiplatformV1::GoogleIamV1Policy]
11994
+ #
11995
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
11996
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
11997
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
11998
+ def set_project_location_model_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
11999
+ command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
12000
+ command.request_representation = Google::Apis::AiplatformV1::GoogleIamV1SetIamPolicyRequest::Representation
12001
+ command.request_object = google_iam_v1_set_iam_policy_request_object
12002
+ command.response_representation = Google::Apis::AiplatformV1::GoogleIamV1Policy::Representation
12003
+ command.response_class = Google::Apis::AiplatformV1::GoogleIamV1Policy
12004
+ command.params['resource'] = resource unless resource.nil?
12005
+ command.query['fields'] = fields unless fields.nil?
12006
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
12007
+ execute_or_queue_command(command, &block)
12008
+ end
12009
+
12010
+ # Returns permissions that a caller has on the specified resource. If the
12011
+ # resource does not exist, this will return an empty set of permissions, not a `
12012
+ # NOT_FOUND` error. Note: This operation is designed to be used for building
12013
+ # permission-aware UIs and command-line tools, not for authorization checking.
12014
+ # This operation may "fail open" without warning.
12015
+ # @param [String] resource
12016
+ # REQUIRED: The resource for which the policy detail is being requested. See [
12017
+ # Resource names](https://cloud.google.com/apis/design/resource_names) for the
12018
+ # appropriate value for this field.
12019
+ # @param [Array<String>, String] permissions
12020
+ # The set of permissions to check for the `resource`. Permissions with wildcards
12021
+ # (such as `*` or `storage.*`) are not allowed. For more information see [IAM
12022
+ # Overview](https://cloud.google.com/iam/docs/overview#permissions).
12023
+ # @param [String] fields
12024
+ # Selector specifying which fields to include in a partial response.
12025
+ # @param [String] quota_user
12026
+ # Available to use for quota purposes for server-side applications. Can be any
12027
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
12028
+ # @param [Google::Apis::RequestOptions] options
12029
+ # Request-specific options
12030
+ #
12031
+ # @yield [result, err] Result & error if block supplied
12032
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleIamV1TestIamPermissionsResponse] parsed result object
12033
+ # @yieldparam err [StandardError] error object if request failed
12034
+ #
12035
+ # @return [Google::Apis::AiplatformV1::GoogleIamV1TestIamPermissionsResponse]
12036
+ #
12037
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
12038
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
12039
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
12040
+ def test_project_location_model_iam_permissions(resource, permissions: nil, fields: nil, quota_user: nil, options: nil, &block)
12041
+ command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
12042
+ command.response_representation = Google::Apis::AiplatformV1::GoogleIamV1TestIamPermissionsResponse::Representation
12043
+ command.response_class = Google::Apis::AiplatformV1::GoogleIamV1TestIamPermissionsResponse
12044
+ command.params['resource'] = resource unless resource.nil?
12045
+ command.query['permissions'] = permissions unless permissions.nil?
12046
+ command.query['fields'] = fields unless fields.nil?
12047
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
12048
+ execute_or_queue_command(command, &block)
12049
+ end
12050
+
11857
12051
  # Incrementally update the dataset used for an examples model.
11858
12052
  # @param [String] model
11859
12053
  # Required. The resource name of the Model to update. Format: `projects/`project`
@@ -13951,6 +14145,40 @@ module Google
13951
14145
  execute_or_queue_command(command, &block)
13952
14146
  end
13953
14147
 
14148
+ # Generate content with multimodal inputs.
14149
+ # @param [String] model
14150
+ # Required. The name of the publisher model requested to serve the prediction.
14151
+ # Format: `projects/`project`/locations/`location`/publishers/*/models/*`
14152
+ # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerateContentRequest] google_cloud_aiplatform_v1_generate_content_request_object
14153
+ # @param [String] fields
14154
+ # Selector specifying which fields to include in a partial response.
14155
+ # @param [String] quota_user
14156
+ # Available to use for quota purposes for server-side applications. Can be any
14157
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
14158
+ # @param [Google::Apis::RequestOptions] options
14159
+ # Request-specific options
14160
+ #
14161
+ # @yield [result, err] Result & error if block supplied
14162
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerateContentResponse] parsed result object
14163
+ # @yieldparam err [StandardError] error object if request failed
14164
+ #
14165
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerateContentResponse]
14166
+ #
14167
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
14168
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
14169
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
14170
+ def generate_project_location_publisher_model_content(model, google_cloud_aiplatform_v1_generate_content_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
14171
+ command = make_simple_command(:post, 'v1/{+model}:generateContent', options)
14172
+ command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerateContentRequest::Representation
14173
+ command.request_object = google_cloud_aiplatform_v1_generate_content_request_object
14174
+ command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerateContentResponse::Representation
14175
+ command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerateContentResponse
14176
+ command.params['model'] = model unless model.nil?
14177
+ command.query['fields'] = fields unless fields.nil?
14178
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
14179
+ execute_or_queue_command(command, &block)
14180
+ end
14181
+
13954
14182
  # Perform an online prediction.
13955
14183
  # @param [String] endpoint
13956
14184
  # Required. The name of the Endpoint requested to serve the prediction. Format: `
@@ -14091,7 +14319,7 @@ module Google
14091
14319
  execute_or_queue_command(command, &block)
14092
14320
  end
14093
14321
 
14094
- #
14322
+ # Perform a streaming online prediction with an arbitrary HTTP payload.
14095
14323
  # @param [String] endpoint
14096
14324
  # Required. The name of the Endpoint requested to serve the prediction. Format: `
14097
14325
  # projects/`project`/locations/`location`/endpoints/`endpoint``
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-aiplatform_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.13.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-28 00:00:00.000000000 Z
11
+ date: 2024-02-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1/v0.12.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1/v0.13.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1
63
63
  post_install_message:
64
64
  rdoc_options: []