Class: Google::Apis::ProximitybeaconV1beta1::DeleteAttachmentsResponse

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

Overview

Response for a request to delete attachments.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ DeleteAttachmentsResponse

Returns a new instance of DeleteAttachmentsResponse.


445
446
447
# File 'generated/google/apis/proximitybeacon_v1beta1/classes.rb', line 445

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

Instance Attribute Details

#num_deletedFixnum

The number of attachments that were deleted. Corresponds to the JSON property numDeleted

Returns:

  • (Fixnum)

443
444
445
# File 'generated/google/apis/proximitybeacon_v1beta1/classes.rb', line 443

def num_deleted
  @num_deleted
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


450
451
452
# File 'generated/google/apis/proximitybeacon_v1beta1/classes.rb', line 450

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