Class: Google::Apis::YoutubePartnerV1::PackageInsertResponse
- Inherits:
-
Object
- Object
- Google::Apis::YoutubePartnerV1::PackageInsertResponse
- 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
-
#errors ⇒ Array<Google::Apis::YoutubePartnerV1::ValidateError>
The list of errors and/or warnings.
-
#kind ⇒ String
The type of the API response.
-
#resource ⇒ Google::Apis::YoutubePartnerV1::Package
The package resource.
-
#status ⇒ String
The package insert status.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PackageInsertResponse
constructor
A new instance of PackageInsertResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PackageInsertResponse
Returns a new instance of PackageInsertResponse.
3071 3072 3073 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3071 def initialize(**args) update!(**args) end |
Instance Attribute Details
#errors ⇒ Array<Google::Apis::YoutubePartnerV1::ValidateError>
The list of errors and/or warnings.
Corresponds to the JSON property errors
3049 3050 3051 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3049 def errors @errors end |
#kind ⇒ String
The type of the API response. For this operation, the value is youtubePartner#
packageInsert.
Corresponds to the JSON property kind
3055 3056 3057 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3055 def kind @kind end |
#resource ⇒ Google::Apis::YoutubePartnerV1::Package
The package resource.
Corresponds to the JSON property resource
3060 3061 3062 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3060 def resource @resource end |
#status ⇒ String
The package insert status. Indicates whether the insert operation completed
successfully or identifies the general cause of failure. For most cases where
the insert operation failed, the errors are described in the API response's
errors object. However, if the operation failed because the package contained
non-metadata files, the errors object is not included in the response.
Corresponds to the JSON property status
3069 3070 3071 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3069 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3076 3077 3078 3079 3080 3081 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3076 def update!(**args) @errors = args[:errors] if args.key?(:errors) @kind = args[:kind] if args.key?(:kind) @resource = args[:resource] if args.key?(:resource) @status = args[:status] if args.key?(:status) end |