Class: Google::Cloud::NetworkConnectivity::V1::Spoke

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

Overview

A Network Connectivity Center spoke represents one or more network connectivity resources.

When you create a spoke, you associate it with a hub. You must also identify a value for exactly one of the following fields:

  • linked_vpn_tunnels
  • linked_interconnect_attachments
  • linked_router_appliance_instances
  • linked_vpc_network

Defined Under Namespace

Classes: LabelsEntry, StateReason

Instance Attribute Summary collapse

Instance Attribute Details

#create_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. The time the spoke was created.

Returns:



171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
# File 'proto_docs/google/cloud/networkconnectivity/v1/hub.rb', line 171

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

  # The reason a spoke is inactive.
  # @!attribute [rw] code
  #   @return [::Google::Cloud::NetworkConnectivity::V1::Spoke::StateReason::Code]
  #     The code associated with this reason.
  # @!attribute [rw] message
  #   @return [::String]
  #     Human-readable details about this reason.
  # @!attribute [rw] user_details
  #   @return [::String]
  #     Additional information provided by the user in the RejectSpoke call.
  class StateReason
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The Code enum represents the various reasons a state can be `INACTIVE`.
    module Code
      # No information available.
      CODE_UNSPECIFIED = 0

      # The proposed spoke is pending review.
      PENDING_REVIEW = 1

      # The proposed spoke has been rejected by the hub administrator.
      REJECTED = 2

      # The spoke has been deactivated internally.
      PAUSED = 3

      # Network Connectivity Center encountered errors while accepting
      # the spoke.
      FAILED = 4
    end
  end

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

#description::String

Returns An optional description of the spoke.

Returns:

  • (::String)

    An optional description of the spoke.



171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
# File 'proto_docs/google/cloud/networkconnectivity/v1/hub.rb', line 171

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

  # The reason a spoke is inactive.
  # @!attribute [rw] code
  #   @return [::Google::Cloud::NetworkConnectivity::V1::Spoke::StateReason::Code]
  #     The code associated with this reason.
  # @!attribute [rw] message
  #   @return [::String]
  #     Human-readable details about this reason.
  # @!attribute [rw] user_details
  #   @return [::String]
  #     Additional information provided by the user in the RejectSpoke call.
  class StateReason
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The Code enum represents the various reasons a state can be `INACTIVE`.
    module Code
      # No information available.
      CODE_UNSPECIFIED = 0

      # The proposed spoke is pending review.
      PENDING_REVIEW = 1

      # The proposed spoke has been rejected by the hub administrator.
      REJECTED = 2

      # The spoke has been deactivated internally.
      PAUSED = 3

      # Network Connectivity Center encountered errors while accepting
      # the spoke.
      FAILED = 4
    end
  end

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

#group::String

Returns Optional. The name of the group that this spoke is associated with.

Returns:

  • (::String)

    Optional. The name of the group that this spoke is associated with.



171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
# File 'proto_docs/google/cloud/networkconnectivity/v1/hub.rb', line 171

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

  # The reason a spoke is inactive.
  # @!attribute [rw] code
  #   @return [::Google::Cloud::NetworkConnectivity::V1::Spoke::StateReason::Code]
  #     The code associated with this reason.
  # @!attribute [rw] message
  #   @return [::String]
  #     Human-readable details about this reason.
  # @!attribute [rw] user_details
  #   @return [::String]
  #     Additional information provided by the user in the RejectSpoke call.
  class StateReason
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The Code enum represents the various reasons a state can be `INACTIVE`.
    module Code
      # No information available.
      CODE_UNSPECIFIED = 0

      # The proposed spoke is pending review.
      PENDING_REVIEW = 1

      # The proposed spoke has been rejected by the hub administrator.
      REJECTED = 2

      # The spoke has been deactivated internally.
      PAUSED = 3

      # Network Connectivity Center encountered errors while accepting
      # the spoke.
      FAILED = 4
    end
  end

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

#hub::String

Returns Immutable. The name of the hub that this spoke is attached to.

Returns:

  • (::String)

    Immutable. The name of the hub that this spoke is attached to.



171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
# File 'proto_docs/google/cloud/networkconnectivity/v1/hub.rb', line 171

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

  # The reason a spoke is inactive.
  # @!attribute [rw] code
  #   @return [::Google::Cloud::NetworkConnectivity::V1::Spoke::StateReason::Code]
  #     The code associated with this reason.
  # @!attribute [rw] message
  #   @return [::String]
  #     Human-readable details about this reason.
  # @!attribute [rw] user_details
  #   @return [::String]
  #     Additional information provided by the user in the RejectSpoke call.
  class StateReason
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The Code enum represents the various reasons a state can be `INACTIVE`.
    module Code
      # No information available.
      CODE_UNSPECIFIED = 0

      # The proposed spoke is pending review.
      PENDING_REVIEW = 1

      # The proposed spoke has been rejected by the hub administrator.
      REJECTED = 2

      # The spoke has been deactivated internally.
      PAUSED = 3

      # Network Connectivity Center encountered errors while accepting
      # the spoke.
      FAILED = 4
    end
  end

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

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

