Class: Google::Apis::JobsV4::ResponseMetadata

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

Overview

Additional information returned to client, such as debugging information.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ResponseMetadata

Returns a new instance of ResponseMetadata.



2097
2098
2099
# File 'lib/google/apis/jobs_v4/classes.rb', line 2097

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

Instance Attribute Details

#request_idString

A unique id associated with this call. This id is logged for tracking purposes. Corresponds to the JSON property requestId

Returns:

  • (String)


2095
2096
2097
# File 'lib/google/apis/jobs_v4/classes.rb', line 2095

def request_id
  @request_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2102
2103
2104
# File 'lib/google/apis/jobs_v4/classes.rb', line 2102

def update!(**args)
  @request_id = args[:request_id] if args.key?(:request_id)
end