Class: Google::Apis::AdminDirectoryV1::Asps

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Asps

Returns a new instance of Asps



241
242
243
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 241

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

Instance Attribute Details

#etagString

ETag of the resource. Corresponds to the JSON property etag

Returns:

  • (String)


229
230
231
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 229

def etag
  @etag
end

#itemsArray<Google::Apis::AdminDirectoryV1::Asp>

A list of ASP resources. Corresponds to the JSON property items



234
235
236
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 234

def items
  @items
end

#kindString

The type of the API resource. This is always admin#directory#aspList. Corresponds to the JSON property kind

Returns:

  • (String)


239
240
241
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 239

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



246
247
248
249
250
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 246

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