Class: Google::Cloud::NetworkConnectivity::V1::ServiceConnectionMap::ConsumerPscConnection

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/networkconnectivity/v1/cross_network_automation.rb

Overview

PSC connection details on consumer side.

Defined Under Namespace

Modules: State Classes: ProducerInstanceMetadataEntry

Instance Attribute Summary collapse

Instance Attribute Details

#error::Google::Rpc::Status

Deprecated.

This field is deprecated and may be removed in the next major version update.

Returns The most recent error during operating this connection.

Returns:



241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
# File 'proto_docs/google/cloud/networkconnectivity/v1/cross_network_automation.rb', line 241

class ConsumerPscConnection
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class ProducerInstanceMetadataEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The state of the PSC connection.
  # We reserve the right to add more states without notice in the future.
  # Users should not use exhaustive switch statements on this enum.
  # See https://google.aip.dev/216.
  module State
    # An invalid state as the default case.
    STATE_UNSPECIFIED = 0

    # The connection has been created successfully. However, for the
    # up-to-date connection status, please use the service attachment's
    # "ConnectedEndpoint.status" as the source of truth.
    ACTIVE = 1

    # The connection is not functional since some resources on the connection
    # fail to be created.
    FAILED = 2

    # The connection is being created.
    CREATING = 3

    # The connection is being deleted.
    DELETING = 4

    # The connection is being repaired to complete creation.
    CREATE_REPAIRING = 5

    # The connection is being repaired to complete deletion.
    DELETE_REPAIRING = 6
  end
end

#error_info::Google::Rpc::ErrorInfo (readonly)

Returns Output only. The error info for the latest error during operating this connection.

Returns:



241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
# File 'proto_docs/google/cloud/networkconnectivity/v1/cross_network_automation.rb', line 241

class ConsumerPscConnection
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class ProducerInstanceMetadataEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The state of the PSC connection.
  # We reserve the right to add more states without notice in the future.
  # Users should not use exhaustive switch statements on this enum.
  # See https://google.aip.dev/216.
  module State
    # An invalid state as the default case.
    STATE_UNSPECIFIED = 0

    # The connection has been created successfully. However, for the
    # up-to-date connection status, please use the service attachment's
    # "ConnectedEndpoint.status" as the source of truth.
    ACTIVE = 1

    # The connection is not functional since some resources on the connection
    # fail to be created.
    FAILED = 2

    # The connection is being created.
    CREATING = 3

    # The connection is being deleted.
    DELETING = 4

    # The connection is being repaired to complete creation.
    CREATE_REPAIRING = 5

    # The connection is being repaired to complete deletion.
    DELETE_REPAIRING = 6
  end
end

#error_type::Google::Cloud::NetworkConnectivity::V1::ConnectionErrorType

Deprecated.

This field is deprecated and may be removed in the next major version update.

Returns The error type indicates whether the error is consumer facing, producer facing or system internal.

Returns:



241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
# File 'proto_docs/google/cloud/networkconnectivity/v1/cross_network_automation.rb', line 241

class ConsumerPscConnection
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class ProducerInstanceMetadataEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The state of the PSC connection.
  # We reserve the right to add more states without notice in the future.
  # Users should not use exhaustive switch statements on this enum.
  # See https://google.aip.dev/216.
  module State
    # An invalid state as the default case.
    STATE_UNSPECIFIED = 0

    # The connection has been created successfully. However, for the
    # up-to-date connection status, please use the service attachment's
    # "ConnectedEndpoint.status" as the source of truth.
    ACTIVE = 1

    # The connection is not functional since some resources on the connection
    # fail to be created.
    FAILED = 2

    # The connection is being created.
    CREATING = 3

    # The connection is being deleted.
    DELETING = 4

    # The connection is being repaired to complete creation.
    CREATE_REPAIRING = 5

    # The connection is being repaired to complete deletion.
    DELETE_REPAIRING = 6
  end
end

#forwarding_rule::String

Returns The URI of the consumer forwarding rule created. Example: projects/{projectNumOrId}/regions/us-east1/networks/{resourceId}.

Returns:

  • (::String)

    The URI of the consumer forwarding rule created. Example: projects/{projectNumOrId}/regions/us-east1/networks/{resourceId}.



241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
# File 'proto_docs/google/cloud/networkconnectivity/v1/cross_network_automation.rb', line 241

