google-apis-aiplatform_v1 0.27.0 → 0.29.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_v1/classes.rb +9816 -6643
- data/lib/google/apis/aiplatform_v1/gem_version.rb +2 -2
- data/lib/google/apis/aiplatform_v1/representations.rb +1794 -141
- data/lib/google/apis/aiplatform_v1/service.rb +250 -10
- metadata +3 -3
@@ -52,6 +52,40 @@ module Google
|
|
52
52
|
@batch_path = 'batch'
|
53
53
|
end
|
54
54
|
|
55
|
+
# Evaluates instances based on a given metric.
|
56
|
+
# @param [String] location
|
57
|
+
# Required. The resource name of the Location to evaluate the instances. Format:
|
58
|
+
# `projects/`project`/locations/`location``
|
59
|
+
# @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluateInstancesRequest] google_cloud_aiplatform_v1_evaluate_instances_request_object
|
60
|
+
# @param [String] fields
|
61
|
+
# Selector specifying which fields to include in a partial response.
|
62
|
+
# @param [String] quota_user
|
63
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
64
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
65
|
+
# @param [Google::Apis::RequestOptions] options
|
66
|
+
# Request-specific options
|
67
|
+
#
|
68
|
+
# @yield [result, err] Result & error if block supplied
|
69
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluateInstancesResponse] parsed result object
|
70
|
+
# @yieldparam err [StandardError] error object if request failed
|
71
|
+
#
|
72
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluateInstancesResponse]
|
73
|
+
#
|
74
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
75
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
76
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
77
|
+
def evaluate_project_location_instances(location, google_cloud_aiplatform_v1_evaluate_instances_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
78
|
+
command = make_simple_command(:post, 'v1/{+location}:evaluateInstances', options)
|
79
|
+
command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluateInstancesRequest::Representation
|
80
|
+
command.request_object = google_cloud_aiplatform_v1_evaluate_instances_request_object
|
81
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluateInstancesResponse::Representation
|
82
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluateInstancesResponse
|
83
|
+
command.params['location'] = location unless location.nil?
|
84
|
+
command.query['fields'] = fields unless fields.nil?
|
85
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
86
|
+
execute_or_queue_command(command, &block)
|
87
|
+
end
|
88
|
+
|
55
89
|
# Gets information about a location.
|
56
90
|
# @param [String] name
|
57
91
|
# Resource name for the location.
|
@@ -1282,7 +1316,7 @@ module Google
|
|
1282
1316
|
|
1283
1317
|
# Updates a Dataset.
|
1284
1318
|
# @param [String] name
|
1285
|
-
# Output only. The resource name of the Dataset.
|
1319
|
+
# Output only. Identifier. The resource name of the Dataset.
|
1286
1320
|
# @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Dataset] google_cloud_aiplatform_v1_dataset_object
|
1287
1321
|
# @param [String] update_mask
|
1288
1322
|
# Required. The update mask applies to the resource. For the `FieldMask`
|
@@ -2238,7 +2272,7 @@ module Google
|
|
2238
2272
|
|
2239
2273
|
# Updates a DatasetVersion.
|
2240
2274
|
# @param [String] name
|
2241
|
-
# Output only. The resource name of the DatasetVersion.
|
2275
|
+
# Output only. Identifier. The resource name of the DatasetVersion.
|
2242
2276
|
# @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetVersion] google_cloud_aiplatform_v1_dataset_version_object
|
2243
2277
|
# @param [String] update_mask
|
2244
2278
|
# Required. The update mask applies to the resource. For the `FieldMask`
|
@@ -2887,6 +2921,44 @@ module Google
|
|
2887
2921
|
execute_or_queue_command(command, &block)
|
2888
2922
|
end
|
2889
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
|
+
|
2890
2962
|
# List DeployedModels that have been deployed on this DeploymentResourcePool.
|
2891
2963
|
# @param [String] deployment_resource_pool
|
2892
2964
|
# Required. The name of the target DeploymentResourcePool to query. Format: `
|
@@ -4160,7 +4232,8 @@ module Google
|
|
4160
4232
|
# to the resource, not the full request. A field will be overwritten if it is in
|
4161
4233
|
# the mask. If the user does not provide a mask then only the non-empty fields
|
4162
4234
|
# present in the request will be overwritten. Set the update_mask to `*` to
|
4163
|
-
# override all fields. Updatable fields: * `labels`
|
4235
|
+
# override all fields. Updatable fields: * `labels` * `description` * `big_query`
|
4236
|
+
# * `big_query.entity_id_columns`
|
4164
4237
|
# @param [String] fields
|
4165
4238
|
# Selector specifying which fields to include in a partial response.
|
4166
4239
|
# @param [String] quota_user
|
@@ -4390,7 +4463,8 @@ module Google
|
|
4390
4463
|
# the mask. If the user does not provide a mask then only the non-empty fields
|
4391
4464
|
# present in the request will be overwritten. Set the update_mask to `*` to
|
4392
4465
|
# override all fields. Updatable fields: * `description` * `labels` * `
|
4393
|
-
# disable_monitoring` (Not supported for
|
4466
|
+
# disable_monitoring` (Not supported for FeatureRegistryService Feature) * `
|
4467
|
+
# point_of_contact` (Not supported for FeaturestoreService FeatureStore)
|
4394
4468
|
# @param [String] fields
|
4395
4469
|
# Selector specifying which fields to include in a partial response.
|
4396
4470
|
# @param [String] quota_user
|
@@ -4890,8 +4964,9 @@ module Google
|
|
4890
4964
|
# update_mask are relative to the resource, not the full request. A field will
|
4891
4965
|
# be overwritten if it is in the mask. If the user does not provide a mask then
|
4892
4966
|
# only the non-empty fields present in the request will be overwritten. Set the
|
4893
|
-
# update_mask to `*` to override all fields. Updatable fields: * `
|
4894
|
-
#
|
4967
|
+
# update_mask to `*` to override all fields. Updatable fields: * `labels` * `
|
4968
|
+
# description` * `bigtable` * `bigtable.auto_scaling` * `bigtable.
|
4969
|
+
# enable_multi_region_replica`
|
4895
4970
|
# @param [String] fields
|
4896
4971
|
# Selector specifying which fields to include in a partial response.
|
4897
4972
|
# @param [String] quota_user
|
@@ -5137,7 +5212,10 @@ module Google
|
|
5137
5212
|
# to the resource, not the full request. A field will be overwritten if it is in
|
5138
5213
|
# the mask. If the user does not provide a mask then only the non-empty fields
|
5139
5214
|
# present in the request will be overwritten. Set the update_mask to `*` to
|
5140
|
-
# override all fields. Updatable fields: * `labels` * `
|
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`
|
5141
5219
|
# @param [String] fields
|
5142
5220
|
# Selector specifying which fields to include in a partial response.
|
5143
5221
|
# @param [String] quota_user
|
@@ -6881,7 +6959,8 @@ module Google
|
|
6881
6959
|
# the mask. If the user does not provide a mask then only the non-empty fields
|
6882
6960
|
# present in the request will be overwritten. Set the update_mask to `*` to
|
6883
6961
|
# override all fields. Updatable fields: * `description` * `labels` * `
|
6884
|
-
# disable_monitoring` (Not supported for
|
6962
|
+
# disable_monitoring` (Not supported for FeatureRegistryService Feature) * `
|
6963
|
+
# point_of_contact` (Not supported for FeaturestoreService FeatureStore)
|
6885
6964
|
# @param [String] fields
|
6886
6965
|
# Selector specifying which fields to include in a partial response.
|
6887
6966
|
# @param [String] quota_user
|
@@ -13002,6 +13081,163 @@ module Google
|
|
13002
13081
|
execute_or_queue_command(command, &block)
|
13003
13082
|
end
|
13004
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
|
+
|
13005
13241
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
13006
13242
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
13007
13243
|
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
@@ -19657,9 +19893,12 @@ module Google
|
|
19657
19893
|
# @param [String] name
|
19658
19894
|
# Required. The name of the PublisherModel resource. Format: `publishers/`
|
19659
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.
|
19660
19899
|
# @param [String] language_code
|
19661
19900
|
# Optional. The IETF BCP-47 language code representing the language in which the
|
19662
|
-
# publisher model's text information should be written in
|
19901
|
+
# publisher model's text information should be written in.
|
19663
19902
|
# @param [String] view
|
19664
19903
|
# Optional. PublisherModel view specifying which fields to read.
|
19665
19904
|
# @param [String] fields
|
@@ -19679,11 +19918,12 @@ module Google
|
|
19679
19918
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
19680
19919
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
19681
19920
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
19682
|
-
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)
|
19683
19922
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
19684
19923
|
command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PublisherModel::Representation
|
19685
19924
|
command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PublisherModel
|
19686
19925
|
command.params['name'] = name unless name.nil?
|
19926
|
+
command.query['isHuggingFaceModel'] = is_hugging_face_model unless is_hugging_face_model.nil?
|
19687
19927
|
command.query['languageCode'] = language_code unless language_code.nil?
|
19688
19928
|
command.query['view'] = view unless view.nil?
|
19689
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.
|
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-
|
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.
|
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: []
|