google-apis-aiplatform_v1beta1 0.1.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4412,6 +4412,298 @@ module Google
4412
4412
  execute_or_queue_command(command, &block)
4413
4413
  end
4414
4414
 
4415
+ # Deletes a long-running operation. This method indicates that the client is no
4416
+ # longer interested in the operation result. It does not cancel the operation.
4417
+ # If the server doesn't support this method, it returns `google.rpc.Code.
4418
+ # UNIMPLEMENTED`.
4419
+ # @param [String] name
4420
+ # The name of the operation resource to be deleted.
4421
+ # @param [String] fields
4422
+ # Selector specifying which fields to include in a partial response.
4423
+ # @param [String] quota_user
4424
+ # Available to use for quota purposes for server-side applications. Can be any
4425
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4426
+ # @param [Google::Apis::RequestOptions] options
4427
+ # Request-specific options
4428
+ #
4429
+ # @yield [result, err] Result & error if block supplied
4430
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty] parsed result object
4431
+ # @yieldparam err [StandardError] error object if request failed
4432
+ #
4433
+ # @return [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty]
4434
+ #
4435
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4436
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4437
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4438
+ def delete_project_location_feature_group_feature_operation(name, fields: nil, quota_user: nil, options: nil, &block)
4439
+ command = make_simple_command(:delete, 'v1beta1/{+name}', options)
4440
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty::Representation
4441
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty
4442
+ command.params['name'] = name unless name.nil?
4443
+ command.query['fields'] = fields unless fields.nil?
4444
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4445
+ execute_or_queue_command(command, &block)
4446
+ end
4447
+
4448
+ # Gets the latest state of a long-running operation. Clients can use this method
4449
+ # to poll the operation result at intervals as recommended by the API service.
4450
+ # @param [String] name
4451
+ # The name of the operation resource.
4452
+ # @param [String] fields
4453
+ # Selector specifying which fields to include in a partial response.
4454
+ # @param [String] quota_user
4455
+ # Available to use for quota purposes for server-side applications. Can be any
4456
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4457
+ # @param [Google::Apis::RequestOptions] options
4458
+ # Request-specific options
4459
+ #
4460
+ # @yield [result, err] Result & error if block supplied
4461
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
4462
+ # @yieldparam err [StandardError] error object if request failed
4463
+ #
4464
+ # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
4465
+ #
4466
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4467
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4468
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4469
+ def get_project_location_feature_group_feature_operation(name, fields: nil, quota_user: nil, options: nil, &block)
4470
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
4471
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
4472
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
4473
+ command.params['name'] = name unless name.nil?
4474
+ command.query['fields'] = fields unless fields.nil?
4475
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4476
+ execute_or_queue_command(command, &block)
4477
+ end
4478
+
4479
+ # Lists operations that match the specified filter in the request. If the server
4480
+ # doesn't support this method, it returns `UNIMPLEMENTED`.
4481
+ # @param [String] name
4482
+ # The name of the operation's parent resource.
4483
+ # @param [String] filter
4484
+ # The standard list filter.
4485
+ # @param [Fixnum] page_size
4486
+ # The standard list page size.
4487
+ # @param [String] page_token
4488
+ # The standard list page token.
4489
+ # @param [String] fields
4490
+ # Selector specifying which fields to include in a partial response.
4491
+ # @param [String] quota_user
4492
+ # Available to use for quota purposes for server-side applications. Can be any
4493
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4494
+ # @param [Google::Apis::RequestOptions] options
4495
+ # Request-specific options
4496
+ #
4497
+ # @yield [result, err] Result & error if block supplied
4498
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse] parsed result object
4499
+ # @yieldparam err [StandardError] error object if request failed
4500
+ #
4501
+ # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse]
4502
+ #
4503
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4504
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4505
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4506
+ def list_project_location_feature_group_feature_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
4507
+ command = make_simple_command(:get, 'v1beta1/{+name}/operations', options)
4508
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse::Representation
4509
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse
4510
+ command.params['name'] = name unless name.nil?
4511
+ command.query['filter'] = filter unless filter.nil?
4512
+ command.query['pageSize'] = page_size unless page_size.nil?
4513
+ command.query['pageToken'] = page_token unless page_token.nil?
4514
+ command.query['fields'] = fields unless fields.nil?
4515
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4516
+ execute_or_queue_command(command, &block)
4517
+ end
4518
+
4519
+ # Waits until the specified long-running operation is done or reaches at most a
4520
+ # specified timeout, returning the latest state. If the operation is already
4521
+ # done, the latest state is immediately returned. If the timeout specified is
4522
+ # greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If
4523
+ # the server does not support this method, it returns `google.rpc.Code.
4524
+ # UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return
4525
+ # the latest state before the specified timeout (including immediately), meaning
4526
+ # even an immediate response is no guarantee that the operation is done.
4527
+ # @param [String] name
4528
+ # The name of the operation resource to wait on.
4529
+ # @param [String] timeout
4530
+ # The maximum duration to wait before timing out. If left blank, the wait will
4531
+ # be at most the time permitted by the underlying HTTP/RPC protocol. If RPC
4532
+ # context deadline is also specified, the shorter one will be used.
4533
+ # @param [String] fields
4534
+ # Selector specifying which fields to include in a partial response.
4535
+ # @param [String] quota_user
4536
+ # Available to use for quota purposes for server-side applications. Can be any
4537
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4538
+ # @param [Google::Apis::RequestOptions] options
4539
+ # Request-specific options
4540
+ #
4541
+ # @yield [result, err] Result & error if block supplied
4542
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
4543
+ # @yieldparam err [StandardError] error object if request failed
4544
+ #
4545
+ # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
4546
+ #
4547
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4548
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4549
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4550
+ def wait_project_location_feature_group_feature_operation(name, timeout: nil, fields: nil, quota_user: nil, options: nil, &block)
4551
+ command = make_simple_command(:post, 'v1beta1/{+name}:wait', options)
4552
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
4553
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
4554
+ command.params['name'] = name unless name.nil?
4555
+ command.query['timeout'] = timeout unless timeout.nil?
4556
+ command.query['fields'] = fields unless fields.nil?
4557
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4558
+ execute_or_queue_command(command, &block)
4559
+ end
4560
+
4561
+ # Deletes a long-running operation. This method indicates that the client is no
4562
+ # longer interested in the operation result. It does not cancel the operation.
4563
+ # If the server doesn't support this method, it returns `google.rpc.Code.
4564
+ # UNIMPLEMENTED`.
4565
+ # @param [String] name
4566
+ # The name of the operation resource to be deleted.
4567
+ # @param [String] fields
4568
+ # Selector specifying which fields to include in a partial response.
4569
+ # @param [String] quota_user
4570
+ # Available to use for quota purposes for server-side applications. Can be any
4571
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4572
+ # @param [Google::Apis::RequestOptions] options
4573
+ # Request-specific options
4574
+ #
4575
+ # @yield [result, err] Result & error if block supplied
4576
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty] parsed result object
4577
+ # @yieldparam err [StandardError] error object if request failed
4578
+ #
4579
+ # @return [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty]
4580
+ #
4581
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4582
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4583
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4584
+ def delete_project_location_feature_group_operation(name, fields: nil, quota_user: nil, options: nil, &block)
4585
+ command = make_simple_command(:delete, 'v1beta1/{+name}', options)
4586
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty::Representation
4587
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty
4588
+ command.params['name'] = name unless name.nil?
4589
+ command.query['fields'] = fields unless fields.nil?
4590
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4591
+ execute_or_queue_command(command, &block)
4592
+ end
4593
+
4594
+ # Gets the latest state of a long-running operation. Clients can use this method
4595
+ # to poll the operation result at intervals as recommended by the API service.
4596
+ # @param [String] name
4597
+ # The name of the operation resource.
4598
+ # @param [String] fields
4599
+ # Selector specifying which fields to include in a partial response.
4600
+ # @param [String] quota_user
4601
+ # Available to use for quota purposes for server-side applications. Can be any
4602
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4603
+ # @param [Google::Apis::RequestOptions] options
4604
+ # Request-specific options
4605
+ #
4606
+ # @yield [result, err] Result & error if block supplied
4607
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
4608
+ # @yieldparam err [StandardError] error object if request failed
4609
+ #
4610
+ # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
4611
+ #
4612
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4613
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4614
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4615
+ def get_project_location_feature_group_operation(name, fields: nil, quota_user: nil, options: nil, &block)
4616
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
4617
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
4618
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
4619
+ command.params['name'] = name unless name.nil?
4620
+ command.query['fields'] = fields unless fields.nil?
4621
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4622
+ execute_or_queue_command(command, &block)
4623
+ end
4624
+
4625
+ # Lists operations that match the specified filter in the request. If the server
4626
+ # doesn't support this method, it returns `UNIMPLEMENTED`.
4627
+ # @param [String] name
4628
+ # The name of the operation's parent resource.
4629
+ # @param [String] filter
4630
+ # The standard list filter.
4631
+ # @param [Fixnum] page_size
4632
+ # The standard list page size.
4633
+ # @param [String] page_token
4634
+ # The standard list page token.
4635
+ # @param [String] fields
4636
+ # Selector specifying which fields to include in a partial response.
4637
+ # @param [String] quota_user
4638
+ # Available to use for quota purposes for server-side applications. Can be any
4639
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4640
+ # @param [Google::Apis::RequestOptions] options
4641
+ # Request-specific options
4642
+ #
4643
+ # @yield [result, err] Result & error if block supplied
4644
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse] parsed result object
4645
+ # @yieldparam err [StandardError] error object if request failed
4646
+ #
4647
+ # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse]
4648
+ #
4649
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4650
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4651
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4652
+ def list_project_location_feature_group_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
4653
+ command = make_simple_command(:get, 'v1beta1/{+name}/operations', options)
4654
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse::Representation
4655
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse
4656
+ command.params['name'] = name unless name.nil?
4657
+ command.query['filter'] = filter unless filter.nil?
4658
+ command.query['pageSize'] = page_size unless page_size.nil?
4659
+ command.query['pageToken'] = page_token unless page_token.nil?
4660
+ command.query['fields'] = fields unless fields.nil?
4661
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4662
+ execute_or_queue_command(command, &block)
4663
+ end
4664
+
4665
+ # Waits until the specified long-running operation is done or reaches at most a
4666
+ # specified timeout, returning the latest state. If the operation is already
4667
+ # done, the latest state is immediately returned. If the timeout specified is
4668
+ # greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If
4669
+ # the server does not support this method, it returns `google.rpc.Code.
4670
+ # UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return
4671
+ # the latest state before the specified timeout (including immediately), meaning
4672
+ # even an immediate response is no guarantee that the operation is done.
4673
+ # @param [String] name
4674
+ # The name of the operation resource to wait on.
4675
+ # @param [String] timeout
4676
+ # The maximum duration to wait before timing out. If left blank, the wait will
4677
+ # be at most the time permitted by the underlying HTTP/RPC protocol. If RPC
4678
+ # context deadline is also specified, the shorter one will be used.
4679
+ # @param [String] fields
4680
+ # Selector specifying which fields to include in a partial response.
4681
+ # @param [String] quota_user
4682
+ # Available to use for quota purposes for server-side applications. Can be any
4683
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4684
+ # @param [Google::Apis::RequestOptions] options
4685
+ # Request-specific options
4686
+ #
4687
+ # @yield [result, err] Result & error if block supplied
4688
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
4689
+ # @yieldparam err [StandardError] error object if request failed
4690
+ #
4691
+ # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
4692
+ #
4693
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4694
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4695
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4696
+ def wait_project_location_feature_group_operation(name, timeout: nil, fields: nil, quota_user: nil, options: nil, &block)
4697
+ command = make_simple_command(:post, 'v1beta1/{+name}:wait', options)
4698
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
4699
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
4700
+ command.params['name'] = name unless name.nil?
4701
+ command.query['timeout'] = timeout unless timeout.nil?
4702
+ command.query['fields'] = fields unless fields.nil?
4703
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4704
+ execute_or_queue_command(command, &block)
4705
+ end
4706
+
4415
4707
  # Deletes a long-running operation. This method indicates that the client is no
