Anthos Multi-Cloud V1 API - Class Google::Cloud::GkeMultiCloud::V1::CreateAttachedClusterRequest (v0.7.0)

Reference documentation and code samples for the Anthos Multi-Cloud V1 API class Google::Cloud::GkeMultiCloud::V1::CreateAttachedClusterRequest.

Request message for AttachedClusters.CreateAttachedCluster method.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#attached_cluster

def attached_cluster() -> ::Google::Cloud::GkeMultiCloud::V1::AttachedCluster
Returns

#attached_cluster=

def attached_cluster=(value) -> ::Google::Cloud::GkeMultiCloud::V1::AttachedCluster
Parameter
Returns

#attached_cluster_id

def attached_cluster_id() -> ::String
Returns
  • (::String) — Required. A client provided ID the resource. Must be unique within the parent resource.

    The provided ID will be part of the AttachedCluster resource name formatted as projects/<project-id>/locations/<region>/attachedClusters/<cluster-id>.

    Valid characters are /[a-z][0-9]-/. Cannot be longer than 63 characters.

#attached_cluster_id=

def attached_cluster_id=(value) -> ::String
Parameter
  • value (::String) — Required. A client provided ID the resource. Must be unique within the parent resource.

    The provided ID will be part of the AttachedCluster resource name formatted as projects/<project-id>/locations/<region>/attachedClusters/<cluster-id>.

    Valid characters are /[a-z][0-9]-/. Cannot be longer than 63 characters.

Returns
  • (::String) — Required. A client provided ID the resource. Must be unique within the parent resource.

    The provided ID will be part of the AttachedCluster resource name formatted as projects/<project-id>/locations/<region>/attachedClusters/<cluster-id>.

    Valid characters are /[a-z][0-9]-/. Cannot be longer than 63 characters.

#parent

def parent() -> ::String
Returns
  • (::String) — Required. The parent location where this AttachedCluster resource will be created.

    Location names are formatted as projects/<project-id>/locations/<region>.

    See Resource Names for more details on Google Cloud resource names.

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — Required. The parent location where this AttachedCluster resource will be created.

    Location names are formatted as projects/<project-id>/locations/<region>.

    See Resource Names for more details on Google Cloud resource names.

Returns
  • (::String) — Required. The parent location where this AttachedCluster resource will be created.

    Location names are formatted as projects/<project-id>/locations/<region>.

    See Resource Names for more details on Google Cloud resource names.

#validate_only

def validate_only() -> ::Boolean
Returns
  • (::Boolean) — If set, only validate the request, but do not actually create the cluster.

#validate_only=

def validate_only=(value) -> ::Boolean
Parameter
  • value (::Boolean) — If set, only validate the request, but do not actually create the cluster.
Returns
  • (::Boolean) — If set, only validate the request, but do not actually create the cluster.