Class ProjectsResource.LocationsResource
The "locations" collection of methods.
Inherited Members
Namespace: Google.Apis.APIManagement.v1alpha
Assembly: Google.Apis.APIManagement.v1alpha.dll
Syntax
public class ProjectsResource.LocationsResource
Constructors
LocationsResource(IClientService)
Constructs a new resource.
Declaration
public LocationsResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Properties
ObservationJobs
Gets the ObservationJobs resource.
Declaration
public virtual ProjectsResource.LocationsResource.ObservationJobsResource ObservationJobs { get; }
Property Value
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ObservationJobsResource |
ObservationSources
Gets the ObservationSources resource.
Declaration
public virtual ProjectsResource.LocationsResource.ObservationSourcesResource ObservationSources { get; }
Property Value
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ObservationSourcesResource |
Operations
Gets the Operations resource.
Declaration
public virtual ProjectsResource.LocationsResource.OperationsResource Operations { get; }
Property Value
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.OperationsResource |
Methods
Get(string)
Gets information about a location.
Declaration
public virtual ProjectsResource.LocationsResource.GetRequest Get(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Resource name for the location. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.GetRequest |
GetEntitlement(string)
GetEntitlement returns the entitlement for the provided project.
Declaration
public virtual ProjectsResource.LocationsResource.GetEntitlementRequest GetEntitlement(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. The entitlement resource name Format: projects/{project}/locations/{location}/entitlement |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.GetEntitlementRequest |
List(string)
Lists information about the supported locations for this service. This method lists locations based on
the resource scope provided in the [ListLocationsRequest.name] field: * Global locations: If name
is empty, the method lists the public locations available to all projects. * Project-specific
locations: If name follows the format projects/{project}, the method lists locations visible to
that specific project. This includes public, private, or other project-specific locations enabled for
the project. For gRPC and client library implementations, the resource name is passed as the name
field. For direct service calls, the resource name is incorporated into the request path based on the
specific service implementation and version.
Declaration
public virtual ProjectsResource.LocationsResource.ListRequest List(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The resource that owns the locations collection, if applicable. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ListRequest |
ListApiObservationTags(string)
ListApiObservationTags lists all extant tags on any observation in the given project.
Declaration
public virtual ProjectsResource.LocationsResource.ListApiObservationTagsRequest ListApiObservationTags(string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| string | parent | Required. The parent, which owns this collection of tags. Format: projects/{project}/locations/{location} |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ListApiObservationTagsRequest |