Show / Hide Table of Contents

Class ProvidersResource.AccountsResource

The "accounts" collection of methods.

Inheritance
object
ProvidersResource.AccountsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.CloudCommercePartnerProcurementService.v1
Assembly: Google.Apis.CloudCommercePartnerProcurementService.v1.dll
Syntax
public class ProvidersResource.AccountsResource

Constructors

AccountsResource(IClientService)

Constructs a new resource.

Declaration
public AccountsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Approve(ApproveAccountRequest, string)

Grants an approval on an Account.

Declaration
public virtual ProvidersResource.AccountsResource.ApproveRequest Approve(ApproveAccountRequest body, string name)
Parameters
Type Name Description
ApproveAccountRequest body

The body of the request.

string name

Required. The resource name of the account, with the format providers/{providerId}/accounts/{accountId}.

Returns
Type Description
ProvidersResource.AccountsResource.ApproveRequest

Get(string)

Gets a requested Account resource.

Declaration
public virtual ProvidersResource.AccountsResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. The name of the account to retrieve.

Returns
Type Description
ProvidersResource.AccountsResource.GetRequest

List(string)

Lists Accounts that the provider has access to.

Declaration
public virtual ProvidersResource.AccountsResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. The parent resource name.

Returns
Type Description
ProvidersResource.AccountsResource.ListRequest

Reject(RejectAccountRequest, string)

Rejects an approval on an Account.

Declaration
public virtual ProvidersResource.AccountsResource.RejectRequest Reject(RejectAccountRequest body, string name)
Parameters
Type Name Description
RejectAccountRequest body

The body of the request.

string name

Required. The resource name of the account.

Returns
Type Description
ProvidersResource.AccountsResource.RejectRequest

Reset(ResetAccountRequest, string)

Resets an Account and cancels all associated Entitlements. Partner can only reset accounts they own rather than customer accounts.

Declaration
public virtual ProvidersResource.AccountsResource.ResetRequest Reset(ResetAccountRequest body, string name)
Parameters
Type Name Description
ResetAccountRequest body

The body of the request.

string name

Required. The resource name of the account.

Returns
Type Description
ProvidersResource.AccountsResource.ResetRequest
In this article
Back to top Generated by DocFX