google-apis-aiplatform_v1beta1 0.16.0 → 0.17.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: 147002404cad44836dd2b53f7e84e45c84ecec050e05a3082d46e9da4b3d30f2
4
- data.tar.gz: 80b0fdee701eaa5bf64ad8e9214ea64b59cc5fa628d95d0bb9941fbc31944b17
3
+ metadata.gz: a682c1e12725439433bcf594bb04df2f845cc12afe0488b2514590f7f09faeb1
4
+ data.tar.gz: 3a087173654dd8acf88cdaa02acf6c2b0b6801ab13daed3fcb8f66e0318916db
5
5
  SHA512:
6
- metadata.gz: 412511872fb2664d972bb8bb35d88c4c280d31084acffe482d23e57b78032e3bee501c4354bf37b367c9a04721762cca52fed60eab90784d0bd4bc29a157ec89
7
- data.tar.gz: 684106f05a18e8a2a8c496a2af64d28e84dd1f729da9bcced1eeb35f3335a8823a0011030dd70488e94f76abee3088a03d4414b03d7e71a42f97055c865fff60
6
+ metadata.gz: 4bf8c5693fb12447ccb5bdeb79a17864a078dcc44b66b79c96075c63adb553eaabfca9ae09510543ba845444280c84556bbd2deed82526634f83f978400a0433
7
+ data.tar.gz: c81614da06f593097b91bf900760454ef943d0770ea58c2466584b7e32444267ab3844c33e866aa4cdbffde2bb392d27c00bb2a712581523fedc3aeb4004891a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-aiplatform_v1beta1
2
2
 
3
+ ### v0.17.0 (2024-02-11)
4
+
5
+ * Regenerated from discovery document revision 20240205
6
+
3
7
  ### v0.16.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::AiplatformV1beta1::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
@@ -8708,7 +8677,7 @@ module Google
8708
8677
  # @return [String]
8709
8678
  attr_accessor :update_time
8710
8679
 
8711
- # Configuration for vector search.
8680
+ # Deprecated. Use IndexConfig instead.
8712
8681
  # Corresponds to the JSON property `vectorSearchConfig`
8713
8682
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureViewVectorSearchConfig]
8714
8683
  attr_accessor :vector_search_config
@@ -8895,7 +8864,7 @@ module Google
8895
8864
  end
8896
8865
  end
8897
8866
 
8898
- # Configuration for vector search.
8867
+ # Deprecated. Use IndexConfig instead.
8899
8868
  class GoogleCloudAiplatformV1beta1FeatureViewVectorSearchConfig
8900
8869
  include Google::Apis::Core::Hashable
8901
8870
 
@@ -13274,7 +13243,7 @@ module Google
13274
13243
  include Google::Apis::Core::Hashable
13275
13244
 
13276
13245
  # Immutable. The path to the directory containing the Model artifact and any of
13277
- # its supporting files. Not present for AutoML Models or Large Models.
13246
+ # its supporting files. Not required for AutoML Models.
13278
13247
  # Corresponds to the JSON property `artifactUri`
13279
13248
  # @return [String]
13280
13249
  attr_accessor :artifact_uri
@@ -13755,6 +13724,12 @@ module Google
13755
13724
  # @return [String]
13756
13725
  attr_accessor :log_type
13757
13726
 
13727
+ # Output only. The schema version of the request/response logging BigQuery table.
13728
+ # Default to v1 if unset.
13729
+ # Corresponds to the JSON property `requestResponseLoggingSchemaVersion`
13730
+ # @return [String]
13731
+ attr_accessor :request_response_logging_schema_version
13732
+
13758
13733
  def initialize(**args)
13759
13734
  update!(**args)
13760
13735
  end
@@ -13764,6 +13739,7 @@ module Google
13764
13739
  @bigquery_table_path = args[:bigquery_table_path] if args.key?(:bigquery_table_path)
13765
13740
  @log_source = args[:log_source] if args.key?(:log_source)
13766
13741
  @log_type = args[:log_type] if args.key?(:log_type)
13742
+ @request_response_logging_schema_version = args[:request_response_logging_schema_version] if args.key?(:request_response_logging_schema_version)
13767
13743
  end
13768
13744
  end
13769
13745
 
@@ -13873,7 +13849,7 @@ module Google
13873
13849
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelDeploymentMonitoringScheduleConfig]
13874
13850
  attr_accessor :model_deployment_monitoring_schedule_config
13875
13851
 
