Reference documentation and code samples for the Google Cloud Apigee Registry V1 Client class Config.
Available configurations to provision an Instance.
Generated from protobuf messagegoogle.cloud.apigeeregistry.v1.Instance.Config
Namespace
Google \ Cloud \ ApigeeRegistry \ V1 \ Instance
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ location
string
Output only. The GCP location where the Instance resides.
↳ cmek_key_name
string
Required. The Customer Managed Encryption Key (CMEK) used for data encryption. The CMEK name should follow the format ofprojects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+), where thelocationmust match InstanceConfig.location.
getLocation
Output only. The GCP location where the Instance resides.
Returns
Type
Description
string
setLocation
Output only. The GCP location where the Instance resides.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getCmekKeyName
Required. The Customer Managed Encryption Key (CMEK) used for data encryption.
The CMEK name should follow the format ofprojects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+),
where thelocationmust match InstanceConfig.location.
Returns
Type
Description
string
setCmekKeyName
Required. The Customer Managed Encryption Key (CMEK) used for data encryption.
The CMEK name should follow the format ofprojects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+),
where thelocationmust match InstanceConfig.location.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Apigee Registry V1 Client - Class Config (1.0.4)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.4 (latest)](/php/docs/reference/cloud-apigee-registry/latest/V1.Instance.Config)\n- [1.0.3](/php/docs/reference/cloud-apigee-registry/1.0.3/V1.Instance.Config)\n- [0.5.5](/php/docs/reference/cloud-apigee-registry/0.5.5/V1.Instance.Config)\n- [0.4.2](/php/docs/reference/cloud-apigee-registry/0.4.2/V1.Instance.Config)\n- [0.3.2](/php/docs/reference/cloud-apigee-registry/0.3.2/V1.Instance.Config)\n- [0.2.7](/php/docs/reference/cloud-apigee-registry/0.2.7/V1.Instance.Config) \nReference documentation and code samples for the Google Cloud Apigee Registry V1 Client class Config.\n\nAvailable configurations to provision an Instance.\n\nGenerated from protobuf message `google.cloud.apigeeregistry.v1.Instance.Config`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ ApigeeRegistry \\\\ V1 \\\\ Instance\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getLocation\n\nOutput only. The GCP location where the Instance resides.\n\n### setLocation\n\nOutput only. The GCP location where the Instance resides.\n\n### getCmekKeyName\n\nRequired. The Customer Managed Encryption Key (CMEK) used for data encryption.\n\nThe CMEK name should follow the format of\n`projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+)`,\nwhere the `location` must match InstanceConfig.location.\n\n### setCmekKeyName\n\nRequired. The Customer Managed Encryption Key (CMEK) used for data encryption.\n\nThe CMEK name should follow the format of\n`projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+)`,\nwhere the `location` must match InstanceConfig.location."]]