Class ProjectsResource.GuestPoliciesResource
The "guestPolicies" collection of methods.
Inherited Members
Namespace: Google.Apis.OSConfig.v1beta
Assembly: Google.Apis.OSConfig.v1beta.dll
Syntax
public class ProjectsResource.GuestPoliciesResource
Constructors
GuestPoliciesResource(IClientService)
Constructs a new resource.
Declaration
public GuestPoliciesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(GuestPolicy, string)
Create an OS Config guest policy.
Declaration
public virtual ProjectsResource.GuestPoliciesResource.CreateRequest Create(GuestPolicy body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GuestPolicy | body | The body of the request. |
string | parent | Required. The resource name of the parent using one of the following forms: |
Returns
Type | Description |
---|---|
ProjectsResource.GuestPoliciesResource.CreateRequest |
Delete(string)
Delete an OS Config guest policy.
Declaration
public virtual ProjectsResource.GuestPoliciesResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The resource name of the guest policy using one of the following forms:
|
Returns
Type | Description |
---|---|
ProjectsResource.GuestPoliciesResource.DeleteRequest |
Get(string)
Get an OS Config guest policy.
Declaration
public virtual ProjectsResource.GuestPoliciesResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The resource name of the guest policy using one of the following forms:
|
Returns
Type | Description |
---|---|
ProjectsResource.GuestPoliciesResource.GetRequest |
List(string)
Get a page of OS Config guest policies.
Declaration
public virtual ProjectsResource.GuestPoliciesResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The resource name of the parent using one of the following forms: |
Returns
Type | Description |
---|---|
ProjectsResource.GuestPoliciesResource.ListRequest |
Patch(GuestPolicy, string)
Update an OS Config guest policy.
Declaration
public virtual ProjectsResource.GuestPoliciesResource.PatchRequest Patch(GuestPolicy body, string name)
Parameters
Type | Name | Description |
---|---|---|
GuestPolicy | body | The body of the request. |
string | name | Required. Unique name of the resource in this project using one of the following forms:
|
Returns
Type | Description |
---|---|
ProjectsResource.GuestPoliciesResource.PatchRequest |