Class AgentUsersResource.DeleteRequest
Unlinks the given third-party user from your smart home Action. All data related to this user will be
deleted. For more details on how users link their accounts, see fulfillment and
authentication. The third-party
user's identity is passed in via the agent_user_id
(see DeleteAgentUserRequest). This request must be
authorized using service account credentials from your Actions console project.
Inheritance
AgentUsersResource.DeleteRequest
Inherited Members
Namespace: Google.Apis.HomeGraphService.v1
Assembly: Google.Apis.HomeGraphService.v1.dll
Syntax
public class AgentUsersResource.DeleteRequest : HomeGraphServiceBaseServiceRequest<Empty>, IClientServiceRequest<Empty>, IClientServiceRequest
Constructors
DeleteRequest(IClientService, string)
Constructs a new Delete request.
Declaration
public DeleteRequest(IClientService service, string agentUserId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | agentUserId |
Properties
AgentUserId
Required. Third-party user ID.
Declaration
[RequestParameter("agentUserId", RequestParameterType.Path)]
public virtual string AgentUserId { get; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.HomeGraphService.v1.Data.Empty>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.HomeGraphService.v1.Data.Empty>.MethodName
RequestId
Request ID used for debugging.
Declaration
[RequestParameter("requestId", RequestParameterType.Query)]
public virtual string RequestId { get; set; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.HomeGraphService.v1.Data.Empty>.RestPath
Methods
InitParameters()
Initializes Delete parameter list.
Declaration
protected override void InitParameters()