Class ProjectsResource.LocationsResource
The "locations" collection of methods.
Inherited Members
Namespace: Google.Apis.CloudAuditManager.v1
Assembly: Google.Apis.CloudAuditManager.v1.dll
Syntax
public class ProjectsResource.LocationsResource
Constructors
LocationsResource(IClientService)
Constructs a new resource.
Declaration
public LocationsResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Properties
AuditReports
Gets the AuditReports resource.
Declaration
public virtual ProjectsResource.LocationsResource.AuditReportsResource AuditReports { get; }
Property Value
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.AuditReportsResource |
AuditSchedules
Gets the AuditSchedules resource.
Declaration
public virtual ProjectsResource.LocationsResource.AuditSchedulesResource AuditSchedules { get; }
Property Value
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.AuditSchedulesResource |
AuditScopeReports
Gets the AuditScopeReports resource.
Declaration
public virtual ProjectsResource.LocationsResource.AuditScopeReportsResource AuditScopeReports { get; }
Property Value
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.AuditScopeReportsResource |
OperationDetails
Gets the OperationDetails resource.
Declaration
public virtual ProjectsResource.LocationsResource.OperationDetailsResource OperationDetails { get; }
Property Value
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.OperationDetailsResource |
OperationIds
Gets the OperationIds resource.
Declaration
public virtual ProjectsResource.LocationsResource.OperationIdsResource OperationIds { get; }
Property Value
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.OperationIdsResource |
Operations
Gets the Operations resource.
Declaration
public virtual ProjectsResource.LocationsResource.OperationsResource Operations { get; }
Property Value
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.OperationsResource |
ResourceEnrollmentStatuses
Gets the ResourceEnrollmentStatuses resource.
Declaration
public virtual ProjectsResource.LocationsResource.ResourceEnrollmentStatusesResource ResourceEnrollmentStatuses { get; }
Property Value
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ResourceEnrollmentStatusesResource |
Standards
Gets the Standards resource.
Declaration
public virtual ProjectsResource.LocationsResource.StandardsResource Standards { get; }
Property Value
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.StandardsResource |
Methods
EnrollResource(EnrollResourceRequest, string)
Adds your project, folder, or organization to Audit Manager. This method creates the Audit Manager service agent in your workload and grants required permissions to the service agent. If you make this request on a workload that's already enrolled, then this method overrides the existing set of destinations.
Declaration
public virtual ProjectsResource.LocationsResource.EnrollResourceRequest EnrollResource(EnrollResourceRequest body, string scope)
Parameters
| Type | Name | Description |
|---|---|---|
| EnrollResourceRequest | body | The body of the request. |
| string | scope | Required. Organization, folder, or project to enroll in Audit Manager, in one of the following formats:
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.EnrollResourceRequest |
Get(string)
Gets information about a location.
Declaration
public virtual ProjectsResource.LocationsResource.GetRequest Get(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Resource name for the location. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.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 ProjectsResource.LocationsResource.ListRequest List(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The resource that owns the locations collection, if applicable. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ListRequest |