google-apis-aiplatform_v1 0.1.0 → 0.3.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: e22426f1f2f1b4383875afcf5ef8bda14b1388efceed762b1bd20b3ae3619f0f
4
- data.tar.gz: 713a3f8af39338a643489d7e4129fe1ca0d9863baa8184f5e88b28a37abdbd3b
3
+ metadata.gz: abf9a624beaf54bc50fcd7a53feec08ee22acd671bc6c4ab01025a0ce8abbec4
4
+ data.tar.gz: a99847b154da73481fbf8eff52dcd3f713a4894b58b2fd55c273606411bcd52f
5
5
  SHA512:
6
- metadata.gz: eae5c6fddd1222b4c5dc788040a27436f3ecd58a7c419b129918c9266d630616f3f62ae1cfdd2c7a96812737df778fff4820ec7a2e8f06445746da5a9367830b
7
- data.tar.gz: f7498eee0a794943a8c88d1d3fdb3f6a9655b2d6342f8f7d50be6fed23dc876760ea4594d27551f61003b2b7d793698e22b23436aec90358510960508225f02c
6
+ metadata.gz: 684831517a5f7113430e1d83c906cf1c3a369dcd12d683d786d84a56e1ecd5acddfa13ac923f3bc83f063dd9745ee22d1561f62236691a6edad4df3b089b45db
7
+ data.tar.gz: '0179cf06e8a5cb3526b976db3c7b7b8a12eaf0eab8515210b1d6f035a3b1d80c9d626361dcdc2a6cda13b429711c4043696c53e3edf2b60c16397eb15e5c4b23'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-aiplatform_v1
2
2
 
3
+ ### v0.3.0 (2023-10-15)
4
+
5
+ * Regenerated from discovery document revision 20231002
6
+
7
+ ### v0.2.0 (2023-10-08)
8
+
9
+ * Regenerated from discovery document revision 20230929
10
+
3
11
  ### v0.1.0 (2023-09-24)
4
12
 
5
13
  * Regenerated from discovery document revision 20230914
@@ -2288,7 +2288,8 @@ module Google
2288
2288
  end
2289
2289
  end
2290
2290
 
2291
- # Request message for FeaturestoreService.CreateFeature.
2291
+ # Request message for FeaturestoreService.CreateFeature. Request message for
2292
+ # FeatureRegistryService.CreateFeature.
2292
2293
  class GoogleCloudAiplatformV1CreateFeatureRequest
2293
2294
  include Google::Apis::Core::Hashable
2294
2295
 
@@ -2302,14 +2303,12 @@ module Google
2302
2303
  # Required. The ID to use for the Feature, which will become the final component
2303
2304
  # of the Feature's resource name. This value may be up to 128 characters, and
2304
2305
  # valid characters are `[a-z0-9_]`. The first character cannot be a number. The
2305
- # value must be unique within an EntityType .
2306
+ # value must be unique within an EntityType/FeatureGroup.
2306
2307
  # Corresponds to the JSON property `featureId`
2307
2308
  # @return [String]
2308
2309
  attr_accessor :feature_id
2309
2310
 
2310
- # Required. The resource name of the EntityType to create a Feature. Format: `
2311
- # projects/`project`/locations/`location`/featurestores/`featurestore`/
2312
- # entityTypes/`entity_type``
2311
+ #
2313
2312
  # Corresponds to the JSON property `parent`
2314
2313
  # @return [String]
2315
2314
  attr_accessor :parent
@@ -3191,6 +3190,50 @@ module Google
3191
3190
  end
3192
3191
  end
3193
3192
 
3193
+ # Describes the dataset version.
3194
+ class GoogleCloudAiplatformV1DatasetVersion
3195
+ include Google::Apis::Core::Hashable
3196
+
3197
+ # Output only. Name of the associated BigQuery dataset.
3198
+ # Corresponds to the JSON property `bigQueryDatasetName`
3199
+ # @return [String]
3200
+ attr_accessor :big_query_dataset_name
3201
+
3202
+ # Output only. Timestamp when this DatasetVersion was created.
3203
+ # Corresponds to the JSON property `createTime`
3204
+ # @return [String]
3205
+ attr_accessor :create_time
3206
+
3207
+ # Used to perform consistent read-modify-write updates. If not set, a blind "
3208
+ # overwrite" update happens.
3209
+ # Corresponds to the JSON property `etag`
3210
+ # @return [String]
3211
+ attr_accessor :etag
3212
+
3213
+ # Output only. The resource name of the DatasetVersion.
3214
+ # Corresponds to the JSON property `name`
3215
+ # @return [String]
3216
+ attr_accessor :name
3217
+
3218
+ # Output only. Timestamp when this DatasetVersion was last updated.
3219
+ # Corresponds to the JSON property `updateTime`
3220
+ # @return [String]
3221
+ attr_accessor :update_time
3222
+
3223
+ def initialize(**args)
3224
+ update!(**args)
3225
+ end
3226
+
3227
+ # Update properties of this object
3228
+ def update!(**args)
3229
+ @big_query_dataset_name = args[:big_query_dataset_name] if args.key?(:big_query_dataset_name)
3230
+ @create_time = args[:create_time] if args.key?(:create_time)
3231
+ @etag = args[:etag] if args.key?(:etag)
3232
+ @name = args[:name] if args.key?(:name)
3233
+ @update_time = args[:update_time] if args.key?(:update_time)
3234
+ end
3235
+ end
3236
+
3194
3237
  # A description of resources that are dedicated to a DeployedModel, and that
