Class OrganizationsResource.LocationsResource
The "locations" collection of methods.
Inherited Members
Namespace: Google.Apis.SecurityPosture.v1
Assembly: Google.Apis.SecurityPosture.v1.dll
Syntax
public class OrganizationsResource.LocationsResource
Constructors
LocationsResource(IClientService)
Constructs a new resource.
Declaration
public LocationsResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Properties
Operations
Gets the Operations resource.
Declaration
public virtual OrganizationsResource.LocationsResource.OperationsResource Operations { get; }
Property Value
| Type | Description |
|---|---|
| OrganizationsResource.LocationsResource.OperationsResource |
PostureDeployments
Gets the PostureDeployments resource.
Declaration
public virtual OrganizationsResource.LocationsResource.PostureDeploymentsResource PostureDeployments { get; }
Property Value
| Type | Description |
|---|---|
| OrganizationsResource.LocationsResource.PostureDeploymentsResource |
PostureTemplates
Gets the PostureTemplates resource.
Declaration
public virtual OrganizationsResource.LocationsResource.PostureTemplatesResource PostureTemplates { get; }
Property Value
| Type | Description |
|---|---|
| OrganizationsResource.LocationsResource.PostureTemplatesResource |
Postures
Gets the Postures resource.
Declaration
public virtual OrganizationsResource.LocationsResource.PosturesResource Postures { get; }
Property Value
| Type | Description |
|---|---|
| OrganizationsResource.LocationsResource.PosturesResource |
Reports
Gets the Reports resource.
Declaration
public virtual OrganizationsResource.LocationsResource.ReportsResource Reports { get; }
Property Value
| Type | Description |
|---|---|
| OrganizationsResource.LocationsResource.ReportsResource |
Methods
Get(string)
Gets information about a location.
Declaration
public virtual OrganizationsResource.LocationsResource.GetRequest Get(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Resource name for the location. |
Returns
| Type | Description |
|---|---|
| OrganizationsResource.LocationsResource.GetRequest |
List(string)
Lists information about the supported locations for this service. This method lists locations based on
the resource scope provided in the ListLocationsRequest.name field: * Global locations: If name is
empty, the method lists the public locations available to all projects. * Project-specific
locations: If name follows the format projects/{project}, the method lists locations visible to
that specific project. This includes public, private, or other project-specific locations enabled for
the project. For gRPC and client library implementations, the resource name is passed as the name
field. For direct service calls, the resource name is incorporated into the request path based on the
specific service implementation and version.
Declaration
public virtual OrganizationsResource.LocationsResource.ListRequest List(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The resource that owns the locations collection, if applicable. |
Returns
| Type | Description |
|---|---|
| OrganizationsResource.LocationsResource.ListRequest |