Returns Optional labels in key-value pair format. For more information about labels, see Requirements for labels.

Returns:

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

    Optional labels in key-value pair format. For more information about labels, see Requirements for labels.



171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
# File 'proto_docs/google/cloud/networkconnectivity/v1/hub.rb', line 171

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

  # The reason a spoke is inactive.
  # @!attribute [rw] code
  #   @return [::Google::Cloud::NetworkConnectivity::V1::Spoke::StateReason::Code]
  #     The code associated with this reason.
  # @!attribute [rw] message
  #   @return [::String]
  #     Human-readable details about this reason.
  # @!attribute [rw] user_details
  #   @return [::String]
  #     Additional information provided by the user in the RejectSpoke call.
  class StateReason
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The Code enum represents the various reasons a state can be `INACTIVE`.
    module Code
      # No information available.
      CODE_UNSPECIFIED = 0

      # The proposed spoke is pending review.
      PENDING_REVIEW = 1

      # The proposed spoke has been rejected by the hub administrator.
      REJECTED = 2

      # The spoke has been deactivated internally.
      PAUSED = 3

      # Network Connectivity Center encountered errors while accepting
      # the spoke.
      FAILED = 4
    end
  end

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

#linked_interconnect_attachments::Google::Cloud::NetworkConnectivity::V1::LinkedInterconnectAttachments

Returns VLAN attachments that are associated with the spoke.

Returns:



171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
# File 'proto_docs/google/cloud/networkconnectivity/v1/hub.rb', line 171

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

  # The reason a spoke is inactive.
  # @!attribute [rw] code
  #   @return [::Google::Cloud::NetworkConnectivity::V1::Spoke::StateReason::Code]
  #     The code associated with this reason.
  # @!attribute [rw] message
  #   @return [::String]
  #     Human-readable details about this reason.
  # @!attribute [rw] user_details
  #   @return [::String]
  #     Additional information provided by the user in the RejectSpoke call.
  class StateReason
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The Code enum represents the various reasons a state can be `INACTIVE`.
    module Code
      # No information available.
      CODE_UNSPECIFIED = 0

      # The proposed spoke is pending review.
      PENDING_REVIEW = 1

      # The proposed spoke has been rejected by the hub administrator.
      REJECTED = 2

      # The spoke has been deactivated internally.
      PAUSED = 3

      # Network Connectivity Center encountered errors while accepting
      # the spoke.
      FAILED = 4
    end
  end

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

#linked_router_appliance_instances::Google::Cloud::NetworkConnectivity::V1::LinkedRouterApplianceInstances

Returns Router appliance instances that are associated with the spoke.

Returns:



171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
# File 'proto_docs/google/cloud/networkconnectivity/v1/hub.rb', line 171

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

  # The reason a spoke is inactive.
  # @!attribute [rw] code
  #   @return [::Google::Cloud::NetworkConnectivity::V1::Spoke::StateReason::Code]
  #     The code associated with this reason.
  # @!attribute [rw] message
  #   @return [::String]
  #     Human-readable details about this reason.
  # @!attribute [rw] user_details
  #   @return [::String]
  #     Additional information provided by the user in the RejectSpoke call.
  class StateReason
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The Code enum represents the various reasons a state can be `INACTIVE`.
    module Code
      # No information available.
      CODE_UNSPECIFIED = 0

      # The proposed spoke is pending review.
      PENDING_REVIEW = 1

      # The proposed spoke has been rejected by the hub administrator.
      REJECTED = 2

      # The spoke has been deactivated internally.
      PAUSED = 3

      # Network Connectivity Center encountered errors while accepting
      # the spoke.
      FAILED = 4
    end
  end

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

#linked_vpc_network::Google::Cloud::NetworkConnectivity::V1::LinkedVpcNetwork

Returns Optional. VPC network that is associated with the spoke.

Returns:



