Show / Hide Table of Contents

Class ServicesResource.BatchGetRequest

Returns the service configurations and enabled states for a given list of services.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<BatchGetServicesResponse>
ServiceUsageBaseServiceRequest<BatchGetServicesResponse>
ServicesResource.BatchGetRequest
Implements
IClientServiceRequest<BatchGetServicesResponse>
IClientServiceRequest
Inherited Members
ServiceUsageBaseServiceRequest<BatchGetServicesResponse>.Xgafv
ServiceUsageBaseServiceRequest<BatchGetServicesResponse>.AccessToken
ServiceUsageBaseServiceRequest<BatchGetServicesResponse>.Alt
ServiceUsageBaseServiceRequest<BatchGetServicesResponse>.Callback
ServiceUsageBaseServiceRequest<BatchGetServicesResponse>.Fields
ServiceUsageBaseServiceRequest<BatchGetServicesResponse>.Key
ServiceUsageBaseServiceRequest<BatchGetServicesResponse>.OauthToken
ServiceUsageBaseServiceRequest<BatchGetServicesResponse>.PrettyPrint
ServiceUsageBaseServiceRequest<BatchGetServicesResponse>.QuotaUser
ServiceUsageBaseServiceRequest<BatchGetServicesResponse>.UploadType
ServiceUsageBaseServiceRequest<BatchGetServicesResponse>.UploadProtocol
ClientServiceRequest<BatchGetServicesResponse>.Execute()
ClientServiceRequest<BatchGetServicesResponse>.ExecuteAsStream()
ClientServiceRequest<BatchGetServicesResponse>.ExecuteAsync()
ClientServiceRequest<BatchGetServicesResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<BatchGetServicesResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<BatchGetServicesResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<BatchGetServicesResponse>.CreateRequest(bool?)
ClientServiceRequest<BatchGetServicesResponse>.GenerateRequestUri()
ClientServiceRequest<BatchGetServicesResponse>.GetBody()
ClientServiceRequest<BatchGetServicesResponse>.GetDefaultETagAction(string)
ClientServiceRequest<BatchGetServicesResponse>.ETagAction
ClientServiceRequest<BatchGetServicesResponse>.ModifyRequest
ClientServiceRequest<BatchGetServicesResponse>.ValidateParameters
ClientServiceRequest<BatchGetServicesResponse>.ApiVersion
ClientServiceRequest<BatchGetServicesResponse>.RequestParameters
ClientServiceRequest<BatchGetServicesResponse>.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.v1
Assembly: Google.Apis.ServiceUsage.v1.dll
Syntax
public class ServicesResource.BatchGetRequest : ServiceUsageBaseServiceRequest<BatchGetServicesResponse>, IClientServiceRequest<BatchGetServicesResponse>, IClientServiceRequest

Constructors

BatchGetRequest(IClientService, string)

Constructs a new BatchGet request.

Declaration
public BatchGetRequest(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
ClientServiceRequest<BatchGetServicesResponse>.HttpMethod

MethodName

Gets the method name.

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

Names

Names of the services to retrieve. An example name would be: projects/123/services/serviceusage.googleapis.com where 123 is the project number. A single request can get a maximum of 30 services at a time.

Declaration
[RequestParameter("names", RequestParameterType.Query)]
public virtual Repeatable<string> Names { get; set; }
Property Value
Type Description
Repeatable<string>

Parent

Parent to retrieve services from. If this is set, the parent of all of the services specified in names must match this field. An example name would be: projects/123 where 123 is the project number. The BatchGetServices method currently only supports projects.

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<BatchGetServicesResponse>.RestPath

Methods

InitParameters()

Initializes BatchGet parameter list.

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

Implements

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