Design Center V1 API - Class Google::Cloud::DesignCenter::V1::CreatePolicyRequest (v0.1.0)

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

#policy=

def policy=(value) -> ::Google::Cloud::DesignCenter::V1::Policy
Parameter
Returns

#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.