Reference documentation and code samples for the Service Directory V1 API class Google::Cloud::ServiceDirectory::V1::CreateEndpointRequest.
The request message for RegistrationService.CreateEndpoint.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#endpoint
def endpoint() -> ::Google::Cloud::ServiceDirectory::V1::Endpoint
Returns
- (::Google::Cloud::ServiceDirectory::V1::Endpoint) — Required. A endpoint with initial fields set.
#endpoint=
def endpoint=(value) -> ::Google::Cloud::ServiceDirectory::V1::Endpoint
Parameter
- value (::Google::Cloud::ServiceDirectory::V1::Endpoint) — Required. A endpoint with initial fields set.
Returns
- (::Google::Cloud::ServiceDirectory::V1::Endpoint) — Required. A endpoint with initial fields set.
#endpoint_id
def endpoint_id() -> ::String
Returns
-
(::String) — Required. The Resource ID must be 1-63 characters long, and comply with
RFC1035.
Specifically, the name must be 1-63 characters long and match the regular
expression
[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?
which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
#endpoint_id=
def endpoint_id=(value) -> ::String
Parameter
-
value (::String) — Required. The Resource ID must be 1-63 characters long, and comply with
RFC1035.
Specifically, the name must be 1-63 characters long and match the regular
expression
[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?
which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
Returns
-
(::String) — Required. The Resource ID must be 1-63 characters long, and comply with
RFC1035.
Specifically, the name must be 1-63 characters long and match the regular
expression
[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?
which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
#parent
def parent() -> ::String
Returns
- (::String) — Required. The resource name of the service that this endpoint provides.
#parent=
def parent=(value) -> ::String
Parameter
- value (::String) — Required. The resource name of the service that this endpoint provides.
Returns
- (::String) — Required. The resource name of the service that this endpoint provides.