4416
4708
  # longer interested in the operation result. It does not cancel the operation.
4417
4709
  # If the server doesn't support this method, it returns `google.rpc.Code.
@@ -5760,16 +6052,15 @@ module Google
5760
6052
 
5761
6053
  # Creates a new Feature in a given EntityType.
5762
6054
  # @param [String] parent
5763
- # Required. The resource name of the EntityType or FeatureGroup to create a
5764
- # Feature. Format: `projects/`project`/locations/`location`/featurestores/`
5765
- # featurestore`/entityTypes/`entity_type`` `projects/`project`/locations/`
5766
- # location`/featureGroups/`feature_group``
6055
+ # Required. The resource name of the EntityType to create a Feature. Format: `
6056
+ # projects/`project`/locations/`location`/featurestores/`featurestore`/
6057
+ # entityTypes/`entity_type``
5767
6058
  # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Feature] google_cloud_aiplatform_v1beta1_feature_object
5768
6059
  # @param [String] feature_id
5769
6060
  # Required. The ID to use for the Feature, which will become the final component
5770
6061
  # of the Feature's resource name. This value may be up to 128 characters, and
5771
6062
  # valid characters are `[a-z0-9_]`. The first character cannot be a number. The
5772
- # value must be unique within an EntityType/FeatureGroup.
6063
+ # value must be unique within an EntityType .
5773
6064
  # @param [String] fields