3195
3238
  # need a higher degree of manual configuration.
3196
3239
  class GoogleCloudAiplatformV1DedicatedResources
@@ -8184,6 +8227,31 @@ module Google
8184
8227
  end
8185
8228
  end
8186
8229
 
8230
+ # Response message for DatasetService.ListDatasetVersions.
8231
+ class GoogleCloudAiplatformV1ListDatasetVersionsResponse
8232
+ include Google::Apis::Core::Hashable
8233
+
8234
+ # A list of DatasetVersions that matches the specified filter in the request.
8235
+ # Corresponds to the JSON property `datasetVersions`
8236
+ # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetVersion>]
8237
+ attr_accessor :dataset_versions
8238
+
8239
+ # The standard List next-page token.
8240
+ # Corresponds to the JSON property `nextPageToken`
8241
+ # @return [String]
8242
+ attr_accessor :next_page_token
8243
+
8244
+ def initialize(**args)
8245
+ update!(**args)
8246
+ end
8247
+
8248
+ # Update properties of this object
8249
+ def update!(**args)
8250
+ @dataset_versions = args[:dataset_versions] if args.key?(:dataset_versions)
8251
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
8252
+ end
8253
+ end
8254
+
8187
8255
  # Response message for DatasetService.ListDatasets.
8188
8256
  class GoogleCloudAiplatformV1ListDatasetsResponse
8189
8257
  include Google::Apis::Core::Hashable
@@ -8287,7 +8355,8 @@ module Google
8287
8355
  end
8288
8356
  end
8289
8357
 
8290
- # Response message for FeaturestoreService.ListFeatures.
8358
+ # Response message for FeaturestoreService.ListFeatures. Response message for
8359
+ # FeatureRegistryService.ListFeatures.
8291
8360
  class GoogleCloudAiplatformV1ListFeaturesResponse
8292
8361
  include Google::Apis::Core::Hashable
8293
8362
 
@@ -9073,6 +9142,12 @@ module Google
9073
9142
  # @return [String]
9074
9143
  attr_accessor :machine_type
9075
9144
 
9145
+ # Immutable. The topology of the TPUs. Corresponds to the TPU topologies
9146
+ # available from GKE. (Example: tpu_topology: "2x2x1").
9147
+ # Corresponds to the JSON property `tpuTopology`
9148
+ # @return [String]
9149
+ attr_accessor :tpu_topology
9150
+
9076
9151
  def initialize(**args)
9077
9152
  update!(**args)
9078
9153
  end
@@ -9082,6 +9157,7 @@ module Google
9082
9157
  @accelerator_count = args[:accelerator_count] if args.key?(:accelerator_count)
9083
9158
  @accelerator_type = args[:accelerator_type] if args.key?(:accelerator_type)
9084
9159
  @machine_type = args[:machine_type] if args.key?(:machine_type)
9160
+ @tpu_topology = args[:tpu_topology] if args.key?(:tpu_topology)
9085
9161
  end
9086
9162
  end
9087
9163
 
@@ -10896,6 +10972,12 @@ module Google
10896
10972
  attr_accessor :enable_logging
10897
10973
  alias_method :enable_logging?, :enable_logging
10898
10974
 
10975
+ # Resource names of the NotificationChannels to send alert. Must be of the
10976
+ # format `projects//notificationChannels/`
10977
+ # Corresponds to the JSON property `notificationChannels`
10978
+ # @return [Array<String>]
10979
+ attr_accessor :notification_channels
10980
+
10899
10981
  def initialize(**args)
10900
10982
  update!(**args)
10901
10983
  end
@@ -10904,6 +10986,7 @@ module Google
10904
10986
  def update!(**args)
10905
10987
  @email_alert_config = args[:email_alert_config] if args.key?(:email_alert_config)
10906
10988
  @enable_logging = args[:enable_logging] if args.key?(:enable_logging)
10989
+ @notification_channels = args[:notification_channels] if args.key?(:notification_channels)
10907
10990
  end
10908
10991
  end
10909
10992
 
@@ -12099,14 +12182,14 @@ module Google
12099
12182
  # keys and values can be no longer than 64 characters (Unicode codepoints), can
12100
12183
  # only contain lowercase letters, numeric characters, underscores and dashes.
12101
12184
  # International characters are allowed. No more than 64 user labels can be
