Class ProjectsResource.LocationsResource.OsPolicyAssignmentsResource.ListRequest
List the OS policy assignments under the parent resource. For each OS policy assignment, the latest revision is returned.
Inheritance
ProjectsResource.LocationsResource.OsPolicyAssignmentsResource.ListRequest
Inherited Members
Namespace: Google.Apis.OSConfig.v1
Assembly: Google.Apis.OSConfig.v1.dll
Syntax
public class ProjectsResource.LocationsResource.OsPolicyAssignmentsResource.ListRequest : OSConfigBaseServiceRequest<ListOSPolicyAssignmentsResponse>, IClientServiceRequest<ListOSPolicyAssignmentsResponse>, IClientServiceRequest
Constructors
ListRequest(IClientService, string)
Constructs a new List request.
Declaration
public ListRequest(IClientService service, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | parent |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
PageSize
The maximum number of assignments to return.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type | Description |
---|---|
int? |
PageToken
A pagination token returned from a previous call to ListOSPolicyAssignments
that indicates
where this listing should continue from.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type | Description |
---|---|
string |
Parent
Required. The parent resource name.
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()