class ConsumerPscConnection
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class ProducerInstanceMetadataEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The state of the PSC connection.
  # We reserve the right to add more states without notice in the future.
  # Users should not use exhaustive switch statements on this enum.
  # See https://google.aip.dev/216.
  module State
    # An invalid state as the default case.
    STATE_UNSPECIFIED = 0

    # The connection has been created successfully. However, for the
    # up-to-date connection status, please use the service attachment's
    # "ConnectedEndpoint.status" as the source of truth.
    ACTIVE = 1

    # The connection is not functional since some resources on the connection
    # fail to be created.
    FAILED = 2

    # The connection is being created.
    CREATING = 3

    # The connection is being deleted.
    DELETING = 4

    # The connection is being repaired to complete creation.
    CREATE_REPAIRING = 5

    # The connection is being repaired to complete deletion.
    DELETE_REPAIRING = 6
  end
end

#gce_operation::String

Returns The last Compute Engine operation to setup PSC connection.

Returns:

  • (::String)

    The last Compute Engine operation to setup PSC connection.



241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
# File 'proto_docs/google/cloud/networkconnectivity/v1/cross_network_automation.rb', line 241

class ConsumerPscConnection
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class ProducerInstanceMetadataEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The state of the PSC connection.
  # We reserve the right to add more states without notice in the future.
  # Users should not use exhaustive switch statements on this enum.
  # See https://google.aip.dev/216.
  module State
    # An invalid state as the default case.
    STATE_UNSPECIFIED = 0

    # The connection has been created successfully. However, for the
    # up-to-date connection status, please use the service attachment's
    # "ConnectedEndpoint.status" as the source of truth.
    ACTIVE = 1

    # The connection is not functional since some resources on the connection
    # fail to be created.
    FAILED = 2

    # The connection is being created.
    CREATING = 3

    # The connection is being deleted.
    DELETING = 4

    # The connection is being repaired to complete creation.
    CREATE_REPAIRING = 5

    # The connection is being repaired to complete deletion.
    DELETE_REPAIRING = 6
  end
end

#ip::String

Returns The IP literal allocated on the consumer network for the PSC forwarding rule that is created to connect to the producer service attachment in this service connection map.

Returns:

  • (::String)

    The IP literal allocated on the consumer network for the PSC forwarding rule that is created to connect to the producer service attachment in this service connection map.



241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
# File 'proto_docs/google/cloud/networkconnectivity/v1/cross_network_automation.rb', line 241

class ConsumerPscConnection
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class ProducerInstanceMetadataEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The state of the PSC connection.
  # We reserve the right to add more states without notice in the future.
  # Users should not use exhaustive switch statements on this enum.
  # See https://google.aip.dev/216.
  module State
    # An invalid state as the default case.
    STATE_UNSPECIFIED = 0

    # The connection has been created successfully. However, for the
    # up-to-date connection status, please use the service attachment's
    # "ConnectedEndpoint.status" as the source of truth.
    ACTIVE = 1

    # The connection is not functional since some resources on the connection
    # fail to be created.
    FAILED = 2

    # The connection is being created.
    CREATING = 3

    # The connection is being deleted.
    DELETING = 4

    # The connection is being repaired to complete creation.
    CREATE_REPAIRING = 5

    # The connection is being repaired to complete deletion.
    DELETE_REPAIRING = 6
  end
end

#ip_version::Google::Cloud::NetworkConnectivity::V1::IPVersion

Returns The requested IP version for the PSC connection.

Returns:



241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
# File 'proto_docs/google/cloud/networkconnectivity/v1/cross_network_automation.rb', line 241

class ConsumerPscConnection
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class ProducerInstanceMetadataEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The state of the PSC connection.
  # We reserve the right to add more states without notice in the future.
  # Users should not use exhaustive switch statements on this enum.
  # See https://google.aip.dev/216.
  module State
    # An invalid state as the default case.
    STATE_UNSPECIFIED = 0

    # The connection has been created successfully. However, for the
    # up-to-date connection status, please use the service attachment's
    # "ConnectedEndpoint.status" as the source of truth.
    ACTIVE = 1

    # The connection is not functional since some resources on the connection
    # fail to be created.
    FAILED = 2

    # The connection is being created.
    CREATING = 3

    # The connection is being deleted.
    DELETING = 4

    # The connection is being repaired to complete creation.
    CREATE_REPAIRING = 5

    # The connection is being repaired to complete deletion.
    DELETE_REPAIRING = 6
  end
end

#network::String

Returns The consumer network whose PSC forwarding rule is connected to the service attachments in this service connection map. Note that the network could be on a different project (shared VPC).

Returns:

  • (::String)

    The consumer network whose PSC forwarding rule is connected to the service attachments in this service connection map. Note that the network could be on a different project (shared VPC).



241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
# File 'proto_docs/google/cloud/networkconnectivity/v1/cross_network_automation.rb', line 241

