Class ProjectsResource.ProtectedResourcesResource
The "protectedResources" collection of methods.
Inherited Members
Namespace: Google.Apis.Kmsinventory.v1
Assembly: Google.Apis.Kmsinventory.v1.dll
Syntax
public class ProjectsResource.ProtectedResourcesResource
Constructors
ProtectedResourcesResource(IClientService)
Constructs a new resource.
Declaration
public ProtectedResourcesResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
Search(string)
Returns metadata about the resources protected by the given Cloud KMS CryptoKey in the given Cloud organization/project.
Declaration
public virtual ProjectsResource.ProtectedResourcesResource.SearchRequest Search(string scope)
Parameters
| Type | Name | Description |
|---|---|---|
| string | scope | Required. A scope can be an organization or a project. Resources protected by the crypto key in provided scope will be returned. The allowed values are: * organizations/{ORGANIZATION_NUMBER} (e.g., "organizations/12345678") * projects/{PROJECT_ID} (e.g., "projects/foo-bar") * projects/{PROJECT_NUMBER} (e.g., "projects/12345678") |
Returns
| Type | Description |
|---|---|
| ProjectsResource.ProtectedResourcesResource.SearchRequest |