google_api_firebase v0.4.3 GoogleApi.Firebase.V1beta1.Model.FirebaseProject View Source

A FirebaseProject is the top-level Firebase entity. It is the container for Firebase Apps, Firebase Hosting sites, storage systems (Firebase Realtime Database, Cloud Firestore, Cloud Storage buckets), and other Firebase and Google Cloud Platform (GCP) resources.

You create a FirebaseProject by calling AddFirebase and specifying an existing GCP Project. This adds Firebase resources to the existing GCP Project.

Since a FirebaseProject is actually also a GCP Project, a FirebaseProject has the same underlying GCP identifiers (projectNumber and projectId). This allows for easy interop with Google APIs.

Attributes

  • displayName (type: String.t, default: nil) - The user-assigned display name of the Project.

  • name (type: String.t, default: nil) - The resource name of the Project, in the format: <code>projects/<var>PROJECT_IDENTIFIER</var></code> <var>PROJECT_IDENTIFIER</var>: the Project's ProjectNumber (recommended) or its ProjectId. <br>Learn more about using project identifiers in Google's AIP 2510 standard. <br>Note that the value for <var>PROJECT_IDENTIFIER</var> in any response body will be the ProjectId.

  • projectId (type: String.t, default: nil) - Immutable. A user-assigned unique identifier for the Project.

    This identifier may appear in URLs or names for some Firebase resources associated with the Project, but it should generally be treated as a convenience alias to reference the Project.

  • projectNumber (type: String.t, default: nil) - Immutable. The globally unique, Google-assigned canonical identifier for the Project. Use this identifier when configuring integrations and/or making API calls to Firebase or third-party services.

  • resources (type: GoogleApi.Firebase.V1beta1.Model.DefaultResources.t, default: nil) - The default Firebase resources associated with the Project.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Firebase.V1beta1.Model.FirebaseProject{
  displayName: String.t(),
  name: String.t(),
  projectId: String.t(),
  projectNumber: String.t(),
  resources: GoogleApi.Firebase.V1beta1.Model.DefaultResources.t()
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.