Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class UpdateApplicationInstance.
Generated from protobuf message google.cloud.visionai.v1.UpdateApplicationInstancesRequest.UpdateApplicationInstance
Namespace
Google \ Cloud \ VisionAI \ V1 \ UpdateApplicationInstancesRequestMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ update_mask |
Google\Protobuf\FieldMask
Optional. Field mask is used to specify the fields to be overwritten in the Draft resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. |
↳ instance |
Google\Cloud\VisionAI\V1\Instance
Required. The resource being updated. |
↳ instance_id |
string
Required. The id of the instance. |
getUpdateMask
Optional. Field mask is used to specify the fields to be overwritten in the Draft resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\FieldMask|null |
|
hasUpdateMask
clearUpdateMask
setUpdateMask
Optional. Field mask is used to specify the fields to be overwritten in the Draft resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\FieldMask
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getInstance
Required. The resource being updated.
| Returns | |
|---|---|
| Type | Description |
Google\Cloud\VisionAI\V1\Instance|null |
|
hasInstance
clearInstance
setInstance
Required. The resource being updated.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Cloud\VisionAI\V1\Instance
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getInstanceId
Required. The id of the instance.
| Returns | |
|---|---|
| Type | Description |
string |
|
setInstanceId
Required. The id of the instance.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|