google-apis-aiplatform_v1beta1 0.52.0 → 0.53.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: c64c9833cda3bfae996199212e9ca5424032ea781db77aeeec830a10e9bbc0a6
4
- data.tar.gz: 3ceb74f82425250037d2d1198691b0c28c69fac183ce1302424497001157500e
3
+ metadata.gz: 10c230d61923f218a40dd62ceb889e273a1b0f3aa55cfa50ac7ef3a67d53e27c
4
+ data.tar.gz: 2f21e9c598f4757775bf53e82ee47e4ab087511f1c14264e552f01ddfb243549
5
5
  SHA512:
6
- metadata.gz: f1602bff63318dbb2a1d0275e23f3ca90348789a485bb789d7e157e01b066150312036d527c97bd8e6cb9d1b5f0f80d1a4e160f54877727175bfe9dfcc126d0c
7
- data.tar.gz: 1eb3264f6a97e2d3249e66b55c88232b4da77471d232b21aeffcf858eed2c32d104953ada55e81385ac24f5a8517c2e6799e2a94748b0919a417459c018cacc5
6
+ metadata.gz: 4d04f6dd6e787f838fcecd7e8a0e3dcf732a23083ffecd64c262b56e4b4d3022203dfb5f18a19dd426977adff04b0ecb10e2eae0a42a8067095684af2ffc35e6
7
+ data.tar.gz: '089decd2f152cd11a50e48dbf40d30fc17a20c3ac835c11f1ae38c82965f616a4e5209ec9976fdb2fbefe5795b56ea5d0dd3e756130b8d8016f7e5c7879be39e'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-aiplatform_v1beta1
2
2
 
3
+ ### v0.53.0 (2025-07-06)
4
+
5
+ * Regenerated from discovery document revision 20250701
6
+
3
7
  ### v0.52.0 (2025-06-29)
4
8
 
5
9
  * Regenerated from discovery document revision 20250613
@@ -6364,6 +6364,12 @@ module Google
6364
6364
  # @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AutoscalingMetricSpec>]
6365
6365
  attr_accessor :autoscaling_metric_specs
6366
6366
 
6367
+ # FlexStart is used to schedule the deployment workload on DWS resource. It
6368
+ # contains the max duration of the deployment.
6369
+ # Corresponds to the JSON property `flexStart`
6370
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FlexStart]
6371
+ attr_accessor :flex_start
6372
+
6367
6373
  # Specification of a single machine.
6368
6374
  # Corresponds to the JSON property `machineSpec`
6369
6375
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MachineSpec]
@@ -6414,6 +6420,7 @@ module Google
6414
6420
  # Update properties of this object
6415
6421
  def update!(**args)
6416
6422
  @autoscaling_metric_specs = args[:autoscaling_metric_specs] if args.key?(:autoscaling_metric_specs)
6423
+ @flex_start = args[:flex_start] if args.key?(:flex_start)
6417
6424
  @machine_spec = args[:machine_spec] if args.key?(:machine_spec)
6418
6425
  @max_replica_count = args[:max_replica_count] if args.key?(:max_replica_count)
6419
6426
  @min_replica_count = args[:min_replica_count] if args.key?(:min_replica_count)
@@ -9056,6 +9063,11 @@ module Google
9056
9063
  # @return [String]
9057
9064
  attr_accessor :branch
9058
9065
 
9066
+ # The custom metadata of the LlmResponse.
9067
+ # Corresponds to the JSON property `customMetadata`
9068
+ # @return [Hash<String,Object>]
9069
+ attr_accessor :custom_metadata
9070
+
9059
9071
  # Metadata returned to client when grounding is enabled.
9060
9072
  # Corresponds to the JSON property `groundingMetadata`
9061
9073
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GroundingMetadata]
@@ -9096,6 +9108,7 @@ module Google
9096
9108
  # Update properties of this object
9097
9109
  def update!(**args)
9098
9110
  @branch = args[:branch] if args.key?(:branch)
9111
+ @custom_metadata = args[:custom_metadata] if args.key?(:custom_metadata)
9099
9112
  @grounding_metadata = args[:grounding_metadata] if args.key?(:grounding_metadata)
9100
9113
  @interrupted = args[:interrupted] if args.key?(:interrupted)
