Class: Google::Cloud::NetworkSecurity::V1beta1::CreateAuthorizationPolicyRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/networksecurity/v1beta1/authorization_policy.rb

Overview

Request used by the CreateAuthorizationPolicy method.

Instance Attribute Summary collapse

Instance Attribute Details

#authorization_policy::Google::Cloud::NetworkSecurity::V1beta1::AuthorizationPolicy

Returns Required. AuthorizationPolicy resource to be created.

Returns:



230
231
232
233
# File 'proto_docs/google/cloud/networksecurity/v1beta1/authorization_policy.rb', line 230

class CreateAuthorizationPolicyRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#authorization_policy_id::String

Returns 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".



230
231
232
233
# File 'proto_docs/google/cloud/networksecurity/v1beta1/authorization_policy.rb', line 230

class CreateAuthorizationPolicyRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#parent::String

Returns 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}.



230
231
232
233
# File 'proto_docs/google/cloud/networksecurity/v1beta1/authorization_policy.rb', line 230

class CreateAuthorizationPolicyRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end