Class: Google::Apis::NetworkconnectivityV1::RejectSpokeRequest
- Inherits:
-
Object
- Object
- Google::Apis::NetworkconnectivityV1::RejectSpokeRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/networkconnectivity_v1/classes.rb,
lib/google/apis/networkconnectivity_v1/representations.rb,
lib/google/apis/networkconnectivity_v1/representations.rb
Overview
The request for HubService.RejectSpoke.
Instance Attribute Summary collapse
-
#details ⇒ String
Optional.
-
#request_id ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RejectSpokeRequest
constructor
A new instance of RejectSpokeRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RejectSpokeRequest
Returns a new instance of RejectSpokeRequest.
1610 1611 1612 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 1610 def initialize(**args) update!(**args) end |
Instance Attribute Details
#details ⇒ String
Optional. Additional Details behind the rejection
Corresponds to the JSON property details
1593 1594 1595 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 1593 def details @details end |
#request_id ⇒ String
Optional. A unique request ID (optional). If you specify this ID, you can use
it in cases when you need to retry your request. When you need to retry, this
ID lets the server know that it can ignore the request if it has already been
completed. The server guarantees that for at least 60 minutes after the first
request. For example, consider a situation where you make an initial request
and the request times out. If you make the request again with the same request
ID, the server can check to see whether the original operation was received.
If it was, the server ignores the second request. This behavior prevents
clients from mistakenly creating duplicate commitments. The request ID must be
a valid UUID, with the exception that zero UUID is not supported (00000000-
0000-0000-0000-000000000000).
Corresponds to the JSON property requestId
1608 1609 1610 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 1608 def request_id @request_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1615 1616 1617 1618 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 1615 def update!(**args) @details = args[:details] if args.key?(:details) @request_id = args[:request_id] if args.key?(:request_id) end |