5774
6065
  # Selector specifying which fields to include in a partial response.
5775
6066
  # @param [String] quota_user
@@ -5804,8 +6095,7 @@ module Google
5804
6095
  # @param [String] name
5805
6096
  # Required. The name of the Features to be deleted. Format: `projects/`project`/
5806
6097
  # locations/`location`/featurestores/`featurestore`/entityTypes/`entity_type`/
5807
- # features/`feature`` `projects/`project`/locations/`location`/featureGroups/`
5808
- # feature_group`/features/`feature``
6098
+ # features/`feature``
5809
6099
  # @param [String] fields
5810
6100
  # Selector specifying which fields to include in a partial response.
5811
6101
  # @param [String] quota_user
@@ -5836,8 +6126,7 @@ module Google
5836
6126
  # Gets details of a single Feature.
5837
6127
  # @param [String] name
5838
6128
  # Required. The name of the Feature resource. Format: `projects/`project`/
5839
- # locations/`location`/featurestores/`featurestore`/entityTypes/`entity_type`` `
5840
- # projects/`project`/locations/`location`/featureGroups/`feature_group``
6129
+ # locations/`location`/featurestores/`featurestore`/entityTypes/`entity_type``
5841
6130
  # @param [String] fields
5842
6131
  # Selector specifying which fields to include in a partial response.
