Show / Hide Table of Contents

Class AccountsResource.ProgramsResource

The "programs" collection of methods.

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

Constructors

ProgramsResource(IClientService)

Constructs a new resource.

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

Methods

Disable(DisableProgramRequest, string)

Disable participation in the specified program for the account. Executing this method requires admin access.

Declaration
public virtual AccountsResource.ProgramsResource.DisableRequest Disable(DisableProgramRequest body, string name)
Parameters
Type Name Description
DisableProgramRequest body

The body of the request.

string name

Required. The name of the program for which to disable participation for the given account. Format: accounts/{account}/programs/{program}

Returns
Type Description
AccountsResource.ProgramsResource.DisableRequest

Enable(EnableProgramRequest, string)

Enable participation in the specified program for the account. Executing this method requires admin access.

Declaration
public virtual AccountsResource.ProgramsResource.EnableRequest Enable(EnableProgramRequest body, string name)
Parameters
Type Name Description
EnableProgramRequest body

The body of the request.

string name

Required. The name of the program for which to enable participation for the given account. Format: accounts/{account}/programs/{program}

Returns
Type Description
AccountsResource.ProgramsResource.EnableRequest

Get(string)

Retrieves the specified program for the account.

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

Required. The name of the program to retrieve. Format: accounts/{account}/programs/{program}

Returns
Type Description
AccountsResource.ProgramsResource.GetRequest

List(string)

Retrieves all programs for the account.

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

Required. The name of the account for which to retrieve all programs. Format: accounts/{account}

Returns
Type Description
AccountsResource.ProgramsResource.ListRequest
In this article
Back to top Generated by DocFX