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.



6134
6135
6136
# File 'lib/google/apis/connectors_v1/classes.rb', line 6134

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)


6115
6116
6117
# File 'lib/google/apis/connectors_v1/classes.rb', line 6115

def publish_state
  @publish_state
end

#publish_timeString

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

Returns:

  • (String)


6120
6121
6122
# File 'lib/google/apis/connectors_v1/classes.rb', line 6120

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)


6126
6127
6128
# File 'lib/google/apis/connectors_v1/classes.rb', line 6126

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)


6132
6133
6134
# File 'lib/google/apis/connectors_v1/classes.rb', line 6132

def published_source
  @published_source
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6139
6140
6141
6142
6143
6144
# File 'lib/google/apis/connectors_v1/classes.rb', line 6139

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