Class CreateAppProfileRequest


  • public final class CreateAppProfileRequest
    extends Object
    Parameters for creating a new Cloud Bigtable app profile.

    An application profile, or app profile, stores settings that tell your Cloud Bigtable instance how to handle incoming requests from an application. When one of your applications connects to a Cloud Bigtable instance, it can specify an app profile, and Cloud Bigtable uses that app profile for any requests that the application sends over that connection.

    Sample code:

    
     AppProfile existingAppProfile = ...;
     CreateAppProfileRequest appProfileRequest = CreateAppProfileRequest.of("my-instance", "my-new-app-profile")
       .setRoutingPolicy(SingleClusterRoutingPolicy.of("my-cluster"));
     
    See Also:
    for more details
    • Method Detail

      • setIgnoreWarnings

        public CreateAppProfileRequest setIgnoreWarnings​(boolean value)
        Configures if safety warnings should be disabled.
      • toProto

        @InternalApi
        public CreateAppProfileRequest toProto​(String projectId)
        Creates the request protobuf. This method is considered an internal implementation detail and not meant to be used by applications.