Class: Google::Cloud::SecurityCenter::V1::AwsMetadata::AwsOrganizationalUnit

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/securitycenter/v1/resource.rb

Overview

An Organizational Unit (OU) is a container of AWS accounts within a root of an organization. Policies that are attached to an OU apply to all accounts contained in that OU and in any child OUs.

Instance Attribute Summary collapse

Instance Attribute Details

#id::String

Returns The unique identifier (ID) associated with this OU. The regex pattern for an organizational unit ID string requires "ou-" followed by from 4 to 32 lowercase letters or digits (the ID of the root that contains the OU). This string is followed by a second "-" dash and from 8 to 32 additional lowercase letters or digits. For example, "ou-ab12-cd34ef56".

Returns:

  • (::String)

    The unique identifier (ID) associated with this OU. The regex pattern for an organizational unit ID string requires "ou-" followed by from 4 to 32 lowercase letters or digits (the ID of the root that contains the OU). This string is followed by a second "-" dash and from 8 to 32 additional lowercase letters or digits. For example, "ou-ab12-cd34ef56".



134
135
136
137
# File 'proto_docs/google/cloud/securitycenter/v1/resource.rb', line 134

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

#name::String

Returns The friendly name of the OU.

Returns:

  • (::String)

    The friendly name of the OU.



134
135
136
137
# File 'proto_docs/google/cloud/securitycenter/v1/resource.rb', line 134

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