Interface UpdateAccessPolicyRequestOrBuilder (1.67.0)

public interface UpdateAccessPolicyRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAccessPolicy()

public abstract AccessPolicy getAccessPolicy()

Required. The access policy to update.

The access policy's name field is used to identify the policy to update.

.google.iam.v3beta.AccessPolicy access_policy = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AccessPolicy

The accessPolicy.

getAccessPolicyOrBuilder()

public abstract AccessPolicyOrBuilder getAccessPolicyOrBuilder()

Required. The access policy to update.

The access policy's name field is used to identify the policy to update.

.google.iam.v3beta.AccessPolicy access_policy = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AccessPolicyOrBuilder

getValidateOnly()

public abstract boolean getValidateOnly()

Optional. If set, validate the request and preview the update, but do not actually post it.

bool validate_only = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The validateOnly.

hasAccessPolicy()

public abstract boolean hasAccessPolicy()

Required. The access policy to update.

The access policy's name field is used to identify the policy to update.

.google.iam.v3beta.AccessPolicy access_policy = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the accessPolicy field is set.