google-apis-aiplatform_v1beta1 0.1.0 → 0.3.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 +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/aiplatform_v1beta1/classes.rb +315 -91
- data/lib/google/apis/aiplatform_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/aiplatform_v1beta1/representations.rb +128 -8
- data/lib/google/apis/aiplatform_v1beta1/service.rb +408 -12
- metadata +4 -4
@@ -2386,6 +2386,44 @@ module Google
|
|
2386
2386
|
end
|
2387
2387
|
end
|
2388
2388
|
|
2389
|
+
# Details of ExtensionControllerService.CreateExtensionController operation.
|
2390
|
+
class GoogleCloudAiplatformV1beta1CreateExtensionControllerOperationMetadata
|
2391
|
+
include Google::Apis::Core::Hashable
|
2392
|
+
|
2393
|
+
# Generic Metadata shared by all operations.
|
2394
|
+
# Corresponds to the JSON property `genericMetadata`
|
2395
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenericOperationMetadata]
|
2396
|
+
attr_accessor :generic_metadata
|
2397
|
+
|
2398
|
+
def initialize(**args)
|
2399
|
+
update!(**args)
|
2400
|
+
end
|
2401
|
+
|
2402
|
+
# Update properties of this object
|
2403
|
+
def update!(**args)
|
2404
|
+
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
2405
|
+
end
|
2406
|
+
end
|
2407
|
+
|
2408
|
+
# Details of ExtensionRegistryService.CreateExtensionDeployment operation.
|
2409
|
+
class GoogleCloudAiplatformV1beta1CreateExtensionDeploymentOperationMetadata
|
2410
|
+
include Google::Apis::Core::Hashable
|
2411
|
+
|
2412
|
+
# Generic Metadata shared by all operations.
|
2413
|
+
# Corresponds to the JSON property `genericMetadata`
|
2414
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenericOperationMetadata]
|
2415
|
+
attr_accessor :generic_metadata
|
2416
|
+
|
2417
|
+
def initialize(**args)
|
2418
|
+
update!(**args)
|
2419
|
+
end
|
2420
|
+
|
2421
|
+
# Update properties of this object
|
2422
|
+
def update!(**args)
|
2423
|
+
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
2424
|
+
end
|
2425
|
+
end
|
2426
|
+
|
2389
2427
|
# Details of operations that perform create Feature.
|
2390
2428
|
class GoogleCloudAiplatformV1beta1CreateFeatureOperationMetadata
|
2391
2429
|
include Google::Apis::Core::Hashable
|
@@ -2405,8 +2443,7 @@ module Google
|
|
2405
2443
|
end
|
2406
2444
|
end
|
2407
2445
|
|
2408
|
-
# Request message for FeaturestoreService.CreateFeature
|
2409
|
-
# FeatureRegistryService.CreateFeature.
|
2446
|
+
# Request message for FeaturestoreService.CreateFeature.
|
2410
2447
|
class GoogleCloudAiplatformV1beta1CreateFeatureRequest
|
2411
2448
|
include Google::Apis::Core::Hashable
|
2412
2449
|
|
@@ -2420,15 +2457,14 @@ module Google
|
|
2420
2457
|
# Required. The ID to use for the Feature, which will become the final component
|
2421
2458
|
# of the Feature's resource name. This value may be up to 128 characters, and
|
2422
2459
|
# valid characters are `[a-z0-9_]`. The first character cannot be a number. The
|
2423
|
-
# value must be unique within an EntityType
|
2460
|
+
# value must be unique within an EntityType .
|
2424
2461
|
# Corresponds to the JSON property `featureId`
|
2425
2462
|
# @return [String]
|
2426
2463
|
attr_accessor :feature_id
|
2427
2464
|
|
2428
|
-
# Required. The resource name of the EntityType
|
2429
|
-
#
|
2430
|
-
#
|
2431
|
-
# location`/featureGroups/`feature_group``
|
2465
|
+
# Required. The resource name of the EntityType to create a Feature. Format: `
|
2466
|
+
# projects/`project`/locations/`location`/featurestores/`featurestore`/
|
2467
|
+
# entityTypes/`entity_type``
|
2432
2468
|
# Corresponds to the JSON property `parent`
|
2433
2469
|
# @return [String]
|
2434
2470
|
attr_accessor :parent
|
@@ -5719,6 +5755,63 @@ module Google
|
|
5719
5755
|
end
|
5720
5756
|
end
|
5721
5757
|
|
5758
|
+
# Details of EndpointService.ExportEndpoint operation.
|
5759
|
+
class GoogleCloudAiplatformV1beta1ExportEndpointOperationMetadata
|
5760
|
+
include Google::Apis::Core::Hashable
|
5761
|
+
|
5762
|
+
# Generic Metadata shared by all operations.
|
5763
|
+
# Corresponds to the JSON property `genericMetadata`
|
5764
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenericOperationMetadata]
|
5765
|
+
attr_accessor :generic_metadata
|
5766
|
+
|
5767
|
+
def initialize(**args)
|
5768
|
+
update!(**args)
|
5769
|
+
end
|
5770
|
+
|
5771
|
+
# Update properties of this object
|
5772
|
+
def update!(**args)
|
5773
|
+
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
5774
|
+
end
|
5775
|
+
end
|
5776
|
+
|
5777
|
+
# Response message of EndpointService.ExportEndpoint operation.
|
5778
|
+
class GoogleCloudAiplatformV1beta1ExportEndpointResponse
|
5779
|
+
include Google::Apis::Core::Hashable
|
5780
|
+
|
5781
|
+
# Describes the output of the ExportEndpoint.
|
5782
|
+
# Corresponds to the JSON property `outputInfo`
|
5783
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExportEndpointResponseOutputInfo]
|
5784
|
+
attr_accessor :output_info
|
5785
|
+
|
5786
|
+
def initialize(**args)
|
5787
|
+
update!(**args)
|
5788
|
+
end
|
5789
|
+
|
5790
|
+
# Update properties of this object
|
5791
|
+
def update!(**args)
|
5792
|
+
@output_info = args[:output_info] if args.key?(:output_info)
|
5793
|
+
end
|
5794
|
+
end
|
5795
|
+
|
5796
|
+
# Describes the output of the ExportEndpoint.
|
5797
|
+
class GoogleCloudAiplatformV1beta1ExportEndpointResponseOutputInfo
|
5798
|
+
include Google::Apis::Core::Hashable
|
5799
|
+
|
5800
|
+
# The BigQuery location for the output content.
|
5801
|
+
# Corresponds to the JSON property `bigQueryDestination`
|
5802
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BigQueryDestination]
|
5803
|
+
attr_accessor :big_query_destination
|
5804
|
+
|
5805
|
+
def initialize(**args)
|
5806
|
+
update!(**args)
|
5807
|
+
end
|
5808
|
+
|
5809
|
+
# Update properties of this object
|
5810
|
+
def update!(**args)
|
5811
|
+
@big_query_destination = args[:big_query_destination] if args.key?(:big_query_destination)
|
5812
|
+
end
|
5813
|
+
end
|
5814
|
+
|
5722
5815
|
# Details of operations that exports Features values.
|
5723
5816
|
class GoogleCloudAiplatformV1beta1ExportFeatureValuesOperationMetadata
|
5724
5817
|
include Google::Apis::Core::Hashable
|
@@ -6153,42 +6246,11 @@ module Google
|
|
6153
6246
|
# @return [String]
|
6154
6247
|
attr_accessor :update_time
|
6155
6248
|
|
6156
|
-
#
|
6249
|
+
# Immutable. Type of Feature value.
|
6157
6250
|
# Corresponds to the JSON property `valueType`
|
6158
6251
|
# @return [String]
|
6159
6252
|
attr_accessor :value_type
|
6160
6253
|
|
6161
|
-
# Output only. Timestamp when this version was created.
|
6162
|
-
# Corresponds to the JSON property `versionCreateTime`
|
6163
|
-
# @return [String]
|
6164
|
-
attr_accessor :version_create_time
|
6165
|
-
|
6166
|
-
# The description of this version.
|
6167
|
-
# Corresponds to the JSON property `versionDescription`
|
6168
|
-
# @return [String]
|
6169
|
-
attr_accessor :version_description
|
6170
|
-
|
6171
|
-
# Output only. Immutable. The version ID of the feature. It is an auto-
|
6172
|
-
# incrementing decimal number in string representation. A new version is
|
6173
|
-
# committed when a new model version is created under an existing feature id.
|
6174
|
-
# Corresponds to the JSON property `versionId`
|
6175
|
-
# @return [String]
|
6176
|
-
attr_accessor :version_id
|
6177
|
-
|
6178
|
-
# The labels with user-defined metadata to organize your versions. Label keys
|
6179
|
-
# and values can be no longer than 64 characters (Unicode codepoints), can only
|
6180
|
-
# contain lowercase letters, numeric characters, underscores and dashes.
|
6181
|
-
# International characters are allowed. See https://goo.gl/xmQnxf for more
|
6182
|
-
# information and examples of labels.
|
6183
|
-
# Corresponds to the JSON property `versionLabels`
|
6184
|
-
# @return [Hash<String,String>]
|
6185
|
-
attr_accessor :version_labels
|
6186
|
-
|
6187
|
-
# Output only. Timestamp when this version was most recently updated.
|
6188
|
-
# Corresponds to the JSON property `versionUpdateTime`
|
6189
|
-
# @return [String]
|
6190
|
-
attr_accessor :version_update_time
|
6191
|
-
|
6192
6254
|
def initialize(**args)
|
6193
6255
|
update!(**args)
|
6194
6256
|
end
|
@@ -6206,11 +6268,6 @@ module Google
|
|
6206
6268
|
@name = args[:name] if args.key?(:name)
|
6207
6269
|
@update_time = args[:update_time] if args.key?(:update_time)
|
6208
6270
|
@value_type = args[:value_type] if args.key?(:value_type)
|
6209
|
-
@version_create_time = args[:version_create_time] if args.key?(:version_create_time)
|
6210
|
-
@version_description = args[:version_description] if args.key?(:version_description)
|
6211
|
-
@version_id = args[:version_id] if args.key?(:version_id)
|
6212
|
-
@version_labels = args[:version_labels] if args.key?(:version_labels)
|
6213
|
-
@version_update_time = args[:version_update_time] if args.key?(:version_update_time)
|
6214
6271
|
end
|
6215
6272
|
end
|
6216
6273
|
|
@@ -7486,6 +7543,25 @@ module Google
|
|
7486
7543
|
end
|
7487
7544
|
end
|
7488
7545
|
|
7546
|
+
# Details of ExtensionRegistryService.ImportExtension operation.
|
7547
|
+
class GoogleCloudAiplatformV1beta1ImportExtensionOperationMetadata
|
7548
|
+
include Google::Apis::Core::Hashable
|
7549
|
+
|
7550
|
+
# Generic Metadata shared by all operations.
|
7551
|
+
# Corresponds to the JSON property `genericMetadata`
|
7552
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenericOperationMetadata]
|
7553
|
+
attr_accessor :generic_metadata
|
7554
|
+
|
7555
|
+
def initialize(**args)
|
7556
|
+
update!(**args)
|
7557
|
+
end
|
7558
|
+
|
7559
|
+
# Update properties of this object
|
7560
|
+
def update!(**args)
|
7561
|
+
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
7562
|
+
end
|
7563
|
+
end
|
7564
|
+
|
7489
7565
|
# Details of operations that perform import Feature values.
|
7490
7566
|
class GoogleCloudAiplatformV1beta1ImportFeatureValuesOperationMetadata
|
7491
7567
|
include Google::Apis::Core::Hashable
|
@@ -7746,6 +7822,12 @@ module Google
|
|
7746
7822
|
# @return [String]
|
7747
7823
|
attr_accessor :display_name
|
7748
7824
|
|
7825
|
+
# Represents a customer-managed encryption key spec that can be applied to a top-
|
7826
|
+
# level resource.
|
7827
|
+
# Corresponds to the JSON property `encryptionSpec`
|
7828
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec]
|
7829
|
+
attr_accessor :encryption_spec
|
7830
|
+
|
7749
7831
|
# Used to perform consistent read-modify-write updates. If not set, a blind "
|
7750
7832
|
# overwrite" update happens.
|
7751
7833
|
# Corresponds to the JSON property `etag`
|
@@ -7815,6 +7897,7 @@ module Google
|
|
7815
7897
|
@deployed_indexes = args[:deployed_indexes] if args.key?(:deployed_indexes)
|
7816
7898
|
@description = args[:description] if args.key?(:description)
|
7817
7899
|
@display_name = args[:display_name] if args.key?(:display_name)
|
7900
|
+
@encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
|
7818
7901
|
@etag = args[:etag] if args.key?(:etag)
|
7819
7902
|
@index_stats = args[:index_stats] if args.key?(:index_stats)
|
7820
7903
|
@index_update_method = args[:index_update_method] if args.key?(:index_update_method)
|
@@ -7850,8 +7933,8 @@ module Google
|
|
7850
7933
|
|
7851
7934
|
# Optional. List of Restrict of the datapoint, used to perform "restricted
|
7852
7935
|
# searches" where boolean rule are used to filter the subset of the database
|
7853
|
-
# eligible for matching. See: https://cloud.google.
|
7854
|
-
# engine/filtering
|
7936
|
+
# eligible for matching. This uses categorical tokens. See: https://cloud.google.
|
7937
|
+
# com/vertex-ai/docs/matching-engine/filtering
|
7855
7938
|
# Corresponds to the JSON property `restricts`
|
7856
7939
|
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1IndexDatapointRestriction>]
|
7857
7940
|
attr_accessor :restricts
|
@@ -7899,17 +7982,17 @@ module Google
|
|
7899
7982
|
class GoogleCloudAiplatformV1beta1IndexDatapointRestriction
|
7900
7983
|
include Google::Apis::Core::Hashable
|
7901
7984
|
|
7902
|
-
# The attributes to allow in this namespace.
|
7985
|
+
# The attributes to allow in this namespace. e.g.: 'red'
|
7903
7986
|
# Corresponds to the JSON property `allowList`
|
7904
7987
|
# @return [Array<String>]
|
7905
7988
|
attr_accessor :allow_list
|
7906
7989
|
|
7907
|
-
# The attributes to deny in this namespace.
|
7990
|
+
# The attributes to deny in this namespace. e.g.: 'blue'
|
7908
7991
|
# Corresponds to the JSON property `denyList`
|
7909
7992
|
# @return [Array<String>]
|
7910
7993
|
attr_accessor :deny_list
|
7911
7994
|
|
7912
|
-
# The namespace of this restriction.
|
7995
|
+
# The namespace of this restriction. e.g.: color.
|
7913
7996
|
# Corresponds to the JSON property `namespace`
|
7914
7997
|
# @return [String]
|
7915
7998
|
attr_accessor :namespace
|
@@ -7960,6 +8043,12 @@ module Google
|
|
7960
8043
|
attr_accessor :enable_private_service_connect
|
7961
8044
|
alias_method :enable_private_service_connect?, :enable_private_service_connect
|
7962
8045
|
|
8046
|
+
# Represents a customer-managed encryption key spec that can be applied to a top-
|
8047
|
+
# level resource.
|
8048
|
+
# Corresponds to the JSON property `encryptionSpec`
|
8049
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec]
|
8050
|
+
attr_accessor :encryption_spec
|
8051
|
+
|
7963
8052
|
# Used to perform consistent read-modify-write updates. If not set, a blind "
|
7964
8053
|
# overwrite" update happens.
|
7965
8054
|
# Corresponds to the JSON property `etag`
|
@@ -8028,6 +8117,7 @@ module Google
|
|
8028
8117
|
@description = args[:description] if args.key?(:description)
|
8029
8118
|
@display_name = args[:display_name] if args.key?(:display_name)
|
8030
8119
|
@enable_private_service_connect = args[:enable_private_service_connect] if args.key?(:enable_private_service_connect)
|
8120
|
+
@encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
|
8031
8121
|
@etag = args[:etag] if args.key?(:etag)
|
8032
8122
|
@labels = args[:labels] if args.key?(:labels)
|
8033
8123
|
@name = args[:name] if args.key?(:name)
|
@@ -8655,8 +8745,7 @@ module Google
|
|
8655
8745
|
end
|
8656
8746
|
end
|
8657
8747
|
|
8658
|
-
# Response message for FeaturestoreService.ListFeatures.
|
8659
|
-
# FeatureRegistryService.ListFeatures.
|
8748
|
+
# Response message for FeaturestoreService.ListFeatures.
|
8660
8749
|
class GoogleCloudAiplatformV1beta1ListFeaturesResponse
|
8661
8750
|
include Google::Apis::Core::Hashable
|
8662
8751
|
|
@@ -12527,6 +12616,15 @@ module Google
|
|
12527
12616
|
# @return [String]
|
12528
12617
|
attr_accessor :display_name
|
12529
12618
|
|
12619
|
+
# Output only. Timestamp when this NotebookRuntime will be expired: 1. System
|
12620
|
+
# Predefined NotebookRuntime: 24 hours after creation. After expiration, system
|
12621
|
+
# predifined runtime will be deleted. 2. User created NotebookRuntime: 6 months
|
12622
|
+
# after last upgrade. After expiration, user created runtime will be stopped and
|
12623
|
+
# allowed for upgrade.
|
12624
|
+
# Corresponds to the JSON property `expirationTime`
|
12625
|
+
# @return [String]
|
12626
|
+
attr_accessor :expiration_time
|
12627
|
+
|
12530
12628
|
# Output only. The health state of the NotebookRuntime.
|
12531
12629
|
# Corresponds to the JSON property `healthState`
|
12532
12630
|
# @return [String]
|
@@ -12567,6 +12665,11 @@ module Google
|
|
12567
12665
|
# @return [String]
|
12568
12666
|
attr_accessor :update_time
|
12569
12667
|
|
12668
|
+
# Output only. The VM os image version of NotebookRuntime.
|
12669
|
+
# Corresponds to the JSON property `version`
|
12670
|
+
# @return [String]
|
12671
|
+
attr_accessor :version
|
12672
|
+
|
12570
12673
|
def initialize(**args)
|
12571
12674
|
update!(**args)
|
12572
12675
|
end
|
@@ -12576,6 +12679,7 @@ module Google
|
|
12576
12679
|
@create_time = args[:create_time] if args.key?(:create_time)
|
12577
12680
|
@description = args[:description] if args.key?(:description)
|
12578
12681
|
@display_name = args[:display_name] if args.key?(:display_name)
|
12682
|
+
@expiration_time = args[:expiration_time] if args.key?(:expiration_time)
|
12579
12683
|
@health_state = args[:health_state] if args.key?(:health_state)
|
12580
12684
|
@name = args[:name] if args.key?(:name)
|
12581
12685
|
@notebook_runtime_template_ref = args[:notebook_runtime_template_ref] if args.key?(:notebook_runtime_template_ref)
|
@@ -12584,6 +12688,7 @@ module Google
|
|
12584
12688
|
@runtime_user = args[:runtime_user] if args.key?(:runtime_user)
|
12585
12689
|
@service_account = args[:service_account] if args.key?(:service_account)
|
12586
12690
|
@update_time = args[:update_time] if args.key?(:update_time)
|
12691
|
+
@version = args[:version] if args.key?(:version)
|
12587
12692
|
end
|
12588
12693
|
end
|
12589
12694
|
|
@@ -12987,6 +13092,12 @@ module Google
|
|
12987
13092
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfig]
|
12988
13093
|
attr_accessor :runtime_config
|
12989
13094
|
|
13095
|
+
# Output only. The schedule resource name. Only returned if the Pipeline is
|
13096
|
+
# created by Schedule API.
|
13097
|
+
# Corresponds to the JSON property `scheduleName`
|
13098
|
+
# @return [String]
|
13099
|
+
attr_accessor :schedule_name
|
13100
|
+
|
12990
13101
|
# The service account that the pipeline workload runs as. If not specified, the
|
12991
13102
|
# Compute Engine default service account in the project will be used. See https:/
|
12992
13103
|
# /cloud.google.com/compute/docs/access/service-accounts#default_service_account
|
@@ -13041,6 +13152,7 @@ module Google
|
|
13041
13152
|
@pipeline_spec = args[:pipeline_spec] if args.key?(:pipeline_spec)
|
13042
13153
|
@reserved_ip_ranges = args[:reserved_ip_ranges] if args.key?(:reserved_ip_ranges)
|
13043
13154
|
@runtime_config = args[:runtime_config] if args.key?(:runtime_config)
|
13155
|
+
@schedule_name = args[:schedule_name] if args.key?(:schedule_name)
|
13044
13156
|
@service_account = args[:service_account] if args.key?(:service_account)
|
13045
13157
|
@start_time = args[:start_time] if args.key?(:start_time)
|
13046
13158
|
@state = args[:state] if args.key?(:state)
|
@@ -13841,6 +13953,12 @@ module Google
|
|
13841
13953
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeploy]
|
13842
13954
|
attr_accessor :deploy
|
13843
13955
|
|
13956
|
+
# The regional resource name or the URI. Key is region, e.g., us-central1,
|
13957
|
+
# europe-west2, global, etc..
|
13958
|
+
# Corresponds to the JSON property `openEvaluationPipeline`
|
13959
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelCallToActionRegionalResourceReferences]
|
13960
|
+
attr_accessor :open_evaluation_pipeline
|
13961
|
+
|
13844
13962
|
# The regional resource name or the URI. Key is region, e.g., us-central1,
|
13845
13963
|
# europe-west2, global, etc..
|
13846
13964
|
# Corresponds to the JSON property `openFineTuningPipeline`
|
@@ -13890,6 +14008,7 @@ module Google
|
|
13890
14008
|
def update!(**args)
|
13891
14009
|
@create_application = args[:create_application] if args.key?(:create_application)
|
13892
14010
|
@deploy = args[:deploy] if args.key?(:deploy)
|
14011
|
+
@open_evaluation_pipeline = args[:open_evaluation_pipeline] if args.key?(:open_evaluation_pipeline)
|
13893
14012
|
@open_fine_tuning_pipeline = args[:open_fine_tuning_pipeline] if args.key?(:open_fine_tuning_pipeline)
|
13894
14013
|
@open_generation_ai_studio = args[:open_generation_ai_studio] if args.key?(:open_generation_ai_studio)
|
13895
14014
|
@open_genie = args[:open_genie] if args.key?(:open_genie)
|
@@ -14460,10 +14579,12 @@ module Google
|
|
14460
14579
|
class GoogleCloudAiplatformV1beta1RaySpec
|
14461
14580
|
include Google::Apis::Core::Hashable
|
14462
14581
|
|
14463
|
-
#
|
14464
|
-
#
|
14465
|
-
#
|
14466
|
-
|
14582
|
+
# Optional. This will be used to indicate which resource pool will serve as the
|
14583
|
+
# Ray head node(the first node within that pool). Will use the machine from the
|
14584
|
+
# first workerpool as the head node by default if this field is not set.
|
14585
|
+
# Corresponds to the JSON property `headNodeResourcePoolId`
|
14586
|
+
# @return [String]
|
14587
|
+
attr_accessor :head_node_resource_pool_id
|
14467
14588
|
|
14468
14589
|
# Optional. Default image for user to choose a preferred ML framework(e.g.
|
14469
14590
|
# tensorflow or Pytorch) by choosing from Vertex prebuild images(https://cloud.
|
@@ -14475,14 +14596,24 @@ module Google
|
|
14475
14596
|
# @return [String]
|
14476
14597
|
attr_accessor :image_uri
|
14477
14598
|
|
14599
|
+
# Optional. Required if image_uri is not set. A map of resource_pool_id to
|
14600
|
+
# prebuild Ray image if user need to use different images for different head/
|
14601
|
+
# worker pools. This map needs to cover all the resource pool ids. Example: ` "
|
14602
|
+
# ray_head_node_pool": "head image" "ray_worker_node_pool1": "worker image" "
|
14603
|
+
# ray_worker_node_pool2": "another worker image" `
|
14604
|
+
# Corresponds to the JSON property `resourcePoolImages`
|
14605
|
+
# @return [Hash<String,String>]
|
14606
|
+
attr_accessor :resource_pool_images
|
14607
|
+
|
14478
14608
|
def initialize(**args)
|
14479
14609
|
update!(**args)
|
14480
14610
|
end
|
14481
14611
|
|
14482
14612
|
# Update properties of this object
|
14483
14613
|
def update!(**args)
|
14484
|
-
@
|
14614
|
+
@head_node_resource_pool_id = args[:head_node_resource_pool_id] if args.key?(:head_node_resource_pool_id)
|
14485
14615
|
@image_uri = args[:image_uri] if args.key?(:image_uri)
|
14616
|
+
@resource_pool_images = args[:resource_pool_images] if args.key?(:resource_pool_images)
|
14486
14617
|
end
|
14487
14618
|
end
|
14488
14619
|
|
@@ -14936,19 +15067,13 @@ module Google
|
|
14936
15067
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DiskSpec]
|
14937
15068
|
attr_accessor :disk_spec
|
14938
15069
|
|
14939
|
-
#
|
15070
|
+
# Immutable. The unique ID in a PersistentResource to refer the this resource
|
14940
15071
|
# pool. User can specify it if need to use it, otherwise we will generate it
|
14941
15072
|
# automatically.
|
14942
15073
|
# Corresponds to the JSON property `id`
|
14943
15074
|
# @return [String]
|
14944
15075
|
attr_accessor :id
|
14945
15076
|
|
14946
|
-
# Output only. The number of machines currently not in use by training jobs for
|
14947
|
-
# this resource pool. Deprecated. Use `used_replica_count` instead.
|
14948
|
-
# Corresponds to the JSON property `idleReplicaCount`
|
14949
|
-
# @return [Fixnum]
|
14950
|
-
attr_accessor :idle_replica_count
|
14951
|
-
|
14952
15077
|
# Specification of a single machine.
|
14953
15078
|
# Corresponds to the JSON property `machineSpec`
|
14954
15079
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MachineSpec]
|
@@ -14974,7 +15099,6 @@ module Google
|
|
14974
15099
|
@autoscaling_spec = args[:autoscaling_spec] if args.key?(:autoscaling_spec)
|
14975
15100
|
@disk_spec = args[:disk_spec] if args.key?(:disk_spec)
|
14976
15101
|
@id = args[:id] if args.key?(:id)
|
14977
|
-
@idle_replica_count = args[:idle_replica_count] if args.key?(:idle_replica_count)
|
14978
15102
|
@machine_spec = args[:machine_spec] if args.key?(:machine_spec)
|
14979
15103
|
@replica_count = args[:replica_count] if args.key?(:replica_count)
|
14980
15104
|
@used_replica_count = args[:used_replica_count] if args.key?(:used_replica_count)
|
@@ -15019,6 +15143,14 @@ module Google
|
|
15019
15143
|
# @return [Hash<String,String>]
|
15020
15144
|
attr_accessor :access_uris
|
15021
15145
|
|
15146
|
+
# Output only. The resource name of NotebookRuntimeTemplate for the RoV
|
15147
|
+
# Persistent Cluster The NotebokRuntimeTemplate is created in the same VPC (if
|
15148
|
+
# set), and with the same Ray and Python version as the Persistent Cluster.
|
15149
|
+
# Example: "projects/1000/locations/us-central1/notebookRuntimeTemplates/abc123"
|
15150
|
+
# Corresponds to the JSON property `notebookRuntimeTemplate`
|
15151
|
+
# @return [String]
|
15152
|
+
attr_accessor :notebook_runtime_template
|
15153
|
+
|
15022
15154
|
def initialize(**args)
|
15023
15155
|
update!(**args)
|
15024
15156
|
end
|
@@ -15026,6 +15158,7 @@ module Google
|
|
15026
15158
|
# Update properties of this object
|
15027
15159
|
def update!(**args)
|
15028
15160
|
@access_uris = args[:access_uris] if args.key?(:access_uris)
|
15161
|
+
@notebook_runtime_template = args[:notebook_runtime_template] if args.key?(:notebook_runtime_template)
|
15029
15162
|
end
|
15030
15163
|
end
|
15031
15164
|
|
@@ -15505,6 +15638,14 @@ module Google
|
|
15505
15638
|
class GoogleCloudAiplatformV1beta1Scheduling
|
15506
15639
|
include Google::Apis::Core::Hashable
|
15507
15640
|
|
15641
|
+
# Optional. Indicates if the job should retry for internal errors after the job
|
15642
|
+
# starts running. If true, overrides `Scheduling.restart_job_on_worker_restart`
|
15643
|
+
# to false.
|
15644
|
+
# Corresponds to the JSON property `disableRetries`
|
15645
|
+
# @return [Boolean]
|
15646
|
+
attr_accessor :disable_retries
|
15647
|
+
alias_method :disable_retries?, :disable_retries
|
15648
|
+
|
15508
15649
|
# Restarts the entire CustomJob if a worker gets restarted. This feature can be
|
15509
15650
|
# used by distributed training jobs that are not resilient to workers leaving
|
15510
15651
|
# and joining a job.
|
@@ -15524,6 +15665,7 @@ module Google
|
|
15524
15665
|
|
15525
15666
|
# Update properties of this object
|
15526
15667
|
def update!(**args)
|
15668
|
+
@disable_retries = args[:disable_retries] if args.key?(:disable_retries)
|
15527
15669
|
@restart_job_on_worker_restart = args[:restart_job_on_worker_restart] if args.key?(:restart_job_on_worker_restart)
|
15528
15670
|
@timeout = args[:timeout] if args.key?(:timeout)
|
15529
15671
|
end
|
@@ -22731,6 +22873,36 @@ module Google
|
|
22731
22873
|
# @return [String]
|
22732
22874
|
attr_accessor :client_id
|
22733
22875
|
|
22876
|
+
# Optional. This allows you to specify the "context" for a Trial; a context is a
|
22877
|
+
# slice (a subspace) of the search space. Typical uses for contexts: 1) You are
|
22878
|
+
# using Vizier to tune a server for best performance, but there's a strong
|
22879
|
+
# weekly cycle. The context specifies the day-of-week. This allows Tuesday to
|
22880
|
+
# generalize from Wednesday without assuming that everything is identical. 2)
|
22881
|
+
# Imagine you're optimizing some medical treatment for people. As they walk in
|
22882
|
+
# the door, you know certain facts about them (e.g. sex, weight, height, blood-
|
22883
|
+
# pressure). Put that information in the context, and Vizier will adapt its
|
22884
|
+
# suggestions to the patient. 3) You want to do a fair A/B test efficiently.
|
22885
|
+
# Specify the "A" and "B" conditions as contexts, and Vizier will generalize
|
22886
|
+
# between "A" and "B" conditions. If they are similar, this will allow Vizier to
|
22887
|
+
# converge to the optimum faster than if "A" and "B" were separate Studies. NOTE:
|
22888
|
+
# You can also enter contexts as REQUESTED Trials, e.g. via the CreateTrial()
|
22889
|
+
# RPC; that's the asynchronous option where you don't need a close association
|
22890
|
+
# between contexts and suggestions. NOTE: All the Parameters you set in a
|
22891
|
+
# context MUST be defined in the Study. NOTE: You must supply 0 or $
|
22892
|
+
# suggestion_count contexts. If you don't supply any contexts, Vizier will make
|
22893
|
+
# suggestions from the full search space specified in the StudySpec; if you
|
22894
|
+
# supply a full set of context, each suggestion will match the corresponding
|
22895
|
+
# context. NOTE: A Context with no features set matches anything, and allows
|
22896
|
+
# suggestions from the full search space. NOTE: Contexts MUST lie within the
|
22897
|
+
# search space specified in the StudySpec. It's an error if they don't. NOTE:
|
22898
|
+
# Contexts preferentially match ACTIVE then REQUESTED trials before new
|
22899
|
+
# suggestions are generated. NOTE: Generation of suggestions involves a match
|
22900
|
+
# between a Context and (optionally) a REQUESTED trial; if that match is not
|
22901
|
+
# fully specified, a suggestion will be geneated in the merged subspace.
|
22902
|
+
# Corresponds to the JSON property `contexts`
|
22903
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1TrialContext>]
|
22904
|
+
attr_accessor :contexts
|
22905
|
+
|
22734
22906
|
# Required. The number of suggestions requested. It must be positive.
|
22735
22907
|
# Corresponds to the JSON property `suggestionCount`
|
22736
22908
|
# @return [Fixnum]
|
@@ -22743,6 +22915,7 @@ module Google
|
|
22743
22915
|
# Update properties of this object
|
22744
22916
|
def update!(**args)
|
22745
22917
|
@client_id = args[:client_id] if args.key?(:client_id)
|
22918
|
+
@contexts = args[:contexts] if args.key?(:contexts)
|
22746
22919
|
@suggestion_count = args[:suggestion_count] if args.key?(:suggestion_count)
|
22747
22920
|
end
|
22748
22921
|
end
|
@@ -23749,6 +23922,38 @@ module Google
|
|
23749
23922
|
end
|
23750
23923
|
end
|
23751
23924
|
|
23925
|
+
# Next ID: 3
|
23926
|
+
class GoogleCloudAiplatformV1beta1TrialContext
|
23927
|
+
include Google::Apis::Core::Hashable
|
23928
|
+
|
23929
|
+
# A human-readable field which can store a description of this context. This
|
23930
|
+
# will become part of the resulting Trial's description field.
|
23931
|
+
# Corresponds to the JSON property `description`
|
23932
|
+
# @return [String]
|
23933
|
+
attr_accessor :description
|
23934
|
+
|
23935
|
+
# If/when a Trial is generated or selected from this Context, its Parameters
|
23936
|
+
# will match any parameters specified here. (I.e. if this context specifies
|
23937
|
+
# parameter name:'a' int_value:3, then a resulting Trial will have int_value:3
|
23938
|
+
# for its parameter named 'a'.) Note that we first attempt to match existing
|
23939
|
+
# REQUESTED Trials with contexts, and if there are no matches, we generate
|
23940
|
+
# suggestions in the subspace defined by the parameters specified here. NOTE: a
|
23941
|
+
# Context without any Parameters matches the entire feasible search space.
|
23942
|
+
# Corresponds to the JSON property `parameters`
|
23943
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1TrialParameter>]
|
23944
|
+
attr_accessor :parameters
|
23945
|
+
|
23946
|
+
def initialize(**args)
|
23947
|
+
update!(**args)
|
23948
|
+
end
|
23949
|
+
|
23950
|
+
# Update properties of this object
|
23951
|
+
def update!(**args)
|
23952
|
+
@description = args[:description] if args.key?(:description)
|
23953
|
+
@parameters = args[:parameters] if args.key?(:parameters)
|
23954
|
+
end
|
23955
|
+
end
|
23956
|
+
|
23752
23957
|
# A message representing a parameter to be tuned.
|
23753
23958
|
class GoogleCloudAiplatformV1beta1TrialParameter
|
23754
23959
|
include Google::Apis::Core::Hashable
|
@@ -24082,6 +24287,25 @@ module Google
|
|
24082
24287
|
end
|
24083
24288
|
end
|
24084
24289
|
|
24290
|
+
# Details of operations that perform update PersistentResource.
|
24291
|
+
class GoogleCloudAiplatformV1beta1UpdatePersistentResourceOperationMetadata
|
24292
|
+
include Google::Apis::Core::Hashable
|
24293
|
+
|
24294
|
+
# Generic Metadata shared by all operations.
|
24295
|
+
# Corresponds to the JSON property `genericMetadata`
|
24296
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenericOperationMetadata]
|
24297
|
+
attr_accessor :generic_metadata
|
24298
|
+
|
24299
|
+
def initialize(**args)
|
24300
|
+
update!(**args)
|
24301
|
+
end
|
24302
|
+
|
24303
|
+
# Update properties of this object
|
24304
|
+
def update!(**args)
|
24305
|
+
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
24306
|
+
end
|
24307
|
+
end
|
24308
|
+
|
24085
24309
|
# Runtime operation metadata for SpecialistPoolService.UpdateSpecialistPool.
|
24086
24310
|
class GoogleCloudAiplatformV1beta1UpdateSpecialistPoolOperationMetadata
|
24087
24311
|
include Google::Apis::Core::Hashable
|
@@ -24753,22 +24977,22 @@ module Google
|
|
24753
24977
|
# evaluates to `true`. A condition can add constraints based on attributes of
|
24754
24978
|
# the request, the resource, or both. To learn which resources support
|
24755
24979
|
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
24756
|
-
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
24980
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
|
24757
24981
|
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
24758
24982
|
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
24759
24983
|
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
24760
24984
|
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
24761
24985
|
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
24762
24986
|
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
24763
|
-
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML
|
24764
|
-
# bindings: - members: - user:mike@example.com - group:admins@
|
24765
|
-
# domain:google.com - serviceAccount:my-project-id@appspot.
|
24766
|
-
# role: roles/resourcemanager.organizationAdmin - members: -
|
24767
|
-
# com role: roles/resourcemanager.organizationViewer condition:
|
24768
|
-
# access description: Does not grant access after Sep 2020
|
24769
|
-
# time < timestamp('2020-10-01T00:00:00.000Z') etag:
|
24770
|
-
# a description of IAM and its features, see the
|
24771
|
-
# cloud.google.com/iam/docs/).
|
24987
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
|
24988
|
+
# example:** ``` bindings: - members: - user:mike@example.com - group:admins@
|
24989
|
+
# example.com - domain:google.com - serviceAccount:my-project-id@appspot.
|
24990
|
+
# gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
|
24991
|
+
# user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
|
24992
|
+
# title: expirable access description: Does not grant access after Sep 2020
|
24993
|
+
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
|
24994
|
+
# BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
|
24995
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
24772
24996
|
class GoogleIamV1Policy
|
24773
24997
|
include Google::Apis::Core::Hashable
|
24774
24998
|
|
@@ -24846,22 +25070,22 @@ module Google
|
|
24846
25070
|
# evaluates to `true`. A condition can add constraints based on attributes of
|
24847
25071
|
# the request, the resource, or both. To learn which resources support
|
24848
25072
|
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
24849
|
-
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
25073
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
|
24850
25074
|
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
24851
25075
|
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
24852
25076
|
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
24853
25077
|
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
24854
25078
|
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
24855
25079
|
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
24856
|
-
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML
|
24857
|
-
# bindings: - members: - user:mike@example.com - group:admins@
|
24858
|
-
# domain:google.com - serviceAccount:my-project-id@appspot.
|
24859
|
-
# role: roles/resourcemanager.organizationAdmin - members: -
|
24860
|
-
# com role: roles/resourcemanager.organizationViewer condition:
|
24861
|
-
# access description: Does not grant access after Sep 2020
|
24862
|
-
# time < timestamp('2020-10-01T00:00:00.000Z') etag:
|
24863
|
-
# a description of IAM and its features, see the
|
24864
|
-
# cloud.google.com/iam/docs/).
|
25080
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
|
25081
|
+
# example:** ``` bindings: - members: - user:mike@example.com - group:admins@
|
25082
|
+
# example.com - domain:google.com - serviceAccount:my-project-id@appspot.
|
25083
|
+
# gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
|
25084
|
+
# user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
|
25085
|
+
# title: expirable access description: Does not grant access after Sep 2020
|
25086
|
+
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
|
25087
|
+
# BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
|
25088
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
24865
25089
|
# Corresponds to the JSON property `policy`
|
24866
25090
|
# @return [Google::Apis::AiplatformV1beta1::GoogleIamV1Policy]
|
24867
25091
|
attr_accessor :policy
|
@@ -24978,13 +25202,13 @@ module Google
|
|
24978
25202
|
# @return [String]
|
24979
25203
|
attr_accessor :name
|
24980
25204
|
|
24981
|
-
# The normal response of the operation
|
24982
|
-
#
|
24983
|
-
#
|
24984
|
-
#
|
24985
|
-
#
|
24986
|
-
#
|
24987
|
-
#
|
25205
|
+
# The normal, successful response of the operation. If the original method
|
25206
|
+
# returns no data on success, such as `Delete`, the response is `google.protobuf.
|
25207
|
+
# Empty`. If the original method is standard `Get`/`Create`/`Update`, the
|
25208
|
+
# response should be the resource. For other methods, the response should have
|
25209
|
+
# the type `XxxResponse`, where `Xxx` is the original method name. For example,
|
25210
|
+
# if the original method name is `TakeSnapshot()`, the inferred response type is
|
25211
|
+
# `TakeSnapshotResponse`.
|
24988
25212
|
# Corresponds to the JSON property `response`
|
24989
25213
|
# @return [Hash<String,Object>]
|
24990
25214
|
attr_accessor :response
|