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

Inherits:
Object
  • Object
show all
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

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.



326
327
328
# File 'lib/google/apis/firebase_v1beta1/classes.rb', line 326

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)


318
319
320
# File 'lib/google/apis/firebase_v1beta1/classes.rb', line 318

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)


324
325
326
# File 'lib/google/apis/firebase_v1beta1/classes.rb', line 324

def config_filename
  @config_filename
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



331
332
333
334
# File 'lib/google/apis/firebase_v1beta1/classes.rb', line 331

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