Reference documentation and code samples for the Cloud KMS V1 Client class CreateEkmConnectionRequest.
Request message for EkmService.CreateEkmConnection.
Generated from protobuf message google.cloud.kms.v1.CreateEkmConnectionRequest
Namespace
Google \ Cloud \ Kms \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description | 
| data | arrayOptional. Data for populating the Message object. | 
| ↳ parent | stringRequired. The resource name of the location associated with the EkmConnection, in the format  | 
| ↳ ekm_connection_id | stringRequired. It must be unique within a location and match the regular expression  | 
| ↳ ekm_connection | EkmConnectionRequired. An EkmConnection with initial field values. | 
getParent
Required. The resource name of the location associated with the
EkmConnection, in the format
projects/*/locations/*.
| Returns | |
|---|---|
| Type | Description | 
| string | |
setParent
Required. The resource name of the location associated with the
EkmConnection, in the format
projects/*/locations/*.
| Parameter | |
|---|---|
| Name | Description | 
| var | string | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |
getEkmConnectionId
Required. It must be unique within a location and match the regular
expression [a-zA-Z0-9_-]{1,63}.
| Returns | |
|---|---|
| Type | Description | 
| string | |
setEkmConnectionId
Required. It must be unique within a location and match the regular
expression [a-zA-Z0-9_-]{1,63}.
| Parameter | |
|---|---|
| Name | Description | 
| var | string | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |
getEkmConnection
Required. An EkmConnection with initial field values.
| Returns | |
|---|---|
| Type | Description | 
| EkmConnection|null | |
hasEkmConnection
clearEkmConnection
setEkmConnection
Required. An EkmConnection with initial field values.
| Parameter | |
|---|---|
| Name | Description | 
| var | EkmConnection | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |
static::build
| Parameters | |
|---|---|
| Name | Description | 
| parent | stringRequired. The resource name of the location associated with the
EkmConnection, in the format
 | 
| ekmConnectionId | stringRequired. It must be unique within a location and match the regular
expression  | 
| ekmConnection | EkmConnectionRequired. An EkmConnection with initial field values. | 
| Returns | |
|---|---|
| Type | Description | 
| CreateEkmConnectionRequest | |