Class: Google::Cloud::ServiceDirectory::V1::CreateServiceRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/servicedirectory/v1/registration_service.rb

Overview

The request message for RegistrationService.CreateService.

Instance Attribute Summary collapse

Instance Attribute Details

#parent::String

Returns Required. The resource name of the namespace this service will belong to.

Returns:

  • (::String)

    Required. The resource name of the namespace this service will belong to.



171
172
173
174
# File 'proto_docs/google/cloud/servicedirectory/v1/registration_service.rb', line 171

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

#service::Google::Cloud::ServiceDirectory::V1::Service

Returns Required. A service with initial fields set.

Returns:



171
172
173
174
# File 'proto_docs/google/cloud/servicedirectory/v1/registration_service.rb', line 171

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

#service_id::String

Returns Required. The Resource ID must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z](?:[-a-z0-9]{0,61}[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

Returns:

  • (::String)

    Required. The Resource ID must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z](?:[-a-z0-9]{0,61}[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.



171
172
173
174
# File 'proto_docs/google/cloud/servicedirectory/v1/registration_service.rb', line 171

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