Class: Google::Apis::FirebaseV1beta1::RemoveWebAppRequest

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) ⇒ RemoveWebAppRequest

Returns a new instance of RemoveWebAppRequest.



1291
1292
1293
# File 'lib/google/apis/firebase_v1beta1/classes.rb', line 1291

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)


1266
1267
1268
# File 'lib/google/apis/firebase_v1beta1/classes.rb', line 1266

def allow_missing
  @allow_missing
end

#etagString

Checksum provided in the WebApp resource. If provided, this checksum ensures that the client has an up-to-date value before proceeding. Corresponds to the JSON property etag

Returns:

  • (String)


1273
1274
1275
# File 'lib/google/apis/firebase_v1beta1/classes.rb', line 1273

def etag
  @etag
end

#immediateBoolean Also known as: immediate?

Determines whether to immediately delete the WebApp. If set to true, the App is immediately deleted from the Project and cannot be restored to the Project. If not set, defaults to false, which means the App will be set to expire in 30 days. Within the 30 days, the App may be restored to the Project using UndeleteWebApp Corresponds to the JSON property immediate

Returns:

  • (Boolean)


1282
1283
1284
# File 'lib/google/apis/firebase_v1beta1/classes.rb', line 1282

def immediate
  @immediate
end

#validate_onlyBoolean Also known as: validate_only?

If set to true, the request is only validated. The App will not be removed. Corresponds to the JSON property validateOnly

Returns:

  • (Boolean)


1288
1289
1290
# File 'lib/google/apis/firebase_v1beta1/classes.rb', line 1288

def validate_only
  @validate_only
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1296
1297
1298
1299
1300
1301
# File 'lib/google/apis/firebase_v1beta1/classes.rb', line 1296

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