Class GoogleServiceAccountsResource.GetRequest
Returns the Google service account that is used by Storage Transfer Service to access buckets in the project where transfers run or in other projects. Each Google service account is associated with one Google Cloud project. Users should add this service account to the Google Cloud Storage bucket ACLs to grant access to Storage Transfer Service. This service account is created and owned by Storage Transfer Service and can only be used by Storage Transfer Service.
Inheritance
GoogleServiceAccountsResource.GetRequest
Inherited Members
Namespace: Google.Apis.Storagetransfer.v1
Assembly: Google.Apis.Storagetransfer.v1.dll
Syntax
public class GoogleServiceAccountsResource.GetRequest : StoragetransferBaseServiceRequest<GoogleServiceAccount>, IClientServiceRequest<GoogleServiceAccount>, IClientServiceRequest
Constructors
GetRequest(IClientService, string)
Constructs a new Get request.
Declaration
public GetRequest(IClientService service, string projectId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | projectId |
Properties
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
ProjectId
Required. The ID of the Google Cloud project that the Google service account is associated with.
Declaration
[RequestParameter("projectId", RequestParameterType.Path)]
public virtual string ProjectId { get; }
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 Get parameter list.
Declaration
protected override void InitParameters()