Reference documentation and code samples for the Identity and Access Management (IAM) V3BETA API class Google::Iam::V3beta::CreateAccessPolicyRequest.
Request message for CreateAccessPolicy method.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#access_policy
def access_policy() -> ::Google::Iam::V3beta::AccessPolicy- (::Google::Iam::V3beta::AccessPolicy) — Required. The access policy to create.
#access_policy=
def access_policy=(value) -> ::Google::Iam::V3beta::AccessPolicy- value (::Google::Iam::V3beta::AccessPolicy) — Required. The access policy to create.
- (::Google::Iam::V3beta::AccessPolicy) — Required. The access policy to create.
#access_policy_id
def access_policy_id() -> ::String-
(::String) — Required. The ID to use for the access policy, which
will become the final component of the access policy's
resource name.
This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, hyphens, or dots. Pattern, /[a-z][a-z0-9-.]{2,62}/.
This value must be unique among all access policies with the same parent.
#access_policy_id=
def access_policy_id=(value) -> ::String-
value (::String) — Required. The ID to use for the access policy, which
will become the final component of the access policy's
resource name.
This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, hyphens, or dots. Pattern, /[a-z][a-z0-9-.]{2,62}/.
This value must be unique among all access policies with the same parent.
-
(::String) — Required. The ID to use for the access policy, which
will become the final component of the access policy's
resource name.
This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, hyphens, or dots. Pattern, /[a-z][a-z0-9-.]{2,62}/.
This value must be unique among all access policies with the same parent.
#parent
def parent() -> ::String-
(::String) — Required. The parent resource where this access policy will be created.
Format:
projects/{project_id}/locations/{location}projects/{project_number}/locations/{location}folders/{folder_id}/locations/{location}organizations/{organization_id}/locations/{location}
#parent=
def parent=(value) -> ::String-
value (::String) — Required. The parent resource where this access policy will be created.
Format:
projects/{project_id}/locations/{location}projects/{project_number}/locations/{location}folders/{folder_id}/locations/{location}organizations/{organization_id}/locations/{location}
-
(::String) — Required. The parent resource where this access policy will be created.
Format:
projects/{project_id}/locations/{location}projects/{project_number}/locations/{location}folders/{folder_id}/locations/{location}organizations/{organization_id}/locations/{location}
#validate_only
def validate_only() -> ::Boolean- (::Boolean) — Optional. If set, validate the request and preview the creation, but do not actually post it.
#validate_only=
def validate_only=(value) -> ::Boolean- value (::Boolean) — Optional. If set, validate the request and preview the creation, but do not actually post it.
- (::Boolean) — Optional. If set, validate the request and preview the creation, but do not actually post it.