Class: Google::Apis::YoutubePartnerV1::DiffVersionResponse
- Inherits:
-
Object
- Object
- Google::Apis::YoutubePartnerV1::DiffVersionResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/youtube_partner_v1/classes.rb,
generated/google/apis/youtube_partner_v1/representations.rb,
generated/google/apis/youtube_partner_v1/representations.rb
Overview
Backend response for a Diff get version response. For details on the Scotty Diff protocol, visit http://go/scotty-diff-protocol.
Instance Attribute Summary collapse
-
#object_size_bytes ⇒ Fixnum
The total size of the server object.
-
#object_version ⇒ String
The version of the object stored at the server.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DiffVersionResponse
constructor
A new instance of DiffVersionResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DiffVersionResponse
Returns a new instance of DiffVersionResponse.
1728 1729 1730 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1728 def initialize(**args) update!(**args) end |
Instance Attribute Details
#object_size_bytes ⇒ Fixnum
The total size of the server object.
Corresponds to the JSON property objectSizeBytes
1721 1722 1723 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1721 def object_size_bytes @object_size_bytes end |
#object_version ⇒ String
The version of the object stored at the server.
Corresponds to the JSON property objectVersion
1726 1727 1728 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1726 def object_version @object_version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1733 1734 1735 1736 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1733 def update!(**args) @object_size_bytes = args[:object_size_bytes] if args.key?(:object_size_bytes) @object_version = args[:object_version] if args.key?(:object_version) end |