Class: Google::Apis::YoutubePartnerV1::StatusReport

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/youtube_partner_v1/classes.rb,
generated/google/apis/youtube_partner_v1/representations.rb,
generated/google/apis/youtube_partner_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) ⇒ StatusReport

Returns a new instance of StatusReport



3655
3656
3657
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3655

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

Instance Attribute Details

#status_contentString

The content of the report message. Used only in Hybrid. Corresponds to the JSON property statusContent

Returns:

  • (String)


3648
3649
3650
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3648

def status_content
  @status_content
end

#status_file_nameString

Status file name. Used only in Hybrid. Corresponds to the JSON property statusFileName

Returns:

  • (String)


3653
3654
3655
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3653

def status_file_name
  @status_file_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3660
3661
3662
3663
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3660

def update!(**args)
  @status_content = args[:status_content] if args.key?(:status_content)
  @status_file_name = args[:status_file_name] if args.key?(:status_file_name)
end