Class: Google::Apis::MigrationcenterV1alpha1::DiscoveryClientDiscoveryClientRecommendedVersion

Inherits:
Object
  • Object
show all
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

Discovery client recommended version.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DiscoveryClientDiscoveryClientRecommendedVersion

Returns a new instance of DiscoveryClientDiscoveryClientRecommendedVersion.



3416
3417
3418
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3416

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

Instance Attribute Details

#uriString

Output only. The URI of the discovery client version. Corresponds to the JSON property uri

Returns:

  • (String)


3409
3410
3411
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3409

def uri
  @uri
end

#versionString

Output only. The version of the discovery client. Corresponds to the JSON property version

Returns:

  • (String)


3414
3415
3416
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3414

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3421
3422
3423
3424
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3421

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