Generated from protobuf messagegoogle.cloud.servicedirectory.v1.CreateEndpointRequest
Namespace
Google \ Cloud \ ServiceDirectory \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The resource name of the service that this endpoint provides.
↳ endpoint_id
string
Required. The Resource ID must be 1-63 characters long, and comply withRFC1035. 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.
Required. The resource name of the service that this endpoint provides.
Returns
Type
Description
string
setParent
Required. The resource name of the service that this endpoint provides.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getEndpointId
Required. The Resource ID must be 1-63 characters long, and comply withRFC1035.
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
Type
Description
string
setEndpointId
Required. The Resource ID must be 1-63 characters long, and comply withRFC1035.
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.
Required. The resource name of the service that this endpoint provides. Please seeRegistrationServiceClient::serviceName()for help formatting this field.
Required. The Resource ID must be 1-63 characters long, and comply withRFC1035.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Service Directory V1 Client - Class CreateEndpointRequest (2.0.6)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.6 (latest)](/php/docs/reference/cloud-service-directory/latest/V1.CreateEndpointRequest)\n- [2.0.5](/php/docs/reference/cloud-service-directory/2.0.5/V1.CreateEndpointRequest)\n- [1.3.6](/php/docs/reference/cloud-service-directory/1.3.6/V1.CreateEndpointRequest)\n- [1.2.1](/php/docs/reference/cloud-service-directory/1.2.1/V1.CreateEndpointRequest)\n- [1.1.2](/php/docs/reference/cloud-service-directory/1.1.2/V1.CreateEndpointRequest)\n- [1.0.5](/php/docs/reference/cloud-service-directory/1.0.5/V1.CreateEndpointRequest) \nReference documentation and code samples for the Google Cloud Service Directory V1 Client class CreateEndpointRequest.\n\nThe request message for\n[RegistrationService.CreateEndpoint](/php/docs/reference/cloud-service-directory/latest/V1.Client.RegistrationServiceClient#_Google_Cloud_ServiceDirectory_V1_Client_RegistrationServiceClient__createEndpoint__).\n\nGenerated from protobuf message `google.cloud.servicedirectory.v1.CreateEndpointRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ ServiceDirectory \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getParent\n\nRequired. The resource name of the service that this endpoint provides.\n\n### setParent\n\nRequired. The resource name of the service that this endpoint provides.\n\n### getEndpointId\n\nRequired. The Resource ID must be 1-63 characters long, and comply with\n[RFC1035](https://www.ietf.org/rfc/rfc1035.txt).\n\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?` which means the first\ncharacter must be a lowercase letter, and all following characters must\nbe a dash, lowercase letter, or digit, except the last character, which\ncannot be a dash.\n\n### setEndpointId\n\nRequired. The Resource ID must be 1-63 characters long, and comply with\n[RFC1035](https://www.ietf.org/rfc/rfc1035.txt).\n\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?` which means the first\ncharacter must be a lowercase letter, and all following characters must\nbe a dash, lowercase letter, or digit, except the last character, which\ncannot be a dash.\n\n### getEndpoint\n\nRequired. A endpoint with initial fields set.\n\n### hasEndpoint\n\n### clearEndpoint\n\n### setEndpoint\n\nRequired. A endpoint with initial fields set.\n\n### static::build"]]