Class AccountsResource.InvitationsResource.DeclineRequest
Declines the specified invitation.
Inheritance
System.Object
AccountsResource.InvitationsResource.DeclineRequest
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.MyBusinessAccountManagement.v1
Assembly: Google.Apis.MyBusinessAccountManagement.v1.dll
Syntax
public class DeclineRequest : MyBusinessAccountManagementBaseServiceRequest<Empty>, IClientServiceRequest<Empty>, IClientServiceRequest
Constructors
DeclineRequest(IClientService, DeclineInvitationRequest, String)
Constructs a new Decline request.
Declaration
public DeclineRequest(IClientService service, DeclineInvitationRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
DeclineInvitationRequest | body | |
System.String | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.MyBusinessAccountManagement.v1.Data.Empty>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.MyBusinessAccountManagement.v1.Data.Empty>.MethodName
Name
Required. The name of the account invitation that is being declined.
accounts/{account_id}/invitations/{invitation_id}
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.MyBusinessAccountManagement.v1.Data.Empty>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
System.Object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.MyBusinessAccountManagement.v1.Data.Empty>.GetBody()
InitParameters()
Initializes Decline parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.MyBusinessAccountManagement.v1.MyBusinessAccountManagementBaseServiceRequest<Google.Apis.MyBusinessAccountManagement.v1.Data.Empty>.InitParameters()