Class: Google::Cloud::NetworkConnectivity::V1::Spoke
- Inherits:
-
Object
- Object
- Google::Cloud::NetworkConnectivity::V1::Spoke
- 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
-
#create_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#description ⇒ ::String
Optional.
-
#etag ⇒ ::String
Optional.
-
#field_paths_pending_update ⇒ ::Array<::String>
Optional.
-
#group ⇒ ::String
Optional.
-
#hub ⇒ ::String
Immutable.
-
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Optional labels in key-value pair format.
-
#linked_interconnect_attachments ⇒ ::Google::Cloud::NetworkConnectivity::V1::LinkedInterconnectAttachments
Optional.
-
#linked_producer_vpc_network ⇒ ::Google::Cloud::NetworkConnectivity::V1::LinkedProducerVpcNetwork
Optional.
-
#linked_router_appliance_instances ⇒ ::Google::Cloud::NetworkConnectivity::V1::LinkedRouterApplianceInstances
Optional.
-
#linked_vpc_network ⇒ ::Google::Cloud::NetworkConnectivity::V1::LinkedVpcNetwork
Optional.
-
#linked_vpn_tunnels ⇒ ::Google::Cloud::NetworkConnectivity::V1::LinkedVpnTunnels
Optional.
-
#name ⇒ ::String
Immutable.
-
#reasons ⇒ ::Array<::Google::Cloud::NetworkConnectivity::V1::Spoke::StateReason>
readonly
Output only.
-
#spoke_type ⇒ ::Google::Cloud::NetworkConnectivity::V1::SpokeType
readonly
Output only.
-
#state ⇒ ::Google::Cloud::NetworkConnectivity::V1::State
readonly
Output only.
-
#unique_id ⇒ ::String
readonly
Output only.
-
#update_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
Instance Attribute Details
#create_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. The time the spoke was created.
199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 |
# File 'proto_docs/google/cloud/networkconnectivity/v1/hub.rb', line 199 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 # The proposed spoke update is pending review. UPDATE_PENDING_REVIEW = 5 # The proposed spoke update has been rejected by the hub administrator. UPDATE_REJECTED = 6 # Network Connectivity Center encountered errors while accepting # the spoke update. UPDATE_FAILED = 7 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 Optional. An optional description of the spoke.
199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 |
# File 'proto_docs/google/cloud/networkconnectivity/v1/hub.rb', line 199 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 # The proposed spoke update is pending review. UPDATE_PENDING_REVIEW = 5 # The proposed spoke update has been rejected by the hub administrator. UPDATE_REJECTED = 6 # Network Connectivity Center encountered errors while accepting # the spoke update. UPDATE_FAILED = 7 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 |
#etag ⇒ ::String
Returns Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 |
# File 'proto_docs/google/cloud/networkconnectivity/v1/hub.rb', line 199 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 # The proposed spoke update is pending review. UPDATE_PENDING_REVIEW = 5 # The proposed spoke update has been rejected by the hub administrator. UPDATE_REJECTED = 6 # Network Connectivity Center encountered errors while accepting # the spoke update. UPDATE_FAILED = 7 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 |
#field_paths_pending_update ⇒ ::Array<::String>
Returns Optional. The list of fields waiting for hub administration's approval.
199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 |
# File 'proto_docs/google/cloud/networkconnectivity/v1/hub.rb', line 199 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 # The proposed spoke update is pending review. UPDATE_PENDING_REVIEW = 5 # The proposed spoke update has been rejected by the hub administrator. UPDATE_REJECTED = 6 # Network Connectivity Center encountered errors while accepting # the spoke update. UPDATE_FAILED = 7 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.
199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 |
# File 'proto_docs/google/cloud/networkconnectivity/v1/hub.rb', line 199 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 # The proposed spoke update is pending review. UPDATE_PENDING_REVIEW = 5 # The proposed spoke update has been rejected by the hub administrator. UPDATE_REJECTED = 6 # Network Connectivity Center encountered errors while accepting # the spoke update. UPDATE_FAILED = 7 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.
199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 |
# File 'proto_docs/google/cloud/networkconnectivity/v1/hub.rb', line 199 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 # The proposed spoke update is pending review. UPDATE_PENDING_REVIEW = 5 # The proposed spoke update has been rejected by the hub administrator. UPDATE_REJECTED = 6 # Network Connectivity Center encountered errors while accepting # the spoke update. UPDATE_FAILED = 7 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.
199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 |
# File 'proto_docs/google/cloud/networkconnectivity/v1/hub.rb', line 199 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 # The proposed spoke update is pending review. UPDATE_PENDING_REVIEW = 5 # The proposed spoke update has been rejected by the hub administrator. UPDATE_REJECTED = 6 # Network Connectivity Center encountered errors while accepting # the spoke update. UPDATE_FAILED = 7 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 Optional. VLAN attachments that are associated with the spoke.
199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 |
# File 'proto_docs/google/cloud/networkconnectivity/v1/hub.rb', line 199 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 # The proposed spoke update is pending review. UPDATE_PENDING_REVIEW = 5 # The proposed spoke update has been rejected by the hub administrator. UPDATE_REJECTED = 6 # Network Connectivity Center encountered errors while accepting # the spoke update. UPDATE_FAILED = 7 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_producer_vpc_network ⇒ ::Google::Cloud::NetworkConnectivity::V1::LinkedProducerVpcNetwork
Returns Optional. The linked producer VPC that is associated with the spoke.
199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 |
# File 'proto_docs/google/cloud/networkconnectivity/v1/hub.rb', line 199 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 # The proposed spoke update is pending review. UPDATE_PENDING_REVIEW = 5 # The proposed spoke update has been rejected by the hub administrator. UPDATE_REJECTED = 6 # Network Connectivity Center encountered errors while accepting # the spoke update. UPDATE_FAILED = 7 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 Optional. Router appliance instances that are associated with the spoke.
199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 |
# File 'proto_docs/google/cloud/networkconnectivity/v1/hub.rb', line 199 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 # The proposed spoke update is pending review. UPDATE_PENDING_REVIEW = 5 # The proposed spoke update has been rejected by the hub administrator. UPDATE_REJECTED = 6 # Network Connectivity Center encountered errors while accepting # the spoke update. UPDATE_FAILED = 7 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.
199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 |
# File 'proto_docs/google/cloud/networkconnectivity/v1/hub.rb', line 199 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 # The proposed spoke update is pending review. UPDATE_PENDING_REVIEW = 5 # The proposed spoke update has been rejected by the hub administrator. UPDATE_REJECTED = 6 # Network Connectivity Center encountered errors while accepting # the spoke update. UPDATE_FAILED = 7 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 Optional. VPN tunnels that are associated with the spoke.
199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 |
# File 'proto_docs/google/cloud/networkconnectivity/v1/hub.rb', line 199 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 # The proposed spoke update is pending review. UPDATE_PENDING_REVIEW = 5 # The proposed spoke update has been rejected by the hub administrator. UPDATE_REJECTED = 6 # Network Connectivity Center encountered errors while accepting # the spoke update. UPDATE_FAILED = 7 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}.
199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 |
# File 'proto_docs/google/cloud/networkconnectivity/v1/hub.rb', line 199 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 # The proposed spoke update is pending review. UPDATE_PENDING_REVIEW = 5 # The proposed spoke update has been rejected by the hub administrator. UPDATE_REJECTED = 6 # Network Connectivity Center encountered errors while accepting # the spoke update. UPDATE_FAILED = 7 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.
199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 |
# File 'proto_docs/google/cloud/networkconnectivity/v1/hub.rb', line 199 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 # The proposed spoke update is pending review. UPDATE_PENDING_REVIEW = 5 # The proposed spoke update has been rejected by the hub administrator. UPDATE_REJECTED = 6 # Network Connectivity Center encountered errors while accepting # the spoke update. UPDATE_FAILED = 7 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.
199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 |
# File 'proto_docs/google/cloud/networkconnectivity/v1/hub.rb', line 199 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 # The proposed spoke update is pending review. UPDATE_PENDING_REVIEW = 5 # The proposed spoke update has been rejected by the hub administrator. UPDATE_REJECTED = 6 # Network Connectivity Center encountered errors while accepting # the spoke update. UPDATE_FAILED = 7 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.
199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 |
# File 'proto_docs/google/cloud/networkconnectivity/v1/hub.rb', line 199 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 # The proposed spoke update is pending review. UPDATE_PENDING_REVIEW = 5 # The proposed spoke update has been rejected by the hub administrator. UPDATE_REJECTED = 6 # Network Connectivity Center encountered errors while accepting # the spoke update. UPDATE_FAILED = 7 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.
199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 |
# File 'proto_docs/google/cloud/networkconnectivity/v1/hub.rb', line 199 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 # The proposed spoke update is pending review. UPDATE_PENDING_REVIEW = 5 # The proposed spoke update has been rejected by the hub administrator. UPDATE_REJECTED = 6 # Network Connectivity Center encountered errors while accepting # the spoke update. UPDATE_FAILED = 7 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.
199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 |
# File 'proto_docs/google/cloud/networkconnectivity/v1/hub.rb', line 199 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 # The proposed spoke update is pending review. UPDATE_PENDING_REVIEW = 5 # The proposed spoke update has been rejected by the hub administrator. UPDATE_REJECTED = 6 # Network Connectivity Center encountered errors while accepting # the spoke update. UPDATE_FAILED = 7 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 |