Class AuthzPolicy.CustomProvider.Builder (0.94.0)

public static final class AuthzPolicy.CustomProvider.Builder extends GeneratedMessage.Builder<AuthzPolicy.CustomProvider.Builder> implements AuthzPolicy.CustomProviderOrBuilder

Allows delegating authorization decisions to Cloud IAP or to Service Extensions.

Protobuf type google.cloud.networksecurity.v1.AuthzPolicy.CustomProvider

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public AuthzPolicy.CustomProvider build()
Returns
Type Description
AuthzPolicy.CustomProvider

buildPartial()

public AuthzPolicy.CustomProvider buildPartial()
Returns
Type Description
AuthzPolicy.CustomProvider

clear()

public AuthzPolicy.CustomProvider.Builder clear()
Returns
Type Description
AuthzPolicy.CustomProvider.Builder
Overrides

clearAuthzExtension()

public AuthzPolicy.CustomProvider.Builder clearAuthzExtension()

Optional. Delegate authorization decision to user authored Service Extension. Only one of cloudIap or authzExtension can be specified.

.google.cloud.networksecurity.v1.AuthzPolicy.CustomProvider.AuthzExtension authz_extension = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AuthzPolicy.CustomProvider.Builder

clearCloudIap()

public AuthzPolicy.CustomProvider.Builder clearCloudIap()

Optional. Delegates authorization decisions to Cloud IAP. Applicable only for managed load balancers. Enabling Cloud IAP at the AuthzPolicy level is not compatible with Cloud IAP settings in the BackendService. Enabling IAP in both places will result in request failure. Ensure that IAP is enabled in either the AuthzPolicy or the BackendService but not in both places.

.google.cloud.networksecurity.v1.AuthzPolicy.CustomProvider.CloudIap cloud_iap = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AuthzPolicy.CustomProvider.Builder

getAuthzExtension()

public AuthzPolicy.CustomProvider.AuthzExtension getAuthzExtension()

Optional. Delegate authorization decision to user authored Service Extension. Only one of cloudIap or authzExtension can be specified.

.google.cloud.networksecurity.v1.AuthzPolicy.CustomProvider.AuthzExtension authz_extension = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AuthzPolicy.CustomProvider.AuthzExtension

The authzExtension.

getAuthzExtensionBuilder()

public AuthzPolicy.CustomProvider.AuthzExtension.Builder getAuthzExtensionBuilder()

Optional. Delegate authorization decision to user authored Service Extension. Only one of cloudIap or authzExtension can be specified.

.google.cloud.networksecurity.v1.AuthzPolicy.CustomProvider.AuthzExtension authz_extension = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AuthzPolicy.CustomProvider.AuthzExtension.Builder

getAuthzExtensionOrBuilder()

public AuthzPolicy.CustomProvider.AuthzExtensionOrBuilder getAuthzExtensionOrBuilder()

Optional. Delegate authorization decision to user authored Service Extension. Only one of cloudIap or authzExtension can be specified.

.google.cloud.networksecurity.v1.AuthzPolicy.CustomProvider.AuthzExtension authz_extension = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AuthzPolicy.CustomProvider.AuthzExtensionOrBuilder

getCloudIap()

public AuthzPolicy.CustomProvider.CloudIap getCloudIap()

Optional. Delegates authorization decisions to Cloud IAP. Applicable only for managed load balancers. Enabling Cloud IAP at the AuthzPolicy level is not compatible with Cloud IAP settings in the BackendService. Enabling IAP in both places will result in request failure. Ensure that IAP is enabled in either the AuthzPolicy or the BackendService but not in both places.

.google.cloud.networksecurity.v1.AuthzPolicy.CustomProvider.CloudIap cloud_iap = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AuthzPolicy.CustomProvider.CloudIap

The cloudIap.

getCloudIapBuilder()

public AuthzPolicy.CustomProvider.CloudIap.Builder getCloudIapBuilder()

Optional. Delegates authorization decisions to Cloud IAP. Applicable only for managed load balancers. Enabling Cloud IAP at the AuthzPolicy level is not compatible with Cloud IAP settings in the BackendService. Enabling IAP in both places will result in request failure. Ensure that IAP is enabled in either the AuthzPolicy or the BackendService but not in both places.

.google.cloud.networksecurity.v1.AuthzPolicy.CustomProvider.CloudIap cloud_iap = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AuthzPolicy.CustomProvider.CloudIap.Builder

getCloudIapOrBuilder()

public AuthzPolicy.CustomProvider.CloudIapOrBuilder getCloudIapOrBuilder()

Optional. Delegates authorization decisions to Cloud IAP. Applicable only for managed load balancers. Enabling Cloud IAP at the AuthzPolicy level is not compatible with Cloud IAP settings in the BackendService. Enabling IAP in both places will result in request failure. Ensure that IAP is enabled in either the AuthzPolicy or the BackendService but not in both places.

.google.cloud.networksecurity.v1.AuthzPolicy.CustomProvider.CloudIap cloud_iap = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AuthzPolicy.CustomProvider.CloudIapOrBuilder

getDefaultInstanceForType()

public AuthzPolicy.CustomProvider getDefaultInstanceForType()
Returns
Type Description
AuthzPolicy.CustomProvider

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

hasAuthzExtension()

public boolean hasAuthzExtension()

Optional. Delegate authorization decision to user authored Service Extension. Only one of cloudIap or authzExtension can be specified.

