Class: Google::Apis::FirebaseV1beta1::ProjectInfo
- Inherits:
-
Object
- Object
- Google::Apis::FirebaseV1beta1::ProjectInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/firebase_v1beta1/classes.rb,
lib/google/apis/firebase_v1beta1/representations.rb,
lib/google/apis/firebase_v1beta1/representations.rb
Overview
A reference to a Google Cloud Platform (GCP) Project.
Instance Attribute Summary collapse
-
#display_name ⇒ String
The user-assigned display name of the GCP
Project, for example:My AppCorresponds to the JSON propertydisplayName. -
#location_id ⇒ String
The ID of the Project's default GCP resource location.
-
#project ⇒ String
The resource name of the GCP
Projectto which Firebase resources can be added, in the format: projects/PROJECT_IDENTIFIER Refer to theFirebaseProjectnamefield for details about PROJECT_IDENTIFIER values.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ProjectInfo
constructor
A new instance of ProjectInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ProjectInfo
Returns a new instance of ProjectInfo.
1078 1079 1080 |
# File 'lib/google/apis/firebase_v1beta1/classes.rb', line 1078 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
The user-assigned display name of the GCP Project, for example: My App
Corresponds to the JSON property displayName
1057 1058 1059 |
# File 'lib/google/apis/firebase_v1beta1/classes.rb', line 1057 def display_name @display_name end |
#location_id ⇒ String
The ID of the Project's default GCP resource location. The location is one of
the available GCP resource locations. Not all Projects will have this field populated. If it is
not populated, it means that the Project does not yet have a default GCP
resource location. To set a Project's default GCP resource location, call
FinalizeDefaultLocation after you add
Firebase resources to the Project.
Corresponds to the JSON property locationId
1068 1069 1070 |
# File 'lib/google/apis/firebase_v1beta1/classes.rb', line 1068 def location_id @location_id end |
#project ⇒ String
The resource name of the GCP Project to which Firebase resources can be
added, in the format: projects/PROJECT_IDENTIFIER Refer to the
FirebaseProject name field for
details about PROJECT_IDENTIFIER values.
Corresponds to the JSON property project
1076 1077 1078 |
# File 'lib/google/apis/firebase_v1beta1/classes.rb', line 1076 def project @project end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1083 1084 1085 1086 1087 |
# File 'lib/google/apis/firebase_v1beta1/classes.rb', line 1083 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @location_id = args[:location_id] if args.key?(:location_id) @project = args[:project] if args.key?(:project) end |