Class Project

java.lang.Object
com.google.cloud.bigquery.Project
All Implemented Interfaces:
Serializable

@BetaApi public class Project extends Object implements Serializable
Google BigQuery Project information. A project is the top-level container for Google Cloud resources, and holds BigQuery dataset collections. This class wraps a BigQuery project resource, providing details such as the project's unique alphanumeric ID, numeric project number, and friendly display name.

Objects of this class can be obtained by listing projects accessible to the caller using BigQuery.listProjects(BigQuery.ProjectListOption...).

See Also:
  • Constructor Details

  • Method Details

    • getId

      public String getId()
      Returns the resource ID of the project.
    • getNumericId

      @Nullable public String getNumericId()
      Returns the unique numeric project number.
    • getProjectId

      @Nullable public String getProjectId()
      Returns the unique alphanumeric project ID.
    • getFriendlyName

      @Nullable public String getFriendlyName()
      Returns the user-defined display name of the project.
    • 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