Class: Google::Apis::DigitalassetlinksV1::CheckResponse
- Inherits:
-
Object
- Object
- Google::Apis::DigitalassetlinksV1::CheckResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/digitalassetlinks_v1/classes.rb,
lib/google/apis/digitalassetlinks_v1/representations.rb,
lib/google/apis/digitalassetlinks_v1/representations.rb
Overview
Response message for the CheckAssetLinks call.
Instance Attribute Summary collapse
-
#debug_string ⇒ String
Human-readable message containing information intended to help end users understand, reproduce and debug the result.
-
#error_code ⇒ Array<String>
Error codes that describe the result of the Check operation.
-
#linked ⇒ Boolean
(also: #linked?)
Set to true if the assets specified in the request are linked by the relation specified in the request.
-
#max_age ⇒ String
From serving time, how much longer the response should be considered valid barring further updates.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CheckResponse
constructor
A new instance of CheckResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CheckResponse
Returns a new instance of CheckResponse.
233 234 235 |
# File 'lib/google/apis/digitalassetlinks_v1/classes.rb', line 233 def initialize(**args) update!(**args) end |
Instance Attribute Details
#debug_string ⇒ String
Human-readable message containing information intended to help end users
understand, reproduce and debug the result. The message will be in English and
we are currently not planning to offer any translations. Please note that no
guarantees are made about the contents or format of this string. Any aspect of
it may be subject to change without notice. You should not attempt to
programmatically parse this data. For programmatic access, use the error_code
field below.
Corresponds to the JSON property debugString
213 214 215 |
# File 'lib/google/apis/digitalassetlinks_v1/classes.rb', line 213 def debug_string @debug_string end |
#error_code ⇒ Array<String>
Error codes that describe the result of the Check operation.
Corresponds to the JSON property errorCode
218 219 220 |
# File 'lib/google/apis/digitalassetlinks_v1/classes.rb', line 218 def error_code @error_code end |
#linked ⇒ Boolean Also known as: linked?
Set to true if the assets specified in the request are linked by the relation
specified in the request.
Corresponds to the JSON property linked
224 225 226 |
# File 'lib/google/apis/digitalassetlinks_v1/classes.rb', line 224 def linked @linked end |
#max_age ⇒ String
From serving time, how much longer the response should be considered valid
barring further updates. REQUIRED
Corresponds to the JSON property maxAge
231 232 233 |
# File 'lib/google/apis/digitalassetlinks_v1/classes.rb', line 231 def max_age @max_age end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
238 239 240 241 242 243 |
# File 'lib/google/apis/digitalassetlinks_v1/classes.rb', line 238 def update!(**args) @debug_string = args[:debug_string] if args.key?(:debug_string) @error_code = args[:error_code] if args.key?(:error_code) @linked = args[:linked] if args.key?(:linked) @max_age = args[:max_age] if args.key?(:max_age) end |