Reference documentation and code samples for the Google Cloud Apigee Registry V1 Client class UpdateApiSpecRequest.
Request message for UpdateApiSpec.
Generated from protobuf message google.cloud.apigeeregistry.v1.UpdateApiSpecRequest
Namespace
Google \ Cloud \ ApigeeRegistry \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ api_spec
Google\Cloud\ApigeeRegistry\V1\ApiSpec
Required. The spec to update. The name
field is used to identify the spec to update. Format: projects/*/locations/*/apis/*/versions/*/specs/*
↳ update_mask
Google\Protobuf\FieldMask
The list of fields to be updated. If omitted, all fields are updated that are set in the request message (fields set to default values are ignored). If an asterisk "*" is specified, all fields are updated, including fields that are unspecified/default in the request.
↳ allow_missing
bool
If set to true, and the spec is not found, a new spec will be created. In this situation, update_mask
is ignored.
getApiSpec
Required. The spec to update.
The name
field is used to identify the spec to update.
Format: projects/*/locations/*/apis/*/versions/*/specs/*
hasApiSpec
clearApiSpec
setApiSpec
Required. The spec to update.
The name
field is used to identify the spec to update.
Format: projects/*/locations/*/apis/*/versions/*/specs/*
$this
getUpdateMask
The list of fields to be updated. If omitted, all fields are updated that are set in the request message (fields set to default values are ignored).
If an asterisk "*" is specified, all fields are updated, including fields that are unspecified/default in the request.
hasUpdateMask
clearUpdateMask
setUpdateMask
The list of fields to be updated. If omitted, all fields are updated that are set in the request message (fields set to default values are ignored).
If an asterisk "*" is specified, all fields are updated, including fields that are unspecified/default in the request.
$this
getAllowMissing
If set to true, and the spec is not found, a new spec will be created.
In this situation, update_mask
is ignored.
bool
setAllowMissing
If set to true, and the spec is not found, a new spec will be created.
In this situation, update_mask
is ignored.
var
bool
$this
static::build
apiSpec
Google\Cloud\ApigeeRegistry\V1\ApiSpec
Required. The spec to update.
The name
field is used to identify the spec to update.
Format: projects/*/locations/*/apis/*/versions/*/specs/*
updateMask
Google\Protobuf\FieldMask
The list of fields to be updated. If omitted, all fields are updated that are set in the request message (fields set to default values are ignored). If an asterisk "*" is specified, all fields are updated, including fields that are unspecified/default in the request.