9101
9114
  @long_running_tool_ids = args[:long_running_tool_ids] if args.key?(:long_running_tool_ids)
@@ -12390,9 +12403,9 @@ module Google
12390
12403
 
12391
12404
  # Feature generation timestamp. Typically, it is provided by user at feature
12392
12405
  # ingestion time. If not, feature store will use the system timestamp when the
12393
- # data is ingested into feature store. For streaming ingestion, the time,
12394
- # aligned by days, must be no older than five years (1825 days) and no later
12395
- # than one year (366 days) in the future.
12406
+ # data is ingested into feature store. Legacy Feature Store: For streaming
12407
+ # ingestion, the time, aligned by days, must be no older than five years (1825
12408
+ # days) and no later than one year (366 days) in the future.
12396
12409
  # Corresponds to the JSON property `generateTime`
12397
12410
  # @return [String]
12398
12411
  attr_accessor :generate_time
@@ -14015,6 +14028,28 @@ module Google
14015
14028
  end
14016
14029
  end
14017
14030
 
14031
+ # FlexStart is used to schedule the deployment workload on DWS resource. It
14032
+ # contains the max duration of the deployment.
14033
+ class GoogleCloudAiplatformV1beta1FlexStart
14034
+ include Google::Apis::Core::Hashable
14035
+
14036
+ # The max duration of the deployment is max_runtime_duration. The deployment
14037
+ # will be terminated after the duration. The max_runtime_duration can be set up
14038
+ # to 7 days.
14039
+ # Corresponds to the JSON property `maxRuntimeDuration`
14040
+ # @return [String]
14041
+ attr_accessor :max_runtime_duration
14042
+
14043
+ def initialize(**args)
14044
+ update!(**args)
14045
+ end
14046
+
14047
+ # Update properties of this object
14048
+ def update!(**args)
14049
+ @max_runtime_duration = args[:max_runtime_duration] if args.key?(:max_runtime_duration)
14050
+ end
14051
+ end
14052
+
14018
14053
  # Input for fluency metric.
14019
14054
  class GoogleCloudAiplatformV1beta1FluencyInput
14020
14055
  include Google::Apis::Core::Hashable
@@ -15397,8 +15432,7 @@ module Google
15397
15432
  attr_accessor :include_thoughts
15398
15433
  alias_method :include_thoughts?, :include_thoughts
15399
15434
 
15400
- # Optional. Indicates the thinking budget in tokens. This is only applied when
15401
- # enable_thinking is true.
15435
+ # Optional. Indicates the thinking budget in tokens.
15402
15436
  # Corresponds to the JSON property `thinkingBudget`
15403
15437
  # @return [Fixnum]
15404
15438
  attr_accessor :thinking_budget
@@ -19634,7 +19668,7 @@ module Google
19634
19668
  end
19635
19669
  end
19636
19670
 
19637
- # The metric used for dataset level evaluation.
19671
+ # The metric used for running evaluations.
19638
19672
  class GoogleCloudAiplatformV1beta1Metric
19639
19673
  include Google::Apis::Core::Hashable
19640
19674
 
@@ -20688,10 +20722,11 @@ module Google
20688
20722
 
20689
20723
  # Immutable. Invoke route prefix for the custom container. "/*" is the only
20690
20724
  # supported value right now. By setting this field, any non-root route on this
20691
- # model will be accessible with [PredictionService.Invoke] eg: "/invoke/foo/bar".
20692
- # Only one of `predict_route` or `invoke_route_prefix` can be set, and we
20693
- # default to using `predict_route` if this field is not set. If this field is
20694
- # set, the Model can only be deployed to dedicated endpoint.
20725
+ # model will be accessible with invoke http call eg: "/invoke/foo/bar", however
20726
+ # the [PredictionService.Invoke] RPC is not supported yet. Only one of `
20727
+ # predict_route` or `invoke_route_prefix` can be set, and we default to using `
20728
+ # predict_route` if this field is not set. If this field is set, the Model can
20729
+ # only be deployed to dedicated endpoint.
20695
20730
  # Corresponds to the JSON property `invokeRoutePrefix`
20696
20731
  # @return [String]
