KMS Inventory V1 API - Class Google::Cloud::Kms::Inventory::V1::SearchProtectedResourcesRequest (v0.7.0)

Reference documentation and code samples for the KMS Inventory V1 API class Google::Cloud::Kms::Inventory::V1::SearchProtectedResourcesRequest.

Request message for KeyTrackingService.SearchProtectedResources.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#crypto_key

def crypto_key() -> ::String
Returns
  • (::String) — Required. The resource name of the CryptoKey.

#crypto_key=

def crypto_key=(value) -> ::String
Parameter
  • value (::String) — Required. The resource name of the CryptoKey.
Returns
  • (::String) — Required. The resource name of the CryptoKey.

#page_size

def page_size() -> ::Integer
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.

#page_size=

def page_size=(value) -> ::Integer
Parameter
  • value (::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.
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.

#page_token

def page_token() -> ::String
Returns

#page_token=

def page_token=(value) -> ::String
Parameter
Returns

#resource_types

def resource_types() -> ::Array<::String>
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.

#resource_types=

def resource_types=(value) -> ::Array<::String>
Parameter
  • value (::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.

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.

#scope

def scope() -> ::String
Returns
  • (::String) — Required. Resource name of the organization. Example: organizations/123

#scope=

def scope=(value) -> ::String
Parameter
  • value (::String) — Required. Resource name of the organization. Example: organizations/123
Returns
  • (::String) — Required. Resource name of the organization. Example: organizations/123