Class: Google::Cloud::NetworkConnectivity::V1::CreateSpokeRequest

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

Overview

The request for HubService.CreateSpoke.

Instance Attribute Summary collapse

Instance Attribute Details

#parent::String

Returns Required. The parent resource.

Returns:

  • (::String)

    Required. The parent resource.



663
664
665
666
# File 'proto_docs/google/cloud/networkconnectivity/v1/hub.rb', line 663

class CreateSpokeRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#request_id::String

Returns Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes.

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).

Returns:

  • (::String)

    Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes.

    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).



663
664
665
666
# File 'proto_docs/google/cloud/networkconnectivity/v1/hub.rb', line 663

class CreateSpokeRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#spoke::Google::Cloud::NetworkConnectivity::V1::Spoke

Returns Required. The initial values for a new spoke.

Returns:



663
664
665
666
# File 'proto_docs/google/cloud/networkconnectivity/v1/hub.rb', line 663

class CreateSpokeRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#spoke_id::String

Returns Required. Unique id for the spoke to create.

Returns:

  • (::String)

    Required. Unique id for the spoke to create.



663
664
665
666
# File 'proto_docs/google/cloud/networkconnectivity/v1/hub.rb', line 663

class CreateSpokeRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end