code: public final AppProfile createAppProfile(
        InstanceName parent, String appProfileId, AppProfile appProfile) {
  
      CreateAppProfileRequest request =
          CreateAppProfileRequest.newBuilder()
              .setParent(parent == null ? null : parent.toString())
              .setAppProfileId(appProfileId)
              .setAppProfile(appProfile)
              .build();
      return createAppProfile(request);
    }
docs: Creates an app profile within an instance.
  
  <p>Sample code:
  
  <pre><code>
  try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient = BaseBigtableInstanceAdminClient.create()) {
  InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]");
  String appProfileId = "";
  AppProfile appProfile = AppProfile.newBuilder().build();
  AppProfile response = baseBigtableInstanceAdminClient.createAppProfile(parent, appProfileId, appProfile);
  }
  </code></pre>
  
  @param parent The unique name of the instance in which to create the new app profile. Values
  are of the form `projects/&lt;project&gt;/instances/&lt;instance&gt;`.
  @param appProfileId The ID to be used when referring to the new app profile within its
  instance, e.g., just `myprofile` rather than
  `projects/myproject/instances/myinstance/appProfiles/myprofile`.
  @param appProfile The app profile to be created. Fields marked `OutputOnly` will be ignored.
  @throws com.google.api.gax.rpc.ApiException if the remote call fails