Class OrganizationsResource.LocationsResource
The "locations" collection of methods.
Inherited Members
Namespace: Google.Apis.CloudObservability.v1
Assembly: Google.Apis.CloudObservability.v1.dll
Syntax
public class OrganizationsResource.LocationsResource
Constructors
LocationsResource(IClientService)
Constructs a new resource.
Declaration
public LocationsResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Properties
Operations
Gets the Operations resource.
Declaration
public virtual OrganizationsResource.LocationsResource.OperationsResource Operations { get; }
Property Value
| Type | Description |
|---|---|
| OrganizationsResource.LocationsResource.OperationsResource |
Methods
Get(string)
Gets information about a location.
Declaration
public virtual OrganizationsResource.LocationsResource.GetRequest Get(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Resource name for the location. |
Returns
| Type | Description |
|---|---|
| OrganizationsResource.LocationsResource.GetRequest |
List(string)
Lists information about the supported locations for this service. This method can be called in two ways:
- List all public locations: Use the path
GET /v1/locations. * List project-visible locations: Use the pathGET /v1/projects/{project_id}/locations. This may include public locations as well as private or other locations specifically visible to the project.
Declaration
public virtual OrganizationsResource.LocationsResource.ListRequest List(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The resource that owns the locations collection, if applicable. |
Returns
| Type | Description |
|---|---|
| OrganizationsResource.LocationsResource.ListRequest |