class ConsumerPscConnection
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class ProducerInstanceMetadataEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The state of the PSC connection.
  # We reserve the right to add more states without notice in the future.
  # Users should not use exhaustive switch statements on this enum.
  # See https://google.aip.dev/216.
  module State
    # An invalid state as the default case.
    STATE_UNSPECIFIED = 0

    # The connection has been created successfully. However, for the
    # up-to-date connection status, please use the service attachment's
    # "ConnectedEndpoint.status" as the source of truth.
    ACTIVE = 1

    # The connection is not functional since some resources on the connection
    # fail to be created.
    FAILED = 2

    # The connection is being created.
    CREATING = 3

    # The connection is being deleted.
    DELETING = 4

    # The connection is being repaired to complete creation.
    CREATE_REPAIRING = 5

    # The connection is being repaired to complete deletion.
    DELETE_REPAIRING = 6
  end
end

#producer_instance_id::String

Deprecated.

This field is deprecated and may be removed in the next major version update.

Returns Immutable. Deprecated. Use producer_instance_metadata instead. An immutable identifier for the producer instance.

Returns:

  • (::String)

    Immutable. Deprecated. Use producer_instance_metadata instead. An immutable identifier for the producer instance.



241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
# File 'proto_docs/google/cloud/networkconnectivity/v1/cross_network_automation.rb', line 241

class ConsumerPscConnection
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class ProducerInstanceMetadataEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The state of the PSC connection.
  # We reserve the right to add more states without notice in the future.
  # Users should not use exhaustive switch statements on this enum.
  # See https://google.aip.dev/216.
  module State
    # An invalid state as the default case.
    STATE_UNSPECIFIED = 0

    # The connection has been created successfully. However, for the
    # up-to-date connection status, please use the service attachment's
    # "ConnectedEndpoint.status" as the source of truth.
    ACTIVE = 1

    # The connection is not functional since some resources on the connection
    # fail to be created.
    FAILED = 2

    # The connection is being created.
    CREATING = 3

    # The connection is being deleted.
    DELETING = 4

    # The connection is being repaired to complete creation.
    CREATE_REPAIRING = 5

    # The connection is being repaired to complete deletion.
    DELETE_REPAIRING = 6
  end
end

#producer_instance_metadata::Google::Protobuf::Map{::String => ::String}

Returns Immutable. An immutable map for the producer instance metadata.

Returns:

  • (::Google::Protobuf::Map{::String => ::String})

    Immutable. An immutable map for the producer instance metadata.



241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
# File 'proto_docs/google/cloud/networkconnectivity/v1/cross_network_automation.rb', line 241

class ConsumerPscConnection
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class ProducerInstanceMetadataEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The state of the PSC connection.
  # We reserve the right to add more states without notice in the future.
  # Users should not use exhaustive switch statements on this enum.
  # See https://google.aip.dev/216.
  module State
    # An invalid state as the default case.
    STATE_UNSPECIFIED = 0

    # The connection has been created successfully. However, for the
    # up-to-date connection status, please use the service attachment's
    # "ConnectedEndpoint.status" as the source of truth.
    ACTIVE = 1

    # The connection is not functional since some resources on the connection
    # fail to be created.
    FAILED = 2

    # The connection is being created.
    CREATING = 3

    # The connection is being deleted.
    DELETING = 4

    # The connection is being repaired to complete creation.
    CREATE_REPAIRING = 5

    # The connection is being repaired to complete deletion.
    DELETE_REPAIRING = 6
  end
end

#project::String

Returns The consumer project whose PSC forwarding rule is connected to the service attachments in this service connection map.

Returns:

  • (::String)

    The consumer project whose PSC forwarding rule is connected to the service attachments in this service connection map.



241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
# File 'proto_docs/google/cloud/networkconnectivity/v1/cross_network_automation.rb', line 241

class ConsumerPscConnection
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class ProducerInstanceMetadataEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The state of the PSC connection.
  # We reserve the right to add more states without notice in the future.
  # Users should not use exhaustive switch statements on this enum.
  # See https://google.aip.dev/216.
  module State
    # An invalid state as the default case.
    STATE_UNSPECIFIED = 0

    # The connection has been created successfully. However, for the
    # up-to-date connection status, please use the service attachment's
    # "ConnectedEndpoint.status" as the source of truth.
    ACTIVE = 1

    # The connection is not functional since some resources on the connection
    # fail to be created.
    FAILED = 2

    # The connection is being created.
    CREATING = 3

    # The connection is being deleted.
    DELETING = 4

    # The connection is being repaired to complete creation.
    CREATE_REPAIRING = 5

    # The connection is being repaired to complete deletion.
    DELETE_REPAIRING = 6
  end
end

#psc_connection_id::String

Returns The PSC connection id of the PSC forwarding rule connected to the service attachments in this service connection map.

