Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MergeVersionAliasesRequest
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MergeVersionAliasesRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb
Overview
Request message for ModelService.MergeVersionAliases.
Instance Attribute Summary collapse
-
#version_aliases ⇒ Array<String>
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1MergeVersionAliasesRequest
constructor
A new instance of GoogleCloudAiplatformV1beta1MergeVersionAliasesRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1MergeVersionAliasesRequest
Returns a new instance of GoogleCloudAiplatformV1beta1MergeVersionAliasesRequest.
10886 10887 10888 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 10886 def initialize(**args) update!(**args) end |
Instance Attribute Details
#version_aliases ⇒ Array<String>
Required. The set of version aliases to merge. The alias should be at most 128
characters, and match a-z
0,126[a-z-0-9]
. Add the -
prefix to an alias
means removing that alias from the version. -
is NOT counted in the 128
characters. Example: -golden
means removing the golden
alias from the
version. There is NO ordering in aliases, which means 1) The aliases returned
from GetModel API might not have the exactly same order from this
MergeVersionAliases API. 2) Adding and deleting the same alias in the request
is not recommended, and the 2 operations will be cancelled out.
Corresponds to the JSON property versionAliases
10884 10885 10886 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 10884 def version_aliases @version_aliases end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10891 10892 10893 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 10891 def update!(**args) @version_aliases = args[:version_aliases] if args.key?(:version_aliases) end |