Class ProjectsResource.RegionsResource.ClustersResource.DiagnoseRequest
Gets cluster diagnostic information. The returned Operation.metadata will be ClusterOperationMetadata (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc .v1#clusteroperationmetadata). After the operation completes, Operation.response contains DiagnoseClusterResults (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v 1#diagnoseclusterresults).
Inheritance
System.Object
ProjectsResource.RegionsResource.ClustersResource.DiagnoseRequest
Inherited Members
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.Dataproc.v1
Assembly: Google.Apis.Dataproc.v1.dll
Syntax
public class DiagnoseRequest : DataprocBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
DiagnoseRequest(IClientService, DiagnoseClusterRequest, String, String, String)
Constructs a new Diagnose request.
Declaration
public DiagnoseRequest(IClientService service, DiagnoseClusterRequest body, string projectId, string region, string clusterName)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| DiagnoseClusterRequest | body | |
| System.String | projectId | |
| System.String | region | |
| System.String | clusterName |
Properties
ClusterName
Required. The cluster name.
Declaration
[RequestParameter("clusterName", RequestParameterType.Path)]
public virtual string ClusterName { 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.Dataproc.v1.Data.Operation>.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.Dataproc.v1.Data.Operation>.MethodName
ProjectId
Required. The ID of the Google Cloud Platform project that the cluster belongs to.
Declaration
[RequestParameter("projectId", RequestParameterType.Path)]
public virtual string ProjectId { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Region
Required. The Dataproc region in which to handle the request.
Declaration
[RequestParameter("region", RequestParameterType.Path)]
public virtual string Region { 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.Dataproc.v1.Data.Operation>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| System.Object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dataproc.v1.Data.Operation>.GetBody()
InitParameters()
Initializes Diagnose parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.Dataproc.v1.DataprocBaseServiceRequest<Google.Apis.Dataproc.v1.Data.Operation>.InitParameters()