class Google::Apis::DigitalassetlinksV1::CheckResponse

Response message for the CheckAssetLinks call.

Attributes

debug_string[RW]

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` @return [String]

error_code[RW]

Error codes that describe the result of the Check operation. Corresponds to the JSON property `errorCode` @return [Array<String>]

linked[RW]

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` @return [Boolean]

linked?[RW]

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` @return [Boolean]

max_age[RW]

From serving time, how much longer the response should be considered valid barring further updates. REQUIRED Corresponds to the JSON property `maxAge` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/digitalassetlinks_v1/classes.rb, line 142
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/digitalassetlinks_v1/classes.rb, line 147
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