Class: Google::Apis::MigrationcenterV1alpha1::DiscoveryClientDiscoveryClientRecommendedVersion
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1alpha1::DiscoveryClientDiscoveryClientRecommendedVersion
- 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
-
#uri ⇒ String
Output only.
-
#version ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DiscoveryClientDiscoveryClientRecommendedVersion
constructor
A new instance of DiscoveryClientDiscoveryClientRecommendedVersion.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DiscoveryClientDiscoveryClientRecommendedVersion
Returns a new instance of DiscoveryClientDiscoveryClientRecommendedVersion.
2991 2992 2993 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2991 def initialize(**args) update!(**args) end |
Instance Attribute Details
#uri ⇒ String
Output only. The URI of the discovery client version.
Corresponds to the JSON property uri
2984 2985 2986 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2984 def uri @uri end |
#version ⇒ String
Output only. The version of the discovery client.
Corresponds to the JSON property version
2989 2990 2991 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2989 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2996 2997 2998 2999 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2996 def update!(**args) @uri = args[:uri] if args.key?(:uri) @version = args[:version] if args.key?(:version) end |