class Google::Apis::AdminDirectoryV1::OrgUnit
JSON template for Org Unit resource in Directory API.
Attributes
Should block inheritance Corresponds to the JSON property `blockInheritance` @return [Boolean]
Should block inheritance Corresponds to the JSON property `blockInheritance` @return [Boolean]
Description of OrgUnit Corresponds to the JSON property `description` @return [String]
ETag of the resource. Corresponds to the JSON property `etag` @return [String]
Kind of resource this is. Corresponds to the JSON property `kind` @return [String]
Name of OrgUnit Corresponds to the JSON property `name` @return [String]
Id of OrgUnit Corresponds to the JSON property `orgUnitId` @return [String]
Path of OrgUnit Corresponds to the JSON property `orgUnitPath` @return [String]
Id of parent OrgUnit Corresponds to the JSON property `parentOrgUnitId` @return [String]
Path of parent OrgUnit Corresponds to the JSON property `parentOrgUnitPath` @return [String]
Public Class Methods
# File generated/google/apis/admin_directory_v1/classes.rb, line 1586 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/admin_directory_v1/classes.rb, line 1591 def update!(**args) @block_inheritance = args[:block_inheritance] if args.key?(:block_inheritance) @description = args[:description] if args.key?(:description) @etag = args[:etag] if args.key?(:etag) @kind = args[:kind] if args.key?(:kind) @name = args[:name] if args.key?(:name) @org_unit_id = args[:org_unit_id] if args.key?(:org_unit_id) @org_unit_path = args[:org_unit_path] if args.key?(:org_unit_path) @parent_org_unit_id = args[:parent_org_unit_id] if args.key?(:parent_org_unit_id) @parent_org_unit_path = args[:parent_org_unit_path] if args.key?(:parent_org_unit_path) end