Class ProjectsResource.ReleasesResource.ListRequest
List the Release
values for a project. This list may optionally be filtered by Release
name,
Ruleset
name, TestSuite
name, or any combination thereof.
Inheritance
Inherited Members
Namespace: Google.Apis.FirebaseRules.v1
Assembly: Google.Apis.FirebaseRules.v1.dll
Syntax
public class ProjectsResource.ReleasesResource.ListRequest : FirebaseRulesBaseServiceRequest<ListReleasesResponse>, IClientServiceRequest<ListReleasesResponse>, IClientServiceRequest
Constructors
ListRequest(IClientService, string)
Constructs a new List request.
Declaration
public ListRequest(IClientService service, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | name |
Properties
Filter
Release
filter. The list method supports filters with restrictions on the Release.name
, and
Release.ruleset_name
. Example 1: A filter of 'name=prod*' might return Release
s with names
within 'projects/foo' prefixed with 'prod': Name -> Ruleset Name: *
projects/foo/releases/prod -> projects/foo/rulesets/uuid1234 * projects/foo/releases/prod/v1
-> projects/foo/rulesets/uuid1234 * projects/foo/releases/prod/v2 ->
projects/foo/rulesets/uuid8888 Example 2: A filter of name=prod* ruleset_name=uuid1234
would
return only Release
instances for 'projects/foo' with names prefixed with 'prod' referring to the
same Ruleset
name of 'uuid1234': Name -> Ruleset Name: * projects/foo/releases/prod
-> projects/foo/rulesets/1234 * projects/foo/releases/prod/v1 ->
projects/foo/rulesets/1234 In the examples, the filter parameters refer to the search filters are
relative to the project. Fully qualified prefixed may also be used.
Declaration
[RequestParameter("filter", RequestParameterType.Query)]
public virtual string Filter { get; set; }
Property Value
Type | Description |
---|---|
string |
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
Name
Required. Resource name for the project. Format: projects/{project_id}
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
PageSize
Page size to load. Maximum of 100. Defaults to 10. Note: page_size
is just a hint and the service
may choose to load fewer than page_size
results due to the size of the output. To traverse all of
the releases, the caller should iterate until the page_token
on the response is empty.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type | Description |
---|---|
int? |
PageToken
Next page token for the next batch of Release
instances.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
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()