Interface ExecuteOntapPatchRequestOrBuilder (0.70.0)

public interface ExecuteOntapPatchRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBody()

public abstract Struct getBody()

Required. The raw JSON body of the request. The body should be in the format of the ONTAP resource. For example: <code><code> { "body": { "field1": "value1", "field2": "value2", } } </code></code>

.google.protobuf.Struct body = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Struct

The body.

getBodyOrBuilder()

public abstract StructOrBuilder getBodyOrBuilder()

Required. The raw JSON body of the request. The body should be in the format of the ONTAP resource. For example: <code><code> { "body": { "field1": "value1", "field2": "value2", } } </code></code>

.google.protobuf.Struct body = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
StructOrBuilder

getOntapPath()

public abstract String getOntapPath()

Required. The resource path of the ONTAP resource. Format: projects/{project_number}/locations/{location_id}/storagePools/{storage_pool_id}/ontap/{ontap_resource_path}. For example: projects/123456789/locations/us-central1/storagePools/my-storage-pool/ontap/api/storage/volumes.

string ontap_path = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The ontapPath.

getOntapPathBytes()

public abstract ByteString getOntapPathBytes()

Required. The resource path of the ONTAP resource. Format: projects/{project_number}/locations/{location_id}/storagePools/{storage_pool_id}/ontap/{ontap_resource_path}. For example: projects/123456789/locations/us-central1/storagePools/my-storage-pool/ontap/api/storage/volumes.

string ontap_path = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for ontapPath.

hasBody()

public abstract boolean hasBody()

Required. The raw JSON body of the request. The body should be in the format of the ONTAP resource. For example: <code><code> { "body": { "field1": "value1", "field2": "value2", } } </code></code>

.google.protobuf.Struct body = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the body field is set.