Class: Google::Apis::DiscoveryV1::DirectoryList
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryV1::DirectoryList
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/discovery_v1/classes.rb,
generated/google/apis/discovery_v1/representations.rb,
generated/google/apis/discovery_v1/representations.rb
Defined Under Namespace
Classes: Item
Instance Attribute Summary collapse
-
#discovery_version ⇒ String
Indicate the version of the Discovery API used to generate this doc.
-
#items ⇒ Array<Google::Apis::DiscoveryV1::DirectoryList::Item>
The individual directory entries.
-
#kind ⇒ String
The kind for this response.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DirectoryList
constructor
A new instance of DirectoryList.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ DirectoryList
Returns a new instance of DirectoryList
44 45 46 |
# File 'generated/google/apis/discovery_v1/classes.rb', line 44 def initialize(**args) update!(**args) end |
Instance Attribute Details
#discovery_version ⇒ String
Indicate the version of the Discovery API used to generate this doc.
Corresponds to the JSON property discoveryVersion
32 33 34 |
# File 'generated/google/apis/discovery_v1/classes.rb', line 32 def discovery_version @discovery_version end |
#items ⇒ Array<Google::Apis::DiscoveryV1::DirectoryList::Item>
The individual directory entries. One entry per api/version pair.
Corresponds to the JSON property items
37 38 39 |
# File 'generated/google/apis/discovery_v1/classes.rb', line 37 def items @items end |
#kind ⇒ String
The kind for this response.
Corresponds to the JSON property kind
42 43 44 |
# File 'generated/google/apis/discovery_v1/classes.rb', line 42 def kind @kind end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
49 50 51 52 53 |
# File 'generated/google/apis/discovery_v1/classes.rb', line 49 def update!(**args) @discovery_version = args[:discovery_version] if args.key?(:discovery_version) @items = args[:items] if args.key?(:items) @kind = args[:kind] if args.key?(:kind) end |