Class BuyersResource.ClientsResource
The "clients" collection of methods.
Inherited Members
Namespace: Google.Apis.AuthorizedBuyersMarketplace.v1alpha
Assembly: Google.Apis.AuthorizedBuyersMarketplace.v1alpha.dll
Syntax
public class BuyersResource.ClientsResource
Constructors
ClientsResource(IClientService)
Constructs a new resource.
Declaration
public ClientsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
Users
Gets the Users resource.
Declaration
public virtual BuyersResource.ClientsResource.UsersResource Users { get; }
Property Value
Type | Description |
---|---|
BuyersResource.ClientsResource.UsersResource |
Methods
Activate(ActivateClientRequest, string)
Activates an existing client. The state of the client will be updated to "ACTIVE". This method has no effect if the client is already in "ACTIVE" state.
Declaration
public virtual BuyersResource.ClientsResource.ActivateRequest Activate(ActivateClientRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
ActivateClientRequest | body | The body of the request. |
string | name | Required. Format: |
Returns
Type | Description |
---|---|
BuyersResource.ClientsResource.ActivateRequest |
Create(Client, string)
Creates a new client.
Declaration
public virtual BuyersResource.ClientsResource.CreateRequest Create(Client body, string parent)
Parameters
Type | Name | Description |
---|---|---|
Client | body | The body of the request. |
string | parent | Required. The name of the buyer. Format: |
Returns
Type | Description |
---|---|
BuyersResource.ClientsResource.CreateRequest |
Deactivate(DeactivateClientRequest, string)
Deactivates an existing client. The state of the client will be updated to "INACTIVE". This method has no effect if the client is already in "INACTIVE" state.
Declaration
public virtual BuyersResource.ClientsResource.DeactivateRequest Deactivate(DeactivateClientRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
DeactivateClientRequest | body | The body of the request. |
string | name | Required. Format: |
Returns
Type | Description |
---|---|
BuyersResource.ClientsResource.DeactivateRequest |
Get(string)
Gets a client with a given resource name.
Declaration
public virtual BuyersResource.ClientsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Format: |
Returns
Type | Description |
---|---|
BuyersResource.ClientsResource.GetRequest |
List(string)
Lists all the clients for the current buyer.
Declaration
public virtual BuyersResource.ClientsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The name of the buyer. Format: |
Returns
Type | Description |
---|---|
BuyersResource.ClientsResource.ListRequest |
Patch(Client, string)
Updates an existing client.
Declaration
public virtual BuyersResource.ClientsResource.PatchRequest Patch(Client body, string name)
Parameters
Type | Name | Description |
---|---|---|
Client | body | The body of the request. |
string | name | Output only. The resource name of the client. Format: |
Returns
Type | Description |
---|---|
BuyersResource.ClientsResource.PatchRequest |