Class ProjectsResource.SettingsResource.GetRequest
Returns a specified setting. Returns a google.rpc.Status
with google.rpc.Code.NOT_FOUND
if the
setting does not exist.
Inheritance
ProjectsResource.SettingsResource.GetRequest
Inherited Members
Namespace: Google.Apis.ResourceSettings.v1
Assembly: Google.Apis.ResourceSettings.v1.dll
Syntax
public class ProjectsResource.SettingsResource.GetRequest : ResourceSettingsBaseServiceRequest<GoogleCloudResourcesettingsV1Setting>, IClientServiceRequest<GoogleCloudResourcesettingsV1Setting>, 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 name of the setting to get. See Setting for naming requirements.
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
View
The SettingView for this request.
Declaration
[RequestParameter("view", RequestParameterType.Query)]
public virtual ProjectsResource.SettingsResource.GetRequest.ViewEnum? View { get; set; }
Property Value
Type | Description |
---|---|
ProjectsResource.SettingsResource.GetRequest.ViewEnum? |
Methods
InitParameters()
Initializes Get parameter list.
Declaration
protected override void InitParameters()