20697
20732
  attr_accessor :invoke_route_prefix
@@ -25037,8 +25072,8 @@ module Google
25037
25072
  end
25038
25073
  end
25039
25074
 
25040
- # PSC config that is used to automatically create forwarding rule via
25041
- # ServiceConnectionMap.
25075
+ # PSC config that is used to automatically create PSC endpoints in the user
25076
+ # projects.
25042
25077
  class GoogleCloudAiplatformV1beta1PscAutomationConfig
25043
25078
  include Google::Apis::Core::Hashable
25044
25079
 
@@ -25059,9 +25094,8 @@ module Google
25059
25094
 
25060
25095
  # Required. The full name of the Google Compute Engine [network](https://cloud.
25061
25096
  # google.com/compute/docs/networks-and-firewalls#networks). [Format](https://
25062
- # cloud.google.com/compute/docs/reference/rest/v1/networks/insert): `projects/`
25063
- # project`/global/networks/`network``. Where `project` is a project number, as
25064
- # in '12345', and `network` is network name.
25097
+ # cloud.google.com/compute/docs/reference/rest/v1/networks/get): `projects/`
25098
+ # project`/global/networks/`network``.
25065
25099
  # Corresponds to the JSON property `network`
25066
25100
  # @return [String]
25067
25101
  attr_accessor :network
@@ -26255,6 +26289,16 @@ module Google
26255
26289
  # @return [String]
26256
26290
  attr_accessor :task_name
26257
26291
 
26292
+ # Output only. The unique name of a task. This field is used by rerun pipeline
26293
+ # job. Console UI and Vertex AI SDK will support triggering pipeline job reruns.
26294
+ # The name is constructed by concatenating all the parent tasks name with the
26295
+ # task name. For example, if a task named "child_task" has a parent task named "
26296
+ # parent_task_1" and parent task 1 has a parent task named "parent_task_2", the
26297
+ # task unique name will be "parent_task_2.parent_task_1.child_task".
26298
+ # Corresponds to the JSON property `taskUniqueName`
26299
+ # @return [String]
26300
+ attr_accessor :task_unique_name
26301
+
26258
26302
  def initialize(**args)
26259
26303
  update!(**args)
26260
26304
  end
@@ -26274,6 +26318,7 @@ module Google
26274
26318
  @state = args[:state] if args.key?(:state)
26275
26319
  @task_id = args[:task_id] if args.key?(:task_id)
26276
26320
  @task_name = args[:task_name] if args.key?(:task_name)
26321
+ @task_unique_name = args[:task_unique_name] if args.key?(:task_unique_name)
26277
26322
  end
26278
26323
  end
26279
26324
 
@@ -27102,6 +27147,12 @@ module Google
27102
27147
  # @return [Array<String>]
27103
27148
  attr_accessor :project_allowlist
27104
27149
 
27150
+ # Optional. List of projects and networks where the PSC endpoints will be
27151
+ # created. This field is used by Online Inference(Prediction) only.
27152
+ # Corresponds to the JSON property `pscAutomationConfigs`
27153
+ # @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PscAutomationConfig>]
27154
+ attr_accessor :psc_automation_configs
27155
+
27105
27156
  # Output only. The name of the generated service attachment resource. This is
27106
27157
  # only populated if the endpoint is deployed with PrivateServiceConnect.
27107
27158
  # Corresponds to the JSON property `serviceAttachment`
@@ -27117,6 +27168,7 @@ module Google
27117
27168
  @enable_private_service_connect = args[:enable_private_service_connect] if args.key?(:enable_private_service_connect)
27118
27169
  @enable_secure_private_service_connect = args[:enable_secure_private_service_connect] if args.key?(:enable_secure_private_service_connect)
27119
27170
  @project_allowlist = args[:project_allowlist] if args.key?(:project_allowlist)
27171
+ @psc_automation_configs = args[:psc_automation_configs] if args.key?(:psc_automation_configs)
27120
27172
  @service_attachment = args[:service_attachment] if args.key?(:service_attachment)
27121
27173
  end
27122
27174
  end
@@ -30864,8 +30916,7 @@ module Google
30864
30916
  include Google::Apis::Core::Hashable
30865
30917
 
