Class NamespacesResource.ServicesResource.GetRequest
Gets information about a service.
Inheritance
NamespacesResource.ServicesResource.GetRequest
Inherited Members
Namespace: Google.Apis.CloudRun.v1
Assembly: Google.Apis.CloudRun.v1.dll
Syntax
public class NamespacesResource.ServicesResource.GetRequest : CloudRunBaseServiceRequest<Service>, IClientServiceRequest<Service>, IClientServiceRequest
Constructors
GetRequest(IClientService, string)
Constructs a new Get request.
Declaration
public GetRequest(IClientService service, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | name |
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
Name
Required. The fully qualified name of the service to retrieve. It can be any of the following forms:
namespaces/{project_id_or_number}/services/{service_name}
(only when theendpoint
is regional)projects/{project_id_or_number}/locations/{region}/services/{service_name}
*projects/{project_id_or_number}/regions/{region}/services/{service_name}
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { 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()