5843
6132
  # @param [String] quota_user
@@ -5869,8 +6158,7 @@ module Google
5869
6158
  # @param [String] parent
5870
6159
  # Required. The resource name of the Location to list Features. Format: `
5871
6160
  # projects/`project`/locations/`location`/featurestores/`featurestore`/
5872
- # entityTypes/`entity_type`` `projects/`project`/locations/`location`/
5873
- # featureGroups/`feature_group``
6161
+ # entityTypes/`entity_type``
5874
6162
  # @param [String] filter
5875
6163
  # Lists the Features that match the filter expression. The following filters are
5876
6164
  # supported: * `value_type`: Supports = and != comparisons. * `create_time`:
@@ -5890,7 +6178,8 @@ module Google
5890
6178
  # @param [String] order_by
5891
6179
  # A comma-separated list of fields to order by, sorted in ascending order. Use "
5892
6180
  # desc" after a field name for descending. Supported fields: * `feature_id` * `
5893
- # value_type` * `create_time` * `update_time`
6181
+ # value_type` (Not supported for FeatureRegistry Feature) * `create_time` * `
6182
+ # update_time`
5894
6183
  # @param [Fixnum] page_size
5895
6184
  # The maximum number of Features to return. The service may return fewer than
5896
6185
  # this value. If unspecified, at most 1000 Features will be returned. The
@@ -11517,6 +11806,76 @@ module Google
11517
11806
  execute_or_queue_command(command, &block)
11518
11807
  end
11519
11808
 
