Class: Google::Apis::ConnectorsV1::ConnectionStatus

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

Overview

ConnectionStatus indicates the state of the connection.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ConnectionStatus

Returns a new instance of ConnectionStatus.



1045
1046
1047
# File 'lib/google/apis/connectors_v1/classes.rb', line 1045

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

Instance Attribute Details

#descriptionString

Description. Corresponds to the JSON property description

Returns:

  • (String)


1033
1034
1035
# File 'lib/google/apis/connectors_v1/classes.rb', line 1033

def description
  @description
end

#stateString

State. Corresponds to the JSON property state

Returns:

  • (String)


1038
1039
1040
# File 'lib/google/apis/connectors_v1/classes.rb', line 1038

def state
  @state
end

#statusString

Status provides detailed information for the state. Corresponds to the JSON property status

Returns:

  • (String)


1043
1044
1045
# File 'lib/google/apis/connectors_v1/classes.rb', line 1043

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1050
1051
1052
1053
1054
# File 'lib/google/apis/connectors_v1/classes.rb', line 1050

def update!(**args)
  @description = args[:description] if args.key?(:description)
  @state = args[:state] if args.key?(:state)
  @status = args[:status] if args.key?(:status)
end