Class: Google::Apis::YoutubePartnerV1::ValidateStatusRequest

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

Returns a new instance of ValidateStatusRequest.


3928
3929
3930
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3928

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

Instance Attribute Details

#kindString

The type of the API resource. For this operation, the value is youtubePartner# validateStatusRequest. Corresponds to the JSON property kind

Returns:

  • (String)

3914
3915
3916
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3914

def kind
  @kind
end

#localeString

The desired locale of the error messages as defined in BCP 47 (http://tools. ietf.org/html/bcp47). For example, "en-US" or "de". If not specified we will return the error messages in English ("en"). Corresponds to the JSON property locale

Returns:

  • (String)

3921
3922
3923
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3921

def locale
  @locale
end

#validation_idString

The validation ID. Corresponds to the JSON property validationId

Returns:

  • (String)

3926
3927
3928
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3926

def validation_id
  @validation_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


3933
3934
3935
3936
3937
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3933

def update!(**args)
  @kind = args[:kind] if args.key?(:kind)
  @locale = args[:locale] if args.key?(:locale)
  @validation_id = args[:validation_id] if args.key?(:validation_id)
end