Class: Google::Cloud::NetworkConnectivity::V1::CreateHubRequest

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

Overview

Request for HubService.CreateHub method.

Instance Attribute Summary collapse

Instance Attribute Details

#hub::Google::Cloud::NetworkConnectivity::V1::Hub

Returns Required. The initial values for a new hub.

Returns:



448
449
450
451
# File 'proto_docs/google/cloud/networkconnectivity/v1/hub.rb', line 448

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

#hub_id::String

Returns Required. A unique identifier for the hub.

Returns:

  • (::String)

    Required. A unique identifier for the hub.



448
449
450
451
# File 'proto_docs/google/cloud/networkconnectivity/v1/hub.rb', line 448

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

#parent::String

Returns Required. The parent resource.

Returns:

  • (::String)

    Required. The parent resource.



448
449
450
451
# File 'proto_docs/google/cloud/networkconnectivity/v1/hub.rb', line 448

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



448
449
450
451
# File 'proto_docs/google/cloud/networkconnectivity/v1/hub.rb', line 448

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