13876
- # Alert config for model monitoring.
13852
+ # The alert config for model monitoring.
13877
13853
  # Corresponds to the JSON property `modelMonitoringAlertConfig`
13878
13854
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelMonitoringAlertConfig]
13879
13855
  attr_accessor :model_monitoring_alert_config
@@ -14459,7 +14435,7 @@ module Google
14459
14435
  end
14460
14436
  end
14461
14437
 
14462
- #
14438
+ # The alert config for model monitoring.
14463
14439
  class GoogleCloudAiplatformV1beta1ModelMonitoringAlertConfig
14464
14440
  include Google::Apis::Core::Hashable
14465
14441
 
@@ -14518,7 +14494,7 @@ module Google
14518
14494
  class GoogleCloudAiplatformV1beta1ModelMonitoringConfig
14519
14495
  include Google::Apis::Core::Hashable
14520
14496
 
14521
- # Model monitoring alert config.
14497
+ # The alert config for model monitoring.
14522
14498
  # Corresponds to the JSON property `alertConfig`
14523
14499
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelMonitoringAlertConfig]
14524
14500
  attr_accessor :alert_config
@@ -15525,11 +15501,12 @@ module Google
15525
15501
  end
15526
15502
 
15527
15503
  # String filter is used to search a subset of the entities by using boolean
15528
- # rules. For example: if a query specifies string filter with 'name = color,
15529
- # allow_tokens = `red, blue`, deny_tokens = `purple`',' then that query will
15530
- # match entities that are red or blue, but if those points are also purple, then
15531
- # they will be excluded even if they are red/blue. Only string filter is
15532
- # supported for now, numeric filter will be supported in the near future.
15504
+ # rules on string columns. For example: if a query specifies string filter with '
15505
+ # name = color, allow_tokens = `red, blue`, deny_tokens = `purple`',' then that
15506
+ # query will match entities that are red or blue, but if those points are also
15507
+ # purple, then they will be excluded even if they are red/blue. Only string
15508
+ # filter is supported for now, numeric filter will be supported in the near
15509
+ # future.
15533
15510
  class GoogleCloudAiplatformV1beta1NearestNeighborQueryStringFilter
15534
15511
  include Google::Apis::Core::Hashable
15535
15512
 
@@ -17549,6 +17526,11 @@ module Google
17549
17526
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeploy]
17550
17527
  attr_accessor :deploy
17551
17528
 
17529
+ # Configurations for PublisherModel GKE deployment
17530
+ # Corresponds to the JSON property `deployGke`
17531
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeployGke]
17532
+ attr_accessor :deploy_gke
17533
+
17552
17534
  # The regional resource name or the URI. Key is region, e.g., us-central1,
17553
17535
  # europe-west2, global, etc..
17554
17536
  # Corresponds to the JSON property `openEvaluationPipeline`
@@ -17614,6 +17596,7 @@ module Google
17614
17596
  def update!(**args)
17615
17597
  @create_application = args[:create_application] if args.key?(:create_application)
17616
17598
  @deploy = args[:deploy] if args.key?(:deploy)
17599
+ @deploy_gke = args[:deploy_gke] if args.key?(:deploy_gke)
17617
17600
  @open_evaluation_pipeline = args[:open_evaluation_pipeline] if args.key?(:open_evaluation_pipeline)
17618
17601
  @open_fine_tuning_pipeline = args[:open_fine_tuning_pipeline] if args.key?(:open_fine_tuning_pipeline)
17619
17602
  @open_fine_tuning_pipelines = args[:open_fine_tuning_pipelines] if args.key?(:open_fine_tuning_pipelines)
@@ -17704,6 +17687,25 @@ module Google
17704
17687
  end
17705
17688
  end
17706
17689
 
17690
+ # Configurations for PublisherModel GKE deployment
17691
+ class GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeployGke
17692
+ include Google::Apis::Core::Hashable
17693
+
17694
+ # Optional. GKE deployment configuration in yaml format.
17695
+ # Corresponds to the JSON property `gkeYamlConfigs`
17696
+ # @return [Array<String>]
17697
+ attr_accessor :gke_yaml_configs
17698
+
17699
+ def initialize(**args)
17700
+ update!(**args)
17701
+ end
17702
+
17703
+ # Update properties of this object
17704
+ def update!(**args)
17705
+ @gke_yaml_configs = args[:gke_yaml_configs] if args.key?(:gke_yaml_configs)
17706
+ end
17707
+ end
17708
+
17707
17709
  # Open fine tuning pipelines.
