Show / Hide Table of Contents

Class MobiledevicesResource.GetRequest

Retrieves a mobile device's properties.

Inheritance
System.Object
ClientServiceRequest
ClientServiceRequest<MobileDevice>
DirectoryBaseServiceRequest<MobileDevice>
MobiledevicesResource.GetRequest
Implements
IClientServiceRequest<MobileDevice>
IClientServiceRequest
Inherited Members
DirectoryBaseServiceRequest<MobileDevice>.Xgafv
DirectoryBaseServiceRequest<MobileDevice>.AccessToken
DirectoryBaseServiceRequest<MobileDevice>.Alt
DirectoryBaseServiceRequest<MobileDevice>.Callback
DirectoryBaseServiceRequest<MobileDevice>.Fields
DirectoryBaseServiceRequest<MobileDevice>.Key
DirectoryBaseServiceRequest<MobileDevice>.OauthToken
DirectoryBaseServiceRequest<MobileDevice>.PrettyPrint
DirectoryBaseServiceRequest<MobileDevice>.QuotaUser
DirectoryBaseServiceRequest<MobileDevice>.UploadType
DirectoryBaseServiceRequest<MobileDevice>.UploadProtocol
ClientServiceRequest<MobileDevice>.Execute()
ClientServiceRequest<MobileDevice>.ExecuteAsStream()
ClientServiceRequest<MobileDevice>.ExecuteAsync()
ClientServiceRequest<MobileDevice>.ExecuteAsync(CancellationToken)
ClientServiceRequest<MobileDevice>.ExecuteAsStreamAsync()
ClientServiceRequest<MobileDevice>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<MobileDevice>.CreateRequest(Nullable<Boolean>)
ClientServiceRequest<MobileDevice>.GenerateRequestUri()
ClientServiceRequest<MobileDevice>.GetBody()
ClientServiceRequest<MobileDevice>.GetDefaultETagAction(String)
ClientServiceRequest<MobileDevice>.ETagAction
ClientServiceRequest<MobileDevice>.ModifyRequest
ClientServiceRequest<MobileDevice>.RequestParameters
ClientServiceRequest<MobileDevice>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Admin.Directory.directory_v1
Assembly: Google.Apis.Admin.Directory.directory_v1.dll
Syntax
public class GetRequest : DirectoryBaseServiceRequest<MobileDevice>, IClientServiceRequest<MobileDevice>, IClientServiceRequest

Constructors

GetRequest(IClientService, String, String)

Constructs a new Get request.

Declaration
public GetRequest(IClientService service, string customerId, string resourceId)
Parameters
Type Name Description
IClientService service
System.String customerId
System.String resourceId

Properties

CustomerId

The unique ID for the customer's G Suite account. As an account administrator, you can also use the my_customer alias to represent your account's customerId. The customerId is also returned as part of the Users resource.

Declaration
[RequestParameter("customerId", RequestParameterType.Path)]
public virtual string CustomerId { get; }
Property Value
Type Description
System.String

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Admin.Directory.directory_v1.Data.MobileDevice>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Admin.Directory.directory_v1.Data.MobileDevice>.MethodName

Projection

Restrict information returned to a set of selected fields.

Declaration
[RequestParameter("projection", RequestParameterType.Query)]
public virtual MobiledevicesResource.GetRequest.ProjectionEnum? Projection { get; set; }
Property Value
Type Description
System.Nullable<MobiledevicesResource.GetRequest.ProjectionEnum>

ResourceId

The unique ID the API service uses to identify the mobile device.

Declaration
[RequestParameter("resourceId", RequestParameterType.Path)]
public virtual string ResourceId { get; }
Property Value
Type Description
System.String

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Admin.Directory.directory_v1.Data.MobileDevice>.RestPath

Methods

InitParameters()

Initializes Get parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.Admin.Directory.directory_v1.DirectoryBaseServiceRequest<Google.Apis.Admin.Directory.directory_v1.Data.MobileDevice>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
Back to top