@java.lang.Override public Builder newBuilderForType() { return newBuilder(); }
/** * Deletes a POSIX account. * * <p>Sample code: * * <pre><code> * try (OsLoginServiceClient osLoginServiceClient = OsLoginServiceClient.create()) { * ProjectName name = ProjectName.of("[USER]", "[PROJECT]"); * osLoginServiceClient.deletePosixAccount(name.toString()); * } * </code></pre> * * @param name A reference to the POSIX account to update. POSIX accounts are identified by the * project ID they are associated with. A reference to the POSIX account is in format * `users/{user}/projects/{project}`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final void deletePosixAccount(String name) { DeletePosixAccountRequest request = DeletePosixAccountRequest.newBuilder().setName(name).build(); deletePosixAccount(request); }
/** * Deletes a POSIX account. * * <p>Sample code: * * <pre><code> * try (OsLoginServiceClient osLoginServiceClient = OsLoginServiceClient.create()) { * ProjectName name = ProjectName.of("[USER]", "[PROJECT]"); * osLoginServiceClient.deletePosixAccount(name); * } * </code></pre> * * @param name A reference to the POSIX account to update. POSIX accounts are identified by the * project ID they are associated with. A reference to the POSIX account is in format * `users/{user}/projects/{project}`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final void deletePosixAccount(ProjectName name) { DeletePosixAccountRequest request = DeletePosixAccountRequest.newBuilder() .setName(name == null ? null : name.toString()) .build(); deletePosixAccount(request); }
@java.lang.Override public Builder newBuilderForType() { return newBuilder(); }