Class: Google::Cloud::ApiHub::V1::CreateDeploymentRequest

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

Overview

The CreateDeployment method's request.

Instance Attribute Summary collapse

Instance Attribute Details

#deployment::Google::Cloud::ApiHub::V1::Deployment

Returns Required. The deployment resource to create.

Returns:



660
661
662
663
# File 'proto_docs/google/cloud/apihub/v1/apihub_service.rb', line 660

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

#deployment_id::String

Returns Optional. The ID to use for the deployment resource, which will become the final component of the deployment's resource name. This field is optional.

  • If provided, the same will be used. The service will throw an error if the specified id is already used by another deployment resource in the API hub.
  • If not provided, a system generated id will be used.

This value should be 4-500 characters, and valid characters are /[a-z][A-Z][0-9]-_/.

Returns:

  • (::String)

    Optional. The ID to use for the deployment resource, which will become the final component of the deployment's resource name. This field is optional.

    • If provided, the same will be used. The service will throw an error if the specified id is already used by another deployment resource in the API hub.
    • If not provided, a system generated id will be used.

    This value should be 4-500 characters, and valid characters are /[a-z][A-Z][0-9]-_/.



660
661
662
663
# File 'proto_docs/google/cloud/apihub/v1/apihub_service.rb', line 660

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

#parent::String

Returns Required. The parent resource for the deployment resource. Format: projects/{project}/locations/{location}.

Returns:

  • (::String)

    Required. The parent resource for the deployment resource. Format: projects/{project}/locations/{location}



660
661
662
663
# File 'proto_docs/google/cloud/apihub/v1/apihub_service.rb', line 660

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