Class: Google::Apis::YoutubereportingV1::GdataObjectId
- Inherits:
-
Object
- Object
- Google::Apis::YoutubereportingV1::GdataObjectId
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/youtubereporting_v1/classes.rb,
generated/google/apis/youtubereporting_v1/representations.rb,
generated/google/apis/youtubereporting_v1/representations.rb
Overview
gdata
Instance Attribute Summary collapse
-
#bucket_name ⇒ String
gdata Corresponds to the JSON property
bucketName
. -
#generation ⇒ Fixnum
gdata Corresponds to the JSON property
generation
. -
#object_name ⇒ String
gdata Corresponds to the JSON property
objectName
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GdataObjectId
constructor
A new instance of GdataObjectId.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GdataObjectId
Returns a new instance of GdataObjectId.
606 607 608 |
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 606 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bucket_name ⇒ String
gdata
Corresponds to the JSON property bucketName
594 595 596 |
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 594 def bucket_name @bucket_name end |
#generation ⇒ Fixnum
gdata
Corresponds to the JSON property generation
599 600 601 |
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 599 def generation @generation end |
#object_name ⇒ String
gdata
Corresponds to the JSON property objectName
604 605 606 |
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 604 def object_name @object_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
611 612 613 614 615 |
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 611 def update!(**args) @bucket_name = args[:bucket_name] if args.key?(:bucket_name) @generation = args[:generation] if args.key?(:generation) @object_name = args[:object_name] if args.key?(:object_name) end |