171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
# File 'proto_docs/google/cloud/networkconnectivity/v1/hub.rb', line 171

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

  # The reason a spoke is inactive.
  # @!attribute [rw] code
  #   @return [::Google::Cloud::NetworkConnectivity::V1::Spoke::StateReason::Code]
  #     The code associated with this reason.
  # @!attribute [rw] message
  #   @return [::String]
  #     Human-readable details about this reason.
  # @!attribute [rw] user_details
  #   @return [::String]
  #     Additional information provided by the user in the RejectSpoke call.
  class StateReason
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The Code enum represents the various reasons a state can be `INACTIVE`.
    module Code
      # No information available.
      CODE_UNSPECIFIED = 0

      # The proposed spoke is pending review.
      PENDING_REVIEW = 1

      # The proposed spoke has been rejected by the hub administrator.
      REJECTED = 2

      # The spoke has been deactivated internally.
      PAUSED = 3

      # Network Connectivity Center encountered errors while accepting
      # the spoke.
      FAILED = 4
    end
  end

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

#linked_vpn_tunnels::Google::Cloud::NetworkConnectivity::V1::LinkedVpnTunnels

Returns VPN tunnels that are associated with the spoke.

Returns:



171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
# File 'proto_docs/google/cloud/networkconnectivity/v1/hub.rb', line 171

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

  # The reason a spoke is inactive.
  # @!attribute [rw] code
  #   @return [::Google::Cloud::NetworkConnectivity::V1::Spoke::StateReason::Code]
  #     The code associated with this reason.
  # @!attribute [rw] message
  #   @return [::String]
  #     Human-readable details about this reason.
  # @!attribute [rw] user_details
  #   @return [::String]
  #     Additional information provided by the user in the RejectSpoke call.
  class StateReason
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The Code enum represents the various reasons a state can be `INACTIVE`.
    module Code
      # No information available.
      CODE_UNSPECIFIED = 0

      # The proposed spoke is pending review.
      PENDING_REVIEW = 1

      # The proposed spoke has been rejected by the hub administrator.
      REJECTED = 2

      # The spoke has been deactivated internally.
      PAUSED = 3

      # Network Connectivity Center encountered errors while accepting
      # the spoke.
      FAILED = 4
    end
  end

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

#name::String

Returns Immutable. The name of the spoke. Spoke names must be unique. They use the following form: projects/{project_number}/locations/{region}/spokes/{spoke_id}.

Returns:

  • (::String)

    Immutable. The name of the spoke. Spoke names must be unique. They use the following form: projects/{project_number}/locations/{region}/spokes/{spoke_id}



171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
# File 'proto_docs/google/cloud/networkconnectivity/v1/hub.rb', line 171

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

  # The reason a spoke is inactive.
  # @!attribute [rw] code
  #   @return [::Google::Cloud::NetworkConnectivity::V1::Spoke::StateReason::Code]
  #     The code associated with this reason.
  # @!attribute [rw] message
  #   @return [::String]
  #     Human-readable details about this reason.
  # @!attribute [rw] user_details
  #   @return [::String]
  #     Additional information provided by the user in the RejectSpoke call.
  class StateReason
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The Code enum represents the various reasons a state can be `INACTIVE`.
    module Code
      # No information available.
      CODE_UNSPECIFIED = 0

      # The proposed spoke is pending review.
      PENDING_REVIEW = 1

      # The proposed spoke has been rejected by the hub administrator.
      REJECTED = 2

      # The spoke has been deactivated internally.
      PAUSED = 3

      # Network Connectivity Center encountered errors while accepting
      # the spoke.
      FAILED = 4
    end
  end

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

#reasons::Array<::Google::Cloud::NetworkConnectivity::V1::Spoke::StateReason> (readonly)

Returns Output only. The reasons for current state of the spoke. Only present when the spoke is in the INACTIVE state.

Returns:



171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
# File 'proto_docs/google/cloud/networkconnectivity/v1/hub.rb', line 171

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

  # The reason a spoke is inactive.
  # @!attribute [rw] code
  #   @return [::Google::Cloud::NetworkConnectivity::V1::Spoke::StateReason::Code]
  #     The code associated with this reason.
  # @!attribute [rw] message
  #   @return [::String]
  #     Human-readable details about this reason.
  # @!attribute [rw] user_details
  #   @return [::String]
  #     Additional information provided by the user in the RejectSpoke call.
  class StateReason
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The Code enum represents the various reasons a state can be `INACTIVE`.
    module Code
      # No information available.
      CODE_UNSPECIFIED = 0

      # The proposed spoke is pending review.
      PENDING_REVIEW = 1

      # The proposed spoke has been rejected by the hub administrator.
      REJECTED = 2

      # The spoke has been deactivated internally.
      PAUSED = 3

      # Network Connectivity Center encountered errors while accepting
      # the spoke.
      FAILED = 4
    end
  end

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

#spoke_type::Google::Cloud::NetworkConnectivity::V1::SpokeType (readonly)

Returns Output only. The type of resource associated with the spoke.

Returns:



