Reference documentation and code samples for the Cloud Run V2 API class Google::Cloud::Run::V2::CreateServiceRequest.
Request message for creating a Service.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#parent
def parent() -> ::String
Returns
- (::String) — Required. The location and project in which this service should be created. Format: projects/{projectnumber}/locations/{location}
#parent=
def parent=(value) -> ::String
Parameter
- value (::String) — Required. The location and project in which this service should be created. Format: projects/{projectnumber}/locations/{location}
Returns
- (::String) — Required. The location and project in which this service should be created. Format: projects/{projectnumber}/locations/{location}
#service
def service() -> ::Google::Cloud::Run::V2::Service
Returns
- (::Google::Cloud::Run::V2::Service) — Required. The Service instance to create.
#service=
def service=(value) -> ::Google::Cloud::Run::V2::Service
Parameter
- value (::Google::Cloud::Run::V2::Service) — Required. The Service instance to create.
Returns
- (::Google::Cloud::Run::V2::Service) — Required. The Service instance to create.
#service_id
def service_id() -> ::String
Returns
- (::String) — Required. The unique identifier for the Service. The name of the service becomes {parent}/services/{service_id}.
#service_id=
def service_id=(value) -> ::String
Parameter
- value (::String) — Required. The unique identifier for the Service. The name of the service becomes {parent}/services/{service_id}.
Returns
- (::String) — Required. The unique identifier for the Service. The name of the service becomes {parent}/services/{service_id}.
#validate_only
def validate_only() -> ::Boolean
Returns
- (::Boolean) — 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) — Indicates that the request should be validated and default values populated, without persisting the request or creating any resources.
Returns
- (::Boolean) — Indicates that the request should be validated and default values populated, without persisting the request or creating any resources.