12102
- # associated with one Dataset (System labels are excluded). See https://goo.gl/
12103
- # xmQnxf for more information and examples of labels. System reserved label keys
12104
- # are prefixed with "aiplatform.googleapis.com/" and are immutable. Following
12105
- # system labels exist for NotebookRuntime: * "aiplatform.googleapis.com/
12106
- # notebook_runtime_gce_instance_id": output only, its value is the Compute
12185
+ # associated with one NotebookRuntime (System labels are excluded). See https://
12186
+ # goo.gl/xmQnxf for more information and examples of labels. System reserved
12187
+ # label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.
12188
+ # Following system labels exist for NotebookRuntime: * "aiplatform.googleapis.
12189
+ # com/notebook_runtime_gce_instance_id": output only, its value is the Compute
12107
12190
  # Engine instance id. * "aiplatform.googleapis.com/
12108
- # colab_enterprise_entry_service": its value is either "BigQuery" or "Vertex";
12109
- # if absent, it should be "Vertex". This is to describe the entry service,
12191
+ # colab_enterprise_entry_service": its value is either "bigquery" or "vertex";
12192
+ # if absent, it should be "vertex". This is to describe the entry service,
12110
12193
  # either BigQuery or Vertex.
12111
12194
  # Corresponds to the JSON property `labels`
12112
12195
  # @return [Hash<String,String>]
@@ -12122,6 +12205,11 @@ module Google
12122
12205
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NotebookRuntimeTemplateRef]
12123
12206
  attr_accessor :notebook_runtime_template_ref
12124
12207
 
12208
+ # Output only. The type of the notebook runtime.
12209
+ # Corresponds to the JSON property `notebookRuntimeType`
12210
+ # @return [String]
12211
+ attr_accessor :notebook_runtime_type
12212
+
12125
12213
  # Output only. The proxy endpoint used to access the NotebookRuntime.
12126
12214
  # Corresponds to the JSON property `proxyUri`
12127
12215
  # @return [String]
@@ -12166,6 +12254,7 @@ module Google
12166
12254
  @labels = args[:labels] if args.key?(:labels)
12167
12255
  @name = args[:name] if args.key?(:name)
12168
12256
  @notebook_runtime_template_ref = args[:notebook_runtime_template_ref] if args.key?(:notebook_runtime_template_ref)
12257
+ @notebook_runtime_type = args[:notebook_runtime_type] if args.key?(:notebook_runtime_type)
12169
12258
  @proxy_uri = args[:proxy_uri] if args.key?(:proxy_uri)
12170
12259
  @runtime_state = args[:runtime_state] if args.key?(:runtime_state)
12171
12260
  @runtime_user = args[:runtime_user] if args.key?(:runtime_user)
@@ -12249,6 +12338,11 @@ module Google
12249
12338
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NetworkSpec]
12250
12339
  attr_accessor :network_spec
12251
12340
 
12341
+ # Optional. Immutable. The type of the notebook runtime template.
12342
+ # Corresponds to the JSON property `notebookRuntimeType`
12343
+ # @return [String]
12344
+ attr_accessor :notebook_runtime_type
12345
+
12252
12346
  # The service account that the runtime workload runs as. You can use any service
12253
12347
  # account within the same project, but you must have the service account user
12254
12348
  # permission to use the instance. If not specified, the [Compute Engine default
@@ -12282,6 +12376,7 @@ module Google
12282
12376
  @machine_spec = args[:machine_spec] if args.key?(:machine_spec)
12283
12377
  @name = args[:name] if args.key?(:name)
12284
12378
  @network_spec = args[:network_spec] if args.key?(:network_spec)
12379
+ @notebook_runtime_type = args[:notebook_runtime_type] if args.key?(:notebook_runtime_type)
12285
12380
  @service_account = args[:service_account] if args.key?(:service_account)
12286
12381
  @update_time = args[:update_time] if args.key?(:update_time)
12287
12382
  end
@@ -12482,7 +12577,9 @@ module Google
12482
12577
  attr_accessor :template_metadata
12483
12578
 
12484
12579
  # A template uri from where the PipelineJob.pipeline_spec, if empty, will be
12485
- # downloaded.
12580
+ # downloaded. Currently, only uri from Vertex Template Registry & Gallery is
12581
+ # supported. Reference to https://cloud.google.com/vertex-ai/docs/pipelines/
12582
+ # create-pipeline-template.
12486
12583
  # Corresponds to the JSON property `templateUri`
12487
12584
  # @return [String]
12488
12585
  attr_accessor :template_uri
@@ -16374,6 +16471,50 @@ module Google
16374
16471
  end
16375
16472
  end
16376
16473
 