11809
+ # Internal only: Called from Compute Engine instance to obtain EUC for owner
11810
+ # Anonymous access: authenticates caller using VM identity JWT. Design doc: go/
11811
+ # colab-on-vertex-euc-dd
11812
+ # @param [String] name
11813
+ # Required. The name of the NotebookRuntime resource. Format: `projects/`project`
11814
+ # /locations/`location`/notebookRuntimes/`notebook_runtime``
11815
+ # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateAccessTokenRequest] google_cloud_aiplatform_v1beta1_generate_access_token_request_object
11816
+ # @param [String] fields
11817
+ # Selector specifying which fields to include in a partial response.
11818
+ # @param [String] quota_user
11819
+ # Available to use for quota purposes for server-side applications. Can be any
11820
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
11821
+ # @param [Google::Apis::RequestOptions] options
11822
+ # Request-specific options
11823
+ #
11824
+ # @yield [result, err] Result & error if block supplied
11825
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateAccessTokenResponse] parsed result object
11826
+ # @yieldparam err [StandardError] error object if request failed
11827
+ #
11828
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateAccessTokenResponse]
11829
+ #
11830
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
11831
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
11832
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
11833
+ def generate_project_location_notebook_execution_job_access_token(name, google_cloud_aiplatform_v1beta1_generate_access_token_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
11834
+ command = make_simple_command(:post, 'v1beta1/{+name}:generateAccessToken', options)
11835
+ command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateAccessTokenRequest::Representation
11836
+ command.request_object = google_cloud_aiplatform_v1beta1_generate_access_token_request_object
11837
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateAccessTokenResponse::Representation
11838
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateAccessTokenResponse
11839
+ command.params['name'] = name unless name.nil?
11840
+ command.query['fields'] = fields unless fields.nil?
11841
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
11842
+ execute_or_queue_command(command, &block)
11843
+ end
11844
+
11845
+ #
11846
+ # @param [String] name
11847
+ # Required. The name of the NotebookRuntime resource. Format: `projects/`project`
11848
+ # /locations/`location`/notebookRuntimes/`notebook_runtime``
11849
+ # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReportRuntimeEventRequest] google_cloud_aiplatform_v1beta1_report_runtime_event_request_object
11850
+ # @param [String] fields
11851
+ # Selector specifying which fields to include in a partial response.
11852
+ # @param [String] quota_user
11853
+ # Available to use for quota purposes for server-side applications. Can be any
11854
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
11855
+ # @param [Google::Apis::RequestOptions] options
11856
+ # Request-specific options
11857
+ #
11858
+ # @yield [result, err] Result & error if block supplied
11859
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReportRuntimeEventResponse] parsed result object
11860
+ # @yieldparam err [StandardError] error object if request failed
11861
+ #
11862
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReportRuntimeEventResponse]
11863
+ #
11864
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
11865
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
11866
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
11867
+ def report_project_location_notebook_execution_job_event(name, google_cloud_aiplatform_v1beta1_report_runtime_event_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
11868
+ command = make_simple_command(:post, 'v1beta1/{+name}:reportEvent', options)
11869
+ command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReportRuntimeEventRequest::Representation
11870
+ command.request_object = google_cloud_aiplatform_v1beta1_report_runtime_event_request_object
11871
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReportRuntimeEventResponse::Representation
11872
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReportRuntimeEventResponse
11873
+ command.params['name'] = name unless name.nil?
11874
+ command.query['fields'] = fields unless fields.nil?
11875
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
11876
+ execute_or_queue_command(command, &block)
11877
+ end
11878
+
11520
11879
  # Creates a NotebookRuntimeTemplate.
11521
11880
  # @param [String] parent
11522
11881
  # Required. The resource name of the Location to create the
@@ -12400,6 +12759,43 @@ module Google
12400
12759
  execute_or_queue_command(command, &block)
12401
12760
  end
12402
12761
 
12762
+ # Updates a PersistentResource.
12763
+ # @param [String] name
12764
+ # Immutable. Resource name of a PersistentResource.
12765
+ # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PersistentResource] google_cloud_aiplatform_v1beta1_persistent_resource_object
12766
+ # @param [String] update_mask
12767
+ # Required. Specify the fields to be overwritten in the PersistentResource by
12768
+ # the update method.
12769
+ # @param [String] fields
12770
+ # Selector specifying which fields to include in a partial response.
12771
+ # @param [String] quota_user
12772
+ # Available to use for quota purposes for server-side applications. Can be any
12773
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
12774
+ # @param [Google::Apis::RequestOptions] options
12775
+ # Request-specific options
12776
+ #
12777
+ # @yield [result, err] Result & error if block supplied
12778
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
12779
+ # @yieldparam err [StandardError] error object if request failed
12780
+ #
12781
+ # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
12782
+ #
12783
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
12784
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
12785
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
12786
+ def patch_project_location_persistent_resource(name, google_cloud_aiplatform_v1beta1_persistent_resource_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
12787
+ command = make_simple_command(:patch, 'v1beta1/{+name}', options)
12788
+ command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PersistentResource::Representation
12789
+ command.request_object = google_cloud_aiplatform_v1beta1_persistent_resource_object
12790
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
12791
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
12792
+ command.params['name'] = name unless name.nil?
12793
+ command.query['updateMask'] = update_mask unless update_mask.nil?
12794
+ command.query['fields'] = fields unless fields.nil?
12795
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
12796
+ execute_or_queue_command(command, &block)
12797
+ end
12798
+
12403
12799
  # Starts asynchronous cancellation on a long-running operation. The server makes
12404
12800
  # a best effort to cancel the operation, but success is not guaranteed. If the
12405
12801
  # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
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.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-08-13 00:00:00.000000000 Z
11
+ date: 2023-09-17 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.1.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1beta1/v0.3.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.4.2
78
+ rubygems_version: 3.4.19
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Vertex AI API V1beta1