30866
30918
  # Required. The model used to generate memories. Format: `projects/`project`/
30867
- # locations/`location`/publishers/google/models/`model`` or `projects/`project`/
30868
- # locations/`location`/endpoints/`endpoint``.
30919
+ # locations/`location`/publishers/google/models/`model``.
30869
30920
  # Corresponds to the JSON property `model`
30870
30921
  # @return [String]
30871
30922
  attr_accessor :model
@@ -30886,7 +30937,7 @@ module Google
30886
30937
 
30887
30938
  # Required. The model used to generate embeddings to lookup similar memories.
30888
30939
  # Format: `projects/`project`/locations/`location`/publishers/google/models/`
30889
- # model`` or `projects/`project`/locations/`location`/endpoints/`endpoint``.
30940
+ # model``.
30890
30941
  # Corresponds to the JSON property `embeddingModel`
30891
30942
  # @return [String]
30892
30943
  attr_accessor :embedding_model
@@ -45585,7 +45636,10 @@ module Google
45585
45636
  attr_accessor :endpoint
45586
45637
 
45587
45638
  # Output only. The resource name of the TunedModel. Format: `projects/`project`/
45588
- # locations/`location`/models/`model``.
45639
+ # locations/`location`/models/`model`@`version_id`` When tuning from a base
45640
+ # model, the version_id will be 1. For continuous tuning, the version id will be
45641
+ # incremented by 1 from the last version id in the parent model. E.g., `projects/
45642
+ # `project`/locations/`location`/models/`model`@`last_version_id + 1``
45589
45643
  # Corresponds to the JSON property `model`
45590
45644
  # @return [String]
45591
45645
  attr_accessor :model
@@ -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.52.0"
19
+ GEM_VERSION = "0.53.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 = "20250613"
25
+ REVISION = "20250701"
26
26
  end
27
27
  end
28
28
  end
@@ -2308,6 +2308,12 @@ module Google
2308
2308
  include Google::Apis::Core::JsonObjectSupport
2309
2309
  end
2310
2310
 
2311
+ class GoogleCloudAiplatformV1beta1FlexStart
2312
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2313
+
2314
+ include Google::Apis::Core::JsonObjectSupport
2315
+ end
2316
+
2311
2317
  class GoogleCloudAiplatformV1beta1FluencyInput
2312
2318
  class Representation < Google::Apis::Core::JsonRepresentation; end
2313
2319
 
@@ -10037,6 +10043,8 @@ module Google
10037
10043
  class Representation < Google::Apis::Core::JsonRepresentation
10038
10044
  collection :autoscaling_metric_specs, as: 'autoscalingMetricSpecs', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AutoscalingMetricSpec, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AutoscalingMetricSpec::Representation
10039
10045
 
10046
+ property :flex_start, as: 'flexStart', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FlexStart, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FlexStart::Representation
10047
+
10040
10048
  property :machine_spec, as: 'machineSpec', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MachineSpec, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MachineSpec::Representation
10041
10049
 
10042
10050
  property :max_replica_count, as: 'maxReplicaCount'
@@ -10787,6 +10795,7 @@ module Google
10787
10795
  # @private
10788
10796
  class Representation < Google::Apis::Core::JsonRepresentation
10789
10797
  property :branch, as: 'branch'
10798
+ hash :custom_metadata, as: 'customMetadata'
10790
10799
  property :grounding_metadata, as: 'groundingMetadata', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GroundingMetadata, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GroundingMetadata::Representation
10791
10800
 
10792
10801
  property :interrupted, as: 'interrupted'
@@ -12157,6 +12166,13 @@ module Google
12157
12166
  end
12158
12167
  end
12159
12168
 
12169
+ class GoogleCloudAiplatformV1beta1FlexStart
12170
+ # @private
12171
+ class Representation < Google::Apis::Core::JsonRepresentation
12172
+ property :max_runtime_duration, as: 'maxRuntimeDuration'
12173
+ end
12174
+ end
12175
+
12160
12176
  class GoogleCloudAiplatformV1beta1FluencyInput
12161
12177
  # @private
12162
12178
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -15630,6 +15646,7 @@ module Google
15630
15646
  property :state, as: 'state'
15631
15647
  property :task_id, :numeric_string => true, as: 'taskId'
