Class OrganizationsResource.ProtectedResourcesResource.SearchRequest
Returns metadata about the resources protected by the given Cloud KMS CryptoKey in the given Cloud organization.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.Kmsinventory.v1
Assembly: Google.Apis.Kmsinventory.v1.dll
Syntax
public class OrganizationsResource.ProtectedResourcesResource.SearchRequest : KmsinventoryBaseServiceRequest<GoogleCloudKmsInventoryV1SearchProtectedResourcesResponse>, IClientServiceRequest<GoogleCloudKmsInventoryV1SearchProtectedResourcesResponse>, IClientServiceRequest
Constructors
SearchRequest(IClientService, string)
Constructs a new Search request.
Declaration
public SearchRequest(IClientService service, string scope)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | scope |
Properties
CryptoKey
Required. The resource name of the CryptoKey.
Declaration
[RequestParameter("cryptoKey", RequestParameterType.Query)]
public virtual string CryptoKey { get; set; }
Property Value
Type | Description |
---|---|
string |
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
PageSize
The maximum number of resources to return. The service may return fewer than this value. If unspecified, at most 500 resources will be returned. The maximum value is 500; values above 500 will be coerced to 500.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type | Description |
---|---|
int? |
PageToken
A page token, received from a previous KeyTrackingService.SearchProtectedResources call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to KeyTrackingService.SearchProtectedResources must match the call that provided the page token.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type | Description |
---|---|
string |
ResourceTypes
Optional. A list of resource types that this request searches for. If empty, it will search all the
trackable resource types.
Regular expressions are also supported. For example: * compute.googleapis.com.*
snapshots
resources whose type starts with compute.googleapis.com
. * .*Image
snapshots resources whose
type ends with Image
. * .*Image.*
snapshots resources whose type contains Image
. See
RE2 for all supported regular expression syntax. If the
regular expression does not match any supported resource type, an INVALID_ARGUMENT error will be
returned.
Declaration
[RequestParameter("resourceTypes", RequestParameterType.Query)]
public virtual Repeatable<string> ResourceTypes { get; set; }
Property Value
Type | Description |
---|---|
Repeatable<string> |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Scope
Required. Resource name of the organization. Example: organizations/123
Declaration
[RequestParameter("scope", RequestParameterType.Path)]
public virtual string Scope { get; }
Property Value
Type | Description |
---|---|
string |
Methods
InitParameters()
Initializes Search parameter list.
Declaration
protected override void InitParameters()