Google Cloud Api Hub V1 Client - Class Config (0.1.1)

Reference documentation and code samples for the Google Cloud Api Hub V1 Client class Config.

Available configurations to provision an ApiHub Instance.

Generated from protobuf message google.cloud.apihub.v1.ApiHubInstance.Config

Namespace

Google \ Cloud \ ApiHub \ V1 \ ApiHubInstance

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ cmek_key_name string

Required. The Customer Managed Encryption Key (CMEK) used for data encryption. The CMEK name should follow the format of projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+), where the location must match the instance location.

getCmekKeyName

Required. The Customer Managed Encryption Key (CMEK) used for data encryption. The CMEK name should follow the format of projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+), where the location must match the instance location.

Returns
Type Description
string

setCmekKeyName

Required. The Customer Managed Encryption Key (CMEK) used for data encryption. The CMEK name should follow the format of projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+), where the location must match the instance location.

Parameter
Name Description
var string
Returns
Type Description
$this