Reference documentation and code samples for the Google Cloud Apigee Registry V1 Client class CreateArtifactRequest.
Request message for CreateArtifact.
Generated from protobuf message google.cloud.apigeeregistry.v1.CreateArtifactRequest
Namespace
Google \ Cloud \ ApigeeRegistry \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The parent, which owns this collection of artifacts. Format: {parent}
↳ artifact
↳ artifact_id
string
Required. The ID to use for the artifact, which will become the final component of the artifact's resource name. This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/. Following AIP-162, IDs must not have the form of a UUID.
getParent
Required. The parent, which owns this collection of artifacts.
Format: {parent}
string
setParent
Required. The parent, which owns this collection of artifacts.
Format: {parent}
var
string
$this
getArtifact
Required. The artifact to create.
hasArtifact
clearArtifact
setArtifact
Required. The artifact to create.
$this
getArtifactId
Required. The ID to use for the artifact, which will become the final component of the artifact's resource name.
This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/. Following AIP-162, IDs must not have the form of a UUID.
string
setArtifactId
Required. The ID to use for the artifact, which will become the final component of the artifact's resource name.
This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/. Following AIP-162, IDs must not have the form of a UUID.
var
string
$this
static::build
parent
string
Required. The parent, which owns this collection of artifacts.
Format: {parent}
Please see RegistryClient::locationName()
for help formatting this field.
artifact
artifactId
string
Required. The ID to use for the artifact, which will become the final component of the artifact's resource name.
This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/.
Following AIP-162, IDs must not have the form of a UUID.