google-apis-aiplatform_v1 0.59.0 → 0.60.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7d79e114cec8317df56f82abdc3a31070c466ac1a2c13065550ea290221ba3a9
|
4
|
+
data.tar.gz: d3505f17ede05d24c6621cf01a9f1c33c688e8b02a1d5018e01a0be541c5c471
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '017121179eac9b95433b640c772b4bd25fd4899154b8e33b8e31507834ac011ca539311e703ef97c77f8de8c7a819585bb86ecfa6ce9ea5b91a8199725481195'
|
7
|
+
data.tar.gz: 120ed78baf1634761568e1e0de10f9f4b7466ad0a9fc43e3affb9a9313f0262a3c3e875a1de38ee6cadd2657ddc81095082deba0c6a533fc91127c970c87baa2
|
data/CHANGELOG.md
CHANGED
@@ -6361,6 +6361,15 @@ module Google
|
|
6361
6361
|
# @return [String]
|
6362
6362
|
attr_accessor :model_display_name
|
6363
6363
|
|
6364
|
+
# Optional. The ID to use for the uploaded Model, which will become the final
|
6365
|
+
# component of the model resource name. When not provided, Vertex AI will
|
6366
|
+
# generate a value for this ID. When Model Registry model is provided, this
|
6367
|
+
# field will be ignored. This value may be up to 63 characters, and valid
|
6368
|
+
# characters are `[a-z0-9_-]`. The first character cannot be a number or hyphen.
|
6369
|
+
# Corresponds to the JSON property `modelUserId`
|
6370
|
+
# @return [String]
|
6371
|
+
attr_accessor :model_user_id
|
6372
|
+
|
6364
6373
|
def initialize(**args)
|
6365
6374
|
update!(**args)
|
6366
6375
|
end
|
@@ -6372,6 +6381,7 @@ module Google
|
|
6372
6381
|
@hugging_face_access_token = args[:hugging_face_access_token] if args.key?(:hugging_face_access_token)
|
6373
6382
|
@hugging_face_cache_enabled = args[:hugging_face_cache_enabled] if args.key?(:hugging_face_cache_enabled)
|
6374
6383
|
@model_display_name = args[:model_display_name] if args.key?(:model_display_name)
|
6384
|
+
@model_user_id = args[:model_user_id] if args.key?(:model_user_id)
|
6375
6385
|
end
|
6376
6386
|
end
|
6377
6387
|
|
@@ -6466,6 +6476,17 @@ module Google
|
|
6466
6476
|
attr_accessor :enable_access_logging
|
6467
6477
|
alias_method :enable_access_logging?, :enable_access_logging
|
6468
6478
|
|
6479
|
+
# Optional. If true, logs to Cloud Logging errors relating to datapoint upserts.
|
6480
|
+
# Under normal operation conditions, these log entries should be very rare.
|
6481
|
+
# However, if incompatible datapoint updates are being uploaded to an index, a
|
6482
|
+
# high volume of log entries may be generated in a short period of time. Note
|
6483
|
+
# that logs may incur a cost, especially if the deployed index receives a high
|
6484
|
+
# volume of datapoint upserts. Estimate your costs before enabling this option.
|
6485
|
+
# Corresponds to the JSON property `enableDatapointUpsertLogging`
|
6486
|
+
# @return [Boolean]
|
6487
|
+
attr_accessor :enable_datapoint_upsert_logging
|
6488
|
+
alias_method :enable_datapoint_upsert_logging?, :enable_datapoint_upsert_logging
|
6489
|
+
|
6469
6490
|
# Required. The user specified ID of the DeployedIndex. The ID can be up to 128
|
6470
6491
|
# characters long and must start with a letter and only contain letters, numbers,
|
6471
6492
|
# and underscores. The ID must be unique within the project it is created in.
|
@@ -6533,6 +6554,7 @@ module Google
|
|
6533
6554
|
@deployment_group = args[:deployment_group] if args.key?(:deployment_group)
|
6534
6555
|
@display_name = args[:display_name] if args.key?(:display_name)
|
6535
6556
|
@enable_access_logging = args[:enable_access_logging] if args.key?(:enable_access_logging)
|
6557
|
+
@enable_datapoint_upsert_logging = args[:enable_datapoint_upsert_logging] if args.key?(:enable_datapoint_upsert_logging)
|
6536
6558
|
@id = args[:id] if args.key?(:id)
|
6537
6559
|
@index = args[:index] if args.key?(:index)
|
6538
6560
|
@index_sync_time = args[:index_sync_time] if args.key?(:index_sync_time)
|
@@ -6693,6 +6715,12 @@ module Google
|
|
6693
6715
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FasterDeploymentConfig]
|
6694
6716
|
attr_accessor :faster_deployment_config
|
6695
6717
|
|
6718
|
+
# GDC pretrained / Gemini model name. The model name is a plain model name, e.g.
|
6719
|
+
# gemini-1.5-flash-002.
|
6720
|
+
# Corresponds to the JSON property `gdcConnectedModel`
|
6721
|
+
# @return [String]
|
6722
|
+
attr_accessor :gdc_connected_model
|
6723
|
+
|
6696
6724
|
# Immutable. The ID of the DeployedModel. If not provided upon deployment,
|
6697
6725
|
# Vertex AI will generate a value for this ID. This value should be 1-10
|
6698
6726
|
# characters, and valid characters are `/[0-9]/`.
|
@@ -6771,6 +6799,7 @@ module Google
|
|
6771
6799
|
@enable_access_logging = args[:enable_access_logging] if args.key?(:enable_access_logging)
|
6772
6800
|
@explanation_spec = args[:explanation_spec] if args.key?(:explanation_spec)
|
6773
6801
|
@faster_deployment_config = args[:faster_deployment_config] if args.key?(:faster_deployment_config)
|
6802
|
+
@gdc_connected_model = args[:gdc_connected_model] if args.key?(:gdc_connected_model)
|
6774
6803
|
@id = args[:id] if args.key?(:id)
|
6775
6804
|
@model = args[:model] if args.key?(:model)
|
6776
6805
|
@model_version_id = args[:model_version_id] if args.key?(:model_version_id)
|
@@ -7266,6 +7295,11 @@ module Google
|
|
7266
7295
|
# @return [String]
|
7267
7296
|
attr_accessor :etag
|
7268
7297
|
|
7298
|
+
# Google Distributed Cloud (GDC) config.
|
7299
|
+
# Corresponds to the JSON property `gdcConfig`
|
7300
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GdcConfig]
|
7301
|
+
attr_accessor :gdc_config
|
7302
|
+
|
7269
7303
|
# Configuration for GenAiAdvancedFeatures.
|
7270
7304
|
# Corresponds to the JSON property `genAiAdvancedFeaturesConfig`
|
7271
7305
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenAiAdvancedFeaturesConfig]
|
@@ -7357,6 +7391,7 @@ module Google
|
|
7357
7391
|
@enable_private_service_connect = args[:enable_private_service_connect] if args.key?(:enable_private_service_connect)
|
7358
7392
|
@encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
|
7359
7393
|
@etag = args[:etag] if args.key?(:etag)
|
7394
|
+
@gdc_config = args[:gdc_config] if args.key?(:gdc_config)
|
7360
7395
|
@gen_ai_advanced_features_config = args[:gen_ai_advanced_features_config] if args.key?(:gen_ai_advanced_features_config)
|
7361
7396
|
@labels = args[:labels] if args.key?(:labels)
|
7362
7397
|
@model_deployment_monitoring_job = args[:model_deployment_monitoring_job] if args.key?(:model_deployment_monitoring_job)
|
@@ -12456,6 +12491,25 @@ module Google
|
|
12456
12491
|
end
|
12457
12492
|
end
|
12458
12493
|
|
12494
|
+
# Google Distributed Cloud (GDC) config.
|
12495
|
+
class GoogleCloudAiplatformV1GdcConfig
|
12496
|
+
include Google::Apis::Core::Hashable
|
12497
|
+
|
12498
|
+
# GDC zone. A cluster will be designated for the Vertex AI workload in this zone.
|
12499
|
+
# Corresponds to the JSON property `zone`
|
12500
|
+
# @return [String]
|
12501
|
+
attr_accessor :zone
|
12502
|
+
|
12503
|
+
def initialize(**args)
|
12504
|
+
update!(**args)
|
12505
|
+
end
|
12506
|
+
|
12507
|
+
# Update properties of this object
|
12508
|
+
def update!(**args)
|
12509
|
+
@zone = args[:zone] if args.key?(:zone)
|
12510
|
+
end
|
12511
|
+
end
|
12512
|
+
|
12459
12513
|
# Configuration for GenAiAdvancedFeatures.
|
12460
12514
|
class GoogleCloudAiplatformV1GenAiAdvancedFeaturesConfig
|
12461
12515
|
include Google::Apis::Core::Hashable
|
@@ -36551,7 +36605,7 @@ module Google
|
|
36551
36605
|
attr_accessor :epoch_count
|
36552
36606
|
|
36553
36607
|
# Optional. Multiplier for adjusting the default learning rate. Mutually
|
36554
|
-
# exclusive with `learning_rate`.
|
36608
|
+
# exclusive with `learning_rate`. This feature is only available for 1P models.
|
36555
36609
|
# Corresponds to the JSON property `learningRateMultiplier`
|
36556
36610
|
# @return [Float]
|
36557
36611
|
attr_accessor :learning_rate_multiplier
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.60.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 = "
|
25
|
+
REVISION = "20250715"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -2050,6 +2050,12 @@ module Google
|
|
2050
2050
|
include Google::Apis::Core::JsonObjectSupport
|
2051
2051
|
end
|
2052
2052
|
|
2053
|
+
class GoogleCloudAiplatformV1GdcConfig
|
2054
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2055
|
+
|
2056
|
+
include Google::Apis::Core::JsonObjectSupport
|
2057
|
+
end
|
2058
|
+
|
2053
2059
|
class GoogleCloudAiplatformV1GenAiAdvancedFeaturesConfig
|
2054
2060
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2055
2061
|
|
@@ -8824,6 +8830,7 @@ module Google
|
|
8824
8830
|
property :hugging_face_access_token, as: 'huggingFaceAccessToken'
|
8825
8831
|
property :hugging_face_cache_enabled, as: 'huggingFaceCacheEnabled'
|
8826
8832
|
property :model_display_name, as: 'modelDisplayName'
|
8833
|
+
property :model_user_id, as: 'modelUserId'
|
8827
8834
|
end
|
8828
8835
|
end
|
8829
8836
|
|
@@ -8849,6 +8856,7 @@ module Google
|
|
8849
8856
|
property :deployment_group, as: 'deploymentGroup'
|
8850
8857
|
property :display_name, as: 'displayName'
|
8851
8858
|
property :enable_access_logging, as: 'enableAccessLogging'
|
8859
|
+
property :enable_datapoint_upsert_logging, as: 'enableDatapointUpsertLogging'
|
8852
8860
|
property :id, as: 'id'
|
8853
8861
|
property :index, as: 'index'
|
8854
8862
|
property :index_sync_time, as: 'indexSyncTime'
|
@@ -8902,6 +8910,7 @@ module Google
|
|
8902
8910
|
|
8903
8911
|
property :faster_deployment_config, as: 'fasterDeploymentConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FasterDeploymentConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FasterDeploymentConfig::Representation
|
8904
8912
|
|
8913
|
+
property :gdc_connected_model, as: 'gdcConnectedModel'
|
8905
8914
|
property :id, as: 'id'
|
8906
8915
|
property :model, as: 'model'
|
8907
8916
|
property :model_version_id, as: 'modelVersionId'
|
@@ -9055,6 +9064,8 @@ module Google
|
|
9055
9064
|
property :encryption_spec, as: 'encryptionSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec::Representation
|
9056
9065
|
|
9057
9066
|
property :etag, as: 'etag'
|
9067
|
+
property :gdc_config, as: 'gdcConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GdcConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GdcConfig::Representation
|
9068
|
+
|
9058
9069
|
property :gen_ai_advanced_features_config, as: 'genAiAdvancedFeaturesConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenAiAdvancedFeaturesConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenAiAdvancedFeaturesConfig::Representation
|
9059
9070
|
|
9060
9071
|
hash :labels, as: 'labels'
|
@@ -10486,6 +10497,13 @@ module Google
|
|
10486
10497
|
end
|
10487
10498
|
end
|
10488
10499
|
|
10500
|
+
class GoogleCloudAiplatformV1GdcConfig
|
10501
|
+
# @private
|
10502
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
10503
|
+
property :zone, as: 'zone'
|
10504
|
+
end
|
10505
|
+
end
|
10506
|
+
|
10489
10507
|
class GoogleCloudAiplatformV1GenAiAdvancedFeaturesConfig
|
10490
10508
|
# @private
|
10491
10509
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4922,6 +4922,10 @@ module Google
|
|
4922
4922
|
# space must be quoted. `labels."a key"`. * `base_model_name` only supports `=`.
|
4923
4923
|
# Some examples: * `endpoint=1` * `displayName="myDisplayName"` * `labels.myKey="
|
4924
4924
|
# myValue"` * `baseModelName="text-bison"`
|
4925
|
+
# @param [String] gdc_zone
|
4926
|
+
# Optional. Configures the Google Distributed Cloud (GDC) environment for online
|
4927
|
+
# prediction. Only set this field when the Endpoint is to be deployed in a GDC
|
4928
|
+
# environment.
|
4925
4929
|
# @param [String] order_by
|
4926
4930
|
# A comma-separated list of fields to order by, sorted in ascending order. Use "
|
4927
4931
|
# desc" after a field name for descending. Supported fields: * `display_name` * `
|
@@ -4951,12 +4955,13 @@ module Google
|
|
4951
4955
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4952
4956
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4953
4957
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4954
|
-
def list_project_location_endpoints(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
4958
|
+
def list_project_location_endpoints(parent, filter: nil, gdc_zone: nil, order_by: nil, page_size: nil, page_token: nil, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
4955
4959
|
command = make_simple_command(:get, 'v1/{+parent}/endpoints', options)
|
4956
4960
|
command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListEndpointsResponse::Representation
|
4957
4961
|
command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListEndpointsResponse
|
4958
4962
|
command.params['parent'] = parent unless parent.nil?
|
4959
4963
|
command.query['filter'] = filter unless filter.nil?
|
4964
|
+
command.query['gdcZone'] = gdc_zone unless gdc_zone.nil?
|
4960
4965
|
command.query['orderBy'] = order_by unless order_by.nil?
|
4961
4966
|
command.query['pageSize'] = page_size unless page_size.nil?
|
4962
4967
|
command.query['pageToken'] = page_token unless page_token.nil?
|
@@ -4967,9 +4972,9 @@ module Google
|
|
4967
4972
|
end
|
4968
4973
|
|
4969
4974
|
# Updates an existing deployed model. Updatable fields include `
|
4970
|
-
# min_replica_count`, `max_replica_count`, `
|
4971
|
-
# disable_container_logging` (v1 only), and `
|
4972
|
-
# only).
|
4975
|
+
# min_replica_count`, `max_replica_count`, `required_replica_count`, `
|
4976
|
+
# autoscaling_metric_specs`, `disable_container_logging` (v1 only), and `
|
4977
|
+
# enable_container_logging` (v1beta1 only).
|
4973
4978
|
# @param [String] endpoint
|
4974
4979
|
# Required. The name of the Endpoint resource into which to mutate a
|
4975
4980
|
# DeployedModel. Format: `projects/`project`/locations/`location`/endpoints/`
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-aiplatform_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.60.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_v1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1/v0.60.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|