Class: Google::Apis::YoutubeAnalyticsV1::BatchReport::Output

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

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

Returns a new instance of Output.



94
95
96
# File 'generated/google/apis/youtube_analytics_v1/classes.rb', line 94

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

Instance Attribute Details

#download_urlString

Cloud storage URL to download this report. This URL is valid for 30 minutes. Corresponds to the JSON property downloadUrl

Returns:

  • (String)


82
83
84
# File 'generated/google/apis/youtube_analytics_v1/classes.rb', line 82

def download_url
  @download_url
end

#formatString

Format of the output. Corresponds to the JSON property format

Returns:

  • (String)


87
88
89
# File 'generated/google/apis/youtube_analytics_v1/classes.rb', line 87

def format
  @format
end

#typeString

Type of the output. Corresponds to the JSON property type

Returns:

  • (String)


92
93
94
# File 'generated/google/apis/youtube_analytics_v1/classes.rb', line 92

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



99
100
101
102
103
# File 'generated/google/apis/youtube_analytics_v1/classes.rb', line 99

def update!(**args)
  @download_url = args[:download_url] if args.key?(:download_url)
  @format = args[:format] if args.key?(:format)
  @type = args[:type] if args.key?(:type)
end