Class ProjectsResource.LocationsResource
The "locations" collection of methods.
Inherited Members
Namespace: Google.Apis.CloudScheduler.v1
Assembly: Google.Apis.CloudScheduler.v1.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
Jobs
Gets the Jobs resource.
Declaration
public virtual ProjectsResource.LocationsResource.JobsResource Jobs { get; }
Property Value
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.JobsResource |
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 |
GetCmekConfig(string)
Gets the Scheduler config in the project/region.
Declaration
public virtual ProjectsResource.LocationsResource.GetCmekConfigRequest GetCmekConfig(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. The config name. For example: projects/PROJECT_ID/locations/LOCATION_ID/cmekConfig |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.GetCmekConfigRequest |
List(string)
Lists information about the supported locations for this service.
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 |
UpdateCmekConfig(CmekConfig, string)
Initializes or Updates the a scheduler config.
Declaration
public virtual ProjectsResource.LocationsResource.UpdateCmekConfigRequest UpdateCmekConfig(CmekConfig body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| CmekConfig | body | The body of the request. |
| string | name | Identifier. The config resource name which includes the project and location and must end in 'cmekConfig', in the format projects/PROJECT_ID/locations/LOCATION_ID/cmekConfig` |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.UpdateCmekConfigRequest |