Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class UpdateContextRequest.
Request message for MetadataService.UpdateContext.
Generated from protobuf message google.cloud.aiplatform.v1.UpdateContextRequest
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ context |
Google\Cloud\AIPlatform\V1\Context
Required. The Context containing updates. The Context's Context.name field is used to identify the Context to be updated. Format: |
↳ update_mask |
Google\Protobuf\FieldMask
Optional. A FieldMask indicating which fields should be updated. Functionality of this field is not yet supported. |
↳ allow_missing |
bool
If set to true, and the Context is not found, a new Context is created. |
getContext
Required. The Context containing updates.
The Context's Context.name field is used to identify the Context to be
updated.
Format:
projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}
Generated from protobuf field .google.cloud.aiplatform.v1.Context context = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Google\Cloud\AIPlatform\V1\Context|null |
hasContext
clearContext
setContext
Required. The Context containing updates.
The Context's Context.name field is used to identify the Context to be
updated.
Format:
projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}
Generated from protobuf field .google.cloud.aiplatform.v1.Context context = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\AIPlatform\V1\Context
|
Returns | |
---|---|
Type | Description |
$this |
getUpdateMask
Optional. A FieldMask indicating which fields should be updated.
Functionality of this field is not yet supported.
Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Google\Protobuf\FieldMask|null |
hasUpdateMask
clearUpdateMask
setUpdateMask
Optional. A FieldMask indicating which fields should be updated.
Functionality of this field is not yet supported.
Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\FieldMask
|
Returns | |
---|---|
Type | Description |
$this |
getAllowMissing
If set to true, and the Context is not found, a new Context is created.
Generated from protobuf field bool allow_missing = 3;
Returns | |
---|---|
Type | Description |
bool |
setAllowMissing
If set to true, and the Context is not found, a new Context is created.
Generated from protobuf field bool allow_missing = 3;
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |