Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ReportInstanceStatusRequest

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

Overview

Request for ReportInstanceStatus.

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

Returns a new instance of GoogleCloudApigeeV1ReportInstanceStatusRequest.


4339
4340
4341
# File 'generated/google/apis/apigee_v1/classes.rb', line 4339

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

Instance Attribute Details

#instance_uidString

A unique ID for the instance which is guaranteed to be unique in case the user installs multiple hybrid runtimes with the same instance ID. Corresponds to the JSON property instanceUid

Returns:

  • (String)

4325
4326
4327
# File 'generated/google/apis/apigee_v1/classes.rb', line 4325

def instance_uid
  @instance_uid
end

#report_timeString

The time the report was generated in the runtime. Used to prevent an old status from overwriting a newer one. An instance should space out it's status reports so that clock skew does not play a factor. Corresponds to the JSON property reportTime

Returns:

  • (String)

4332
4333
4334
# File 'generated/google/apis/apigee_v1/classes.rb', line 4332

def report_time
  @report_time
end

#resourcesArray<Google::Apis::ApigeeV1::GoogleCloudApigeeV1ResourceStatus>

Status for config resources Corresponds to the JSON property resources


4337
4338
4339
# File 'generated/google/apis/apigee_v1/classes.rb', line 4337

def resources
  @resources
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


4344
4345
4346
4347
4348
# File 'generated/google/apis/apigee_v1/classes.rb', line 4344

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