Class DevicesResource.DeviceUsersResource.BlockRequest
Blocks device from accessing user data
Inheritance
DevicesResource.DeviceUsersResource.BlockRequest
Inherited Members
Namespace: Google.Apis.CloudIdentity.v1beta1
Assembly: Google.Apis.CloudIdentity.v1beta1.dll
Syntax
public class DevicesResource.DeviceUsersResource.BlockRequest : CloudIdentityBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
BlockRequest(IClientService, BlockDeviceUserRequest, string)
Constructs a new Block request.
Declaration
public BlockRequest(IClientService service, BlockDeviceUserRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
BlockDeviceUserRequest | body | |
string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Name
Required. Resource name of the Device in
format: devices/{device_id}/deviceUsers/{device_user_id}
, where device_id is the unique ID
assigned to the Device, and device_user_id is the unique ID assigned to the User.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Block parameter list.
Declaration
protected override void InitParameters()