Class: Google::Apis::DigitalassetlinksV1::ListResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/digitalassetlinks_v1/classes.rb,
generated/google/apis/digitalassetlinks_v1/representations.rb,
generated/google/apis/digitalassetlinks_v1/representations.rb

Overview

Response message for the List call.

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

Returns a new instance of ListResponse.



196
197
198
# File 'generated/google/apis/digitalassetlinks_v1/classes.rb', line 196

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

Instance Attribute Details

#debug_stringString

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

Returns:

  • (String)


177
178
179
# File 'generated/google/apis/digitalassetlinks_v1/classes.rb', line 177

def debug_string
  @debug_string
end

#error_codeArray<String>

Error codes that describe the result of the List operation. Corresponds to the JSON property errorCode

Returns:

  • (Array<String>)


182
183
184
# File 'generated/google/apis/digitalassetlinks_v1/classes.rb', line 182

def error_code
  @error_code
end

#max_ageString

From serving time, how much longer the response should be considered valid barring further updates. REQUIRED Corresponds to the JSON property maxAge

Returns:

  • (String)


189
190
191
# File 'generated/google/apis/digitalassetlinks_v1/classes.rb', line 189

def max_age
  @max_age
end

#statementsArray<Google::Apis::DigitalassetlinksV1::Statement>

A list of all the matching statements that have been found. Corresponds to the JSON property statements



194
195
196
# File 'generated/google/apis/digitalassetlinks_v1/classes.rb', line 194

def statements
  @statements
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



201
202
203
204
205
206
# File 'generated/google/apis/digitalassetlinks_v1/classes.rb', line 201

def update!(**args)
  @debug_string = args[:debug_string] if args.key?(:debug_string)
  @error_code = args[:error_code] if args.key?(:error_code)
  @max_age = args[:max_age] if args.key?(:max_age)
  @statements = args[:statements] if args.key?(:statements)
end