16474
+ # The configuration for grounding checking.
16475
+ class GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfig
16476
+ include Google::Apis::Core::Hashable
16477
+
16478
+ # The sources for the grounding checking.
16479
+ # Corresponds to the JSON property `sources`
16480
+ # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfigSourceEntry>]
16481
+ attr_accessor :sources
16482
+
16483
+ def initialize(**args)
16484
+ update!(**args)
16485
+ end
16486
+
16487
+ # Update properties of this object
16488
+ def update!(**args)
16489
+ @sources = args[:sources] if args.key?(:sources)
16490
+ end
16491
+ end
16492
+
16493
+ # Single source entry for the grounding checking.
16494
+ class GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfigSourceEntry
16495
+ include Google::Apis::Core::Hashable
16496
+
16497
+ # The uri of the Enterprise Search data source.
16498
+ # Corresponds to the JSON property `enterpriseDatastore`
16499
+ # @return [String]
16500
+ attr_accessor :enterprise_datastore
16501
+
16502
+ # The type of the grounding checking source.
16503
+ # Corresponds to the JSON property `type`
16504
+ # @return [String]
16505
+ attr_accessor :type
16506
+
16507
+ def initialize(**args)
16508
+ update!(**args)
16509
+ end
16510
+
16511
+ # Update properties of this object
16512
+ def update!(**args)
16513
+ @enterprise_datastore = args[:enterprise_datastore] if args.key?(:enterprise_datastore)
16514
+ @type = args[:type] if args.key?(:type)
16515
+ end
16516
+ end
16517
+
16377
16518
  # Prediction model parameters for Image Classification.
16378
16519
  class GoogleCloudAiplatformV1SchemaPredictParamsImageClassificationPredictionParams
16379
16520
  include Google::Apis::Core::Hashable
@@ -17393,11 +17534,21 @@ module Google
17393
17534
  class GoogleCloudAiplatformV1SchemaTextPromptDatasetMetadata
17394
17535
  include Google::Apis::Core::Hashable
17395
17536
 
17537
+ # Number of candidates.
17538
+ # Corresponds to the JSON property `candidateCount`
17539
+ # @return [Fixnum]
17540
+ attr_accessor :candidate_count
17541
+
17396
17542
  # The Google Cloud Storage URI that stores the prompt data.
17397
17543
  # Corresponds to the JSON property `gcsUri`
17398
17544
  # @return [String]
17399
17545
  attr_accessor :gcs_uri
17400
17546
 
17547
+ # The configuration for grounding checking.
17548
+ # Corresponds to the JSON property `groundingConfig`
17549
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfig]
17550
+ attr_accessor :grounding_config
17551
+
17401
17552
  # Value of the maximum number of tokens generated set when the dataset was saved.
17402
17553
  # Corresponds to the JSON property `maxOutputTokens`
17403
17554
  # @return [Fixnum]
@@ -17408,6 +17559,11 @@ module Google
17408
17559
  # @return [String]
17409
17560
  attr_accessor :prompt_type
17410
17561
 
17562
+ # Customized stop sequences.
17563
+ # Corresponds to the JSON property `stopSequences`
17564
+ # @return [Array<String>]
17565
+ attr_accessor :stop_sequences
17566
+
17411
17567
  # Temperature value used for sampling set when the dataset was saved. This value
17412
17568
  # is used to tune the degree of randomness.
17413
17569
  # Corresponds to the JSON property `temperature`
@@ -17438,9 +17594,12 @@ module Google
17438
17594
 
17439
17595
  # Update properties of this object
17440
17596
  def update!(**args)
17597
+ @candidate_count = args[:candidate_count] if args.key?(:candidate_count)
17441
17598
  @gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri)
17599
+ @grounding_config = args[:grounding_config] if args.key?(:grounding_config)
17442
17600
  @max_output_tokens = args[:max_output_tokens] if args.key?(:max_output_tokens)
17443
17601
  @prompt_type = args[:prompt_type] if args.key?(:prompt_type)
17602
+ @stop_sequences = args[:stop_sequences] if args.key?(:stop_sequences)
17444
17603
  @temperature = args[:temperature] if args.key?(:temperature)
17445
17604
  @text = args[:text] if args.key?(:text)
17446
17605
  @top_k = args[:top_k] if args.key?(:top_k)
@@ -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.1.0"
19
+ GEM_VERSION = "0.3.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230914"
25
+ REVISION = "20231002"
26
26
  end
27
27
  end
28
28
  end
@@ -568,6 +568,12 @@ module Google
568
568
  include Google::Apis::Core::JsonObjectSupport
569
569
  end
570
570
 
571
+ class GoogleCloudAiplatformV1DatasetVersion
572
+ class Representation < Google::Apis::Core::JsonRepresentation; end
573
+
574
+ include Google::Apis::Core::JsonObjectSupport
575
+ end
576
+
571
577
  class GoogleCloudAiplatformV1DedicatedResources
572
578
  class Representation < Google::Apis::Core::JsonRepresentation; end
573
579
 
@@ -1330,6 +1336,12 @@ module Google
1330
1336
  include Google::Apis::Core::JsonObjectSupport
1331
1337
  end
1332
1338
 
1339
+ class GoogleCloudAiplatformV1ListDatasetVersionsResponse
1340
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1341
+
1342
+ include Google::Apis::Core::JsonObjectSupport
1343
+ end
1344
+
1333
1345
  class GoogleCloudAiplatformV1ListDatasetsResponse
1334
1346
  class Representation < Google::Apis::Core::JsonRepresentation; end
