google-apis-aiplatform_v1beta1 0.35.0 → 0.37.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 +9 -0
- data/lib/google/apis/aiplatform_v1beta1/classes.rb +1069 -81
- data/lib/google/apis/aiplatform_v1beta1/gem_version.rb +3 -3
- data/lib/google/apis/aiplatform_v1beta1/representations.rb +435 -1
- data/lib/google/apis/aiplatform_v1beta1/service.rb +320 -6
- metadata +4 -7
@@ -206,7 +206,8 @@ module Google
|
|
206
206
|
|
207
207
|
# Updates a Dataset.
|
208
208
|
# @param [String] name
|
209
|
-
# Output only. Identifier. The resource name of the Dataset.
|
209
|
+
# Output only. Identifier. The resource name of the Dataset. Format: `projects/`
|
210
|
+
# project`/locations/`location`/datasets/`dataset``
|
210
211
|
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Dataset] google_cloud_aiplatform_v1beta1_dataset_object
|
211
212
|
# @param [String] update_mask
|
212
213
|
# Required. The update mask applies to the resource. For the `FieldMask`
|
@@ -392,7 +393,9 @@ module Google
|
|
392
393
|
|
393
394
|
# Updates a DatasetVersion.
|
394
395
|
# @param [String] name
|
395
|
-
# Output only. Identifier. The resource name of the DatasetVersion.
|
396
|
+
# Output only. Identifier. The resource name of the DatasetVersion. Format: `
|
397
|
+
# projects/`project`/locations/`location`/datasets/`dataset`/datasetVersions/`
|
398
|
+
# dataset_version``
|
396
399
|
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DatasetVersion] google_cloud_aiplatform_v1beta1_dataset_version_object
|
397
400
|
# @param [String] update_mask
|
398
401
|
# Required. The update mask applies to the resource. For the `FieldMask`
|
@@ -562,6 +565,40 @@ module Google
|
|
562
565
|
execute_or_queue_command(command, &block)
|
563
566
|
end
|
564
567
|
|
568
|
+
# Perform an online prediction.
|
569
|
+
# @param [String] endpoint
|
570
|
+
# Required. The name of the Endpoint requested to serve the prediction. Format: `
|
571
|
+
# projects/`project`/locations/`location`/endpoints/`endpoint``
|
572
|
+
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PredictRequest] google_cloud_aiplatform_v1beta1_predict_request_object
|
573
|
+
# @param [String] fields
|
574
|
+
# Selector specifying which fields to include in a partial response.
|
575
|
+
# @param [String] quota_user
|
576
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
577
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
578
|
+
# @param [Google::Apis::RequestOptions] options
|
579
|
+
# Request-specific options
|
580
|
+
#
|
581
|
+
# @yield [result, err] Result & error if block supplied
|
582
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PredictResponse] parsed result object
|
583
|
+
# @yieldparam err [StandardError] error object if request failed
|
584
|
+
#
|
585
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PredictResponse]
|
586
|
+
#
|
587
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
588
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
589
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
590
|
+
def predict_endpoint(endpoint, google_cloud_aiplatform_v1beta1_predict_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
591
|
+
command = make_simple_command(:post, 'v1beta1/{+endpoint}:predict', options)
|
592
|
+
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PredictRequest::Representation
|
593
|
+
command.request_object = google_cloud_aiplatform_v1beta1_predict_request_object
|
594
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PredictResponse::Representation
|
595
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PredictResponse
|
596
|
+
command.params['endpoint'] = endpoint unless endpoint.nil?
|
597
|
+
command.query['fields'] = fields unless fields.nil?
|
598
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
599
|
+
execute_or_queue_command(command, &block)
|
600
|
+
end
|
601
|
+
|
565
602
|
# Generate content with multimodal inputs with streaming support.
|
566
603
|
# @param [String] model
|
567
604
|
# Required. The fully qualified name of the publisher model or tuned model
|
@@ -813,6 +850,40 @@ module Google
|
|
813
850
|
execute_or_queue_command(command, &block)
|
814
851
|
end
|
815
852
|
|
853
|
+
# Evaluates a dataset based on a set of given metrics.
|
854
|
+
# @param [String] location
|
855
|
+
# Required. The resource name of the Location to evaluate the dataset. Format: `
|
856
|
+
# projects/`project`/locations/`location``
|
857
|
+
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluateDatasetRequest] google_cloud_aiplatform_v1beta1_evaluate_dataset_request_object
|
858
|
+
# @param [String] fields
|
859
|
+
# Selector specifying which fields to include in a partial response.
|
860
|
+
# @param [String] quota_user
|
861
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
862
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
863
|
+
# @param [Google::Apis::RequestOptions] options
|
864
|
+
# Request-specific options
|
865
|
+
#
|
866
|
+
# @yield [result, err] Result & error if block supplied
|
867
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
|
868
|
+
# @yieldparam err [StandardError] error object if request failed
|
869
|
+
#
|
870
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
|
871
|
+
#
|
872
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
873
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
874
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
875
|
+
def evaluate_project_location_dataset(location, google_cloud_aiplatform_v1beta1_evaluate_dataset_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
876
|
+
command = make_simple_command(:post, 'v1beta1/{+location}:evaluateDataset', options)
|
877
|
+
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluateDatasetRequest::Representation
|
878
|
+
command.request_object = google_cloud_aiplatform_v1beta1_evaluate_dataset_request_object
|
879
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
880
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
881
|
+
command.params['location'] = location unless location.nil?
|
882
|
+
command.query['fields'] = fields unless fields.nil?
|
883
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
884
|
+
execute_or_queue_command(command, &block)
|
885
|
+
end
|
886
|
+
|
816
887
|
# Evaluates instances based on a given metric.
|
817
888
|
# @param [String] location
|
818
889
|
# Required. The resource name of the Location to evaluate the instances. Format:
|
@@ -2652,7 +2723,8 @@ module Google
|
|
2652
2723
|
|
2653
2724
|
# Updates a Dataset.
|
2654
2725
|
# @param [String] name
|
2655
|
-
# Output only. Identifier. The resource name of the Dataset.
|
2726
|
+
# Output only. Identifier. The resource name of the Dataset. Format: `projects/`
|
2727
|
+
# project`/locations/`location`/datasets/`dataset``
|
2656
2728
|
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Dataset] google_cloud_aiplatform_v1beta1_dataset_object
|
2657
2729
|
# @param [String] update_mask
|
2658
2730
|
# Required. The update mask applies to the resource. For the `FieldMask`
|
@@ -3610,7 +3682,9 @@ module Google
|
|
3610
3682
|
|
3611
3683
|
# Updates a DatasetVersion.
|
3612
3684
|
# @param [String] name
|
3613
|
-
# Output only. Identifier. The resource name of the DatasetVersion.
|
3685
|
+
# Output only. Identifier. The resource name of the DatasetVersion. Format: `
|
3686
|
+
# projects/`project`/locations/`location`/datasets/`dataset`/datasetVersions/`
|
3687
|
+
# dataset_version``
|
3614
3688
|
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DatasetVersion] google_cloud_aiplatform_v1beta1_dataset_version_object
|
3615
3689
|
# @param [String] update_mask
|
3616
3690
|
# Required. The update mask applies to the resource. For the `FieldMask`
|
@@ -6889,6 +6963,51 @@ module Google
|
|
6889
6963
|
execute_or_queue_command(command, &block)
|
6890
6964
|
end
|
6891
6965
|
|
6966
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
6967
|
+
# resource exists and does not have a policy set.
|
6968
|
+
# @param [String] resource
|
6969
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
6970
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
6971
|
+
# appropriate value for this field.
|
6972
|
+
# @param [Fixnum] options_requested_policy_version
|
6973
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
6974
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
6975
|
+
# rejected. Requests for policies with any conditional role bindings must
|
6976
|
+
# specify version 3. Policies with no conditional role bindings may specify any
|
6977
|
+
# valid value or leave the field unset. The policy in the response might use the
|
6978
|
+
# policy version that you specified, or it might use a lower policy version. For
|
6979
|
+
# example, if you specify version 3, but the policy has no conditional role
|
6980
|
+
# bindings, the response uses version 1. To learn which resources support
|
6981
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
6982
|
+
# google.com/iam/help/conditions/resource-policies).
|
6983
|
+
# @param [String] fields
|
6984
|
+
# Selector specifying which fields to include in a partial response.
|
6985
|
+
# @param [String] quota_user
|
6986
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
6987
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
6988
|
+
# @param [Google::Apis::RequestOptions] options
|
6989
|
+
# Request-specific options
|
6990
|
+
#
|
6991
|
+
# @yield [result, err] Result & error if block supplied
|
6992
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleIamV1Policy] parsed result object
|
6993
|
+
# @yieldparam err [StandardError] error object if request failed
|
6994
|
+
#
|
6995
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleIamV1Policy]
|
6996
|
+
#
|
6997
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
6998
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
6999
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
7000
|
+
def get_project_location_feature_group_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
7001
|
+
command = make_simple_command(:post, 'v1beta1/{+resource}:getIamPolicy', options)
|
7002
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleIamV1Policy::Representation
|
7003
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleIamV1Policy
|
7004
|
+
command.params['resource'] = resource unless resource.nil?
|
7005
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
7006
|
+
command.query['fields'] = fields unless fields.nil?
|
7007
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
7008
|
+
execute_or_queue_command(command, &block)
|
7009
|
+
end
|
7010
|
+
|
6892
7011
|
# Lists FeatureGroups in a given project and location.
|
6893
7012
|
# @param [String] parent
|
6894
7013
|
# Required. The resource name of the Location to list FeatureGroups. Format: `
|
@@ -6958,7 +7077,7 @@ module Google
|
|
6958
7077
|
# the mask. If the user does not provide a mask then only the non-empty fields
|
6959
7078
|
# present in the request will be overwritten. Set the update_mask to `*` to
|
6960
7079
|
# override all fields. Updatable fields: * `labels` * `description` * `big_query`
|
6961
|
-
# * `big_query.entity_id_columns`
|
7080
|
+
# * `big_query.entity_id_columns` * `service_agent_type`
|
6962
7081
|
# @param [String] fields
|
6963
7082
|
# Selector specifying which fields to include in a partial response.
|
6964
7083
|
# @param [String] quota_user
|
@@ -6989,6 +7108,84 @@ module Google
|
|
6989
7108
|
execute_or_queue_command(command, &block)
|
6990
7109
|
end
|
6991
7110
|
|
7111
|
+
# Sets the access control policy on the specified resource. Replaces any
|
7112
|
+
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
7113
|
+
# PERMISSION_DENIED` errors.
|
7114
|
+
# @param [String] resource
|
7115
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
7116
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
7117
|
+
# appropriate value for this field.
|
7118
|
+
# @param [Google::Apis::AiplatformV1beta1::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
|
7119
|
+
# @param [String] fields
|
7120
|
+
# Selector specifying which fields to include in a partial response.
|
7121
|
+
# @param [String] quota_user
|
7122
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
7123
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
7124
|
+
# @param [Google::Apis::RequestOptions] options
|
7125
|
+
# Request-specific options
|
7126
|
+
#
|
7127
|
+
# @yield [result, err] Result & error if block supplied
|
7128
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleIamV1Policy] parsed result object
|
7129
|
+
# @yieldparam err [StandardError] error object if request failed
|
7130
|
+
#
|
7131
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleIamV1Policy]
|
7132
|
+
#
|
7133
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
7134
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
7135
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
7136
|
+
def set_project_location_feature_group_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
7137
|
+
command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
|
7138
|
+
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleIamV1SetIamPolicyRequest::Representation
|
7139
|
+
command.request_object = google_iam_v1_set_iam_policy_request_object
|
7140
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleIamV1Policy::Representation
|
7141
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleIamV1Policy
|
7142
|
+
command.params['resource'] = resource unless resource.nil?
|
7143
|
+
command.query['fields'] = fields unless fields.nil?
|
7144
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
7145
|
+
execute_or_queue_command(command, &block)
|
7146
|
+
end
|
7147
|
+
|
7148
|
+
# Returns permissions that a caller has on the specified resource. If the
|
7149
|
+
# resource does not exist, this will return an empty set of permissions, not a `
|
7150
|
+
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
7151
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
7152
|
+
# This operation may "fail open" without warning.
|
7153
|
+
# @param [String] resource
|
7154
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
7155
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
7156
|
+
# appropriate value for this field.
|
7157
|
+
# @param [Array<String>, String] permissions
|
7158
|
+
# The set of permissions to check for the `resource`. Permissions with wildcards
|
7159
|
+
# (such as `*` or `storage.*`) are not allowed. For more information see [IAM
|
7160
|
+
# Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
7161
|
+
# @param [String] fields
|
7162
|
+
# Selector specifying which fields to include in a partial response.
|
7163
|
+
# @param [String] quota_user
|
7164
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
7165
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
7166
|
+
# @param [Google::Apis::RequestOptions] options
|
7167
|
+
# Request-specific options
|
7168
|
+
#
|
7169
|
+
# @yield [result, err] Result & error if block supplied
|
7170
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleIamV1TestIamPermissionsResponse] parsed result object
|
7171
|
+
# @yieldparam err [StandardError] error object if request failed
|
7172
|
+
#
|
7173
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleIamV1TestIamPermissionsResponse]
|
7174
|
+
#
|
7175
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
7176
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
7177
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
7178
|
+
def test_project_location_feature_group_iam_permissions(resource, permissions: nil, fields: nil, quota_user: nil, options: nil, &block)
|
7179
|
+
command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
|
7180
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleIamV1TestIamPermissionsResponse::Representation
|
7181
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleIamV1TestIamPermissionsResponse
|
7182
|
+
command.params['resource'] = resource unless resource.nil?
|
7183
|
+
command.query['permissions'] = permissions unless permissions.nil?
|
7184
|
+
command.query['fields'] = fields unless fields.nil?
|
7185
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
7186
|
+
execute_or_queue_command(command, &block)
|
7187
|
+
end
|
7188
|
+
|
6992
7189
|
# Creates a new FeatureMonitor in a given project, location and FeatureGroup.
|
6993
7190
|
# @param [String] parent
|
6994
7191
|
# Required. The resource name of FeatureGroup to create FeatureMonitor. Format: `
|
@@ -7149,6 +7346,49 @@ module Google
|
|
7149
7346
|
execute_or_queue_command(command, &block)
|
7150
7347
|
end
|
7151
7348
|
|
7349
|
+
# Updates the parameters of a single FeatureMonitor.
|
7350
|
+
# @param [String] name
|
7351
|
+
# Identifier. Name of the FeatureMonitor. Format: `projects/`project`/locations/`
|
7352
|
+
# location`/featureGroups/`featureGroup`/featureMonitors/`featureMonitor``
|
7353
|
+
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureMonitor] google_cloud_aiplatform_v1beta1_feature_monitor_object
|
7354
|
+
# @param [String] update_mask
|
7355
|
+
# Optional. Field mask is used to specify the fields to be overwritten in the
|
7356
|
+
# FeatureMonitor resource by the update. The fields specified in the update_mask
|
7357
|
+
# are relative to the resource, not the full request. A field will be
|
7358
|
+
# overwritten if it is in the mask. If the user does not provide a mask then
|
7359
|
+
# only the non-empty fields present in the request will be overwritten. Set the
|
7360
|
+
# update_mask to `*` to override all fields. Updatable fields: * `labels` * `
|
7361
|
+
# description` * `schedule_config` * `feature_selection_config`
|
7362
|
+
# @param [String] fields
|
7363
|
+
# Selector specifying which fields to include in a partial response.
|
7364
|
+
# @param [String] quota_user
|
7365
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
7366
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
7367
|
+
# @param [Google::Apis::RequestOptions] options
|
7368
|
+
# Request-specific options
|
7369
|
+
#
|
7370
|
+
# @yield [result, err] Result & error if block supplied
|
7371
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
|
7372
|
+
# @yieldparam err [StandardError] error object if request failed
|
7373
|
+
#
|
7374
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
|
7375
|
+
#
|
7376
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
7377
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
7378
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
7379
|
+
def patch_project_location_feature_group_feature_monitor(name, google_cloud_aiplatform_v1beta1_feature_monitor_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
7380
|
+
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
7381
|
+
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureMonitor::Representation
|
7382
|
+
command.request_object = google_cloud_aiplatform_v1beta1_feature_monitor_object
|
7383
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
7384
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
7385
|
+
command.params['name'] = name unless name.nil?
|
7386
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
7387
|
+
command.query['fields'] = fields unless fields.nil?
|
7388
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
7389
|
+
execute_or_queue_command(command, &block)
|
7390
|
+
end
|
7391
|
+
|
7152
7392
|
# Creates a new feature monitor job.
|
7153
7393
|
# @param [String] parent
|
7154
7394
|
# Required. The resource name of FeatureMonitor to create FeatureMonitorJob.
|
@@ -11475,7 +11715,6 @@ module Google
|
|
11475
11715
|
end
|
11476
11716
|
|
11477
11717
|
# Deploys an Index into this IndexEndpoint, creating a DeployedIndex within it.
|
11478
|
-
# Only non-empty Indexes can be deployed.
|
11479
11718
|
# @param [String] index_endpoint
|
11480
11719
|
# Required. The name of the IndexEndpoint resource into which to deploy an Index.
|
11481
11720
|
# Format: `projects/`project`/locations/`location`/indexEndpoints/`
|
@@ -16036,6 +16275,47 @@ module Google
|
|
16036
16275
|
execute_or_queue_command(command, &block)
|
16037
16276
|
end
|
16038
16277
|
|
16278
|
+
# Lists checkpoints of the specified model version.
|
16279
|
+
# @param [String] name
|
16280
|
+
# Required. The name of the model version to list checkpoints for. `projects/`
|
16281
|
+
# project`/locations/`location`/models/`model`@`version`` Example: `projects/`
|
16282
|
+
# project`/locations/`location`/models/`model`@2` or `projects/`project`/
|
16283
|
+
# locations/`location`/models/`model`@golden` If no version ID or alias is
|
16284
|
+
# specified, the latest version will be used.
|
16285
|
+
# @param [Fixnum] page_size
|
16286
|
+
# Optional. The standard list page size.
|
16287
|
+
# @param [String] page_token
|
16288
|
+
# Optional. The standard list page token. Typically obtained via next_page_token
|
16289
|
+
# of the previous ListModelVersionCheckpoints call.
|
16290
|
+
# @param [String] fields
|
16291
|
+
# Selector specifying which fields to include in a partial response.
|
16292
|
+
# @param [String] quota_user
|
16293
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
16294
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
16295
|
+
# @param [Google::Apis::RequestOptions] options
|
16296
|
+
# Request-specific options
|
16297
|
+
#
|
16298
|
+
# @yield [result, err] Result & error if block supplied
|
16299
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListModelVersionCheckpointsResponse] parsed result object
|
16300
|
+
# @yieldparam err [StandardError] error object if request failed
|
16301
|
+
#
|
16302
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListModelVersionCheckpointsResponse]
|
16303
|
+
#
|
16304
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
16305
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
16306
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
16307
|
+
def list_project_location_model_checkpoints(name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
16308
|
+
command = make_simple_command(:get, 'v1beta1/{+name}:listCheckpoints', options)
|
16309
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListModelVersionCheckpointsResponse::Representation
|
16310
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListModelVersionCheckpointsResponse
|
16311
|
+
command.params['name'] = name unless name.nil?
|
16312
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
16313
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
16314
|
+
command.query['fields'] = fields unless fields.nil?
|
16315
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
16316
|
+
execute_or_queue_command(command, &block)
|
16317
|
+
end
|
16318
|
+
|
16039
16319
|
# Lists versions of the specified model.
|
16040
16320
|
# @param [String] name
|
16041
16321
|
# Required. The name of the model to list versions for.
|
@@ -25631,6 +25911,40 @@ module Google
|
|
25631
25911
|
execute_or_queue_command(command, &block)
|
25632
25912
|
end
|
25633
25913
|
|
25914
|
+
# Perform an online prediction.
|
25915
|
+
# @param [String] endpoint
|
25916
|
+
# Required. The name of the Endpoint requested to serve the prediction. Format: `
|
25917
|
+
# projects/`project`/locations/`location`/endpoints/`endpoint``
|
25918
|
+
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PredictRequest] google_cloud_aiplatform_v1beta1_predict_request_object
|
25919
|
+
# @param [String] fields
|
25920
|
+
# Selector specifying which fields to include in a partial response.
|
25921
|
+
# @param [String] quota_user
|
25922
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
25923
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
25924
|
+
# @param [Google::Apis::RequestOptions] options
|
25925
|
+
# Request-specific options
|
25926
|
+
#
|
25927
|
+
# @yield [result, err] Result & error if block supplied
|
25928
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PredictResponse] parsed result object
|
25929
|
+
# @yieldparam err [StandardError] error object if request failed
|
25930
|
+
#
|
25931
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PredictResponse]
|
25932
|
+
#
|
25933
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
25934
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
25935
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
25936
|
+
def predict_publisher_model(endpoint, google_cloud_aiplatform_v1beta1_predict_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
25937
|
+
command = make_simple_command(:post, 'v1beta1/{+endpoint}:predict', options)
|
25938
|
+
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PredictRequest::Representation
|
25939
|
+
command.request_object = google_cloud_aiplatform_v1beta1_predict_request_object
|
25940
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PredictResponse::Representation
|
25941
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PredictResponse
|
25942
|
+
command.params['endpoint'] = endpoint unless endpoint.nil?
|
25943
|
+
command.query['fields'] = fields unless fields.nil?
|
25944
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
25945
|
+
execute_or_queue_command(command, &block)
|
25946
|
+
end
|
25947
|
+
|
25634
25948
|
# Generate content with multimodal inputs with streaming support.
|
25635
25949
|
# @param [String] model
|
25636
25950
|
# Required. The fully qualified name of the publisher model or tuned model
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-aiplatform_v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.37.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-03-02 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: google-apis-core
|
@@ -58,9 +57,8 @@ licenses:
|
|
58
57
|
metadata:
|
59
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
59
|
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.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1beta1/v0.37.0
|
62
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1beta1
|
63
|
-
post_install_message:
|
64
62
|
rdoc_options: []
|
65
63
|
require_paths:
|
66
64
|
- lib
|
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
73
|
- !ruby/object:Gem::Version
|
76
74
|
version: '0'
|
77
75
|
requirements: []
|
78
|
-
rubygems_version: 3.5
|
79
|
-
signing_key:
|
76
|
+
rubygems_version: 3.6.5
|
80
77
|
specification_version: 4
|
81
78
|
summary: Simple REST client for Vertex AI API V1beta1
|
82
79
|
test_files: []
|