Class: Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaLoginCredentialFieldHints

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

Overview

Hints to the crawler for identifying input fields

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleFirebaseAppdistroV1alphaLoginCredentialFieldHints

Returns a new instance of GoogleFirebaseAppdistroV1alphaLoginCredentialFieldHints.



687
688
689
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 687

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

Instance Attribute Details

#password_resource_nameString

Required. The Android resource name of the password UI element. For example, in Java: R.string.foo in xml: @string/foo Only the "foo" part is needed. Reference doc: https://developer.android.com/guide/topics/resources/accessing- resources.html Corresponds to the JSON property passwordResourceName

Returns:

  • (String)


677
678
679
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 677

def password_resource_name
  @password_resource_name
end

#username_resource_nameString

Required. The Android resource name of the username UI element. For example, in Java: R.string.foo in xml: @string/foo Only the "foo" part is needed. Reference doc: https://developer.android.com/guide/topics/resources/accessing- resources.html Corresponds to the JSON property usernameResourceName

Returns:

  • (String)


685
686
687
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 685

def username_resource_name
  @username_resource_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



692
693
694
695
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 692

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