public sealed class MergeVersionAliasesRequest : IMessage<MergeVersionAliasesRequest>, IEquatable<MergeVersionAliasesRequest>, IDeepCloneable<MergeVersionAliasesRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud AI Platform v1beta1 API class MergeVersionAliasesRequest.
Request message for [ModelService.MergeVersionAliases][google.cloud.aiplatform.v1beta1.ModelService.MergeVersionAliases].
Implements
IMessageMergeVersionAliasesRequest, IEquatableMergeVersionAliasesRequest, IDeepCloneableMergeVersionAliasesRequest, IBufferMessage, IMessageNamespace
Google.Cloud.AIPlatform.V1Beta1Assembly
Google.Cloud.AIPlatform.V1Beta1.dll
Constructors
MergeVersionAliasesRequest()
public MergeVersionAliasesRequest()
MergeVersionAliasesRequest(MergeVersionAliasesRequest)
public MergeVersionAliasesRequest(MergeVersionAliasesRequest other)
Parameter | |
---|---|
Name | Description |
other |
MergeVersionAliasesRequest |
Properties
ModelName
public ModelName ModelName { get; set; }
Property Value | |
---|---|
Type | Description |
ModelName |
Name
public string Name { get; set; }
Required. The name of the model version to merge aliases, with a version ID explicitly included.
Example: projects/{project}/locations/{location}/models/{model}@1234
Property Value | |
---|---|
Type | Description |
string |
VersionAliases
public RepeatedField<string> VersionAliases { get; }
Required. The set of version aliases to merge.
The alias should be at most 128 characters, and match
[a-z][a-zA-Z0-9-]{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.
Property Value | |
---|---|
Type | Description |
RepeatedFieldstring |