Show / Hide Table of Contents

Class AccountsResource.LocationsResource

The "locations" collection of methods.

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

Constructors

LocationsResource(IClientService)

Constructs a new resource.

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

Methods

Create(Location, string)

Creates a new Location that will be owned by the logged in user.

Declaration
public virtual AccountsResource.LocationsResource.CreateRequest Create(Location body, string parent)
Parameters
Type Name Description
Location body

The body of the request.

string parent

Required. The name of the account in which to create this location.

Returns
Type Description
AccountsResource.LocationsResource.CreateRequest

List(string)

Lists the locations for the specified account.

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

Required. The name of the account to fetch locations from. * Specific Account ID: If the account is of type AccountType.PERSONAL, the response returns only locations directly owned by that account. For all other types (e.g., AccountType.LOCATION_GROUP), it returns all accessible locations. * Wildcard (-): Using accounts/- identifies the authenticated user. This scope defaults to AccountType.PERSONAL but includes both directly and indirectly owned locations (e.g., those accessible via member groups).

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