Class OrganizationsResource.LocationsResource.PosturesResource.GetRequest
Gets a single revision of a Posture.
Inheritance
OrganizationsResource.LocationsResource.PosturesResource.GetRequest
Inherited Members
Namespace: Google.Apis.SecurityPosture.v1
Assembly: Google.Apis.SecurityPosture.v1.dll
Syntax
public class OrganizationsResource.LocationsResource.PosturesResource.GetRequest : SecurityPostureBaseServiceRequest<Posture>, IClientServiceRequest<Posture>, 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 Posture, in the format
organizations/{organization}/locations/global/postures/{posture_id}
.
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
RevisionId
Optional. The posture revision to retrieve. If not specified, the most recently updated revision is retrieved.
Declaration
[RequestParameter("revisionId", RequestParameterType.Query)]
public virtual string RevisionId { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
InitParameters()
Initializes Get parameter list.
Declaration
protected override void InitParameters()