Class: Google::Apis::MigrationcenterV1::SendDiscoveryClientHeartbeatRequest

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

Overview

A request to send a discovery client heartbeat.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SendDiscoveryClientHeartbeatRequest

Returns a new instance of SendDiscoveryClientHeartbeatRequest.



4649
4650
4651
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4649

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

Instance Attribute Details

#errorsArray<Google::Apis::MigrationcenterV1::Status>

Optional. Errors affecting client functionality. Corresponds to the JSON property errors



4642
4643
4644
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4642

def errors
  @errors
end

#versionString

Optional. Client application version. Corresponds to the JSON property version

Returns:

  • (String)


4647
4648
4649
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4647

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4654
4655
4656
4657
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4654

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