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

Overview

STEPLADDER: Generated unstable field number for field 'kind'. (See http://go/ stepladder-help#fieldNumber) STEPLADDER: Generated unstable field number for field 'etag'. (See http://go/stepladder-help#fieldNumber)

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.


179
180
181
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 179

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

Instance Attribute Details

#etagString

ETag of the resource. Corresponds to the JSON property etag

Returns:

  • (String)

167
168
169
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 167

def etag
  @etag
end

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

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


172
173
174
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 172

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)

177
178
179
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 177

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


184
185
186
187
188
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 184

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