# EdgeNetworkNetwork

| **Property** | **Value** |
|---|---|
| Google Cloud Service Name | Edge Network |
| Google Cloud Service Documentation | [/distributed-cloud/edge/latest/docs/](https://docs.cloud.google.com/distributed-cloud/edge/latest/docs) |
| Google Cloud REST Resource Name | projects.locations.zones.networks |
| Google Cloud REST Resource Documentation | <https://docs.cloud.google.com/distributed-cloud/edge/latest/docs/reference/network/rest/v1/projects.locations.zones.networks> |
| Config Connector Resource Short Names | edgenetworknetwork gcpedgenetworknetwork gcpedgenetworknetworks |
| Config Connector Service Name | edgenetwork.googleapis.com |
| Config Connector Resource Fully Qualified Name | edgenetworknetworks.edgenetwork.cnrm.cloud.google.com |
| Can Be Referenced by IAMPolicy/IAMPolicyMember | No |
| Config Connector Default Average Reconcile Interval In Seconds | 600 |

## Custom Resource Definition Properties

### Spec

#### Schema

    description: string
    location: string
    mtu: integer
    projectRef:
      external: string
      name: string
      namespace: string
    resourceID: string
    zone: string

| Fields ||
|---|---|
| `description` *Optional* | `string` Immutable. A free-text description of the resource. Max length 1024 characters. |
| `location` *Required* | `string` Immutable. The Google Cloud region to which the target Distributed Cloud Edge zone belongs. |
| `mtu` *Optional* | `integer` Immutable. IP (L3) MTU value of the network. Default value is '1500'. Possible values are: '1500', '9000'. |
| `projectRef` *Required* | `object` The project that this resource belongs to. |
| `projectRef.external` *Optional* | `string` Allowed value: The \`name\` field of a \`Project\` resource. |
| `projectRef.name` *Optional* | `string` Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names |
| `projectRef.namespace` *Optional* | `string` Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ |
| `resourceID` *Optional* | `string` Immutable. Optional. The networkId of the resource. Used for creation and acquisition. When unset, the value of \`metadata.name\` is used as the default. |
| `zone` *Required* | `string` Immutable. The name of the target Distributed Cloud Edge zone. |

### Status

#### Schema

    conditions:
    - lastTransitionTime: string
      message: string
      reason: string
      status: string
      type: string
    createTime: string
    name: string
    observedGeneration: integer
    updateTime: string

| Fields ||
|---|---|
| `conditions` | `list (object)` Conditions represent the latest available observation of the resource's current state. |
| `conditions[]` | `object` <br /> |
| `conditions[].lastTransitionTime` | `string` Last time the condition transitioned from one status to another. |
| `conditions[].message` | `string` Human-readable message indicating details about last transition. |
| `conditions[].reason` | `string` Unique, one-word, CamelCase reason for the condition's last transition. |
| `conditions[].status` | `string` Status is the status of the condition. Can be True, False, Unknown. |
| `conditions[].type` | `string` Type is the type of the condition. |
| `createTime` | `string` The time when the subnet was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: '2014-10-02T15:01:23Z' and '2014-10-02T15:01:23.045123456Z'. |
| `name` | `string` The canonical name of this resource, with format 'projects/{{project}}/locations/{{location}}/zones/{{zone}}/networks/{{network_id}}'. |
| `observedGeneration` | `integer` ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. |
| `updateTime` | `string` The time when the subnet was last updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: '2014-10-02T15:01:23Z' and '2014-10-02T15:01:23.045123456Z'. |

## Sample YAML(s)

### Typical Use Case

    # Copyright 2023 Google LLC
    #
    # Licensed under the Apache License, Version 2.0 (the "License");
    # you may not use this file except in compliance with the License.
    # You may obtain a copy of the License at
    #
    #     http://www.apache.org/licenses/LICENSE-2.0
    #
    # Unless required by applicable law or agreed to in writing, software
    # distributed under the License is distributed on an "AS IS" BASIS,
    # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    # See the License for the specific language governing permissions and
    # limitations under the License.

    apiVersion: edgenetwork.cnrm.cloud.google.com/v1beta1
    kind: EdgeNetworkNetwork
    metadata:
      name: edgenetworknetwork-sample
    spec:
      description: "A sample edgenetwork network"
      location: us-central1
      # Replace ${ZONE_LOCATION?} with the machine zone location
      zone: ${ZONE_LOCATION}
      mtu: 9000

> [!NOTE]
> **Note:** If you have any trouble with instantiating the resource, refer to [Troubleshoot Config Connector](https://docs.cloud.google.com/config-connector/docs/troubleshooting).