Class: Google::Apis::DriveV3::GeneratedIds
- Inherits:
-
Object
- Object
- Google::Apis::DriveV3::GeneratedIds
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/drive_v3/classes.rb,
lib/google/apis/drive_v3/representations.rb,
lib/google/apis/drive_v3/representations.rb
Overview
A list of generated file IDs which can be provided in create requests.
Instance Attribute Summary collapse
-
#ids ⇒ Array<String>
The IDs generated for the requesting user in the specified space.
-
#kind ⇒ String
Identifies what kind of resource this is.
-
#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.
2290 2291 2292 |
# File 'lib/google/apis/drive_v3/classes.rb', line 2290 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
2277 2278 2279 |
# File 'lib/google/apis/drive_v3/classes.rb', line 2277 def ids @ids end |
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "drive#
generatedIds"
.
Corresponds to the JSON property kind
2283 2284 2285 |
# File 'lib/google/apis/drive_v3/classes.rb', line 2283 def kind @kind end |
#space ⇒ String
The type of file that can be created with these IDs.
Corresponds to the JSON property space
2288 2289 2290 |
# File 'lib/google/apis/drive_v3/classes.rb', line 2288 def space @space end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2295 2296 2297 2298 2299 |
# File 'lib/google/apis/drive_v3/classes.rb', line 2295 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 |