Cloud Run V2 API - Class Google::Cloud::Run::V2::CreateInstanceRequest (v0.32.0)

Reference documentation and code samples for the Cloud Run V2 API class Google::Cloud::Run::V2::CreateInstanceRequest.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#instance

def instance() -> ::Google::Cloud::Run::V2::Instance

#instance=

def instance=(value) -> ::Google::Cloud::Run::V2::Instance

#instance_id

def instance_id() -> ::String
Returns
  • (::String) — Optional. The unique identifier for the Instance. It must begin with letter, and cannot end with hyphen; must contain fewer than 50 characters. The name of the instance becomes {parent}/instances/{instance_id}. If not provided, the server will generate a unique instance_id.

#instance_id=

def instance_id=(value) -> ::String
Parameter
  • value (::String) — Optional. The unique identifier for the Instance. It must begin with letter, and cannot end with hyphen; must contain fewer than 50 characters. The name of the instance becomes {parent}/instances/{instance_id}. If not provided, the server will generate a unique instance_id.
Returns
  • (::String) — Optional. The unique identifier for the Instance. It must begin with letter, and cannot end with hyphen; must contain fewer than 50 characters. The name of the instance becomes {parent}/instances/{instance_id}. If not provided, the server will generate a unique instance_id.

#parent

def parent() -> ::String
Returns
  • (::String) — Required. The location and project in which this Instance should be created.

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — Required. The location and project in which this Instance should be created.
Returns
  • (::String) — Required. The location and project in which this Instance should be created.

#validate_only

def validate_only() -> ::Boolean
Returns
  • (::Boolean) — Optional. Indicates that the request should be validated and default values populated, without persisting the request or creating any resources.

#validate_only=

def validate_only=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. Indicates that the request should be validated and default values populated, without persisting the request or creating any resources.
Returns
  • (::Boolean) — Optional. Indicates that the request should be validated and default values populated, without persisting the request or creating any resources.