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

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GdataBlobstore2Info

Returns a new instance of GdataBlobstore2Info.



73
74
75
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 73

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

Instance Attribute Details

#blob_generationFixnum

gdata Corresponds to the JSON property blobGeneration

Returns:

  • (Fixnum)


49
50
51
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 49

def blob_generation
  @blob_generation
end

#blob_idString

gdata Corresponds to the JSON property blobId

Returns:

  • (String)


54
55
56
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 54

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)


60
61
62
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 60

def download_read_handle
  @download_read_handle
end

#read_tokenString

gdata Corresponds to the JSON property readToken

Returns:

  • (String)


65
66
67
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 65

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)


71
72
73
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 71

def 
  @upload_metadata_container
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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