Class OrganizationsResource.LocationsResource.NotificationsResource.GetRequest
Gets a notification.
Inheritance
OrganizationsResource.LocationsResource.NotificationsResource.GetRequest
Implements
Inherited Members
Namespace: Google.Apis.Advisorynotifications.v1
Assembly: Google.Apis.Advisorynotifications.v1.dll
Syntax
public class OrganizationsResource.LocationsResource.NotificationsResource.GetRequest : AdvisorynotificationsBaseServiceRequest<GoogleCloudAdvisorynotificationsV1Notification>, IClientServiceRequest<GoogleCloudAdvisorynotificationsV1Notification>, 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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Advisorynotifications.v1.Data.GoogleCloudAdvisorynotificationsV1Notification>.HttpMethod
LanguageCode
ISO code for requested localization language. If unset, will be interpereted as "en". If the requested language is valid, but not supported for this notification, English will be returned with an "Not applicable" LocalizationState. If the ISO code is invalid (i.e. not a real language), this RPC will throw an error.
Declaration
[RequestParameter("languageCode", RequestParameterType.Query)]
public virtual string LanguageCode { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Advisorynotifications.v1.Data.GoogleCloudAdvisorynotificationsV1Notification>.MethodName
Name
Required. A name of the notification to retrieve. Format: organizations/{organization}/locations/{location}/notifications/{notification} or projects/{projects}/locations/{location}/notifications/{notification}.
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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Advisorynotifications.v1.Data.GoogleCloudAdvisorynotificationsV1Notification>.RestPath
Methods
InitParameters()
Initializes Get parameter list.
Declaration
protected override void InitParameters()