17708
17710
  class GoogleCloudAiplatformV1beta1PublisherModelCallToActionOpenFineTuningPipelines
17709
17711
  include Google::Apis::Core::Hashable
@@ -19447,12 +19449,6 @@ module Google
19447
19449
  attr_accessor :disable_retries
19448
19450
  alias_method :disable_retries?, :disable_retries
19449
19451
 
19450
- # Optional. This is the maximum time a user will wait in the QRM queue for
19451
- # resources. Default is 1 day
19452
- # Corresponds to the JSON property `maxWaitDuration`
19453
- # @return [String]
19454
- attr_accessor :max_wait_duration
19455
-
19456
19452
  # Restarts the entire CustomJob if a worker gets restarted. This feature can be
19457
19453
  # used by distributed training jobs that are not resilient to workers leaving
19458
19454
  # and joining a job.
@@ -19473,7 +19469,6 @@ module Google
19473
19469
  # Update properties of this object
19474
19470
  def update!(**args)
19475
19471
  @disable_retries = args[:disable_retries] if args.key?(:disable_retries)
19476
- @max_wait_duration = args[:max_wait_duration] if args.key?(:max_wait_duration)
19477
19472
  @restart_job_on_worker_restart = args[:restart_job_on_worker_restart] if args.key?(:restart_job_on_worker_restart)
19478
19473
  @timeout = args[:timeout] if args.key?(:timeout)
19479
19474
  end
@@ -28711,6 +28706,14 @@ module Google
28711
28706
  # @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1IndexDatapoint>]
28712
28707
  attr_accessor :datapoints
28713
28708
 
28709
+ # Optional. Update mask is used to specify the fields to be overwritten in the
28710
+ # datapoints by the update. The fields specified in the update_mask are relative
28711
+ # to each IndexDatapoint inside datapoints, not the full request. Updatable
28712
+ # fields: * Use `all_restricts` to update both restricts and numeric_restricts.
28713
+ # Corresponds to the JSON property `updateMask`
28714
+ # @return [String]
28715
+ attr_accessor :update_mask
28716
+
28714
28717
  def initialize(**args)
28715
28718
  update!(**args)
28716
28719
  end
@@ -28718,6 +28721,7 @@ module Google
28718
28721
  # Update properties of this object
28719
28722
  def update!(**args)
28720
28723
  @datapoints = args[:datapoints] if args.key?(:datapoints)
28724
+ @update_mask = args[:update_mask] if args.key?(:update_mask)
28721
28725
  end
28722
28726
  end
28723
28727
 
@@ -31018,7 +31022,9 @@ module Google
31018
31022
  # @return [Google::Apis::AiplatformV1beta1::LearningGenaiRootHarmSafetyCatCategories]
31019
31023
  attr_accessor :safetycat
31020
31024
 
31021
- #
31025
+ # Spii Filter uses buckets http://google3/google/privacy/dlp/v2/storage.proto;l=
31026
+ # 77;rcl=584719820 to classify the input. LMRoot converts the bucket into double
31027
+ # score. For example the score for "POSSIBLE" is 3 / 5 = 0.6 .
31022
31028
  # Corresponds to the JSON property `spii`
31023
31029
  # @return [Google::Apis::AiplatformV1beta1::LearningGenaiRootHarmSpiiFilter]
31024
31030
  attr_accessor :spii
@@ -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.16.0"
19
+ GEM_VERSION = "0.17.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
 
@@ -2902,6 +2896,12 @@ module Google
2902
2896
  include Google::Apis::Core::JsonObjectSupport
2903
2897
  end
2904
2898
 
2899
+ class GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeployGke
2900
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2901
+
2902
+ include Google::Apis::Core::JsonObjectSupport
2903
+ end
2904
+
2905
2905
  class GoogleCloudAiplatformV1beta1PublisherModelCallToActionOpenFineTuningPipelines
2906
2906
  class Representation < Google::Apis::Core::JsonRepresentation; end
2907
2907
 
@@ -5606,20 +5606,10 @@ module Google
5606
5606
  # @private
5607
5607
  class Representation < Google::Apis::Core::JsonRepresentation
5608
5608
  property :end_offset, as: 'endOffset'
5609
- property :model_level_meta_data, as: 'modelLevelMetaData', class: Google::Apis::AiplatformV1beta1::CloudAiNlLlmProtoServicePartVideoMetadataModelLevelMetadata, decorator: Google::Apis::AiplatformV1beta1::CloudAiNlLlmProtoServicePartVideoMetadataModelLevelMetadata::Representation
5610
-
5611
5609
  property :start_offset, as: 'startOffset'
