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



97
98
99
# File 'generated/google/apis/proximitybeacon_v1beta1/classes.rb', line 97

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)


95
96
97
# File 'generated/google/apis/proximitybeacon_v1beta1/classes.rb', line 95

def num_deleted
  @num_deleted
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



102
103
104
# File 'generated/google/apis/proximitybeacon_v1beta1/classes.rb', line 102

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