Class: Google::Apis::MigrationcenterV1alpha1::DiscoveryClient
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1alpha1::DiscoveryClient
- 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
Represents an installed Migration Center Discovery Client instance.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#description ⇒ String
Optional.
-
#display_name ⇒ String
Optional.
-
#errors ⇒ Array<Google::Apis::MigrationcenterV1alpha1::Status>
Output only.
-
#expire_time ⇒ String
Optional.
-
#heartbeat_time ⇒ String
Output only.
-
#labels ⇒ Hash<String,String>
Optional.
-
#name ⇒ String
Output only.
-
#recommended_versions ⇒ Array<Google::Apis::MigrationcenterV1alpha1::DiscoveryClientDiscoveryClientRecommendedVersion>
Output only.
-
#service_account ⇒ String
Required.
-
#signals_endpoint ⇒ String
Output only.
-
#source ⇒ String
Required.
-
#state ⇒ String
Output only.
-
#ttl ⇒ String
Optional.
-
#update_time ⇒ String
Output only.
-
#version ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DiscoveryClient
constructor
A new instance of DiscoveryClient.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DiscoveryClient
Returns a new instance of DiscoveryClient.
2952 2953 2954 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2952 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. Time when the discovery client was first created.
Corresponds to the JSON property createTime
2869 2870 2871 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2869 def create_time @create_time end |
#description ⇒ String
Optional. Free text description. Maximum length is 1000 characters.
Corresponds to the JSON property description
2874 2875 2876 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2874 def description @description end |
#display_name ⇒ String
Optional. Free text display name. Maximum length is 63 characters.
Corresponds to the JSON property displayName
2879 2880 2881 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2879 def display_name @display_name end |
#errors ⇒ Array<Google::Apis::MigrationcenterV1alpha1::Status>
Output only. Errors affecting client functionality.
Corresponds to the JSON property errors
2884 2885 2886 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2884 def errors @errors end |
#expire_time ⇒ String
Optional. Client expiration time in UTC. If specified, the backend will not
accept new frames after this time.
Corresponds to the JSON property expireTime
2890 2891 2892 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2890 def expire_time @expire_time end |
#heartbeat_time ⇒ String
Output only. Last heartbeat time. Healthy clients are expected to send
heartbeats regularly (normally every few minutes).
Corresponds to the JSON property heartbeatTime
2896 2897 2898 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2896 def heartbeat_time @heartbeat_time end |
#labels ⇒ Hash<String,String>
Optional. Labels as key value pairs.
Corresponds to the JSON property labels
2901 2902 2903 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2901 def labels @labels end |
#name ⇒ String
Output only. Identifier. Full name of this discovery client.
Corresponds to the JSON property name
2906 2907 2908 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2906 def name @name end |
#recommended_versions ⇒ Array<Google::Apis::MigrationcenterV1alpha1::DiscoveryClientDiscoveryClientRecommendedVersion>
Output only. The recommended versions of the discovery client.
Corresponds to the JSON property recommendedVersions
2911 2912 2913 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2911 def recommended_versions @recommended_versions end |
#service_account ⇒ String
Required. Service account used by the discovery client for various operation.
Corresponds to the JSON property serviceAccount
2916 2917 2918 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2916 def service_account @service_account end |
#signals_endpoint ⇒ String
Output only. This field is intended for internal use.
Corresponds to the JSON property signalsEndpoint
2921 2922 2923 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2921 def signals_endpoint @signals_endpoint end |
#source ⇒ String
Required. Full name of the source object associated with this discovery client.
Corresponds to the JSON property source
2926 2927 2928 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2926 def source @source end |
#state ⇒ String
Output only. Current state of the discovery client.
Corresponds to the JSON property state
2931 2932 2933 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2931 def state @state end |
#ttl ⇒ String
Optional. Input only. Client time-to-live. If specified, the backend will not
accept new frames after this time. This field is input only. The derived
expiration time is provided as output through the expire_time field.
Corresponds to the JSON property ttl
2938 2939 2940 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2938 def ttl @ttl end |
#update_time ⇒ String
Output only. Time when the discovery client was last updated. This value is
not updated by heartbeats, to view the last heartbeat time please refer to the
heartbeat_time field.
Corresponds to the JSON property updateTime
2945 2946 2947 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2945 def update_time @update_time end |
#version ⇒ String
Output only. Client version, as reported in recent heartbeat.
Corresponds to the JSON property version
2950 2951 2952 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2950 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2957 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @description = args[:description] if args.key?(:description) @display_name = args[:display_name] if args.key?(:display_name) @errors = args[:errors] if args.key?(:errors) @expire_time = args[:expire_time] if args.key?(:expire_time) @heartbeat_time = args[:heartbeat_time] if args.key?(:heartbeat_time) @labels = args[:labels] if args.key?(:labels) @name = args[:name] if args.key?(:name) @recommended_versions = args[:recommended_versions] if args.key?(:recommended_versions) @service_account = args[:service_account] if args.key?(:service_account) @signals_endpoint = args[:signals_endpoint] if args.key?(:signals_endpoint) @source = args[:source] if args.key?(:source) @state = args[:state] if args.key?(:state) @ttl = args[:ttl] if args.key?(:ttl) @update_time = args[:update_time] if args.key?(:update_time) @version = args[:version] if args.key?(:version) end |