Class: Google::Apis::MigrationcenterV1alpha1::SendDiscoveryClientHeartbeatRequest
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1alpha1::SendDiscoveryClientHeartbeatRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/migrationcenter_v1alpha1/classes.rb,
lib/google/apis/migrationcenter_v1alpha1/representations.rb,
lib/google/apis/migrationcenter_v1alpha1/representations.rb
Overview
A request to send a discovery client heartbeat.
Instance Attribute Summary collapse
-
#errors ⇒ Array<Google::Apis::MigrationcenterV1alpha1::Status>
Optional.
-
#version ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SendDiscoveryClientHeartbeatRequest
constructor
A new instance of SendDiscoveryClientHeartbeatRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SendDiscoveryClientHeartbeatRequest
Returns a new instance of SendDiscoveryClientHeartbeatRequest.
6454 6455 6456 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 6454 def initialize(**args) update!(**args) end |
Instance Attribute Details
#errors ⇒ Array<Google::Apis::MigrationcenterV1alpha1::Status>
Optional. Errors affecting client functionality.
Corresponds to the JSON property errors
6447 6448 6449 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 6447 def errors @errors end |
#version ⇒ String
Optional. Client application version.
Corresponds to the JSON property version
6452 6453 6454 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 6452 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6459 6460 6461 6462 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 6459 def update!(**args) @errors = args[:errors] if args.key?(:errors) @version = args[:version] if args.key?(:version) end |