Package com.google.cloud.binaryauthorization.v1beta1.stub (1.12.0)

Classes

BinauthzManagementServiceV1Beta1Stub

Base stub class for the BinauthzManagementServiceV1Beta1 service API.

This class is for advanced usage and reflects the underlying API directly.

BinauthzManagementServiceV1Beta1StubSettings

Settings class to configure an instance of BinauthzManagementServiceV1Beta1Stub.

The default instance has everything set to sensible defaults:

  • The default service address (binaryauthorization.googleapis.com) and default port (443) are used.
  • Credentials are acquired automatically through Application Default Credentials.
  • Retries are configured for idempotent methods but not for non-idempotent methods.

The builder of this class is recursive, so contained classes are themselves builders. When build() is called, the tree of builders is called to create the complete settings object.

For example, to set the total timeout of getPolicy to 30 seconds:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 BinauthzManagementServiceV1Beta1StubSettings.Builder
     binauthzManagementServiceV1Beta1SettingsBuilder =
         BinauthzManagementServiceV1Beta1StubSettings.newBuilder();
 binauthzManagementServiceV1Beta1SettingsBuilder
     .getPolicySettings()
     .setRetrySettings(
         binauthzManagementServiceV1Beta1SettingsBuilder
             .getPolicySettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 BinauthzManagementServiceV1Beta1StubSettings binauthzManagementServiceV1Beta1Settings =
     binauthzManagementServiceV1Beta1SettingsBuilder.build();
 

BinauthzManagementServiceV1Beta1StubSettings.Builder

Builder for BinauthzManagementServiceV1Beta1StubSettings.

GrpcBinauthzManagementServiceV1Beta1CallableFactory

gRPC callable factory implementation for the BinauthzManagementServiceV1Beta1 service API.

This class is for advanced usage.

GrpcBinauthzManagementServiceV1Beta1Stub

gRPC stub implementation for the BinauthzManagementServiceV1Beta1 service API.

This class is for advanced usage and reflects the underlying API directly.

GrpcSystemPolicyV1Beta1CallableFactory

gRPC callable factory implementation for the SystemPolicyV1Beta1 service API.

This class is for advanced usage.

GrpcSystemPolicyV1Beta1Stub

gRPC stub implementation for the SystemPolicyV1Beta1 service API.

This class is for advanced usage and reflects the underlying API directly.

HttpJsonBinauthzManagementServiceV1Beta1CallableFactory

REST callable factory implementation for the BinauthzManagementServiceV1Beta1 service API.

This class is for advanced usage.

HttpJsonBinauthzManagementServiceV1Beta1Stub

REST stub implementation for the BinauthzManagementServiceV1Beta1 service API.

This class is for advanced usage and reflects the underlying API directly.

HttpJsonSystemPolicyV1Beta1CallableFactory

REST callable factory implementation for the SystemPolicyV1Beta1 service API.

This class is for advanced usage.

HttpJsonSystemPolicyV1Beta1Stub

REST stub implementation for the SystemPolicyV1Beta1 service API.

This class is for advanced usage and reflects the underlying API directly.

SystemPolicyV1Beta1Stub

Base stub class for the SystemPolicyV1Beta1 service API.

This class is for advanced usage and reflects the underlying API directly.

SystemPolicyV1Beta1StubSettings

Settings class to configure an instance of SystemPolicyV1Beta1Stub.

The default instance has everything set to sensible defaults:

  • The default service address (binaryauthorization.googleapis.com) and default port (443) are used.
  • Credentials are acquired automatically through Application Default Credentials.
  • Retries are configured for idempotent methods but not for non-idempotent methods.

The builder of this class is recursive, so contained classes are themselves builders. When build() is called, the tree of builders is called to create the complete settings object.

For example, to set the total timeout of getSystemPolicy to 30 seconds:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 SystemPolicyV1Beta1StubSettings.Builder systemPolicyV1Beta1SettingsBuilder =
     SystemPolicyV1Beta1StubSettings.newBuilder();
 systemPolicyV1Beta1SettingsBuilder
     .getSystemPolicySettings()
     .setRetrySettings(
         systemPolicyV1Beta1SettingsBuilder
             .getSystemPolicySettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 SystemPolicyV1Beta1StubSettings systemPolicyV1Beta1Settings =
     systemPolicyV1Beta1SettingsBuilder.build();
 

SystemPolicyV1Beta1StubSettings.Builder

Builder for SystemPolicyV1Beta1StubSettings.