Class: Google::Apis::YoutubereportingV1::GdataObjectId

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/youtubereporting_v1/classes.rb,
lib/google/apis/youtubereporting_v1/representations.rb,
lib/google/apis/youtubereporting_v1/representations.rb

Overview

gdata

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GdataObjectId

Returns a new instance of GdataObjectId.



632
633
634
# File 'lib/google/apis/youtubereporting_v1/classes.rb', line 632

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#bucket_nameString

gdata Corresponds to the JSON property bucketName

Returns:

  • (String)


620
621
622
# File 'lib/google/apis/youtubereporting_v1/classes.rb', line 620

def bucket_name
  @bucket_name
end

#generationFixnum

gdata Corresponds to the JSON property generation

Returns:

  • (Fixnum)


625
626
627
# File 'lib/google/apis/youtubereporting_v1/classes.rb', line 625

def generation
  @generation
end

#object_nameString

gdata Corresponds to the JSON property objectName

Returns:

  • (String)


630
631
632
# File 'lib/google/apis/youtubereporting_v1/classes.rb', line 630

def object_name
  @object_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



637
638
639
640
641
# File 'lib/google/apis/youtubereporting_v1/classes.rb', line 637

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