| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276 |
- <?php
- /*
- * Copyright 2014 Google Inc.
- *
- * 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.
- */
- namespace Google\Service\Compute;
- class InterconnectGroup extends \Google\Model
- {
- protected $configuredType = InterconnectGroupConfigured::class;
- protected $configuredDataType = '';
- /**
- * Output only. [Output Only] Creation timestamp inRFC3339 text format.
- *
- * @var string
- */
- public $creationTimestamp;
- /**
- * An optional description of this resource. Provide this property when you
- * create the resource.
- *
- * @var string
- */
- public $description;
- /**
- * Opaque system-generated token that uniquely identifies the configuration.
- * If provided when patching a configuration in update mode, the provided
- * token must match the current token or the update is rejected. This provides
- * a reliable means of doing read-modify-write (optimistic locking) as
- * described by AIP 154.
- *
- * @var string
- */
- public $etag;
- /**
- * Output only. [Output Only] The unique identifier for the resource type. The
- * server generates this identifier.
- *
- * @var string
- */
- public $id;
- protected $intentType = InterconnectGroupIntent::class;
- protected $intentDataType = '';
- protected $interconnectsType = InterconnectGroupInterconnect::class;
- protected $interconnectsDataType = 'map';
- /**
- * Output only. [Output Only] Type of the resource. Always
- * compute#InterconnectGroup
- *
- * @var string
- */
- public $kind;
- /**
- * Name of the resource. Provided by the client when the resource is created.
- * The name 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]*[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.
- *
- * @var string
- */
- public $name;
- protected $physicalStructureType = InterconnectGroupPhysicalStructure::class;
- protected $physicalStructureDataType = '';
- /**
- * Output only. [Output Only] Server-defined URL for the resource.
- *
- * @var string
- */
- public $selfLink;
- /**
- * @param InterconnectGroupConfigured $configured
- */
- public function setConfigured(InterconnectGroupConfigured $configured)
- {
- $this->configured = $configured;
- }
- /**
- * @return InterconnectGroupConfigured
- */
- public function getConfigured()
- {
- return $this->configured;
- }
- /**
- * Output only. [Output Only] Creation timestamp inRFC3339 text format.
- *
- * @param string $creationTimestamp
- */
- public function setCreationTimestamp($creationTimestamp)
- {
- $this->creationTimestamp = $creationTimestamp;
- }
- /**
- * @return string
- */
- public function getCreationTimestamp()
- {
- return $this->creationTimestamp;
- }
- /**
- * An optional description of this resource. Provide this property when you
- * create the resource.
- *
- * @param string $description
- */
- public function setDescription($description)
- {
- $this->description = $description;
- }
- /**
- * @return string
- */
- public function getDescription()
- {
- return $this->description;
- }
- /**
- * Opaque system-generated token that uniquely identifies the configuration.
- * If provided when patching a configuration in update mode, the provided
- * token must match the current token or the update is rejected. This provides
- * a reliable means of doing read-modify-write (optimistic locking) as
- * described by AIP 154.
- *
- * @param string $etag
- */
- public function setEtag($etag)
- {
- $this->etag = $etag;
- }
- /**
- * @return string
- */
- public function getEtag()
- {
- return $this->etag;
- }
- /**
- * Output only. [Output Only] The unique identifier for the resource type. The
- * server generates this identifier.
- *
- * @param string $id
- */
- public function setId($id)
- {
- $this->id = $id;
- }
- /**
- * @return string
- */
- public function getId()
- {
- return $this->id;
- }
- /**
- * @param InterconnectGroupIntent $intent
- */
- public function setIntent(InterconnectGroupIntent $intent)
- {
- $this->intent = $intent;
- }
- /**
- * @return InterconnectGroupIntent
- */
- public function getIntent()
- {
- return $this->intent;
- }
- /**
- * Interconnects in the InterconnectGroup. Keys are arbitrary user-specified
- * strings. Users are encouraged, but not required, to use their preferred
- * format for resource links as keys. Note that there are add-members and
- * remove-members methods in gcloud. The size of this map is limited by an
- * "Interconnects per group" quota.
- *
- * @param InterconnectGroupInterconnect[] $interconnects
- */
- public function setInterconnects($interconnects)
- {
- $this->interconnects = $interconnects;
- }
- /**
- * @return InterconnectGroupInterconnect[]
- */
- public function getInterconnects()
- {
- return $this->interconnects;
- }
- /**
- * Output only. [Output Only] Type of the resource. Always
- * compute#InterconnectGroup
- *
- * @param string $kind
- */
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
- /**
- * @return string
- */
- public function getKind()
- {
- return $this->kind;
- }
- /**
- * Name of the resource. Provided by the client when the resource is created.
- * The name 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]*[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.
- *
- * @param string $name
- */
- public function setName($name)
- {
- $this->name = $name;
- }
- /**
- * @return string
- */
- public function getName()
- {
- return $this->name;
- }
- /**
- * @param InterconnectGroupPhysicalStructure $physicalStructure
- */
- public function setPhysicalStructure(InterconnectGroupPhysicalStructure $physicalStructure)
- {
- $this->physicalStructure = $physicalStructure;
- }
- /**
- * @return InterconnectGroupPhysicalStructure
- */
- public function getPhysicalStructure()
- {
- return $this->physicalStructure;
- }
- /**
- * Output only. [Output Only] Server-defined URL for the resource.
- *
- * @param string $selfLink
- */
- public function setSelfLink($selfLink)
- {
- $this->selfLink = $selfLink;
- }
- /**
- * @return string
- */
- public function getSelfLink()
- {
- return $this->selfLink;
- }
- }
- // Adding a class alias for backwards compatibility with the previous class name.
- class_alias(InterconnectGroup::class, 'Google_Service_Compute_InterconnectGroup');
|