Class: Google::Apis::FirebaseV1beta1::AndroidAppConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/firebase_v1beta1/classes.rb,
generated/google/apis/firebase_v1beta1/representations.rb,
generated/google/apis/firebase_v1beta1/representations.rb

Overview

Configuration metadata of a single Firebase App for Android.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AndroidAppConfig

Returns a new instance of AndroidAppConfig.



273
274
275
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 273

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#config_file_contentsString

The contents of the JSON configuration file. Corresponds to the JSON property configFileContents NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


265
266
267
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 265

def config_file_contents
  @config_file_contents
end

#config_filenameString

The filename that the configuration artifact for the AndroidApp is typically saved as. For example: google-services.json Corresponds to the JSON property configFilename

Returns:

  • (String)


271
272
273
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 271

def config_filename
  @config_filename
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



278
279
280
281
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 278

def update!(**args)
  @config_file_contents = args[:config_file_contents] if args.key?(:config_file_contents)
  @config_filename = args[:config_filename] if args.key?(:config_filename)
end