Show / Hide Table of Contents

Class AccountsResource.LocationsResource

The "locations" collection of methods.

Inheritance
System.Object
AccountsResource.LocationsResource
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.MyBusinessBusinessInformation.v1
Assembly: Google.Apis.MyBusinessBusinessInformation.v1.dll
Syntax
public class LocationsResource

Constructors

LocationsResource(IClientService)

Constructs a new resource.

Declaration
public LocationsResource(IClientService service)
Parameters
Type Name Description
Google.Apis.Services.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.

System.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
System.String parent

Required. The name of the account to fetch locations from. If the parent Account is of AccountType PERSONAL, only Locations that are directly owned by the Account are returned, otherwise it will return all accessible locations from the Account, either directly or indirectly.

Returns
Type Description
AccountsResource.LocationsResource.ListRequest
In This Article
Back to top