Class: Google::Apis::YoutubereportingV1::GdataBlobstore2Info

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) ⇒ GdataBlobstore2Info

Returns a new instance of GdataBlobstore2Info.



72
73
74
# File 'lib/google/apis/youtubereporting_v1/classes.rb', line 72

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

Instance Attribute Details

#blob_generationFixnum

gdata Corresponds to the JSON property blobGeneration

Returns:

  • (Fixnum)


48
49
50
# File 'lib/google/apis/youtubereporting_v1/classes.rb', line 48

def blob_generation
  @blob_generation
end

#blob_idString

gdata Corresponds to the JSON property blobId

Returns:

  • (String)


53
54
55
# File 'lib/google/apis/youtubereporting_v1/classes.rb', line 53

def blob_id
  @blob_id
end

#download_read_handleString

gdata Corresponds to the JSON property downloadReadHandle NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


59
60
61
# File 'lib/google/apis/youtubereporting_v1/classes.rb', line 59

def download_read_handle
  @download_read_handle
end

#read_tokenString

gdata Corresponds to the JSON property readToken

Returns:

  • (String)


64
65
66
# File 'lib/google/apis/youtubereporting_v1/classes.rb', line 64

def read_token
  @read_token
end

#upload_metadata_containerString

gdata Corresponds to the JSON property uploadMetadataContainer NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


70
71
72
# File 'lib/google/apis/youtubereporting_v1/classes.rb', line 70

def 
  @upload_metadata_container
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



77
78
79
80
81
82
83
# File 'lib/google/apis/youtubereporting_v1/classes.rb', line 77

def update!(**args)
  @blob_generation = args[:blob_generation] if args.key?(:blob_generation)
  @blob_id = args[:blob_id] if args.key?(:blob_id)
  @download_read_handle = args[:download_read_handle] if args.key?(:download_read_handle)
  @read_token = args[:read_token] if args.key?(:read_token)
  @upload_metadata_container = args[:upload_metadata_container] if args.key?(:upload_metadata_container)
end