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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GdataBlobstore2Info

Returns a new instance of GdataBlobstore2Info



75
76
77
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 75

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

Instance Attribute Details

#blob_generationFixnum

gdata Corresponds to the JSON property blobGeneration

Returns:

  • (Fixnum)


51
52
53
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 51

def blob_generation
  @blob_generation
end

#blob_idString

gdata Corresponds to the JSON property blobId

Returns:

  • (String)


56
57
58
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 56

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)


62
63
64
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 62

def download_read_handle
  @download_read_handle
end

#read_tokenString

gdata Corresponds to the JSON property readToken

Returns:

  • (String)


67
68
69
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 67

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)


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

def 
  @upload_metadata_container
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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