Class OrganizationsResource.LocationsResource.GlobalResource.PolicyOrchestratorsResource
The "policyOrchestrators" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.OSConfig.v2
Assembly: Google.Apis.OSConfig.v2.dll
Syntax
public class OrganizationsResource.LocationsResource.GlobalResource.PolicyOrchestratorsResource
Constructors
PolicyOrchestratorsResource(IClientService)
Constructs a new resource.
Declaration
public PolicyOrchestratorsResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
Create(GoogleCloudOsconfigV2PolicyOrchestrator, string)
Creates a new policy orchestrator under the given organizations 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 OrganizationsResource.LocationsResource.GlobalResource.PolicyOrchestratorsResource.CreateRequest Create(GoogleCloudOsconfigV2PolicyOrchestrator body, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| GoogleCloudOsconfigV2PolicyOrchestrator | body | The body of the request. |
| string | parent | Required. The parent resource name in the form of: *
|
Returns
| Type | Description |
|---|---|
| OrganizationsResource.LocationsResource.GlobalResource.PolicyOrchestratorsResource.CreateRequest |
Delete(string)
Deletes an existing policy orchestrator resource, parented by an organization.
Declaration
public virtual OrganizationsResource.LocationsResource.GlobalResource.PolicyOrchestratorsResource.DeleteRequest Delete(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. Name of the resource to be deleted. |
Returns
| Type | Description |
|---|---|
| OrganizationsResource.LocationsResource.GlobalResource.PolicyOrchestratorsResource.DeleteRequest |
Get(string)
Retrieves an existing policy orchestrator, parented by an organization.
Declaration
public virtual OrganizationsResource.LocationsResource.GlobalResource.PolicyOrchestratorsResource.GetRequest Get(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. The resource name. |
Returns
| Type | Description |
|---|---|
| OrganizationsResource.LocationsResource.GlobalResource.PolicyOrchestratorsResource.GetRequest |
List(string)
Lists the policy orchestrators under the given parent organization resource.
Declaration
public virtual OrganizationsResource.LocationsResource.GlobalResource.PolicyOrchestratorsResource.ListRequest List(string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| string | parent | Required. The parent resource name. |
Returns
| Type | Description |
|---|---|
| OrganizationsResource.LocationsResource.GlobalResource.PolicyOrchestratorsResource.ListRequest |
Patch(GoogleCloudOsconfigV2PolicyOrchestrator, string)
Updates an existing policy orchestrator, parented by an organization.
Declaration
public virtual OrganizationsResource.LocationsResource.GlobalResource.PolicyOrchestratorsResource.PatchRequest Patch(GoogleCloudOsconfigV2PolicyOrchestrator body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| GoogleCloudOsconfigV2PolicyOrchestrator | body | The body of the request. |
| string | name | Immutable. Identifier. In form of *
|
Returns
| Type | Description |
|---|---|
| OrganizationsResource.LocationsResource.GlobalResource.PolicyOrchestratorsResource.PatchRequest |