google-apis-aiplatform_v1beta1 0.12.0 → 0.14.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.
@@ -15116,6 +15116,51 @@ module Google
15116
15116
  execute_or_queue_command(command, &block)
15117
15117
  end
15118
15118
 
15119
+ # Gets the access control policy for a resource. Returns an empty policy if the
15120
+ # resource exists and does not have a policy set.
15121
+ # @param [String] resource
15122
+ # REQUIRED: The resource for which the policy is being requested. See [Resource
15123
+ # names](https://cloud.google.com/apis/design/resource_names) for the
15124
+ # appropriate value for this field.
15125
+ # @param [Fixnum] options_requested_policy_version
15126
+ # Optional. The maximum policy version that will be used to format the policy.
15127
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
15128
+ # rejected. Requests for policies with any conditional role bindings must
15129
+ # specify version 3. Policies with no conditional role bindings may specify any
15130
+ # valid value or leave the field unset. The policy in the response might use the
15131
+ # policy version that you specified, or it might use a lower policy version. For
15132
+ # example, if you specify version 3, but the policy has no conditional role
15133
+ # bindings, the response uses version 1. To learn which resources support
15134
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
15135
+ # google.com/iam/help/conditions/resource-policies).
15136
+ # @param [String] fields
15137
+ # Selector specifying which fields to include in a partial response.
15138
+ # @param [String] quota_user
15139
+ # Available to use for quota purposes for server-side applications. Can be any
15140
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
15141
+ # @param [Google::Apis::RequestOptions] options
15142
+ # Request-specific options
15143
+ #
15144
+ # @yield [result, err] Result & error if block supplied
15145
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleIamV1Policy] parsed result object
15146
+ # @yieldparam err [StandardError] error object if request failed
15147
+ #
15148
+ # @return [Google::Apis::AiplatformV1beta1::GoogleIamV1Policy]
15149
+ #
15150
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
15151
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
15152
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
15153
+ def get_project_location_publisher_model_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
15154
+ command = make_simple_command(:post, 'v1beta1/{+resource}:getIamPolicy', options)
15155
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleIamV1Policy::Representation
15156
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleIamV1Policy
15157
+ command.params['resource'] = resource unless resource.nil?
15158
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
15159
+ command.query['fields'] = fields unless fields.nil?
15160
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
15161
+ execute_or_queue_command(command, &block)
15162
+ end
15163
+
15119
15164
  # Perform an online prediction.
15120
15165
  # @param [String] endpoint
15121
15166
  # Required. The name of the Endpoint requested to serve the prediction. Format: `
@@ -17065,6 +17110,48 @@ module Google
17065
17110
  execute_or_queue_command(command, &block)
17066
17111
  end
17067
17112
 
17113
+ # Reads multiple TensorboardTimeSeries' data. The data point number limit is
17114
+ # 1000 for scalars, 100 for tensors and blob references. If the number of data
17115
+ # points stored is less than the limit, all data is returned. Otherwise, the
17116
+ # number limit of data points is randomly selected from this time series and
17117
+ # returned.
17118
+ # @param [String] tensorboard
17119
+ # Required. The resource name of the Tensorboard containing
17120
+ # TensorboardTimeSeries to read data from. Format: `projects/`project`/locations/
17121
+ # `location`/tensorboards/`tensorboard``. The TensorboardTimeSeries referenced
17122
+ # by time_series must be sub resources of this Tensorboard.
17123
+ # @param [Array<String>, String] time_series
17124
+ # Required. The resource names of the TensorboardTimeSeries to read data from.
17125
+ # Format: `projects/`project`/locations/`location`/tensorboards/`tensorboard`/
17126
+ # experiments/`experiment`/runs/`run`/timeSeries/`time_series``
17127
+ # @param [String] fields
17128
+ # Selector specifying which fields to include in a partial response.
17129
+ # @param [String] quota_user
17130
+ # Available to use for quota purposes for server-side applications. Can be any
17131
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
17132
+ # @param [Google::Apis::RequestOptions] options
17133
+ # Request-specific options
17134
+ #
17135
+ # @yield [result, err] Result & error if block supplied
17136
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BatchReadTensorboardTimeSeriesDataResponse] parsed result object
17137
+ # @yieldparam err [StandardError] error object if request failed
17138
+ #
17139
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BatchReadTensorboardTimeSeriesDataResponse]
17140
+ #
17141
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
17142
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
17143
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
17144
+ def batch_project_location_tensorboard_read(tensorboard, time_series: nil, fields: nil, quota_user: nil, options: nil, &block)
17145
+ command = make_simple_command(:get, 'v1beta1/{+tensorboard}:batchRead', options)
17146
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BatchReadTensorboardTimeSeriesDataResponse::Representation
17147
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BatchReadTensorboardTimeSeriesDataResponse
17148
+ command.params['tensorboard'] = tensorboard unless tensorboard.nil?
17149
+ command.query['timeSeries'] = time_series unless time_series.nil?
17150
+ command.query['fields'] = fields unless fields.nil?
17151
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
17152
+ execute_or_queue_command(command, &block)
17153
+ end
17154
+
17068
17155
  # Creates a Tensorboard.
