Class: Google::Apis::ConnectorsV1::PublishStatus

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

Publish status of a custom connector.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PublishStatus

Returns a new instance of PublishStatus.



5112
5113
5114
# File 'lib/google/apis/connectors_v1/classes.rb', line 5112

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

Instance Attribute Details

#publish_stateString

Output only. Publish state of the custom connector. Corresponds to the JSON property publishState

Returns:

  • (String)


5093
5094
5095
# File 'lib/google/apis/connectors_v1/classes.rb', line 5093

def publish_state
  @publish_state
end

#publish_timeString

Output only. Publish time. Corresponds to the JSON property publishTime

Returns:

  • (String)


5098
5099
5100
# File 'lib/google/apis/connectors_v1/classes.rb', line 5098

def publish_time
  @publish_time
end

#published_asString

Output only. Partner connector name. Will be set on the custom connector. Format: providers/partner/connectors//versions/ Corresponds to the JSON property publishedAs

Returns:

  • (String)


5104
5105
5106
# File 'lib/google/apis/connectors_v1/classes.rb', line 5104

def published_as
  @published_as
end

#published_sourceString

Output only. Custom connector name. Will be set on the partner connector. Format: providers/customconnectors/connectors//versions/ Corresponds to the JSON property publishedSource

Returns:

  • (String)


5110
5111
5112
# File 'lib/google/apis/connectors_v1/classes.rb', line 5110

def published_source
  @published_source
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5117
5118
5119
5120
5121
5122
# File 'lib/google/apis/connectors_v1/classes.rb', line 5117

def update!(**args)
  @publish_state = args[:publish_state] if args.key?(:publish_state)
  @publish_time = args[:publish_time] if args.key?(:publish_time)
  @published_as = args[:published_as] if args.key?(:published_as)
  @published_source = args[:published_source] if args.key?(:published_source)
end