Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class DeleteContextRequest.
Request message for MetadataService.DeleteContext.
Generated from protobuf message google.cloud.aiplatform.v1.DeleteContextRequest
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Required. The resource name of the Context to delete. Format: |
↳ force |
bool
The force deletion semantics is still undefined. Users should not use this field. |
↳ etag |
string
Optional. The etag of the Context to delete. If this is provided, it must match the server's etag. Otherwise, the request will fail with a FAILED_PRECONDITION. |
getName
Required. The resource name of the Context to delete.
Format:
projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}
Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
Returns | |
---|---|
Type | Description |
string |
setName
Required. The resource name of the Context to delete.
Format:
projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}
Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getForce
The force deletion semantics is still undefined.
Users should not use this field.
Generated from protobuf field bool force = 2;
Returns | |
---|---|
Type | Description |
bool |
setForce
The force deletion semantics is still undefined.
Users should not use this field.
Generated from protobuf field bool force = 2;
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |
getEtag
Optional. The etag of the Context to delete.
If this is provided, it must match the server's etag. Otherwise, the request will fail with a FAILED_PRECONDITION.
Generated from protobuf field string etag = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
string |
setEtag
Optional. The etag of the Context to delete.
If this is provided, it must match the server's etag. Otherwise, the request will fail with a FAILED_PRECONDITION.
Generated from protobuf field string etag = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |