Google Cloud KMS Inventory V1 Client - Class GetProtectedResourcesSummaryRequest (1.3.0)

Reference documentation and code samples for the Google Cloud KMS Inventory V1 Client class GetProtectedResourcesSummaryRequest.

Request message for KeyTrackingService.GetProtectedResourcesSummary.

Generated from protobuf message google.cloud.kms.inventory.v1.GetProtectedResourcesSummaryRequest

Namespace

Google \ Cloud \ Kms \ Inventory \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The resource name of the CryptoKey.

↳ fallback_scope int

Optional. The scope to use if the kms organization service account is not configured.

getName

Required. The resource name of the CryptoKey.

Returns
Type Description
string

setName

Required. The resource name of the CryptoKey.

Parameter
Name Description
var string
Returns
Type Description
$this

getFallbackScope

Optional. The scope to use if the kms organization service account is not configured.

Returns
Type Description
int Enum of type FallbackScope.

setFallbackScope

Optional. The scope to use if the kms organization service account is not configured.

Parameter
Name Description
var int

Enum of type FallbackScope.

Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The resource name of the CryptoKey. Please see KeyTrackingServiceClient::protectedResourcesSummaryName() for help formatting this field.

Returns
Type Description
GetProtectedResourcesSummaryRequest