class Google::Apis::YoutubePartnerV1::ObjectIdProp
This is a copy of the tech.blob.ObjectId proto, which could not be used directly here due to transitive closure issues with JavaScript support; see b/8801763.
Attributes
bucket_name[RW]
The name of the bucket to which this object belongs. Corresponds to the JSON property `bucketName` @return [String]
generation[RW]
Generation of the object. Generations are monotonically increasing across writes, allowing them to be be compared to determine which generation is newer. If this is omitted in a request, then you are requesting the live object. See go/bigstore-versions Corresponds to the JSON property `generation` @return [Fixnum]
object_name[RW]
The name of the object. Corresponds to the JSON property `objectName` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/youtube_partner_v1/classes.rb, line 2847 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/youtube_partner_v1/classes.rb, line 2852 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