1335
1347
 
@@ -2674,6 +2686,18 @@ module Google
2674
2686
  include Google::Apis::Core::JsonObjectSupport
2675
2687
  end
2676
2688
 
2689
+ class GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfig
2690
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2691
+
2692
+ include Google::Apis::Core::JsonObjectSupport
2693
+ end
2694
+
2695
+ class GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfigSourceEntry
2696
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2697
+
2698
+ include Google::Apis::Core::JsonObjectSupport
2699
+ end
2700
+
2677
2701
  class GoogleCloudAiplatformV1SchemaPredictParamsImageClassificationPredictionParams
2678
2702
  class Representation < Google::Apis::Core::JsonRepresentation; end
2679
2703
 
@@ -4872,6 +4896,17 @@ module Google
4872
4896
  end
4873
4897
  end
4874
4898
 
4899
+ class GoogleCloudAiplatformV1DatasetVersion
4900
+ # @private
4901
+ class Representation < Google::Apis::Core::JsonRepresentation
4902
+ property :big_query_dataset_name, as: 'bigQueryDatasetName'
4903
+ property :create_time, as: 'createTime'
4904
+ property :etag, as: 'etag'
4905
+ property :name, as: 'name'
4906
+ property :update_time, as: 'updateTime'
4907
+ end
4908
+ end
4909
+
4875
4910
  class GoogleCloudAiplatformV1DedicatedResources
4876
4911
  # @private
4877
4912
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6201,6 +6236,15 @@ module Google
6201
6236
  end
6202
6237
  end
6203
6238
 
6239
+ class GoogleCloudAiplatformV1ListDatasetVersionsResponse
6240
+ # @private
6241
+ class Representation < Google::Apis::Core::JsonRepresentation
6242
+ collection :dataset_versions, as: 'datasetVersions', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetVersion, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetVersion::Representation
6243
+
6244
+ property :next_page_token, as: 'nextPageToken'
6245
+ end
6246
+ end
6247
+
6204
6248
  class GoogleCloudAiplatformV1ListDatasetsResponse
6205
6249
  # @private
6206
6250
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6507,6 +6551,7 @@ module Google
6507
6551
  property :accelerator_count, as: 'acceleratorCount'
6508
6552
  property :accelerator_type, as: 'acceleratorType'
6509
6553
  property :machine_type, as: 'machineType'
6554
+ property :tpu_topology, as: 'tpuTopology'
6510
6555
  end
6511
6556
  end
6512
6557
 
@@ -6939,6 +6984,7 @@ module Google
6939
6984
  property :email_alert_config, as: 'emailAlertConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModelMonitoringAlertConfigEmailAlertConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModelMonitoringAlertConfigEmailAlertConfig::Representation
6940
6985
 
6941
6986
  property :enable_logging, as: 'enableLogging'
6987
+ collection :notification_channels, as: 'notificationChannels'
6942
6988
  end
6943
6989
  end
6944
6990
 
@@ -7305,6 +7351,7 @@ module Google
7305
7351
  property :name, as: 'name'
7306
7352
  property :notebook_runtime_template_ref, as: 'notebookRuntimeTemplateRef', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NotebookRuntimeTemplateRef, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NotebookRuntimeTemplateRef::Representation
7307
7353
 
7354
+ property :notebook_runtime_type, as: 'notebookRuntimeType'
7308
7355
  property :proxy_uri, as: 'proxyUri'
7309
7356
  property :runtime_state, as: 'runtimeState'
7310
7357
  property :runtime_user, as: 'runtimeUser'
@@ -7334,6 +7381,7 @@ module Google
7334
7381
  property :name, as: 'name'
7335
7382
  property :network_spec, as: 'networkSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NetworkSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NetworkSpec::Representation
7336
7383
 
7384
+ property :notebook_runtime_type, as: 'notebookRuntimeType'
7337
7385
  property :service_account, as: 'serviceAccount'
7338
7386
  property :update_time, as: 'updateTime'
7339
7387
  end
@@ -8475,6 +8523,22 @@ module Google
8475
8523
  end
8476
8524
  end
8477
8525
 
8526
+ class GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfig
8527
+ # @private
8528
+ class Representation < Google::Apis::Core::JsonRepresentation
8529
+ collection :sources, as: 'sources', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfigSourceEntry, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfigSourceEntry::Representation
8530
+
8531
+ end
8532
+ end
8533
+
8534
+ class GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfigSourceEntry
8535
+ # @private
8536
+ class Representation < Google::Apis::Core::JsonRepresentation
8537
+ property :enterprise_datastore, as: 'enterpriseDatastore'
8538
+ property :type, as: 'type'
8539
+ end
8540
+ end
8541
+
8478
8542
  class GoogleCloudAiplatformV1SchemaPredictParamsImageClassificationPredictionParams
8479
8543
  # @private
8480
8544
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -8751,9 +8815,13 @@ module Google
8751
8815
  class GoogleCloudAiplatformV1SchemaTextPromptDatasetMetadata
