Class GetCredentialRequest

java.lang.Object
com.google.genai.gaos.models.operations.GetCredentialRequest

public class GetCredentialRequest extends Object
  • Constructor Details

    • GetCredentialRequest

      public GetCredentialRequest(@Nullable String apiVersion, @Nonnull String id)
    • GetCredentialRequest

      public GetCredentialRequest(@Nonnull String id)
  • Method Details

    • apiVersion

      public Optional<String> apiVersion()
      Which version of the API to use.
    • id

      public Optional<String> id()
      Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    • builder

      public static GetCredentialRequest.Builder builder()
    • withApiVersion

      public GetCredentialRequest withApiVersion(@Nullable String apiVersion)
      Which version of the API to use.
    • withId

      public GetCredentialRequest withId(@Nonnull String id)
      Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object