Network Security V1beta1 API - Class Google::Cloud::NetworkSecurity::V1beta1::CreateAuthorizationPolicyRequest (v0.7.2)

Reference documentation and code samples for the Network Security V1beta1 API class Google::Cloud::NetworkSecurity::V1beta1::CreateAuthorizationPolicyRequest.

Request used by the CreateAuthorizationPolicy method.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#authorization_policy

def authorization_policy() -> ::Google::Cloud::NetworkSecurity::V1beta1::AuthorizationPolicy
Returns

#authorization_policy=

def authorization_policy=(value) -> ::Google::Cloud::NetworkSecurity::V1beta1::AuthorizationPolicy
Parameter
Returns

#authorization_policy_id

def authorization_policy_id() -> ::String
Returns
  • (::String) — Required. Short name of the AuthorizationPolicy resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "authz_policy".

#authorization_policy_id=

def authorization_policy_id=(value) -> ::String
Parameter
  • value (::String) — Required. Short name of the AuthorizationPolicy resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "authz_policy".
Returns
  • (::String) — Required. Short name of the AuthorizationPolicy resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "authz_policy".

#parent

def parent() -> ::String
Returns
  • (::String) — Required. The parent resource of the AuthorizationPolicy. Must be in the format projects/{project}/locations/{location}.

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — Required. The parent resource of the AuthorizationPolicy. Must be in the format projects/{project}/locations/{location}.
Returns
  • (::String) — Required. The parent resource of the AuthorizationPolicy. Must be in the format projects/{project}/locations/{location}.