15632
15648
  property :task_name, as: 'taskName'
15649
+ property :task_unique_name, as: 'taskUniqueName'
15633
15650
  end
15634
15651
  end
15635
15652
 
@@ -15871,6 +15888,8 @@ module Google
15871
15888
  property :enable_private_service_connect, as: 'enablePrivateServiceConnect'
15872
15889
  property :enable_secure_private_service_connect, as: 'enableSecurePrivateServiceConnect'
15873
15890
  collection :project_allowlist, as: 'projectAllowlist'
15891
+ collection :psc_automation_configs, as: 'pscAutomationConfigs', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PscAutomationConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PscAutomationConfig::Representation
15892
+
15874
15893
  property :service_attachment, as: 'serviceAttachment'
15875
15894
  end
15876
15895
  end
@@ -23940,6 +23940,10 @@ module Google
23940
23940
  # Required. The resource name of the session to list events from. Format: `
23941
23941
  # projects/`project`/locations/`location`/reasoningEngines/`reasoning_engine`/
23942
23942
  # sessions/`session``
23943
+ # @param [String] filter
23944
+ # Optional. The standard list filter. Supported fields: * `timestamp` range (i.e.
23945
+ # `timestamp>="2025-01-31T11:30:00-04:00"` where the timestamp is in RFC 3339
23946
+ # format) More detail in [AIP-160](https://google.aip.dev/160).
23943
23947
  # @param [Fixnum] page_size
23944
23948
  # Optional. The maximum number of events to return. The service may return fewer
23945
23949
  # than this value. If unspecified, at most 100 events will be returned. These
@@ -23964,11 +23968,12 @@ module Google
23964
23968
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
23965
23969
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
23966
23970
  # @raise [Google::Apis::AuthorizationError] Authorization is required
23967
- def list_project_location_reasoning_engine_session_events(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
23971
+ def list_project_location_reasoning_engine_session_events(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
23968
23972
  command = make_simple_command(:get, 'v1beta1/{+parent}/events', options)
23969
23973
  command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListEventsResponse::Representation
23970
23974
  command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListEventsResponse
23971
23975
  command.params['parent'] = parent unless parent.nil?
23976
+ command.query['filter'] = filter unless filter.nil?
23972
23977
  command.query['pageSize'] = page_size unless page_size.nil?
23973
23978
  command.query['pageToken'] = page_token unless page_token.nil?
23974
23979
  command.query['fields'] = fields unless fields.nil?
@@ -29568,6 +29573,10 @@ module Google
29568
29573
  # Required. The resource name of the session to list events from. Format: `
29569
29574
  # projects/`project`/locations/`location`/reasoningEngines/`reasoning_engine`/
29570
29575
  # sessions/`session``
29576
+ # @param [String] filter
29577
+ # Optional. The standard list filter. Supported fields: * `timestamp` range (i.e.
29578
+ # `timestamp>="2025-01-31T11:30:00-04:00"` where the timestamp is in RFC 3339
29579
+ # format) More detail in [AIP-160](https://google.aip.dev/160).
29571
29580
  # @param [Fixnum] page_size
29572
29581
  # Optional. The maximum number of events to return. The service may return fewer
29573
29582
  # than this value. If unspecified, at most 100 events will be returned. These
@@ -29592,11 +29601,12 @@ module Google
29592
29601
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
29593
29602
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
29594
29603
  # @raise [Google::Apis::AuthorizationError] Authorization is required
29595
- def list_reasoning_engine_session_events(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
29604
+ def list_reasoning_engine_session_events(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
29596
29605
  command = make_simple_command(:get, 'v1beta1/{+parent}/events', options)
29597
29606
  command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListEventsResponse::Representation
29598
29607
  command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListEventsResponse
29599
29608
  command.params['parent'] = parent unless parent.nil?
29609
+ command.query['filter'] = filter unless filter.nil?
29600
29610
  command.query['pageSize'] = page_size unless page_size.nil?
29601
29611
  command.query['pageToken'] = page_token unless page_token.nil?
29602
29612
  command.query['fields'] = fields unless fields.nil?
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.52.0
4
+ version: 0.53.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.52.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1beta1/v0.53.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: