Class ProjectsResource.ConfigsResource.VariablesResource.ListRequest
Lists variables within given a configuration, matching any provided filters. This only lists
variable names, not the values, unless return_values is true, in which case only variables that
user has IAM permission to GetVariable will be returned.
Inheritance
Inherited Members
Namespace: Google.Apis.CloudRuntimeConfig.v1beta1
Assembly: Google.Apis.CloudRuntimeConfig.v1beta1.dll
Syntax
public class ProjectsResource.ConfigsResource.VariablesResource.ListRequest : CloudRuntimeConfigBaseServiceRequest<ListVariablesResponse>, IClientServiceRequest<ListVariablesResponse>, 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
Filter
Filters variables by matching the specified filter. For example:
projects/example-project/config/[CONFIG_NAME]/variables/example-variable.
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
PageSize
Specifies the number of results to return per page. If there are fewer elements than the specified number, returns all elements.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
PageToken
Specifies a page token to use. Set pageToken to a nextPageToken returned by a previous list
request to get the next page of results.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Parent
The path to the RuntimeConfig resource for which you want to list variables. The configuration
must exist beforehand; the path must be in the format:
projects/[PROJECT_ID]/configs/[CONFIG_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
ReturnValues
The flag indicates whether the user wants to return values of variables. If true, then only those variables that user has IAM GetVariable permission will be returned along with their values.
Declaration
[RequestParameter("returnValues", RequestParameterType.Query)]
public virtual bool? ReturnValues { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()