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
Returns
#instance=
def instance=(value) -> ::Google::Cloud::Run::V2::Instance
Parameter
Returns
#instance_id
def instance_id() -> ::String
Returns
- (::String) — Required. 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}.
#instance_id=
def instance_id=(value) -> ::String
Parameter
- value (::String) — Required. 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}.
Returns
- (::String) — Required. 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}.
#parent
def parent() -> ::String
Returns
- (::String)
#parent=
def parent=(value) -> ::String
Parameter
- value (::String)
Returns
- (::String)
#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.