5612
5610
  end
5613
5611
  end
5614
5612
 
5615
- class CloudAiNlLlmProtoServicePartVideoMetadataModelLevelMetadata
5616
- # @private
5617
- class Representation < Google::Apis::Core::JsonRepresentation
5618
- property :fps, as: 'fps'
5619
- property :num_frames, as: 'numFrames'
5620
- end
5621
- end
5622
-
5623
5613
  class CloudAiNlLlmProtoServicePromptFeedback
5624
5614
  # @private
5625
5615
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -9204,6 +9194,7 @@ module Google
9204
9194
  property :bigquery_table_path, as: 'bigqueryTablePath'
9205
9195
  property :log_source, as: 'logSource'
9206
9196
  property :log_type, as: 'logType'
9197
+ property :request_response_logging_schema_version, as: 'requestResponseLoggingSchemaVersion'
9207
9198
  end
9208
9199
  end
9209
9200
 
@@ -10237,6 +10228,8 @@ module Google
10237
10228
 
10238
10229
  property :deploy, as: 'deploy', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeploy, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeploy::Representation
10239
10230
 
10231
+ property :deploy_gke, as: 'deployGke', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeployGke, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeployGke::Representation
10232
+
10240
10233
  property :open_evaluation_pipeline, as: 'openEvaluationPipeline', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelCallToActionRegionalResourceReferences, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelCallToActionRegionalResourceReferences::Representation
10241
10234
 
10242
10235
  property :open_fine_tuning_pipeline, as: 'openFineTuningPipeline', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelCallToActionRegionalResourceReferences, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelCallToActionRegionalResourceReferences::Representation
@@ -10279,6 +10272,13 @@ module Google
10279
10272
  end
10280
10273
  end
10281
10274
 
10275
+ class GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeployGke
10276
+ # @private
10277
+ class Representation < Google::Apis::Core::JsonRepresentation
10278
+ collection :gke_yaml_configs, as: 'gkeYamlConfigs'
10279
+ end
10280
+ end
10281
+
10282
10282
  class GoogleCloudAiplatformV1beta1PublisherModelCallToActionOpenFineTuningPipelines
10283
10283
  # @private
10284
10284
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -10814,7 +10814,6 @@ module Google
10814
10814
  # @private
10815
10815
  class Representation < Google::Apis::Core::JsonRepresentation
10816
10816
  property :disable_retries, as: 'disableRetries'
10817
- property :max_wait_duration, as: 'maxWaitDuration'
10818
10817
  property :restart_job_on_worker_restart, as: 'restartJobOnWorkerRestart'
10819
10818
  property :timeout, as: 'timeout'
10820
10819
  end
@@ -13316,6 +13315,7 @@ module Google
13316
13315
  class Representation < Google::Apis::Core::JsonRepresentation
13317
13316
  collection :datapoints, as: 'datapoints', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1IndexDatapoint, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1IndexDatapoint::Representation
13318
13317
 
13318
+ property :update_mask, as: 'updateMask'
13319
13319
  end
13320
13320
  end
13321
13321
 
@@ -3436,8 +3436,8 @@ module Google
3436
3436
  execute_or_queue_command(command, &block)
3437
3437
  end
3438
3438
 
3439
- # Perform an unary online prediction request for Vertex first-party products and
3440
- # frameworks.
3439
+ # Perform an unary online prediction request to a gRPC model server for Vertex
3440
+ # first-party products and frameworks.
3441
3441
  # @param [String] endpoint
3442
3442
  # Required. The name of the Endpoint requested to serve the prediction. Format: `
3443
3443
  # projects/`project`/locations/`location`/endpoints/`endpoint``
@@ -3471,7 +3471,8 @@ module Google
3471
3471
  execute_or_queue_command(command, &block)
3472
3472
  end
3473
3473
 
3474
- # Perform an online prediction request through gRPC.
3474
+ # Perform an unary online prediction request to a gRPC model server for custom
3475
+ # containers.
3475
3476
  # @param [String] endpoint
3476
3477
  # Required. The name of the Endpoint requested to serve the prediction. Format: `
3477
3478
  # projects/`project`/locations/`location`/endpoints/`endpoint``
@@ -3542,6 +3543,40 @@ module Google
3542
3543
  execute_or_queue_command(command, &block)