17069
17156
  # @param [String] parent
17070
17157
  # Required. The resource name of the Location to create the Tensorboard in.
@@ -17315,6 +17402,43 @@ module Google
17315
17402
  execute_or_queue_command(command, &block)
17316
17403
  end
17317
17404
 
17405
+ # Batch create TensorboardTimeSeries that belong to a TensorboardExperiment.
17406
+ # @param [String] parent
17407
+ # Required. The resource name of the TensorboardExperiment to create the
17408
+ # TensorboardTimeSeries in. Format: `projects/`project`/locations/`location`/
17409
+ # tensorboards/`tensorboard`/experiments/`experiment`` The TensorboardRuns
17410
+ # referenced by the parent fields in the CreateTensorboardTimeSeriesRequest
17411
+ # messages must be sub resources of this TensorboardExperiment.
17412
+ # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BatchCreateTensorboardTimeSeriesRequest] google_cloud_aiplatform_v1beta1_batch_create_tensorboard_time_series_request_object
17413
+ # @param [String] fields
17414
+ # Selector specifying which fields to include in a partial response.
17415
+ # @param [String] quota_user
17416
+ # Available to use for quota purposes for server-side applications. Can be any
17417
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
17418
+ # @param [Google::Apis::RequestOptions] options
17419
+ # Request-specific options
17420
+ #
17421
+ # @yield [result, err] Result & error if block supplied
17422
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BatchCreateTensorboardTimeSeriesResponse] parsed result object
17423
+ # @yieldparam err [StandardError] error object if request failed
17424
+ #
17425
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BatchCreateTensorboardTimeSeriesResponse]
17426
+ #
17427
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
17428
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
17429
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
17430
+ def batch_project_location_tensorboard_experiment_create(parent, google_cloud_aiplatform_v1beta1_batch_create_tensorboard_time_series_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
17431
+ command = make_simple_command(:post, 'v1beta1/{+parent}:batchCreate', options)
17432
+ command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BatchCreateTensorboardTimeSeriesRequest::Representation
17433
+ command.request_object = google_cloud_aiplatform_v1beta1_batch_create_tensorboard_time_series_request_object
17434
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BatchCreateTensorboardTimeSeriesResponse::Representation
17435
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BatchCreateTensorboardTimeSeriesResponse
17436
+ command.params['parent'] = parent unless parent.nil?
17437
+ command.query['fields'] = fields unless fields.nil?
17438
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
17439
+ execute_or_queue_command(command, &block)
17440
+ end
17441
+
17318
17442
  # Creates a TensorboardExperiment.
17319
17443
  # @param [String] parent
17320
17444
  # Required. The resource name of the Tensorboard to create the
@@ -18182,91 +18306,6 @@ module Google
18182
18306
  execute_or_queue_command(command, &block)
18183
18307
  end
18184
18308
 
18185
- # Batch create TensorboardTimeSeries that belong to a TensorboardExperiment.
18186
- # @param [String] parent
18187
- # Required. The resource name of the TensorboardExperiment to create the
18188
- # TensorboardTimeSeries in. Format: `projects/`project`/locations/`location`/
18189
- # tensorboards/`tensorboard`/experiments/`experiment`` The TensorboardRuns
18190
- # referenced by the parent fields in the CreateTensorboardTimeSeriesRequest
18191
- # messages must be sub resources of this TensorboardExperiment.
18192
- # @param [String] runs_id
18193
- # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BatchCreateTensorboardTimeSeriesRequest] google_cloud_aiplatform_v1beta1_batch_create_tensorboard_time_series_request_object
18194
- # @param [String] fields
18195
- # Selector specifying which fields to include in a partial response.
18196
- # @param [String] quota_user
18197
- # Available to use for quota purposes for server-side applications. Can be any
18198
- # arbitrary string assigned to a user, but should not exceed 40 characters.
18199
- # @param [Google::Apis::RequestOptions] options
18200
- # Request-specific options
18201
- #
18202
- # @yield [result, err] Result & error if block supplied
18203
- # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BatchCreateTensorboardTimeSeriesResponse] parsed result object
18204
- # @yieldparam err [StandardError] error object if request failed
18205
- #
18206
- # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BatchCreateTensorboardTimeSeriesResponse]
18207
- #
18208
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
18209
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
18210
- # @raise [Google::Apis::AuthorizationError] Authorization is required
18211
- def batch_project_location_tensorboard_experiment_run_time_series_create(parent, runs_id, google_cloud_aiplatform_v1beta1_batch_create_tensorboard_time_series_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
18212
- command = make_simple_command(:post, 'v1beta1/{+parent}/runs/{runsId}/timeSeries:batchCreate', options)
18213
- command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BatchCreateTensorboardTimeSeriesRequest::Representation
18214
- command.request_object = google_cloud_aiplatform_v1beta1_batch_create_tensorboard_time_series_request_object
18215
- command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BatchCreateTensorboardTimeSeriesResponse::Representation
18216
- command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BatchCreateTensorboardTimeSeriesResponse
18217
- command.params['parent'] = parent unless parent.nil?
18218
- command.params['runsId'] = runs_id unless runs_id.nil?
18219
- command.query['fields'] = fields unless fields.nil?
18220
- command.query['quotaUser'] = quota_user unless quota_user.nil?
18221
- execute_or_queue_command(command, &block)
18222
- end
18223
-
18224
- # Reads multiple TensorboardTimeSeries' data. The data point number limit is
18225
- # 1000 for scalars, 100 for tensors and blob references. If the number of data
18226
- # points stored is less than the limit, all data is returned. Otherwise, the
18227
- # number limit of data points is randomly selected from this time series and
18228
- # returned.
18229
- # @param [String] tensorboard
18230
- # Required. The resource name of the Tensorboard containing
18231
- # TensorboardTimeSeries to read data from. Format: `projects/`project`/locations/
18232
- # `location`/tensorboards/`tensorboard``. The TensorboardTimeSeries referenced
18233
- # by time_series must be sub resources of this Tensorboard.
18234
- # @param [String] experiments_id
18235
- # @param [String] runs_id
18236
- # @param [Array<String>, String] time_series
18237
- # Required. The resource names of the TensorboardTimeSeries to read data from.
18238
- # Format: `projects/`project`/locations/`location`/tensorboards/`tensorboard`/
18239
- # experiments/`experiment`/runs/`run`/timeSeries/`time_series``
18240
- # @param [String] fields
18241
- # Selector specifying which fields to include in a partial response.
18242
- # @param [String] quota_user
18243
- # Available to use for quota purposes for server-side applications. Can be any
18244
- # arbitrary string assigned to a user, but should not exceed 40 characters.
18245
- # @param [Google::Apis::RequestOptions] options
18246
- # Request-specific options
18247
- #
18248
- # @yield [result, err] Result & error if block supplied
18249
- # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BatchReadTensorboardTimeSeriesDataResponse] parsed result object
18250
- # @yieldparam err [StandardError] error object if request failed
18251
- #
18252
- # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BatchReadTensorboardTimeSeriesDataResponse]
18253
- #
18254
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
18255
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
18256
- # @raise [Google::Apis::AuthorizationError] Authorization is required
18257
- def batch_project_location_tensorboard_experiment_run_time_series_read(tensorboard, experiments_id, runs_id, time_series: nil, fields: nil, quota_user: nil, options: nil, &block)
18258
- command = make_simple_command(:get, 'v1beta1/{+tensorboard}/experiments/{experimentsId}/runs/{runsId}/timeSeries:batchRead', options)
18259
- command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BatchReadTensorboardTimeSeriesDataResponse::Representation
18260
- command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BatchReadTensorboardTimeSeriesDataResponse
18261
- command.params['tensorboard'] = tensorboard unless tensorboard.nil?
18262
- command.params['experimentsId'] = experiments_id unless experiments_id.nil?
18263
- command.params['runsId'] = runs_id unless runs_id.nil?
18264
- command.query['timeSeries'] = time_series unless time_series.nil?
18265
- command.query['fields'] = fields unless fields.nil?
18266
- command.query['quotaUser'] = quota_user unless quota_user.nil?
18267
- execute_or_queue_command(command, &block)
18268
- end
18269
-
18270
18309
  # Creates a TensorboardTimeSeries.
18271
18310
  # @param [String] parent
18272
18311
  # Required. The resource name of the TensorboardRun to create the
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-aiplatform_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.14.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-12-10 00:00:00.000000000 Z
11
+ date: 2023-12-24 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_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1beta1/v0.12.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1beta1/v0.14.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []