Class ProjectsResource.PlatformsResource.PoliciesResource.ListRequest
Lists platform policies owned by a project in the specified platform. Returns INVALID_ARGUMENT
if
the project or the platform doesn't exist.
Inheritance
ProjectsResource.PlatformsResource.PoliciesResource.ListRequest
Inherited Members
Namespace: Google.Apis.BinaryAuthorization.v1
Assembly: Google.Apis.BinaryAuthorization.v1.dll
Syntax
public class ProjectsResource.PlatformsResource.PoliciesResource.ListRequest : BinaryAuthorizationBaseServiceRequest<ListPlatformPoliciesResponse>, IClientServiceRequest<ListPlatformPoliciesResponse>, 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
Requested page size. The server may return fewer results than requested. If unspecified, the server picks an appropriate default.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type | Description |
---|---|
int? |
PageToken
A token identifying a page of results the server should return. Typically, this is the value of
ListPlatformPoliciesResponse.next_page_token returned from the previous call to the
ListPlatformPolicies
method.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type | Description |
---|---|
string |
Parent
Required. The resource name of the platform associated with the platform policies using the
format projects/*/platforms/*
.
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()