171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
# File 'proto_docs/google/cloud/networkconnectivity/v1/hub.rb', line 171

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

  # The reason a spoke is inactive.
  # @!attribute [rw] code
  #   @return [::Google::Cloud::NetworkConnectivity::V1::Spoke::StateReason::Code]
  #     The code associated with this reason.
  # @!attribute [rw] message
  #   @return [::String]
  #     Human-readable details about this reason.
  # @!attribute [rw] user_details
  #   @return [::String]
  #     Additional information provided by the user in the RejectSpoke call.
  class StateReason
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The Code enum represents the various reasons a state can be `INACTIVE`.
    module Code
      # No information available.
      CODE_UNSPECIFIED = 0

      # The proposed spoke is pending review.
      PENDING_REVIEW = 1

      # The proposed spoke has been rejected by the hub administrator.
      REJECTED = 2

      # The spoke has been deactivated internally.
      PAUSED = 3

      # Network Connectivity Center encountered errors while accepting
      # the spoke.
      FAILED = 4
    end
  end

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

#state::Google::Cloud::NetworkConnectivity::V1::State (readonly)

Returns Output only. The current lifecycle state of this spoke.

Returns:



171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
# File 'proto_docs/google/cloud/networkconnectivity/v1/hub.rb', line 171

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

  # The reason a spoke is inactive.
  # @!attribute [rw] code
  #   @return [::Google::Cloud::NetworkConnectivity::V1::Spoke::StateReason::Code]
  #     The code associated with this reason.
  # @!attribute [rw] message
  #   @return [::String]
  #     Human-readable details about this reason.
  # @!attribute [rw] user_details
  #   @return [::String]
  #     Additional information provided by the user in the RejectSpoke call.
  class StateReason
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The Code enum represents the various reasons a state can be `INACTIVE`.
    module Code
      # No information available.
      CODE_UNSPECIFIED = 0

      # The proposed spoke is pending review.
      PENDING_REVIEW = 1

      # The proposed spoke has been rejected by the hub administrator.
      REJECTED = 2

      # The spoke has been deactivated internally.
      PAUSED = 3

      # Network Connectivity Center encountered errors while accepting
      # the spoke.
      FAILED = 4
    end
  end

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

#unique_id::String (readonly)

Returns Output only. The Google-generated UUID for the spoke. This value is unique across all spoke resources. If a spoke is deleted and another with the same name is created, the new spoke is assigned a different unique_id.

Returns:

  • (::String)

    Output only. The Google-generated UUID for the spoke. This value is unique across all spoke resources. If a spoke is deleted and another with the same name is created, the new spoke is assigned a different unique_id.



171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
# File 'proto_docs/google/cloud/networkconnectivity/v1/hub.rb', line 171

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

  # The reason a spoke is inactive.
  # @!attribute [rw] code
  #   @return [::Google::Cloud::NetworkConnectivity::V1::Spoke::StateReason::Code]
  #     The code associated with this reason.
  # @!attribute [rw] message
  #   @return [::String]
  #     Human-readable details about this reason.
  # @!attribute [rw] user_details
  #   @return [::String]
  #     Additional information provided by the user in the RejectSpoke call.
  class StateReason
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The Code enum represents the various reasons a state can be `INACTIVE`.
    module Code
      # No information available.
      CODE_UNSPECIFIED = 0

      # The proposed spoke is pending review.
      PENDING_REVIEW = 1

      # The proposed spoke has been rejected by the hub administrator.
      REJECTED = 2

      # The spoke has been deactivated internally.
      PAUSED = 3

      # Network Connectivity Center encountered errors while accepting
      # the spoke.
      FAILED = 4
    end
  end

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

#update_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. The time the spoke was last updated.

Returns:



171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
# File 'proto_docs/google/cloud/networkconnectivity/v1/hub.rb', line 171

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

  # The reason a spoke is inactive.
  # @!attribute [rw] code
  #   @return [::Google::Cloud::NetworkConnectivity::V1::Spoke::StateReason::Code]
  #     The code associated with this reason.
  # @!attribute [rw] message
  #   @return [::String]
  #     Human-readable details about this reason.
  # @!attribute [rw] user_details
  #   @return [::String]
  #     Additional information provided by the user in the RejectSpoke call.
  class StateReason
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The Code enum represents the various reasons a state can be `INACTIVE`.
    module Code
      # No information available.
      CODE_UNSPECIFIED = 0

      # The proposed spoke is pending review.
      PENDING_REVIEW = 1

      # The proposed spoke has been rejected by the hub administrator.
      REJECTED = 2

      # The spoke has been deactivated internally.
      PAUSED = 3

      # Network Connectivity Center encountered errors while accepting
      # the spoke.
      FAILED = 4
    end
  end

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