Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class CreateArtifactRequest.
Request message for MetadataService.CreateArtifact.
Generated from protobuf message google.cloud.aiplatform.v1.CreateArtifactRequest
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. The resource name of the MetadataStore where the Artifact should be created. Format: |
↳ artifact |
Google\Cloud\AIPlatform\V1\Artifact
Required. The Artifact to create. |
↳ artifact_id |
string
The {artifact} portion of the resource name with the format: |
getParent
Required. The resource name of the MetadataStore where the Artifact should be created.
Format:
projects/{project}/locations/{location}/metadataStores/{metadatastore}
Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
Returns | |
---|---|
Type | Description |
string |
setParent
Required. The resource name of the MetadataStore where the Artifact should be created.
Format:
projects/{project}/locations/{location}/metadataStores/{metadatastore}
Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getArtifact
Required. The Artifact to create.
Generated from protobuf field .google.cloud.aiplatform.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Google\Cloud\AIPlatform\V1\Artifact|null |
hasArtifact
clearArtifact
setArtifact
Required. The Artifact to create.
Generated from protobuf field .google.cloud.aiplatform.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\AIPlatform\V1\Artifact
|
Returns | |
---|---|
Type | Description |
$this |
getArtifactId
The {artifact} portion of the resource name with the format:
projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}
If not provided, the Artifact's ID will be a UUID generated by the service.
Must be 4-128 characters in length. Valid characters are /[a-z][0-9]-/
.
Must be unique across all Artifacts in the parent MetadataStore. (Otherwise
the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED if the
caller can't view the preexisting Artifact.)
Generated from protobuf field string artifact_id = 3;
Returns | |
---|---|
Type | Description |
string |
setArtifactId
The {artifact} portion of the resource name with the format:
projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}
If not provided, the Artifact's ID will be a UUID generated by the service.
Must be 4-128 characters in length. Valid characters are /[a-z][0-9]-/
.
Must be unique across all Artifacts in the parent MetadataStore. (Otherwise
the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED if the
caller can't view the preexisting Artifact.)
Generated from protobuf field string artifact_id = 3;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |