Interface CancelOperationRequestOrBuilder (2.50.0)

public interface CancelOperationRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getName()

public abstract String getName()

The name (project, location, operation id) of the operation to cancel. Specified in the format projects/*/locations/*/operations/*.

string name = 4;

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

The name (project, location, operation id) of the operation to cancel. Specified in the format projects/*/locations/*/operations/*.

string name = 4;

Returns
Type Description
ByteString

The bytes for name.

getOperationId() (deprecated)

public abstract String getOperationId()

Deprecated. google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=3718

Required. Deprecated. The server-assigned name of the operation. This field has been deprecated and replaced by the name field.

string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The operationId.

getOperationIdBytes() (deprecated)

public abstract ByteString getOperationIdBytes()

Deprecated. google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=3718

Required. Deprecated. The server-assigned name of the operation. This field has been deprecated and replaced by the name field.

string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for operationId.

getProjectId() (deprecated)

public abstract String getProjectId()

Deprecated. google.container.v1beta1.CancelOperationRequest.project_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=3707

Required. Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.

string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The projectId.

getProjectIdBytes() (deprecated)

public abstract ByteString getProjectIdBytes()

Deprecated. google.container.v1beta1.CancelOperationRequest.project_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=3707

Required. Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.

string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for projectId.

getZone() (deprecated)

public abstract String getZone()

Deprecated. google.container.v1beta1.CancelOperationRequest.zone is deprecated. See google/container/v1beta1/cluster_service.proto;l=3714

Required. Deprecated. The name of the Google Compute Engine zone in which the operation resides. This field has been deprecated and replaced by the name field.

string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The zone.

getZoneBytes() (deprecated)

public abstract ByteString getZoneBytes()

Deprecated. google.container.v1beta1.CancelOperationRequest.zone is deprecated. See google/container/v1beta1/cluster_service.proto;l=3714

Required. Deprecated. The name of the Google Compute Engine zone in which the operation resides. This field has been deprecated and replaced by the name field.

string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for zone.