Reference documentation and code samples for the Google Cloud Design Center V1 Client class SerializedPolicy.
Serialized policy.
Generated from protobuf message google.cloud.designcenter.v1.SerializedPolicy
Namespace
Google \ Cloud \ DesignCenter \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ policy_uri |
string
Optional. URI of the policy. |
↳ policy_revision_uri |
string
Optional. URI of the policy revision. |
↳ uri |
string
Required. The uri of the policy in application template. Format: |
↳ display_name |
string
Optional. The serialized policy display name. The number of characters should be less than 128 characters. |
↳ description |
string
Optional. The serialized policy description. At most 2048 characters. |
↳ policy_type |
int
Required. Policy type will be used to determine the domain of the policy. |
↳ apply_conditions |
array<ApplyCondition>
Optional. The serialized policy apply conditions. |
↳ cloud_control_configs |
array<CloudControlConfig>
Optional. Stored parameter values grouped by cloud control. |
getPolicyUri
Optional. URI of the policy.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasPolicyUri
setPolicyUri
Optional. URI of the policy.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPolicyRevisionUri
Optional. URI of the policy revision.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasPolicyRevisionUri
setPolicyRevisionUri
Optional. URI of the policy revision.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getUri
Required. The uri of the policy in application template.
Format:
projects/{project}/locations/{location}/spaces/{space}/applicationTemplates/{application_template}/policies/{policy}
| Returns | |
|---|---|
| Type | Description |
string |
|
setUri
Required. The uri of the policy in application template.
Format:
projects/{project}/locations/{location}/spaces/{space}/applicationTemplates/{application_template}/policies/{policy}
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDisplayName
Optional. The serialized policy display name.
The number of characters should be less than 128 characters.
| Returns | |
|---|---|
| Type | Description |
string |
|
setDisplayName
Optional. The serialized policy display name.
The number of characters should be less than 128 characters.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDescription
Optional. The serialized policy description.
At most 2048 characters.
| Returns | |
|---|---|
| Type | Description |
string |
|
setDescription
Optional. The serialized policy description.
At most 2048 characters.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPolicyType
Required. Policy type will be used to determine the domain of the policy.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type PolicyType. |
setPolicyType
Required. Policy type will be used to determine the domain of the policy.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type PolicyType. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getApplyConditions
Optional. The serialized policy apply conditions.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<ApplyCondition> |
|
setApplyConditions
Optional. The serialized policy apply conditions.
| Parameter | |
|---|---|
| Name | Description |
var |
array<ApplyCondition>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCloudControlConfigs
Optional. Stored parameter values grouped by cloud control.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<CloudControlConfig> |
|
setCloudControlConfigs
Optional. Stored parameter values grouped by cloud control.
| Parameter | |
|---|---|
| Name | Description |
var |
array<CloudControlConfig>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSourceUri
| Returns | |
|---|---|
| Type | Description |
string |
|