Class: Google::Apis::DriveV2::GeneratedIds
- Inherits:
-
Object
- Object
- Google::Apis::DriveV2::GeneratedIds
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/drive_v2/classes.rb,
generated/google/apis/drive_v2/representations.rb,
generated/google/apis/drive_v2/representations.rb
Overview
A list of generated IDs which can be provided in insert requests
Instance Attribute Summary collapse
-
#ids ⇒ Array<String>
The IDs generated for the requesting user in the specified space.
-
#kind ⇒ String
This is always drive#generatedIds Corresponds to the JSON property
kind
. -
#space ⇒ String
The type of file that can be created with these IDs.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GeneratedIds
constructor
A new instance of GeneratedIds.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GeneratedIds
Returns a new instance of GeneratedIds
2358 2359 2360 |
# File 'generated/google/apis/drive_v2/classes.rb', line 2358 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ids ⇒ Array<String>
The IDs generated for the requesting user in the specified space.
Corresponds to the JSON property ids
2346 2347 2348 |
# File 'generated/google/apis/drive_v2/classes.rb', line 2346 def ids @ids end |
#kind ⇒ String
This is always drive#generatedIds
Corresponds to the JSON property kind
2351 2352 2353 |
# File 'generated/google/apis/drive_v2/classes.rb', line 2351 def kind @kind end |
#space ⇒ String
The type of file that can be created with these IDs.
Corresponds to the JSON property space
2356 2357 2358 |
# File 'generated/google/apis/drive_v2/classes.rb', line 2356 def space @space end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2363 2364 2365 2366 2367 |
# File 'generated/google/apis/drive_v2/classes.rb', line 2363 def update!(**args) @ids = args[:ids] if args.key?(:ids) @kind = args[:kind] if args.key?(:kind) @space = args[:space] if args.key?(:space) end |