Reference documentation and code samples for the Design Center V1 API class Google::Cloud::DesignCenter::V1::SerializedPolicy.
Serialized policy.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#apply_conditions
def apply_conditions() -> ::Array<::Google::Cloud::DesignCenter::V1::ApplyCondition>- (::Array<::Google::Cloud::DesignCenter::V1::ApplyCondition>) — Optional. The serialized policy apply conditions.
#apply_conditions=
def apply_conditions=(value) -> ::Array<::Google::Cloud::DesignCenter::V1::ApplyCondition>- value (::Array<::Google::Cloud::DesignCenter::V1::ApplyCondition>) — Optional. The serialized policy apply conditions.
- (::Array<::Google::Cloud::DesignCenter::V1::ApplyCondition>) — Optional. The serialized policy apply conditions.
#cloud_control_configs
def cloud_control_configs() -> ::Array<::Google::Cloud::DesignCenter::V1::CloudControlConfig>- (::Array<::Google::Cloud::DesignCenter::V1::CloudControlConfig>) — Optional. Stored parameter values grouped by cloud control.
#cloud_control_configs=
def cloud_control_configs=(value) -> ::Array<::Google::Cloud::DesignCenter::V1::CloudControlConfig>- value (::Array<::Google::Cloud::DesignCenter::V1::CloudControlConfig>) — Optional. Stored parameter values grouped by cloud control.
- (::Array<::Google::Cloud::DesignCenter::V1::CloudControlConfig>) — Optional. Stored parameter values grouped by cloud control.
#description
def description() -> ::String- (::String) — Optional. The serialized policy description. At most 2048 characters.
#description=
def description=(value) -> ::String- value (::String) — Optional. The serialized policy description. At most 2048 characters.
- (::String) — Optional. The serialized policy description. At most 2048 characters.
#display_name
def display_name() -> ::String- (::String) — Optional. The serialized policy display name. The number of characters should be less than 128 characters.
#display_name=
def display_name=(value) -> ::String- value (::String) — Optional. The serialized policy display name. The number of characters should be less than 128 characters.
- (::String) — Optional. The serialized policy display name. The number of characters should be less than 128 characters.
#policy_revision_uri
def policy_revision_uri() -> ::String-
(::String) — Optional. URI of the policy revision.
Note: The following fields are mutually exclusive:
policy_revision_uri,policy_uri. If a field in that set is populated, all other fields in the set will automatically be cleared.
#policy_revision_uri=
def policy_revision_uri=(value) -> ::String-
value (::String) — Optional. URI of the policy revision.
Note: The following fields are mutually exclusive:
policy_revision_uri,policy_uri. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::String) — Optional. URI of the policy revision.
Note: The following fields are mutually exclusive:
policy_revision_uri,policy_uri. If a field in that set is populated, all other fields in the set will automatically be cleared.
#policy_type
def policy_type() -> ::Google::Cloud::DesignCenter::V1::SerializedPolicy::PolicyType- (::Google::Cloud::DesignCenter::V1::SerializedPolicy::PolicyType) — Required. Policy type will be used to determine the domain of the policy.
#policy_type=
def policy_type=(value) -> ::Google::Cloud::DesignCenter::V1::SerializedPolicy::PolicyType- value (::Google::Cloud::DesignCenter::V1::SerializedPolicy::PolicyType) — Required. Policy type will be used to determine the domain of the policy.
- (::Google::Cloud::DesignCenter::V1::SerializedPolicy::PolicyType) — Required. Policy type will be used to determine the domain of the policy.
#policy_uri
def policy_uri() -> ::String-
(::String) — Optional. URI of the policy.
Note: The following fields are mutually exclusive:
policy_uri,policy_revision_uri. If a field in that set is populated, all other fields in the set will automatically be cleared.
#policy_uri=
def policy_uri=(value) -> ::String-
value (::String) — Optional. URI of the policy.
Note: The following fields are mutually exclusive:
policy_uri,policy_revision_uri. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::String) — Optional. URI of the policy.
Note: The following fields are mutually exclusive:
policy_uri,policy_revision_uri. If a field in that set is populated, all other fields in the set will automatically be cleared.
#uri
def uri() -> ::String-
(::String) — Required. The uri of the policy in application template.
Format:
projects/{project}/locations/{location}/spaces/{space}/applicationTemplates/{application_template}/policies/{policy}
#uri=
def uri=(value) -> ::String-
value (::String) — Required. The uri of the policy in application template.
Format:
projects/{project}/locations/{location}/spaces/{space}/applicationTemplates/{application_template}/policies/{policy}
-
(::String) — Required. The uri of the policy in application template.
Format:
projects/{project}/locations/{location}/spaces/{space}/applicationTemplates/{application_template}/policies/{policy}