Class: Google::Cloud::ApiHub::V1::CreateExternalApiRequest

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 CreateExternalApi method's request.

Instance Attribute Summary collapse

Instance Attribute Details

#external_api::Google::Cloud::ApiHub::V1::ExternalApi

Returns Required. The External API resource to create.

Returns:


1229
1230
1231
1232
# File 'proto_docs/google/cloud/apihub/v1/apihub_service.rb', line 1229

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

#external_api_id::String

Returns Optional. The ID to use for the External API resource, which will become the final component of the External API'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 External API 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 External API resource, which will become the final component of the External API'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 External API 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]-_/.


1229
1230
1231
1232
# File 'proto_docs/google/cloud/apihub/v1/apihub_service.rb', line 1229

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

#parent::String

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

Returns:

  • (::String)

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


1229
1230
1231
1232
# File 'proto_docs/google/cloud/apihub/v1/apihub_service.rb', line 1229

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