Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ReportInstanceStatusRequest
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeV1::GoogleCloudApigeeV1ReportInstanceStatusRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/apigee_v1/classes.rb,
lib/google/apis/apigee_v1/representations.rb,
lib/google/apis/apigee_v1/representations.rb
Overview
Request for ReportInstanceStatus.
Instance Attribute Summary collapse
-
#instance_uid ⇒ String
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.
-
#report_time ⇒ String
The time the report was generated in the runtime.
-
#resources ⇒ Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1ResourceStatus>
Status for config resources Corresponds to the JSON property
resources.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApigeeV1ReportInstanceStatusRequest
constructor
A new instance of GoogleCloudApigeeV1ReportInstanceStatusRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApigeeV1ReportInstanceStatusRequest
Returns a new instance of GoogleCloudApigeeV1ReportInstanceStatusRequest.
6761 6762 6763 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 6761 def initialize(**args) update!(**args) end |
Instance Attribute Details
#instance_uid ⇒ String
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
6747 6748 6749 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 6747 def instance_uid @instance_uid end |
#report_time ⇒ String
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
6754 6755 6756 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 6754 def report_time @report_time end |
#resources ⇒ Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1ResourceStatus>
Status for config resources
Corresponds to the JSON property resources
6759 6760 6761 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 6759 def resources @resources end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6766 6767 6768 6769 6770 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 6766 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 |