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.



6007
6008
6009
# File 'lib/google/apis/connectors_v1/classes.rb', line 6007

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)


5988
5989
5990
# File 'lib/google/apis/connectors_v1/classes.rb', line 5988

def publish_state
  @publish_state
end

#publish_timeString

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

Returns:

  • (String)


5993
5994
5995
# File 'lib/google/apis/connectors_v1/classes.rb', line 5993

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)


5999
6000
6001
# File 'lib/google/apis/connectors_v1/classes.rb', line 5999

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)


6005
6006
6007
# File 'lib/google/apis/connectors_v1/classes.rb', line 6005

def published_source
  @published_source
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6012
6013
6014
6015
6016
6017
# File 'lib/google/apis/connectors_v1/classes.rb', line 6012

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