Reference documentation and code samples for the Design Center V1 API class Google::Cloud::DesignCenter::V1::CreatePolicyRequest.
Message for creating a policy.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#parent
def parent() -> ::String
Returns
-
(::String) — Required. The parent resource in which to create the policy in the
following format:
projects/$project/locations/$location/spaces/$space/applicationTemplates/$applicationTemplate
#parent=
def parent=(value) -> ::String
Parameter
-
value (::String) — Required. The parent resource in which to create the policy in the
following format:
projects/$project/locations/$location/spaces/$space/applicationTemplates/$applicationTemplate
Returns
-
(::String) — Required. The parent resource in which to create the policy in the
following format:
projects/$project/locations/$location/spaces/$space/applicationTemplates/$applicationTemplate
#policy
def policy() -> ::Google::Cloud::DesignCenter::V1::Policy
Returns
- (::Google::Cloud::DesignCenter::V1::Policy) — Required. The policy to create.
#policy=
def policy=(value) -> ::Google::Cloud::DesignCenter::V1::Policy
Parameter
- value (::Google::Cloud::DesignCenter::V1::Policy) — Required. The policy to create.
Returns
- (::Google::Cloud::DesignCenter::V1::Policy) — Required. The policy to create.
#policy_id
def policy_id() -> ::String
Returns
- (::String) — Required. The ID of the policy to create.
#policy_id=
def policy_id=(value) -> ::String
Parameter
- value (::String) — Required. The ID of the policy to create.
Returns
- (::String) — Required. The ID of the policy to create.