Class ProjectsResource.RegionsResource.ClustersResource.InjectCredentialsRequest
Inject encrypted credentials into all of the VMs in a cluster.The target cluster must be a personal auth cluster assigned to the user who is issuing the RPC.
Inheritance
ProjectsResource.RegionsResource.ClustersResource.InjectCredentialsRequest
Inherited Members
Namespace: Google.Apis.Dataproc.v1
Assembly: Google.Apis.Dataproc.v1.dll
Syntax
public class ProjectsResource.RegionsResource.ClustersResource.InjectCredentialsRequest : DataprocBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
InjectCredentialsRequest(IClientService, InjectCredentialsRequest, string, string, string)
Constructs a new InjectCredentials request.
Declaration
public InjectCredentialsRequest(IClientService service, InjectCredentialsRequest body, string project, string region, string cluster)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
InjectCredentialsRequest | body | |
string | project | |
string | region | |
string | cluster |
Properties
Cluster
Required. The cluster, in the form clusters/.
Declaration
[RequestParameter("cluster", RequestParameterType.Path)]
public virtual string Cluster { get; }
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
Project
Required. The ID of the Google Cloud Platform project the cluster belongs to, of the form projects/.
Declaration
[RequestParameter("project", RequestParameterType.Path)]
public virtual string Project { get; }
Property Value
Type | Description |
---|---|
string |
Region
Required. The region containing the cluster, of the form regions/.
Declaration
[RequestParameter("region", RequestParameterType.Path)]
public virtual string Region { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes InjectCredentials parameter list.
Declaration
protected override void InitParameters()