Compute V1 Client - Class InterconnectParams (2.3.0)

Reference documentation and code samples for the Compute V1 Client class InterconnectParams.

Additional interconnect parameters.

Generated from protobuf message google.cloud.compute.v1.InterconnectParams

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ resource_manager_tags array|Google\Protobuf\Internal\MapField

Tag keys/values directly bound to this resource. Tag keys and values have the same definition as resource manager tags. The field is allowed for INSERT only. The keys/values to set on the resource should be specified in either ID { : } or Namespaced format { : }. For example the following are valid inputs: * * {"tagKeys/333" : "tagValues/444", "tagKeys/123" : "tagValues/456"} * * {"123/environment" : "production", "345/abc" : "xyz"} Note: * * Invalid combinations of ID & namespaced format is not supported. For instance: {"123/environment" : "tagValues/444"} is invalid. * * Inconsistent format is not supported. For instance: {"tagKeys/333" : "tagValues/444", "123/env" : "prod"} is invalid.

getResourceManagerTags

Tag keys/values directly bound to this resource.

Tag keys and values have the same definition as resource manager tags. The field is allowed for INSERT only. The keys/values to set on the resource should be specified in either ID { : } or Namespaced format { : }. For example the following are valid inputs:

  • {"tagKeys/333" : "tagValues/444", "tagKeys/123" : "tagValues/456"}
  • {"123/environment" : "production", "345/abc" : "xyz"} Note:
  • Invalid combinations of ID & namespaced format is not supported. For instance: {"123/environment" : "tagValues/444"} is invalid.
  • Inconsistent format is not supported. For instance: {"tagKeys/333" : "tagValues/444", "123/env" : "prod"} is invalid.
Returns
Type Description
Google\Protobuf\Internal\MapField

setResourceManagerTags

Tag keys/values directly bound to this resource.

Tag keys and values have the same definition as resource manager tags. The field is allowed for INSERT only. The keys/values to set on the resource should be specified in either ID { : } or Namespaced format { : }. For example the following are valid inputs:

  • {"tagKeys/333" : "tagValues/444", "tagKeys/123" : "tagValues/456"}
  • {"123/environment" : "production", "345/abc" : "xyz"} Note:
  • Invalid combinations of ID & namespaced format is not supported. For instance: {"123/environment" : "tagValues/444"} is invalid.
  • Inconsistent format is not supported. For instance: {"tagKeys/333" : "tagValues/444", "123/env" : "prod"} is invalid.
Parameter
Name Description
var array|Google\Protobuf\Internal\MapField
Returns
Type Description
$this