Class: Google::Apis::AdminDirectoryV1::Feature

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/admin_directory_v1/classes.rb,
lib/google/apis/admin_directory_v1/representations.rb,
lib/google/apis/admin_directory_v1/representations.rb

Overview

JSON template for Feature object in Directory API.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Feature

Returns a new instance of Feature.



2091
2092
2093
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2091

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#etagsString

ETag of the resource. Corresponds to the JSON property etags

Returns:

  • (String)


2079
2080
2081
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2079

def etags
  @etags
end

#kindString

Kind of resource this is. Corresponds to the JSON property kind

Returns:

  • (String)


2084
2085
2086
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2084

def kind
  @kind
end

#nameString

The name of the feature. Corresponds to the JSON property name

Returns:

  • (String)


2089
2090
2091
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2089

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2096
2097
2098
2099
2100
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2096

def update!(**args)
  @etags = args[:etags] if args.key?(:etags)
  @kind = args[:kind] if args.key?(:kind)
  @name = args[:name] if args.key?(:name)
end