Returns:

  • (::String)

    The PSC connection id of the PSC forwarding rule connected to the service attachments in this service connection map.



241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
# File 'proto_docs/google/cloud/networkconnectivity/v1/cross_network_automation.rb', line 241

class ConsumerPscConnection
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class ProducerInstanceMetadataEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The state of the PSC connection.
  # We reserve the right to add more states without notice in the future.
  # Users should not use exhaustive switch statements on this enum.
  # See https://google.aip.dev/216.
  module State
    # An invalid state as the default case.
    STATE_UNSPECIFIED = 0

    # The connection has been created successfully. However, for the
    # up-to-date connection status, please use the service attachment's
    # "ConnectedEndpoint.status" as the source of truth.
    ACTIVE = 1

    # The connection is not functional since some resources on the connection
    # fail to be created.
    FAILED = 2

    # The connection is being created.
    CREATING = 3

    # The connection is being deleted.
    DELETING = 4

    # The connection is being repaired to complete creation.
    CREATE_REPAIRING = 5

    # The connection is being repaired to complete deletion.
    DELETE_REPAIRING = 6
  end
end

#selected_subnetwork::String (readonly)

Returns Output only. The URI of the selected subnetwork selected to allocate IP address for this connection.

Returns:

  • (::String)

    Output only. The URI of the selected subnetwork selected to allocate IP address for this connection.



241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
# File 'proto_docs/google/cloud/networkconnectivity/v1/cross_network_automation.rb', line 241

class ConsumerPscConnection
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class ProducerInstanceMetadataEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The state of the PSC connection.
  # We reserve the right to add more states without notice in the future.
  # Users should not use exhaustive switch statements on this enum.
  # See https://google.aip.dev/216.
  module State
    # An invalid state as the default case.
    STATE_UNSPECIFIED = 0

    # The connection has been created successfully. However, for the
    # up-to-date connection status, please use the service attachment's
    # "ConnectedEndpoint.status" as the source of truth.
    ACTIVE = 1

    # The connection is not functional since some resources on the connection
    # fail to be created.
    FAILED = 2

    # The connection is being created.
    CREATING = 3

    # The connection is being deleted.
    DELETING = 4

    # The connection is being repaired to complete creation.
    CREATE_REPAIRING = 5

    # The connection is being repaired to complete deletion.
    DELETE_REPAIRING = 6
  end
end

#service_attachment_uri::String

Returns The URI of a service attachment which is the target of the PSC connection.

Returns:

  • (::String)

    The URI of a service attachment which is the target of the PSC connection.



241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
# File 'proto_docs/google/cloud/networkconnectivity/v1/cross_network_automation.rb', line 241

class ConsumerPscConnection
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class ProducerInstanceMetadataEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The state of the PSC connection.
  # We reserve the right to add more states without notice in the future.
  # Users should not use exhaustive switch statements on this enum.
  # See https://google.aip.dev/216.
  module State
    # An invalid state as the default case.
    STATE_UNSPECIFIED = 0

    # The connection has been created successfully. However, for the
    # up-to-date connection status, please use the service attachment's
    # "ConnectedEndpoint.status" as the source of truth.
    ACTIVE = 1

    # The connection is not functional since some resources on the connection
    # fail to be created.
    FAILED = 2

    # The connection is being created.
    CREATING = 3

    # The connection is being deleted.
    DELETING = 4

    # The connection is being repaired to complete creation.
    CREATE_REPAIRING = 5

    # The connection is being repaired to complete deletion.
    DELETE_REPAIRING = 6
  end
end

#state::Google::Cloud::NetworkConnectivity::V1::ServiceConnectionMap::ConsumerPscConnection::State

Returns The state of the PSC connection.



241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
# File 'proto_docs/google/cloud/networkconnectivity/v1/cross_network_automation.rb', line 241

class ConsumerPscConnection
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class ProducerInstanceMetadataEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The state of the PSC connection.
  # We reserve the right to add more states without notice in the future.
  # Users should not use exhaustive switch statements on this enum.
  # See https://google.aip.dev/216.
  module State
    # An invalid state as the default case.
    STATE_UNSPECIFIED = 0

    # The connection has been created successfully. However, for the
    # up-to-date connection status, please use the service attachment's
    # "ConnectedEndpoint.status" as the source of truth.
    ACTIVE = 1

    # The connection is not functional since some resources on the connection
    # fail to be created.
    FAILED = 2

    # The connection is being created.
    CREATING = 3

    # The connection is being deleted.
    DELETING = 4

    # The connection is being repaired to complete creation.
    CREATE_REPAIRING = 5

    # The connection is being repaired to complete deletion.
    DELETE_REPAIRING = 6
  end
end