google-apis-aiplatform_v1 0.28.0 → 0.29.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1316,7 +1316,7 @@ module Google
1316
1316
 
1317
1317
  # Updates a Dataset.
1318
1318
  # @param [String] name
1319
- # Output only. The resource name of the Dataset.
1319
+ # Output only. Identifier. The resource name of the Dataset.
1320
1320
  # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Dataset] google_cloud_aiplatform_v1_dataset_object
1321
1321
  # @param [String] update_mask
1322
1322
  # Required. The update mask applies to the resource. For the `FieldMask`
@@ -2272,7 +2272,7 @@ module Google
2272
2272
 
2273
2273
  # Updates a DatasetVersion.
2274
2274
  # @param [String] name
2275
- # Output only. The resource name of the DatasetVersion.
2275
+ # Output only. Identifier. The resource name of the DatasetVersion.
2276
2276
  # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetVersion] google_cloud_aiplatform_v1_dataset_version_object
2277
2277
  # @param [String] update_mask
2278
2278
  # Required. The update mask applies to the resource. For the `FieldMask`
@@ -2921,6 +2921,44 @@ module Google
2921
2921
  execute_or_queue_command(command, &block)
2922
2922
  end
2923
2923
 
2924
+ # Update a DeploymentResourcePool.
2925
+ # @param [String] name
2926
+ # Immutable. The resource name of the DeploymentResourcePool. Format: `projects/`
2927
+ # project`/locations/`location`/deploymentResourcePools/`
2928
+ # deployment_resource_pool``
2929
+ # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DeploymentResourcePool] google_cloud_aiplatform_v1_deployment_resource_pool_object
2930
+ # @param [String] update_mask
2931
+ # Required. The list of fields to update.
2932
+ # @param [String] fields
2933
+ # Selector specifying which fields to include in a partial response.
2934
+ # @param [String] quota_user
2935
+ # Available to use for quota purposes for server-side applications. Can be any
2936
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2937
+ # @param [Google::Apis::RequestOptions] options
2938
+ # Request-specific options
2939
+ #
2940
+ # @yield [result, err] Result & error if block supplied
2941
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
2942
+ # @yieldparam err [StandardError] error object if request failed
2943
+ #
2944
+ # @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
2945
+ #
2946
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2947
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2948
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2949
+ def patch_project_location_deployment_resource_pool(name, google_cloud_aiplatform_v1_deployment_resource_pool_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
2950
+ command = make_simple_command(:patch, 'v1/{+name}', options)
2951
+ command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DeploymentResourcePool::Representation
2952
+ command.request_object = google_cloud_aiplatform_v1_deployment_resource_pool_object
2953
+ command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
2954
+ command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
2955
+ command.params['name'] = name unless name.nil?
2956
+ command.query['updateMask'] = update_mask unless update_mask.nil?
2957
+ command.query['fields'] = fields unless fields.nil?
2958
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2959
+ execute_or_queue_command(command, &block)
2960
+ end
2961
+
2924
2962
  # List DeployedModels that have been deployed on this DeploymentResourcePool.
2925
2963
  # @param [String] deployment_resource_pool
2926
2964
  # Required. The name of the target DeploymentResourcePool to query. Format: `
@@ -4194,7 +4232,8 @@ module Google
4194
4232
  # to the resource, not the full request. A field will be overwritten if it is in
4195
4233
  # the mask. If the user does not provide a mask then only the non-empty fields
4196
4234
  # present in the request will be overwritten. Set the update_mask to `*` to
4197
- # override all fields. Updatable fields: * `labels`
4235
+ # override all fields. Updatable fields: * `labels` * `description` * `big_query`
4236
+ # * `big_query.entity_id_columns`
4198
4237
  # @param [String] fields
4199
4238
  # Selector specifying which fields to include in a partial response.
4200
4239
  # @param [String] quota_user
@@ -4424,7 +4463,8 @@ module Google
4424
4463
  # the mask. If the user does not provide a mask then only the non-empty fields
4425
4464
  # present in the request will be overwritten. Set the update_mask to `*` to
4426
4465
  # override all fields. Updatable fields: * `description` * `labels` * `
4427
- # disable_monitoring` (Not supported for FeatureRegistry Feature)
4466
+ # disable_monitoring` (Not supported for FeatureRegistryService Feature) * `
4467
+ # point_of_contact` (Not supported for FeaturestoreService FeatureStore)
4428
4468
  # @param [String] fields
4429
4469
  # Selector specifying which fields to include in a partial response.
4430
4470
  # @param [String] quota_user
@@ -4924,8 +4964,9 @@ module Google
4924
4964
  # update_mask are relative to the resource, not the full request. A field will
4925
4965
  # be overwritten if it is in the mask. If the user does not provide a mask then
4926
4966
  # only the non-empty fields present in the request will be overwritten. Set the
4927
- # update_mask to `*` to override all fields. Updatable fields: * `
4928
- # big_query_source` * `bigtable` * `labels` * `sync_config`
4967
+ # update_mask to `*` to override all fields. Updatable fields: * `labels` * `
4968
+ # description` * `bigtable` * `bigtable.auto_scaling` * `bigtable.
4969
+ # enable_multi_region_replica`
4929
4970
  # @param [String] fields
4930
4971
  # Selector specifying which fields to include in a partial response.
4931
4972
  # @param [String] quota_user
@@ -5171,7 +5212,10 @@ module Google
5171
5212
  # to the resource, not the full request. A field will be overwritten if it is in
5172
5213
  # the mask. If the user does not provide a mask then only the non-empty fields
5173
5214
  # present in the request will be overwritten. Set the update_mask to `*` to
5174
- # override all fields. Updatable fields: * `labels` * `serviceAgentType`
5215
+ # override all fields. Updatable fields: * `labels` * `service_agent_type` * `
5216
+ # big_query_source` * `big_query_source.uri` * `big_query_source.
5217
+ # entity_id_columns` * `feature_registry_source` * `feature_registry_source.
5218
+ # feature_groups` * `sync_config` * `sync_config.cron`
5175
5219
  # @param [String] fields
5176
5220
  # Selector specifying which fields to include in a partial response.
5177
5221
  # @param [String] quota_user
@@ -6915,7 +6959,8 @@ module Google
6915
6959
  # the mask. If the user does not provide a mask then only the non-empty fields
6916
6960
  # present in the request will be overwritten. Set the update_mask to `*` to
6917
6961
  # override all fields. Updatable fields: * `description` * `labels` * `
6918
- # disable_monitoring` (Not supported for FeatureRegistry Feature)
6962
+ # disable_monitoring` (Not supported for FeatureRegistryService Feature) * `
6963
+ # point_of_contact` (Not supported for FeaturestoreService FeatureStore)
6919
6964
  # @param [String] fields
6920
6965
  # Selector specifying which fields to include in a partial response.
6921
6966
  # @param [String] quota_user
@@ -13036,6 +13081,163 @@ module Google
13036
13081
  execute_or_queue_command(command, &block)
13037
13082
  end
13038
13083
 
13084
+ # Creates a NotebookExecutionJob.
13085
+ # @param [String] parent
13086
+ # Required. The resource name of the Location to create the NotebookExecutionJob.
13087
+ # Format: `projects/`project`/locations/`location``
13088
+ # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NotebookExecutionJob] google_cloud_aiplatform_v1_notebook_execution_job_object
13089
+ # @param [String] notebook_execution_job_id
13090
+ # Optional. User specified ID for the NotebookExecutionJob.
13091
+ # @param [String] fields
13092
+ # Selector specifying which fields to include in a partial response.
13093
+ # @param [String] quota_user
13094
+ # Available to use for quota purposes for server-side applications. Can be any
13095
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
13096
+ # @param [Google::Apis::RequestOptions] options
13097
+ # Request-specific options
13098
+ #
13099
+ # @yield [result, err] Result & error if block supplied
13100
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
13101
+ # @yieldparam err [StandardError] error object if request failed
13102
+ #
13103
+ # @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
13104
+ #
13105
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
13106
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
13107
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
13108
+ def create_project_location_notebook_execution_job(parent, google_cloud_aiplatform_v1_notebook_execution_job_object = nil, notebook_execution_job_id: nil, fields: nil, quota_user: nil, options: nil, &block)
13109
+ command = make_simple_command(:post, 'v1/{+parent}/notebookExecutionJobs', options)
13110
+ command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NotebookExecutionJob::Representation
13111
+ command.request_object = google_cloud_aiplatform_v1_notebook_execution_job_object
13112
+ command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
13113
+ command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
13114
+ command.params['parent'] = parent unless parent.nil?
13115
+ command.query['notebookExecutionJobId'] = notebook_execution_job_id unless notebook_execution_job_id.nil?
13116
+ command.query['fields'] = fields unless fields.nil?
13117
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
13118
+ execute_or_queue_command(command, &block)
13119
+ end
13120
+
13121
+ # Deletes a NotebookExecutionJob.
13122
+ # @param [String] name
13123
+ # Required. The name of the NotebookExecutionJob resource to be deleted.
13124
+ # @param [String] fields
13125
+ # Selector specifying which fields to include in a partial response.
13126
+ # @param [String] quota_user
13127
+ # Available to use for quota purposes for server-side applications. Can be any
13128
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
13129
+ # @param [Google::Apis::RequestOptions] options
13130
+ # Request-specific options
13131
+ #
13132
+ # @yield [result, err] Result & error if block supplied
13133
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
13134
+ # @yieldparam err [StandardError] error object if request failed
13135
+ #
13136
+ # @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
13137
+ #
13138
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
13139
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
13140
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
13141
+ def delete_project_location_notebook_execution_job(name, fields: nil, quota_user: nil, options: nil, &block)
13142
+ command = make_simple_command(:delete, 'v1/{+name}', options)
13143
+ command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
13144
+ command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
13145
+ command.params['name'] = name unless name.nil?
13146
+ command.query['fields'] = fields unless fields.nil?
13147
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
13148
+ execute_or_queue_command(command, &block)
13149
+ end
13150
+
13151
+ # Gets a NotebookExecutionJob.
13152
+ # @param [String] name
13153
+ # Required. The name of the NotebookExecutionJob resource.
13154
+ # @param [String] view
13155
+ # Optional. The NotebookExecutionJob view. Defaults to BASIC.
13156
+ # @param [String] fields
13157
+ # Selector specifying which fields to include in a partial response.
13158
+ # @param [String] quota_user
13159
+ # Available to use for quota purposes for server-side applications. Can be any
13160
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
13161
+ # @param [Google::Apis::RequestOptions] options
13162
+ # Request-specific options
13163
+ #
13164
+ # @yield [result, err] Result & error if block supplied
13165
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NotebookExecutionJob] parsed result object
13166
+ # @yieldparam err [StandardError] error object if request failed
13167
+ #
13168
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NotebookExecutionJob]
13169
+ #
13170
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
13171
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
13172
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
13173
+ def get_project_location_notebook_execution_job(name, view: nil, fields: nil, quota_user: nil, options: nil, &block)
13174
+ command = make_simple_command(:get, 'v1/{+name}', options)
13175
+ command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NotebookExecutionJob::Representation
13176
+ command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NotebookExecutionJob
13177
+ command.params['name'] = name unless name.nil?
13178
+ command.query['view'] = view unless view.nil?
13179
+ command.query['fields'] = fields unless fields.nil?
13180
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
13181
+ execute_or_queue_command(command, &block)
13182
+ end
13183
+
13184
+ # Lists NotebookExecutionJobs in a Location.
13185
+ # @param [String] parent
13186
+ # Required. The resource name of the Location from which to list the
13187
+ # NotebookExecutionJobs. Format: `projects/`project`/locations/`location``
13188
+ # @param [String] filter
13189
+ # Optional. An expression for filtering the results of the request. For field
13190
+ # names both snake_case and camelCase are supported. * `notebookExecutionJob`
13191
+ # supports = and !=. `notebookExecutionJob` represents the NotebookExecutionJob
13192
+ # ID. * `displayName` supports = and != and regex. * `schedule` supports = and !=
13193
+ # and regex. Some examples: * `notebookExecutionJob="123"` * `
13194
+ # notebookExecutionJob="my-execution-job"` * `displayName="myDisplayName"` and `
13195
+ # displayName=~"myDisplayNameRegex"`
13196
+ # @param [String] order_by
13197
+ # Optional. A comma-separated list of fields to order by, sorted in ascending
13198
+ # order. Use "desc" after a field name for descending. Supported fields: * `
13199
+ # display_name` * `create_time` * `update_time` Example: `display_name,
13200
+ # create_time desc`.
13201
+ # @param [Fixnum] page_size
13202
+ # Optional. The standard list page size.
13203
+ # @param [String] page_token
13204
+ # Optional. The standard list page token. Typically obtained via
13205
+ # ListNotebookExecutionJobs.next_page_token of the previous NotebookService.
13206
+ # ListNotebookExecutionJobs call.
13207
+ # @param [String] view
13208
+ # Optional. The NotebookExecutionJob view. Defaults to BASIC.
13209
+ # @param [String] fields
13210
+ # Selector specifying which fields to include in a partial response.
13211
+ # @param [String] quota_user
13212
+ # Available to use for quota purposes for server-side applications. Can be any
13213
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
13214
+ # @param [Google::Apis::RequestOptions] options
13215
+ # Request-specific options
13216
+ #
13217
+ # @yield [result, err] Result & error if block supplied
13218
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListNotebookExecutionJobsResponse] parsed result object
13219
+ # @yieldparam err [StandardError] error object if request failed
13220
+ #
13221
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListNotebookExecutionJobsResponse]
13222
+ #
13223
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
13224
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
13225
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
13226
+ def list_project_location_notebook_execution_jobs(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
13227
+ command = make_simple_command(:get, 'v1/{+parent}/notebookExecutionJobs', options)
13228
+ command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListNotebookExecutionJobsResponse::Representation
13229
+ command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListNotebookExecutionJobsResponse
13230
+ command.params['parent'] = parent unless parent.nil?
13231
+ command.query['filter'] = filter unless filter.nil?
13232
+ command.query['orderBy'] = order_by unless order_by.nil?
13233
+ command.query['pageSize'] = page_size unless page_size.nil?
13234
+ command.query['pageToken'] = page_token unless page_token.nil?
13235
+ command.query['view'] = view unless view.nil?
13236
+ command.query['fields'] = fields unless fields.nil?
13237
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
13238
+ execute_or_queue_command(command, &block)
13239
+ end
13240
+
13039
13241
  # Starts asynchronous cancellation on a long-running operation. The server makes
13040
13242
  # a best effort to cancel the operation, but success is not guaranteed. If the
13041
13243
  # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
@@ -19691,9 +19893,12 @@ module Google
19691
19893
  # @param [String] name
19692
19894
  # Required. The name of the PublisherModel resource. Format: `publishers/`
19693
19895
  # publisher`/models/`publisher_model``
19896
+ # @param [Boolean] is_hugging_face_model
19897
+ # Optional. Boolean indicates whether the requested model is a Hugging Face
19898
+ # model.
19694
19899
  # @param [String] language_code
19695
19900
  # Optional. The IETF BCP-47 language code representing the language in which the
19696
- # publisher model's text information should be written in (see go/bcp47).
19901
+ # publisher model's text information should be written in.
19697
19902
  # @param [String] view
19698
19903
  # Optional. PublisherModel view specifying which fields to read.
19699
19904
  # @param [String] fields
@@ -19713,11 +19918,12 @@ module Google
19713
19918
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
19714
19919
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
19715
19920
  # @raise [Google::Apis::AuthorizationError] Authorization is required
19716
- def get_publisher_model(name, language_code: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
19921
+ def get_publisher_model(name, is_hugging_face_model: nil, language_code: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
19717
19922
  command = make_simple_command(:get, 'v1/{+name}', options)
19718
19923
  command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PublisherModel::Representation
19719
19924
  command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PublisherModel
19720
19925
  command.params['name'] = name unless name.nil?
19926
+ command.query['isHuggingFaceModel'] = is_hugging_face_model unless is_hugging_face_model.nil?
19721
19927
  command.query['languageCode'] = language_code unless language_code.nil?
19722
19928
  command.query['view'] = view unless view.nil?
19723
19929
  command.query['fields'] = fields unless fields.nil?
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.28.0
4
+ version: 0.29.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-27 00:00:00.000000000 Z
11
+ date: 2024-07-25 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.28.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1/v0.29.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: []