Class: Google::Cloud::Kms::Inventory::V1::SearchProtectedResourcesRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/kms/inventory/v1/key_tracking_service.rb

Overview

Instance Attribute Summary collapse

Instance Attribute Details

#crypto_key::String

Returns Required. The resource name of the CryptoKey.

Returns:

  • (::String)

    Required. The resource name of the CryptoKey.



133
134
135
136
# File 'proto_docs/google/cloud/kms/inventory/v1/key_tracking_service.rb', line 133

class SearchProtectedResourcesRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#page_size::Integer

Returns 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.

Returns:

  • (::Integer)

    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.



133
134
135
136
# File 'proto_docs/google/cloud/kms/inventory/v1/key_tracking_service.rb', line 133

class SearchProtectedResourcesRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#page_token::String

Returns 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.

Returns:



133
134
135
136
# File 'proto_docs/google/cloud/kms/inventory/v1/key_tracking_service.rb', line 133

class SearchProtectedResourcesRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#resource_types::Array<::String>

Returns 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.

Returns:

  • (::Array<::String>)

    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.



133
134
135
136
# File 'proto_docs/google/cloud/kms/inventory/v1/key_tracking_service.rb', line 133

class SearchProtectedResourcesRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#scope::String

Returns Required. Resource name of the organization. Example: organizations/123.

Returns:

  • (::String)

    Required. Resource name of the organization. Example: organizations/123



133
134
135
136
# File 'proto_docs/google/cloud/kms/inventory/v1/key_tracking_service.rb', line 133

class SearchProtectedResourcesRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end