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.



379
380
381
# File 'generated/google/apis/proximitybeacon_v1beta1/classes.rb', line 379

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)


377
378
379
# File 'generated/google/apis/proximitybeacon_v1beta1/classes.rb', line 377

def num_deleted
  @num_deleted
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



384
385
386
# File 'generated/google/apis/proximitybeacon_v1beta1/classes.rb', line 384

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