Class: Google::Apis::FirebaseV1beta1::RemoveAndroidAppRequest

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RemoveAndroidAppRequest

Returns a new instance of RemoveAndroidAppRequest.



1066
1067
1068
# File 'lib/google/apis/firebase_v1beta1/classes.rb', line 1066

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

Instance Attribute Details

#allow_missingBoolean Also known as: allow_missing?

If set to true, and the App is not found, the request will succeed but no action will be taken on the server. Corresponds to the JSON property allowMissing

Returns:

  • (Boolean)


1051
1052
1053
# File 'lib/google/apis/firebase_v1beta1/classes.rb', line 1051

def allow_missing
  @allow_missing
end

#etagString

Checksum provided in the AndroidApp entity, which if provided ensures the client has an up-to-date value before proceeding. Corresponds to the JSON property etag

Returns:

  • (String)


1058
1059
1060
# File 'lib/google/apis/firebase_v1beta1/classes.rb', line 1058

def etag
  @etag
end

#validate_onlyBoolean Also known as: validate_only?

If set to true, only validate the request and do not delete the app. Corresponds to the JSON property validateOnly

Returns:

  • (Boolean)


1063
1064
1065
# File 'lib/google/apis/firebase_v1beta1/classes.rb', line 1063

def validate_only
  @validate_only
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1071
1072
1073
1074
1075
# File 'lib/google/apis/firebase_v1beta1/classes.rb', line 1071

def update!(**args)
  @allow_missing = args[:allow_missing] if args.key?(:allow_missing)
  @etag = args[:etag] if args.key?(:etag)
  @validate_only = args[:validate_only] if args.key?(:validate_only)
end