8752
8816
  # @private
8753
8817
  class Representation < Google::Apis::Core::JsonRepresentation
8818
+ property :candidate_count, :numeric_string => true, as: 'candidateCount'
8754
8819
  property :gcs_uri, as: 'gcsUri'
8820
+ property :grounding_config, as: 'groundingConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfig::Representation
8821
+
8755
8822
  property :max_output_tokens, :numeric_string => true, as: 'maxOutputTokens'
8756
8823
  property :prompt_type, as: 'promptType'
8824
+ collection :stop_sequences, as: 'stopSequences'
8757
8825
  property :temperature, as: 'temperature'
8758
8826
  property :text, as: 'text'
8759
8827
  property :top_k, :numeric_string => true, as: 'topK'
@@ -2086,6 +2086,185 @@ module Google
2086
2086
  execute_or_queue_command(command, &block)
2087
2087
  end
2088
2088
 
2089
+ # Create a version from a Dataset.
2090
+ # @param [String] parent
2091
+ # Required. The name of the Dataset resource. Format: `projects/`project`/
2092
+ # locations/`location`/datasets/`dataset``
2093
+ # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetVersion] google_cloud_aiplatform_v1_dataset_version_object
2094
+ # @param [String] fields
2095
+ # Selector specifying which fields to include in a partial response.
2096
+ # @param [String] quota_user
2097
+ # Available to use for quota purposes for server-side applications. Can be any
2098
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2099
+ # @param [Google::Apis::RequestOptions] options
2100
+ # Request-specific options
2101
+ #
2102
+ # @yield [result, err] Result & error if block supplied
2103
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
2104
+ # @yieldparam err [StandardError] error object if request failed
2105
+ #
2106
+ # @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
2107
+ #
2108
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2109
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2110
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2111
+ def create_project_location_dataset_dataset_version(parent, google_cloud_aiplatform_v1_dataset_version_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2112
+ command = make_simple_command(:post, 'v1/{+parent}/datasetVersions', options)
2113
+ command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetVersion::Representation
2114
+ command.request_object = google_cloud_aiplatform_v1_dataset_version_object
2115
+ command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
2116
+ command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
2117
+ command.params['parent'] = parent unless parent.nil?
2118
+ command.query['fields'] = fields unless fields.nil?
2119
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2120
+ execute_or_queue_command(command, &block)
2121
+ end
2122
+
2123
+ # Deletes a Dataset version.
2124
+ # @param [String] name
2125
+ # Required. The resource name of the Dataset version to delete. Format: `
2126
+ # projects/`project`/locations/`location`/datasets/`dataset`/datasetVersions/`
2127
+ # dataset_version``
2128
+ # @param [String] fields
2129
+ # Selector specifying which fields to include in a partial response.
2130
+ # @param [String] quota_user
2131
+ # Available to use for quota purposes for server-side applications. Can be any
2132
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2133
+ # @param [Google::Apis::RequestOptions] options
2134
+ # Request-specific options
2135
+ #
2136
+ # @yield [result, err] Result & error if block supplied
2137
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
2138
+ # @yieldparam err [StandardError] error object if request failed
2139
+ #
2140
+ # @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
2141
+ #
2142
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2143
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2144
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2145
+ def delete_project_location_dataset_dataset_version(name, fields: nil, quota_user: nil, options: nil, &block)
2146
+ command = make_simple_command(:delete, 'v1/{+name}', options)
2147
+ command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
2148
+ command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
2149
+ command.params['name'] = name unless name.nil?
2150
+ command.query['fields'] = fields unless fields.nil?
2151
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2152
+ execute_or_queue_command(command, &block)
2153
+ end
2154
+
2155
+ # Gets a Dataset version.
2156
+ # @param [String] name
2157
+ # Required. The resource name of the Dataset version to delete. Format: `
2158
+ # projects/`project`/locations/`location`/datasets/`dataset`/datasetVersions/`
2159
+ # dataset_version``
2160
+ # @param [String] read_mask
2161
+ # Mask specifying which fields to read.
2162
+ # @param [String] fields
2163
+ # Selector specifying which fields to include in a partial response.
2164
+ # @param [String] quota_user
2165
+ # Available to use for quota purposes for server-side applications. Can be any
2166
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2167
+ # @param [Google::Apis::RequestOptions] options
2168
+ # Request-specific options
2169
+ #
2170
+ # @yield [result, err] Result & error if block supplied
2171
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetVersion] parsed result object
2172
+ # @yieldparam err [StandardError] error object if request failed
2173
+ #
2174
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetVersion]
2175
+ #
2176
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2177
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2178
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2179
+ def get_project_location_dataset_dataset_version(name, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
2180
+ command = make_simple_command(:get, 'v1/{+name}', options)
2181
+ command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetVersion::Representation
2182
+ command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetVersion
2183
+ command.params['name'] = name unless name.nil?
2184
+ command.query['readMask'] = read_mask unless read_mask.nil?
2185
+ command.query['fields'] = fields unless fields.nil?
2186
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2187
+ execute_or_queue_command(command, &block)
2188
+ end
2189
+
2190
+ # Lists DatasetVersions in a Dataset.
2191
+ # @param [String] parent
2192
+ # Required. The resource name of the Dataset to list DatasetVersions from.
2193
+ # Format: `projects/`project`/locations/`location`/datasets/`dataset``
2194
+ # @param [String] filter
2195
+ # Optional. The standard list filter.
2196
+ # @param [String] order_by
2197
+ # Optional. A comma-separated list of fields to order by, sorted in ascending
2198
+ # order. Use "desc" after a field name for descending.
2199
+ # @param [Fixnum] page_size
2200
+ # Optional. The standard list page size.
2201
+ # @param [String] page_token
2202
+ # Optional. The standard list page token.
2203
+ # @param [String] read_mask
2204
+ # Optional. Mask specifying which fields to read.
2205
+ # @param [String] fields
2206
+ # Selector specifying which fields to include in a partial response.
2207
+ # @param [String] quota_user
2208
+ # Available to use for quota purposes for server-side applications. Can be any
2209
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2210
+ # @param [Google::Apis::RequestOptions] options
2211
+ # Request-specific options
2212
+ #
2213
+ # @yield [result, err] Result & error if block supplied
2214
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListDatasetVersionsResponse] parsed result object
2215
+ # @yieldparam err [StandardError] error object if request failed
2216
+ #
2217
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListDatasetVersionsResponse]
2218
+ #
2219
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2220
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2221
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2222
+ def list_project_location_dataset_dataset_versions(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
2223
+ command = make_simple_command(:get, 'v1/{+parent}/datasetVersions', options)
2224
+ command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListDatasetVersionsResponse::Representation
2225
+ command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListDatasetVersionsResponse
2226
+ command.params['parent'] = parent unless parent.nil?
2227
+ command.query['filter'] = filter unless filter.nil?
2228
+ command.query['orderBy'] = order_by unless order_by.nil?
2229
+ command.query['pageSize'] = page_size unless page_size.nil?
2230
+ command.query['pageToken'] = page_token unless page_token.nil?
2231
+ command.query['readMask'] = read_mask unless read_mask.nil?
2232
+ command.query['fields'] = fields unless fields.nil?
2233
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2234
+ execute_or_queue_command(command, &block)
2235
+ end
2236
+
2237
+ # Restores a dataset version.
2238
+ # @param [String] name
2239
+ # Required. The name of the DatasetVersion resource. Format: `projects/`project`/
2240
+ # locations/`location`/datasets/`dataset`/datasetVersions/`dataset_version``
2241
+ # @param [String] fields
2242
+ # Selector specifying which fields to include in a partial response.
2243
+ # @param [String] quota_user
2244
+ # Available to use for quota purposes for server-side applications. Can be any
2245
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2246
+ # @param [Google::Apis::RequestOptions] options
2247
+ # Request-specific options
2248
+ #
2249
+ # @yield [result, err] Result & error if block supplied
2250
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
2251
+ # @yieldparam err [StandardError] error object if request failed
2252
+ #
2253
+ # @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
2254
+ #
2255
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2256
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2257
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2258
+ def restore_project_location_dataset_dataset_version(name, fields: nil, quota_user: nil, options: nil, &block)
2259
+ command = make_simple_command(:get, 'v1/{+name}:restore', options)
2260
+ command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
2261
+ command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
2262
+ command.params['name'] = name unless name.nil?
2263
+ command.query['fields'] = fields unless fields.nil?
2264
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2265
+ execute_or_queue_command(command, &block)
2266
+ end
2267
+
2089
2268
  # Starts asynchronous cancellation on a long-running operation. The server makes
2090
2269
  # a best effort to cancel the operation, but success is not guaranteed. If the
2091
2270
  # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
@@ -4414,15 +4593,12 @@ module Google
4414
4593
 
4415
4594
  # Creates a new Feature in a given EntityType.
4416
4595
  # @param [String] parent
4417
- # Required. The resource name of the EntityType to create a Feature. Format: `
4418
- # projects/`project`/locations/`location`/featurestores/`featurestore`/
4419
- # entityTypes/`entity_type``
4420
4596
  # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Feature] google_cloud_aiplatform_v1_feature_object
4421
4597
  # @param [String] feature_id
4422
4598
  # Required. The ID to use for the Feature, which will become the final component
4423
4599
  # of the Feature's resource name. This value may be up to 128 characters, and
4424
4600
  # valid characters are `[a-z0-9_]`. The first character cannot be a number. The
4425
- # value must be unique within an EntityType .
4601
+ # value must be unique within an EntityType/FeatureGroup.
4426
4602
  # @param [String] fields
4427
4603
  # Selector specifying which fields to include in a partial response.
4428
4604
  # @param [String] quota_user
@@ -4457,7 +4633,8 @@ module Google
4457
4633
  # @param [String] name
4458
4634
  # Required. The name of the Features to be deleted. Format: `projects/`project`/
4459
4635
  # locations/`location`/featurestores/`featurestore`/entityTypes/`entity_type`/
4460
- # features/`feature``
4636
+ # features/`feature`` `projects/`project`/locations/`location`/featureGroups/`
4637
+ # feature_group`/features/`feature``
4461
4638
  # @param [String] fields
4462
4639
  # Selector specifying which fields to include in a partial response.
4463
4640
  # @param [String] quota_user
@@ -4488,7 +4665,8 @@ module Google
4488
4665
  # Gets details of a single Feature.
4489
4666
  # @param [String] name
4490
4667
  # Required. The name of the Feature resource. Format: `projects/`project`/
4491
- # locations/`location`/featurestores/`featurestore`/entityTypes/`entity_type``
4668
+ # locations/`location`/featurestores/`featurestore`/entityTypes/`entity_type`` `
4669
+ # projects/`project`/locations/`location`/featureGroups/`feature_group``
4492
4670
  # @param [String] fields
4493
4671
  # Selector specifying which fields to include in a partial response.
4494
4672
  # @param [String] quota_user
@@ -4520,7 +4698,8 @@ module Google
4520
4698
  # @param [String] parent
4521
4699
  # Required. The resource name of the Location to list Features. Format: `
4522
4700
  # projects/`project`/locations/`location`/featurestores/`featurestore`/
4523
- # entityTypes/`entity_type``
4701
+ # entityTypes/`entity_type`` `projects/`project`/locations/`location`/
4702
+ # featureGroups/`feature_group``
4524
4703
  # @param [String] filter
4525
4704
  # Lists the Features that match the filter expression. The following filters are
4526
4705
  # supported: * `value_type`: Supports = and != comparisons. * `create_time`:
@@ -10025,9 +10204,10 @@ module Google
10025
10204
  # NotebookRuntimeTemplate's resource name. * `display_name` supports = and != * `
10026
10205
  # labels` supports general map functions that is: * `labels.key=value` - key:
10027
10206
  # value equality * `labels.key:* or labels:key - key existence * A key including
10028
- # a space must be quoted. `labels."a key"`. Some examples: * `
10207
+ # a space must be quoted. `labels."a key"`. * `notebookRuntimeType` supports =
10208
+ # and !=. notebookRuntimeType enum: [USER_DEFINED, ONE_CLICK]. Some examples: * `
10029
10209
  # notebookRuntimeTemplate=notebookRuntimeTemplate123` * `displayName="
10030
- # myDisplayName"` * `labels.myKey="myValue"`
10210
+ # myDisplayName"` * `labels.myKey="myValue"` * `notebookRuntimeType=USER_DEFINED`
10031
10211
  # @param [String] order_by
10032
10212
  # Optional. A comma-separated list of fields to order by, sorted in ascending
10033
10213
  # order. Use "desc" after a field name for descending. Supported fields: * `
@@ -10270,11 +10450,13 @@ module Google
10270
10450
  # UI only: `uiState` supports = and !=. uiState enum: [
10271
10451
  # UI_RESOURCE_STATE_UNSPECIFIED, UI_RESOURCE_STATE_BEING_CREATED,
10272
10452
  # UI_RESOURCE_STATE_ACTIVE, UI_RESOURCE_STATE_BEING_DELETED,
10273
- # UI_RESOURCE_STATE_CREATION_FAILED]. Some examples: * `notebookRuntime="
10274
- # notebookRuntime123"` * `displayName="myDisplayName"` and `displayName=~"
10275
- # myDisplayNameRegex"` * `notebookRuntimeTemplate="notebookRuntimeTemplate321"` *
10276
- # `healthState=HEALTHY` * `runtimeState=RUNNING` * `runtimeUser="test@google.
10277
- # com"` * `uiState=UI_RESOURCE_STATE_BEING_DELETED`
10453
+ # UI_RESOURCE_STATE_CREATION_FAILED]. * `notebookRuntimeType` supports = and !=.
10454
+ # notebookRuntimeType enum: [USER_DEFINED, ONE_CLICK]. Some examples: * `
10455
+ # notebookRuntime="notebookRuntime123"` * `displayName="myDisplayName"` and `
10456
+ # displayName=~"myDisplayNameRegex"` * `notebookRuntimeTemplate="
10457
+ # notebookRuntimeTemplate321"` * `healthState=HEALTHY` * `runtimeState=RUNNING` *
10458
+ # `runtimeUser="test@google.com"` * `uiState=UI_RESOURCE_STATE_BEING_DELETED` *
10459
+ # `notebookRuntimeType=USER_DEFINED`
10278
10460
  # @param [String] order_by
10279
10461
  # Optional. A comma-separated list of fields to order by, sorted in ascending
10280
10462
  # order. Use "desc" after a field name for descending. Supported fields: * `
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-aiplatform_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.3.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: 2023-10-01 00:00:00.000000000 Z
11
+ date: 2023-10-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1/v0.1.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1/v0.3.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1
63
63
  post_install_message:
64
64
  rdoc_options: []