Class ProjectsResource.LocationsResource.GlobalResource.PolicyOrchestratorsResource
The "policyOrchestrators" collection of methods.
Inherited Members
Namespace: Google.Apis.OSConfig.v2beta
Assembly: Google.Apis.OSConfig.v2beta.dll
Syntax
public class ProjectsResource.LocationsResource.GlobalResource.PolicyOrchestratorsResource
Constructors
PolicyOrchestratorsResource(IClientService)
Constructs a new resource.
Declaration
public PolicyOrchestratorsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(GoogleCloudOsconfigV2betaPolicyOrchestrator, string)
Creates a new policy orchestrator under the given project resource. name
field of the given
orchestrator are ignored and instead replaced by a product of parent
and
policy_orchestrator_id
. Orchestrator state field might be only set to ACTIVE
, STOPPED
or
omitted (in which case, the created resource will be in ACTIVE
state anyway).
Declaration
public virtual ProjectsResource.LocationsResource.GlobalResource.PolicyOrchestratorsResource.CreateRequest Create(GoogleCloudOsconfigV2betaPolicyOrchestrator body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudOsconfigV2betaPolicyOrchestrator | body | The body of the request. |
string | parent | Required. The parent resource name in the form of: *
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.GlobalResource.PolicyOrchestratorsResource.CreateRequest |
Delete(string)
Deletes an existing policy orchestrator resource, parented by a project.
Declaration
public virtual ProjectsResource.LocationsResource.GlobalResource.PolicyOrchestratorsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Name of the resource to be deleted. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.GlobalResource.PolicyOrchestratorsResource.DeleteRequest |
Get(string)
Retrieves an existing policy orchestrator, parented by a project.
Declaration
public virtual ProjectsResource.LocationsResource.GlobalResource.PolicyOrchestratorsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The resource name. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.GlobalResource.PolicyOrchestratorsResource.GetRequest |
List(string)
Lists the policy orchestrators under the given parent project resource.
Declaration
public virtual ProjectsResource.LocationsResource.GlobalResource.PolicyOrchestratorsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The parent resource name. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.GlobalResource.PolicyOrchestratorsResource.ListRequest |
Patch(GoogleCloudOsconfigV2betaPolicyOrchestrator, string)
Updates an existing policy orchestrator, parented by a project.
Declaration
public virtual ProjectsResource.LocationsResource.GlobalResource.PolicyOrchestratorsResource.PatchRequest Patch(GoogleCloudOsconfigV2betaPolicyOrchestrator body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudOsconfigV2betaPolicyOrchestrator | body | The body of the request. |
string | name | Immutable. Identifier. In form of *
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.GlobalResource.PolicyOrchestratorsResource.PatchRequest |