class Google::Apis::FirebasedatabaseV1beta::DatabaseInstance
Representation
of a Realtime Database instance. Details on interacting with contents of a DatabaseInstance
can be found at: firebase.google.com/ docs/database/rest/start.
Attributes
Immutable. The globally unique hostname of the database. Corresponds to the JSON property `databaseUrl` @return [String]
The fully qualified resource name of the database instance, in the form: ` projects/`project-number`/locations/`location-id`/instances/`database-id“. Corresponds to the JSON property `name` @return [String]
The resource name of the project this instance belongs to. For example: ` projects/`project-number“. Corresponds to the JSON property `project` @return [String]
The database's lifecycle state. Read-only. Corresponds to the JSON property `state` @return [String]
The database instance type. On creation only USER_DATABASE is allowed, which is also the default when omitted. Corresponds to the JSON property `type` @return [String]
Public Class Methods
# File lib/google/apis/firebasedatabase_v1beta/classes.rb, line 59 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/firebasedatabase_v1beta/classes.rb, line 64 def update!(**args) @database_url = args[:database_url] if args.key?(:database_url) @name = args[:name] if args.key?(:name) @project = args[:project] if args.key?(:project) @state = args[:state] if args.key?(:state) @type = args[:type] if args.key?(:type) end