Show / Hide Table of Contents

Class ServicesResource.ListRequest

Lists all services available to the specified project, and the current state of those services with respect to the project. The list includes all public services, all services for which the calling user has the servicemanagement.services.bind permission, and all services that have already been enabled on the project. The list can be filtered to only include services in a specific state, for example to only include services enabled on the project.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<ListServicesResponse>
ServiceUsageBaseServiceRequest<ListServicesResponse>
ServicesResource.ListRequest
Implements
IClientServiceRequest<ListServicesResponse>
IClientServiceRequest
Inherited Members
ServiceUsageBaseServiceRequest<ListServicesResponse>.Xgafv
ServiceUsageBaseServiceRequest<ListServicesResponse>.AccessToken
ServiceUsageBaseServiceRequest<ListServicesResponse>.Alt
ServiceUsageBaseServiceRequest<ListServicesResponse>.Callback
ServiceUsageBaseServiceRequest<ListServicesResponse>.Fields
ServiceUsageBaseServiceRequest<ListServicesResponse>.Key
ServiceUsageBaseServiceRequest<ListServicesResponse>.OauthToken
ServiceUsageBaseServiceRequest<ListServicesResponse>.PrettyPrint
ServiceUsageBaseServiceRequest<ListServicesResponse>.QuotaUser
ServiceUsageBaseServiceRequest<ListServicesResponse>.UploadType
ServiceUsageBaseServiceRequest<ListServicesResponse>.UploadProtocol
ClientServiceRequest<ListServicesResponse>.Execute()
ClientServiceRequest<ListServicesResponse>.ExecuteAsStream()
ClientServiceRequest<ListServicesResponse>.ExecuteAsync()
ClientServiceRequest<ListServicesResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<ListServicesResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<ListServicesResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<ListServicesResponse>.CreateRequest(bool?)
ClientServiceRequest<ListServicesResponse>.GenerateRequestUri()
ClientServiceRequest<ListServicesResponse>.GetBody()
ClientServiceRequest<ListServicesResponse>.GetDefaultETagAction(string)
ClientServiceRequest<ListServicesResponse>.ETagAction
ClientServiceRequest<ListServicesResponse>.ModifyRequest
ClientServiceRequest<ListServicesResponse>.ValidateParameters
ClientServiceRequest<ListServicesResponse>.ApiVersion
ClientServiceRequest<ListServicesResponse>.RequestParameters
ClientServiceRequest<ListServicesResponse>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.ServiceUsage.v1beta1
Assembly: Google.Apis.ServiceUsage.v1beta1.dll
Syntax
public class ServicesResource.ListRequest : ServiceUsageBaseServiceRequest<ListServicesResponse>, IClientServiceRequest<ListServicesResponse>, 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

Only list services that conform to the given filter. The allowed filter strings are state:ENABLED and state:DISABLED.

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
ClientServiceRequest<ListServicesResponse>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<ListServicesResponse>.MethodName

PageSize

Requested size of the next page of data. Requested page size cannot exceed 200. If not set, the default page size is 50.

Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type Description
int?

PageToken

Token identifying which result to start with, which is returned by a previous list call.

Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type Description
string

Parent

Parent to search for services on. An example name would be: projects/123 where 123 is the project number (not project ID).

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
ClientServiceRequest<ListServicesResponse>.RestPath

Methods

InitParameters()

Initializes List parameter list.

Declaration
protected override void InitParameters()
Overrides
ServiceUsageBaseServiceRequest<ListServicesResponse>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX