class Google::Apis::DomainsrdapV1::Notice

Notices object defined in [section 4.3 of RFC 7483](tools.ietf.org/ html/rfc7483#section-4.3).

Attributes

description[RW]

Description of the notice. Corresponds to the JSON property `description` @return [Array<String>]

title[RW]

Title of a notice. Example: “Terms of Service”. Corresponds to the JSON property `title` @return [String]

type[RW]

Type values defined in [section 10.2.1 of RFC 7483](tools.ietf.org/ html/rfc7483#section-10.2.1) specific to a whole response: “result set truncated due to authorization”, “result set truncated due to excessive load”, “result set truncated due to unexplainable reasons”. Corresponds to the JSON property `type` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/domainsrdap_v1/classes.rb, line 162
def update!(**args)
  @description = args[:description] if args.key?(:description)
  @links = args[:links] if args.key?(:links)
  @title = args[:title] if args.key?(:title)
  @type = args[:type] if args.key?(:type)
end