Generated from protobuf message google.cloud.vmwareengine.v1.CreateNetworkPeeringRequest
Namespace
Google \ Cloud \ VmwareEngine \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The resource name of the location to create the new network peering in. This value is always global, because NetworkPeering is a global resource. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global
↳ network_peering_id
string
Required. The user-provided identifier of the new NetworkPeering. This identifier must be unique among NetworkPeering resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements: * * Only contains 1-63 alphanumeric characters and hyphens * * Begins with an alphabetical character * * Ends with a non-hyphen character * * Not formatted as a UUID * * Complies with RFC 1034 (section 3.5)
Required. The initial description of the new network peering.
↳ request_id
string
Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know 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 if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally 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).
getParent
Required. The resource name of the location to create the new network
peering in. This value is always global, because NetworkPeering is a
global resource. Resource names are schemeless URIs that follow the
conventions in https://cloud.google.com/apis/design/resource_names. For
example: projects/my-project/locations/global
Returns
Type
Description
string
setParent
Required. The resource name of the location to create the new network
peering in. This value is always global, because NetworkPeering is a
global resource. Resource names are schemeless URIs that follow the
conventions in https://cloud.google.com/apis/design/resource_names. For
example: projects/my-project/locations/global
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getNetworkPeeringId
Required. The user-provided identifier of the new NetworkPeering.
This identifier must be unique among NetworkPeering resources within the
parent and becomes the final token in the name URI.
The identifier must meet the following requirements:
Only contains 1-63 alphanumeric characters and hyphens
Required. The user-provided identifier of the new NetworkPeering.
This identifier must be unique among NetworkPeering resources within the
parent and becomes the final token in the name URI.
The identifier must meet the following requirements:
Only contains 1-63 alphanumeric characters and hyphens
Optional. A request ID to identify requests. Specify a unique request ID
so that if you must retry your request, the server will know 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 if original operation with the same request ID
was received, and if so, will ignore the second request. This prevents
clients from accidentally 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
Type
Description
string
setRequestId
Optional. A request ID to identify requests. Specify a unique request ID
so that if you must retry your request, the server will know 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 if original operation with the same request ID
was received, and if so, will ignore the second request. This prevents
clients from accidentally 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).
Parameter
Name
Description
var
string
Returns
Type
Description
$this
static::build
Parameters
Name
Description
parent
string
Required. The resource name of the location to create the new network
peering in. This value is always global, because NetworkPeering is a
global resource. Resource names are schemeless URIs that follow the
conventions in https://cloud.google.com/apis/design/resource_names. For
example: projects/my-project/locations/global
Please see VmwareEngineClient::locationName() for help formatting this field.
Required. The initial description of the new network peering.
networkPeeringId
string
Required. The user-provided identifier of the new NetworkPeering.
This identifier must be unique among NetworkPeering resources within the
parent and becomes the final token in the name URI.
The identifier must meet the following requirements:
Only contains 1-63 alphanumeric characters and hyphens
[[["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-09 UTC."],[],[],null,["# Google Cloud Vmware Engine V1 Client - Class CreateNetworkPeeringRequest (1.1.4)\n\nVersion latestkeyboard_arrow_down\n\n- [1.1.4 (latest)](/php/docs/reference/cloud-vmware-engine/latest/V1.CreateNetworkPeeringRequest)\n- [1.1.3](/php/docs/reference/cloud-vmware-engine/1.1.3/V1.CreateNetworkPeeringRequest)\n- [1.0.0](/php/docs/reference/cloud-vmware-engine/1.0.0/V1.CreateNetworkPeeringRequest)\n- [0.5.6](/php/docs/reference/cloud-vmware-engine/0.5.6/V1.CreateNetworkPeeringRequest)\n- [0.4.0](/php/docs/reference/cloud-vmware-engine/0.4.0/V1.CreateNetworkPeeringRequest)\n- [0.3.3](/php/docs/reference/cloud-vmware-engine/0.3.3/V1.CreateNetworkPeeringRequest)\n- [0.2.1](/php/docs/reference/cloud-vmware-engine/0.2.1/V1.CreateNetworkPeeringRequest)\n- [0.1.4](/php/docs/reference/cloud-vmware-engine/0.1.4/V1.CreateNetworkPeeringRequest) \nReference documentation and code samples for the Google Cloud Vmware Engine V1 Client class CreateNetworkPeeringRequest.\n\nRequest message for\n[VmwareEngine.CreateNetworkPeering](/php/docs/reference/cloud-vmware-engine/latest/V1.Client.VmwareEngineClient#_Google_Cloud_VmwareEngine_V1_Client_VmwareEngineClient__createNetworkPeering__)\n\nGenerated from protobuf message `google.cloud.vmwareengine.v1.CreateNetworkPeeringRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ VmwareEngine \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getParent\n\nRequired. The resource name of the location to create the new network\npeering in. This value is always `global`, because `NetworkPeering` is a\nglobal resource. Resource names are schemeless URIs that follow the\nconventions in \u003chttps://cloud.google.com/apis/design/resource_names\u003e. For\nexample: `projects/my-project/locations/global`\n\n### setParent\n\nRequired. The resource name of the location to create the new network\npeering in. This value is always `global`, because `NetworkPeering` is a\nglobal resource. Resource names are schemeless URIs that follow the\nconventions in \u003chttps://cloud.google.com/apis/design/resource_names\u003e. For\nexample: `projects/my-project/locations/global`\n\n### getNetworkPeeringId\n\nRequired. The user-provided identifier of the new `NetworkPeering`.\n\nThis identifier must be unique among `NetworkPeering` resources within the\nparent and becomes the final token in the name URI.\nThe identifier must meet the following requirements:\n\n- Only contains 1-63 alphanumeric characters and hyphens\n- Begins with an alphabetical character\n- Ends with a non-hyphen character\n- Not formatted as a UUID\n- Complies with [RFC 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)\n\n### setNetworkPeeringId\n\nRequired. The user-provided identifier of the new `NetworkPeering`.\n\nThis identifier must be unique among `NetworkPeering` resources within the\nparent and becomes the final token in the name URI.\nThe identifier must meet the following requirements:\n\n- Only contains 1-63 alphanumeric characters and hyphens\n- Begins with an alphabetical character\n- Ends with a non-hyphen character\n- Not formatted as a UUID\n- Complies with [RFC 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)\n\n### getNetworkPeering\n\nRequired. The initial description of the new network peering.\n\n### hasNetworkPeering\n\n### clearNetworkPeering\n\n### setNetworkPeering\n\nRequired. The initial description of the new network peering.\n\n### getRequestId\n\nOptional. A request ID to identify requests. Specify a unique request ID\nso that if you must retry your request, the server will know to ignore\nthe request if it has already been completed. The server guarantees that a\nrequest doesn't result in creation of duplicate commitments for at least 60\nminutes.\n\nFor example, consider a situation where you make an initial request and the\nrequest times out. If you make the request again with the same request\nID, the server can check if original operation with the same request ID\nwas received, and if so, will ignore the second request. This prevents\nclients from accidentally creating duplicate commitments.\nThe request ID must be a valid UUID with the exception that zero UUID is\nnot supported (00000000-0000-0000-0000-000000000000).\n\n### setRequestId\n\nOptional. A request ID to identify requests. Specify a unique request ID\nso that if you must retry your request, the server will know to ignore\nthe request if it has already been completed. The server guarantees that a\nrequest doesn't result in creation of duplicate commitments for at least 60\nminutes.\n\nFor example, consider a situation where you make an initial request and the\nrequest times out. If you make the request again with the same request\nID, the server can check if original operation with the same request ID\nwas received, and if so, will ignore the second request. This prevents\nclients from accidentally creating duplicate commitments.\nThe request ID must be a valid UUID with the exception that zero UUID is\nnot supported (00000000-0000-0000-0000-000000000000).\n\n### static::build"]]