Class: Google::Apis::DriveV2::GeneratedIds
- Inherits:
-
Object
- Object
- Google::Apis::DriveV2::GeneratedIds
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/drive_v2/classes.rb,
lib/google/apis/drive_v2/representations.rb,
lib/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 propertykind
. -
#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.
Constructor Details
#initialize(**args) ⇒ GeneratedIds
Returns a new instance of GeneratedIds.
3196 3197 3198 |
# File 'lib/google/apis/drive_v2/classes.rb', line 3196 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
3184 3185 3186 |
# File 'lib/google/apis/drive_v2/classes.rb', line 3184 def ids @ids end |
#kind ⇒ String
This is always drive#generatedIds
Corresponds to the JSON property kind
3189 3190 3191 |
# File 'lib/google/apis/drive_v2/classes.rb', line 3189 def kind @kind end |
#space ⇒ String
The type of file that can be created with these IDs.
Corresponds to the JSON property space
3194 3195 3196 |
# File 'lib/google/apis/drive_v2/classes.rb', line 3194 def space @space end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3201 3202 3203 3204 3205 |
# File 'lib/google/apis/drive_v2/classes.rb', line 3201 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 |