Google Cloud Dataplex V1 Client - Class CreateEncryptionConfigRequest (1.11.0)

Reference documentation and code samples for the Google Cloud Dataplex V1 Client class CreateEncryptionConfigRequest.

Create EncryptionConfig Request

Generated from protobuf messagegoogle.cloud.dataplex.v1.CreateEncryptionConfigRequest

Namespace

Google \ Cloud \ Dataplex \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ parentstring

Required. The location at which the EncryptionConfig is to be created.

↳ encryption_config_idstring

Required. The ID of theEncryptionConfig to create. Currently, only a value of "default" is supported.

↳ encryption_configEncryptionConfig

Required. The EncryptionConfig to create.

getParent

Required. The location at which the EncryptionConfig is to be created.

Returns
TypeDescription
string

setParent

Required. The location at which the EncryptionConfig is to be created.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getEncryptionConfigId

Required. The ID of theEncryptionConfig to create.

Currently, only a value of "default" is supported.

Returns
TypeDescription
string

setEncryptionConfigId

Required. The ID of theEncryptionConfig to create.

Currently, only a value of "default" is supported.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getEncryptionConfig

Required. The EncryptionConfig to create.

Returns
TypeDescription
EncryptionConfig|null

hasEncryptionConfig

clearEncryptionConfig

setEncryptionConfig

Required. The EncryptionConfig to create.

Parameter
NameDescription
varEncryptionConfig
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
parentstring

Required. The location at which the EncryptionConfig is to be created. Please seeCmekServiceClient::organizationLocationName() for help formatting this field.

encryptionConfigEncryptionConfig

Required. The EncryptionConfig to create.

encryptionConfigIdstring

Required. The ID of theEncryptionConfig to create.Currently, only a value of "default" is supported.

Returns
TypeDescription
CreateEncryptionConfigRequest

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-11-08 UTC.