Class: Google::Apis::DriveV3::GeneratedIds
- Inherits:
-
Object
- Object
- Google::Apis::DriveV3::GeneratedIds
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/drive_v3/classes.rb,
generated/google/apis/drive_v3/representations.rb,
generated/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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GeneratedIds
Returns a new instance of GeneratedIds
1445 1446 1447 |
# File 'generated/google/apis/drive_v3/classes.rb', line 1445 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
1432 1433 1434 |
# File 'generated/google/apis/drive_v3/classes.rb', line 1432 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
1438 1439 1440 |
# File 'generated/google/apis/drive_v3/classes.rb', line 1438 def kind @kind end |
#space ⇒ String
The type of file that can be created with these IDs.
Corresponds to the JSON property space
1443 1444 1445 |
# File 'generated/google/apis/drive_v3/classes.rb', line 1443 def space @space end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1450 1451 1452 1453 1454 |
# File 'generated/google/apis/drive_v3/classes.rb', line 1450 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 |