Class BeaconsResource.AttachmentsResource.BatchDeleteRequest
Deletes multiple attachments on a given beacon. This operation is permanent and cannot be undone.
You can optionally specify namespacedType
to choose which attachments should be deleted. If you do not
specify namespacedType
, all your attachments on the given beacon will be deleted. You also may
explicitly specify *
to delete all.
Authenticate using an OAuth access token from a signed-in user with Is owner or Can edit permissions in the Google Developers Console project.
Inheritance
Inherited Members
Namespace: Google.Apis.Proximitybeacon.v1beta1
Assembly: Google.Apis.Proximitybeacon.v1beta1.dll
Syntax
public class BatchDeleteRequest : ProximitybeaconBaseServiceRequest<DeleteAttachmentsResponse>, IClientServiceRequest<DeleteAttachmentsResponse>, IClientServiceRequest
Constructors
BatchDeleteRequest(IClientService, String)
Constructs a new BatchDelete request.
Declaration
public BatchDeleteRequest(IClientService service, string beaconName)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
System.String | beaconName |
Properties
BeaconName
The beacon whose attachments should be deleted. A beacon name has the format
"beacons/N!beaconId" where the beaconId is the base16 ID broadcast by the beacon and N is a code for
the beacon's type. Possible values are 3
for Eddystone-UID, 4
for Eddystone-EID, 1
for
iBeacon, or 5
for AltBeacon. For Eddystone-EID beacons, you may use either the current EID or the
beacon's "stable" UID. Required.
Declaration
[RequestParameter("beaconName", RequestParameterType.Path)]
public virtual string BeaconName { get; }
Property Value
Type | Description |
---|---|
System.String |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
NamespacedType
Specifies the namespace and type of attachments to delete in namespace/type
format.
Accepts *
to specify "all types in all namespaces". Optional.
Declaration
[RequestParameter("namespacedType", RequestParameterType.Query)]
public virtual string NamespacedType { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ProjectId
The project id to delete beacon attachments under. This field can be used when "" is specified to mean all attachment namespaces. Projects may have multiple attachments with multiple namespaces. If "" is specified and the projectId string is empty, then the project making the request is used. Optional.
Declaration
[RequestParameter("projectId", RequestParameterType.Query)]
public virtual string ProjectId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Methods
InitParameters()
Initializes BatchDelete parameter list.
Declaration
protected override void InitParameters()