.google.cloud.networksecurity.v1.AuthzPolicy.CustomProvider.AuthzExtension authz_extension = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the authzExtension field is set.

hasCloudIap()

public boolean hasCloudIap()

Optional. Delegates authorization decisions to Cloud IAP. Applicable only for managed load balancers. Enabling Cloud IAP at the AuthzPolicy level is not compatible with Cloud IAP settings in the BackendService. Enabling IAP in both places will result in request failure. Ensure that IAP is enabled in either the AuthzPolicy or the BackendService but not in both places.

.google.cloud.networksecurity.v1.AuthzPolicy.CustomProvider.CloudIap cloud_iap = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the cloudIap field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAuthzExtension(AuthzPolicy.CustomProvider.AuthzExtension value)

public AuthzPolicy.CustomProvider.Builder mergeAuthzExtension(AuthzPolicy.CustomProvider.AuthzExtension value)

Optional. Delegate authorization decision to user authored Service Extension. Only one of cloudIap or authzExtension can be specified.

.google.cloud.networksecurity.v1.AuthzPolicy.CustomProvider.AuthzExtension authz_extension = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value AuthzPolicy.CustomProvider.AuthzExtension
Returns
Type Description
AuthzPolicy.CustomProvider.Builder

mergeCloudIap(AuthzPolicy.CustomProvider.CloudIap value)

public AuthzPolicy.CustomProvider.Builder mergeCloudIap(AuthzPolicy.CustomProvider.CloudIap value)

Optional. Delegates authorization decisions to Cloud IAP. Applicable only for managed load balancers. Enabling Cloud IAP at the AuthzPolicy level is not compatible with Cloud IAP settings in the BackendService. Enabling IAP in both places will result in request failure. Ensure that IAP is enabled in either the AuthzPolicy or the BackendService but not in both places.

.google.cloud.networksecurity.v1.AuthzPolicy.CustomProvider.CloudIap cloud_iap = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value AuthzPolicy.CustomProvider.CloudIap
Returns
Type Description
AuthzPolicy.CustomProvider.Builder

mergeFrom(AuthzPolicy.CustomProvider other)

public AuthzPolicy.CustomProvider.Builder mergeFrom(AuthzPolicy.CustomProvider other)
Parameter
Name Description
other AuthzPolicy.CustomProvider
Returns
Type Description
AuthzPolicy.CustomProvider.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AuthzPolicy.CustomProvider.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AuthzPolicy.CustomProvider.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AuthzPolicy.CustomProvider.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AuthzPolicy.CustomProvider.Builder
Overrides

setAuthzExtension(AuthzPolicy.CustomProvider.AuthzExtension value)

public AuthzPolicy.CustomProvider.Builder setAuthzExtension(AuthzPolicy.CustomProvider.AuthzExtension value)

Optional. Delegate authorization decision to user authored Service Extension. Only one of cloudIap or authzExtension can be specified.

.google.cloud.networksecurity.v1.AuthzPolicy.CustomProvider.AuthzExtension authz_extension = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value AuthzPolicy.CustomProvider.AuthzExtension
Returns
Type Description
AuthzPolicy.CustomProvider.Builder

setAuthzExtension(AuthzPolicy.CustomProvider.AuthzExtension.Builder builderForValue)

public AuthzPolicy.CustomProvider.Builder setAuthzExtension(AuthzPolicy.CustomProvider.AuthzExtension.Builder builderForValue)

Optional. Delegate authorization decision to user authored Service Extension. Only one of cloudIap or authzExtension can be specified.

.google.cloud.networksecurity.v1.AuthzPolicy.CustomProvider.AuthzExtension authz_extension = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue AuthzPolicy.CustomProvider.AuthzExtension.Builder
Returns
Type Description
AuthzPolicy.CustomProvider.Builder

setCloudIap(AuthzPolicy.CustomProvider.CloudIap value)

public AuthzPolicy.CustomProvider.Builder setCloudIap(AuthzPolicy.CustomProvider.CloudIap value)

Optional. Delegates authorization decisions to Cloud IAP. Applicable only for managed load balancers. Enabling Cloud IAP at the AuthzPolicy level is not compatible with Cloud IAP settings in the BackendService. Enabling IAP in both places will result in request failure. Ensure that IAP is enabled in either the AuthzPolicy or the BackendService but not in both places.

.google.cloud.networksecurity.v1.AuthzPolicy.CustomProvider.CloudIap cloud_iap = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value AuthzPolicy.CustomProvider.CloudIap
Returns
Type Description
AuthzPolicy.CustomProvider.Builder

setCloudIap(AuthzPolicy.CustomProvider.CloudIap.Builder builderForValue)

public AuthzPolicy.CustomProvider.Builder setCloudIap(AuthzPolicy.CustomProvider.CloudIap.Builder builderForValue)

Optional. Delegates authorization decisions to Cloud IAP. Applicable only for managed load balancers. Enabling Cloud IAP at the AuthzPolicy level is not compatible with Cloud IAP settings in the BackendService. Enabling IAP in both places will result in request failure. Ensure that IAP is enabled in either the AuthzPolicy or the BackendService but not in both places.

.google.cloud.networksecurity.v1.AuthzPolicy.CustomProvider.CloudIap cloud_iap = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue AuthzPolicy.CustomProvider.CloudIap.Builder
Returns
Type Description
AuthzPolicy.CustomProvider.Builder