Reference documentation and code samples for the Google Cloud Artifact Registry V1 Client class UpdatePackageRequest.
The request to update a package.
Generated from protobuf message google.devtools.artifactregistry.v1.UpdatePackageRequest
Namespace
Google \ Cloud \ ArtifactRegistry \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ package |
Package
The package that replaces the resource on the server. |
↳ update_mask |
Google\Protobuf\FieldMask
The update mask applies to the resource. For the |
getPackage
The package that replaces the resource on the server.
| Returns | |
|---|---|
| Type | Description |
Package|null |
|
hasPackage
clearPackage
setPackage
The package that replaces the resource on the server.
| Parameter | |
|---|---|
| Name | Description |
var |
Package
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getUpdateMask
The update mask applies to the resource. For the FieldMask definition,
see
https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\FieldMask|null |
|
hasUpdateMask
clearUpdateMask
setUpdateMask
The update mask applies to the resource. For the FieldMask definition,
see
https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\FieldMask
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameters | |
|---|---|
| Name | Description |
package |
Package
The package that replaces the resource on the server. |
updateMask |
Google\Protobuf\FieldMask
The update mask applies to the resource. For the |
| Returns | |
|---|---|
| Type | Description |
UpdatePackageRequest |
|