Google Cloud Apigee Registry V1 Client - Class ReplaceArtifactRequest (0.5.5)

Reference documentation and code samples for the Google Cloud Apigee Registry V1 Client class ReplaceArtifactRequest.

Request message for ReplaceArtifact.

Generated from protobuf message google.cloud.apigeeregistry.v1.ReplaceArtifactRequest

Namespace

Google \ Cloud \ ApigeeRegistry \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ artifact Google\Cloud\ApigeeRegistry\V1\Artifact

Required. The artifact to replace. The name field is used to identify the artifact to replace. Format: {parent}/artifacts/*

getArtifact

Required. The artifact to replace.

The name field is used to identify the artifact to replace. Format: {parent}/artifacts/*

Returns
Type Description
Google\Cloud\ApigeeRegistry\V1\Artifact|null

hasArtifact

clearArtifact

setArtifact

Required. The artifact to replace.

The name field is used to identify the artifact to replace. Format: {parent}/artifacts/*

Parameter
Name Description
var Google\Cloud\ApigeeRegistry\V1\Artifact
Returns
Type Description
$this

static::build

Parameter
Name Description
artifact Google\Cloud\ApigeeRegistry\V1\Artifact

Required. The artifact to replace.

The name field is used to identify the artifact to replace. Format: {parent}/artifacts/*

Returns
Type Description
Google\Cloud\ApigeeRegistry\V1\ReplaceArtifactRequest