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



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

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)


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

def num_deleted
  @num_deleted
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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