3543
3544
  end
3544
3545
 
3546
+ # Generate content with multimodal inputs.
3547
+ # @param [String] model
3548
+ # Required. The name of the publisher model requested to serve the prediction.
3549
+ # Format: `projects/`project`/locations/`location`/publishers/*/models/*`
3550
+ # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateContentRequest] google_cloud_aiplatform_v1beta1_generate_content_request_object
3551
+ # @param [String] fields
3552
+ # Selector specifying which fields to include in a partial response.
3553
+ # @param [String] quota_user
3554
+ # Available to use for quota purposes for server-side applications. Can be any
3555
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3556
+ # @param [Google::Apis::RequestOptions] options
3557
+ # Request-specific options
3558
+ #
3559
+ # @yield [result, err] Result & error if block supplied
3560
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateContentResponse] parsed result object
3561
+ # @yieldparam err [StandardError] error object if request failed
3562
+ #
3563
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateContentResponse]
3564
+ #
3565
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3566
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3567
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3568
+ def generate_project_location_endpoint_content(model, google_cloud_aiplatform_v1beta1_generate_content_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3569
+ command = make_simple_command(:post, 'v1beta1/{+model}:generateContent', options)
3570
+ command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateContentRequest::Representation
3571
+ command.request_object = google_cloud_aiplatform_v1beta1_generate_content_request_object
3572
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateContentResponse::Representation
3573
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateContentResponse
3574
+ command.params['model'] = model unless model.nil?
3575
+ command.query['fields'] = fields unless fields.nil?
3576
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3577
+ execute_or_queue_command(command, &block)
3578
+ end
3579
+
3545
3580
  # Gets an Endpoint.
3546
3581
  # @param [String] name
3547
3582
  # Required. The name of the Endpoint resource. Format: `projects/`project`/
@@ -5817,7 +5852,7 @@ module Google
5817
5852
  # be overwritten if it is in the mask. If the user does not provide a mask then
5818
5853
  # only the non-empty fields present in the request will be overwritten. Set the
5819
5854
  # update_mask to `*` to override all fields. Updatable fields: * `
5820
- # big_query_source` * `labels` * `sync_config`
5855
+ # big_query_source` * `bigtable` * `labels` * `sync_config`
5821
5856
  # @param [String] fields
5822
5857
  # Selector specifying which fields to include in a partial response.
5823
5858
  # @param [String] quota_user
@@ -15854,6 +15889,40 @@ module Google
15854
15889
  execute_or_queue_command(command, &block)
15855
15890
  end
15856
15891
 
15892
+ # Generate content with multimodal inputs.
15893
+ # @param [String] model
15894
+ # Required. The name of the publisher model requested to serve the prediction.
15895
+ # Format: `projects/`project`/locations/`location`/publishers/*/models/*`
15896
+ # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateContentRequest] google_cloud_aiplatform_v1beta1_generate_content_request_object
15897
+ # @param [String] fields
15898
+ # Selector specifying which fields to include in a partial response.
15899
+ # @param [String] quota_user
15900
+ # Available to use for quota purposes for server-side applications. Can be any
15901
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
15902
+ # @param [Google::Apis::RequestOptions] options
15903
+ # Request-specific options
15904
+ #
15905
+ # @yield [result, err] Result & error if block supplied
15906
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateContentResponse] parsed result object
15907
+ # @yieldparam err [StandardError] error object if request failed
15908
+ #
15909
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateContentResponse]
15910
+ #
15911
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
15912
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
15913
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
15914
+ def generate_project_location_publisher_model_content(model, google_cloud_aiplatform_v1beta1_generate_content_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
15915
+ command = make_simple_command(:post, 'v1beta1/{+model}:generateContent', options)
15916
+ command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateContentRequest::Representation
15917
+ command.request_object = google_cloud_aiplatform_v1beta1_generate_content_request_object
15918
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateContentResponse::Representation
15919
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateContentResponse
15920
+ command.params['model'] = model unless model.nil?
15921
+ command.query['fields'] = fields unless fields.nil?
15922
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
15923
+ execute_or_queue_command(command, &block)
15924
+ end
15925
+
15857
15926
  # Gets the access control policy for a resource. Returns an empty policy if the
15858
15927
  # resource exists and does not have a policy set.
15859
15928
  # @param [String] resource
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-aiplatform_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.0
4
+ version: 0.17.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_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1beta1/v0.16.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1beta1/v0.17.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []