Class: Google::Cloud::Run::V2::CreateServiceRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/run/v2/service.rb

Overview

Request message for creating a Service.

Instance Attribute Summary collapse

Instance Attribute Details

#parent::String

Returns Required. The location and project in which this service should be created. Format: projects/{project}/locations/{location}, where {project} can be project id or number. Only lowercase characters, digits, and hyphens.

Returns:

  • (::String)

    Required. The location and project in which this service should be created. Format: projects/{project}/locations/{location}, where {project} can be project id or number. Only lowercase characters, digits, and hyphens.



42
43
44
45
# File 'proto_docs/google/cloud/run/v2/service.rb', line 42

class CreateServiceRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#service::Google::Cloud::Run::V2::Service

Returns Required. The Service instance to create.

Returns:



42
43
44
45
# File 'proto_docs/google/cloud/run/v2/service.rb', line 42

class CreateServiceRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#service_id::String

Returns Required. The unique identifier for the Service. It must begin with letter, and cannot end with hyphen; must contain fewer than 50 characters. The name of the service becomes {parent}/services/{service_id}.

Returns:

  • (::String)

    Required. The unique identifier for the Service. It must begin with letter, and cannot end with hyphen; must contain fewer than 50 characters. The name of the service becomes {parent}/services/{service_id}.



42
43
44
45
# File 'proto_docs/google/cloud/run/v2/service.rb', line 42

class CreateServiceRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#validate_only::Boolean

Returns 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.



42
43
44
45
# File 'proto_docs/google/cloud/run/v2/service.rb', line 42

class CreateServiceRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end