- Before you begin
- Samples
- Api_hub.create_api
- Api_hub.create_attribute
- Api_hub.create_deployment
- Api_hub.create_external_api
- Api_hub.create_spec
- Api_hub.create_version
- Api_hub.delete_api
- Api_hub.delete_attribute
- Api_hub.delete_deployment
- Api_hub.delete_external_api
- Api_hub.delete_spec
- Api_hub.delete_version
- Api_hub.get_api
- Api_hub.get_api_operation
- Api_hub.get_attribute
- Api_hub.get_definition
- Api_hub.get_deployment
- Api_hub.get_external_api
- Api_hub.get_spec
- Api_hub.get_spec_contents
- Api_hub.get_version
- Api_hub.list_api_operations
- Api_hub.list_apis
- Api_hub.list_attributes
- Api_hub.list_deployments
- Api_hub.list_external_apis
- Api_hub.list_specs
- Api_hub.list_versions
- Api_hub.search_resources
- Api_hub.update_api
- Api_hub.update_attribute
- Api_hub.update_deployment
- Api_hub.update_external_api
- Api_hub.update_spec
- Api_hub.update_version
- Api_hub_dependencies.create_dependency
- Api_hub_dependencies.delete_dependency
- Api_hub_dependencies.get_dependency
- Api_hub_dependencies.list_dependencies
- Api_hub_dependencies.update_dependency
- Api_hub_plugin.disable_plugin
- Api_hub_plugin.enable_plugin
- Api_hub_plugin.get_plugin
- Host_project_registration_service.create_host_project_registration
- Host_project_registration_service.get_host_project_registration
- Host_project_registration_service.list_host_project_registrations
- Linting_service.get_style_guide
- Linting_service.get_style_guide_contents
- Linting_service.lint_spec
- Linting_service.update_style_guide
- Provisioning.create_api_hub_instance
- Provisioning.get_api_hub_instance
- Provisioning.lookup_api_hub_instance
- Runtime_project_attachment_service.create_runtime_project_attachment
- Runtime_project_attachment_service.delete_runtime_project_attachment
- Runtime_project_attachment_service.get_runtime_project_attachment
- Runtime_project_attachment_service.list_runtime_project_attachments
- Runtime_project_attachment_service.lookup_runtime_project_attachment
- Quickstart
Before running the samples, make sure you've followed the steps outlined in Using the client library.
cd samples
npm install
cd ..
View the source code.
Usage:
node packages/google-cloud-apihub/samples/generated/v1/api_hub.create_api.js
View the source code.
Usage:
node packages/google-cloud-apihub/samples/generated/v1/api_hub.create_attribute.js
View the source code.
Usage:
node packages/google-cloud-apihub/samples/generated/v1/api_hub.create_deployment.js
View the source code.
Usage:
node packages/google-cloud-apihub/samples/generated/v1/api_hub.create_external_api.js
View the source code.
Usage:
node packages/google-cloud-apihub/samples/generated/v1/api_hub.create_spec.js
View the source code.
Usage:
node packages/google-cloud-apihub/samples/generated/v1/api_hub.create_version.js
View the source code.
Usage:
node packages/google-cloud-apihub/samples/generated/v1/api_hub.delete_api.js
View the source code.
Usage:
node packages/google-cloud-apihub/samples/generated/v1/api_hub.delete_attribute.js
View the source code.
Usage:
node packages/google-cloud-apihub/samples/generated/v1/api_hub.delete_deployment.js
View the source code.
Usage:
node packages/google-cloud-apihub/samples/generated/v1/api_hub.delete_external_api.js
View the source code.
Usage:
node packages/google-cloud-apihub/samples/generated/v1/api_hub.delete_spec.js
View the source code.
Usage:
node packages/google-cloud-apihub/samples/generated/v1/api_hub.delete_version.js
View the source code.
Usage:
node packages/google-cloud-apihub/samples/generated/v1/api_hub.get_api.js
View the source code.
Usage:
node packages/google-cloud-apihub/samples/generated/v1/api_hub.get_api_operation.js
View the source code.
Usage:
node packages/google-cloud-apihub/samples/generated/v1/api_hub.get_attribute.js
View the source code.
Usage:
node packages/google-cloud-apihub/samples/generated/v1/api_hub.get_definition.js
View the source code.
Usage:
node packages/google-cloud-apihub/samples/generated/v1/api_hub.get_deployment.js
View the source code.
Usage:
node packages/google-cloud-apihub/samples/generated/v1/api_hub.get_external_api.js
View the source code.
Usage:
node packages/google-cloud-apihub/samples/generated/v1/api_hub.get_spec.js
View the source code.
Usage:
node packages/google-cloud-apihub/samples/generated/v1/api_hub.get_spec_contents.js
View the source code.
Usage:
node packages/google-cloud-apihub/samples/generated/v1/api_hub.get_version.js
View the source code.
Usage:
node packages/google-cloud-apihub/samples/generated/v1/api_hub.list_api_operations.js
View the source code.
Usage:
node packages/google-cloud-apihub/samples/generated/v1/api_hub.list_apis.js
View the source code.
Usage:
node packages/google-cloud-apihub/samples/generated/v1/api_hub.list_attributes.js
View the source code.
Usage:
node packages/google-cloud-apihub/samples/generated/v1/api_hub.list_deployments.js
View the source code.
Usage:
node packages/google-cloud-apihub/samples/generated/v1/api_hub.list_external_apis.js
View the source code.
Usage:
node packages/google-cloud-apihub/samples/generated/v1/api_hub.list_specs.js
View the source code.
Usage:
node packages/google-cloud-apihub/samples/generated/v1/api_hub.list_versions.js
View the source code.
Usage:
node packages/google-cloud-apihub/samples/generated/v1/api_hub.search_resources.js
View the source code.
Usage:
node packages/google-cloud-apihub/samples/generated/v1/api_hub.update_api.js
View the source code.
Usage:
node packages/google-cloud-apihub/samples/generated/v1/api_hub.update_attribute.js
View the source code.
Usage:
node packages/google-cloud-apihub/samples/generated/v1/api_hub.update_deployment.js
View the source code.
Usage:
node packages/google-cloud-apihub/samples/generated/v1/api_hub.update_external_api.js
View the source code.
Usage:
node packages/google-cloud-apihub/samples/generated/v1/api_hub.update_spec.js
View the source code.
Usage:
node packages/google-cloud-apihub/samples/generated/v1/api_hub.update_version.js
View the source code.
Usage:
node packages/google-cloud-apihub/samples/generated/v1/api_hub_dependencies.create_dependency.js
View the source code.
Usage:
node packages/google-cloud-apihub/samples/generated/v1/api_hub_dependencies.delete_dependency.js
View the source code.
Usage:
node packages/google-cloud-apihub/samples/generated/v1/api_hub_dependencies.get_dependency.js
View the source code.
Usage:
node packages/google-cloud-apihub/samples/generated/v1/api_hub_dependencies.list_dependencies.js
View the source code.
Usage:
node packages/google-cloud-apihub/samples/generated/v1/api_hub_dependencies.update_dependency.js
View the source code.
Usage:
node packages/google-cloud-apihub/samples/generated/v1/api_hub_plugin.disable_plugin.js
View the source code.
Usage:
node packages/google-cloud-apihub/samples/generated/v1/api_hub_plugin.enable_plugin.js
View the source code.
Usage:
node packages/google-cloud-apihub/samples/generated/v1/api_hub_plugin.get_plugin.js
View the source code.
Usage:
node packages/google-cloud-apihub/samples/generated/v1/host_project_registration_service.create_host_project_registration.js
View the source code.
Usage:
node packages/google-cloud-apihub/samples/generated/v1/host_project_registration_service.get_host_project_registration.js
View the source code.
Usage:
node packages/google-cloud-apihub/samples/generated/v1/host_project_registration_service.list_host_project_registrations.js
View the source code.
Usage:
node packages/google-cloud-apihub/samples/generated/v1/linting_service.get_style_guide.js
View the source code.
Usage:
node packages/google-cloud-apihub/samples/generated/v1/linting_service.get_style_guide_contents.js
View the source code.
Usage:
node packages/google-cloud-apihub/samples/generated/v1/linting_service.lint_spec.js
View the source code.
Usage:
node packages/google-cloud-apihub/samples/generated/v1/linting_service.update_style_guide.js
View the source code.
Usage:
node packages/google-cloud-apihub/samples/generated/v1/provisioning.create_api_hub_instance.js
View the source code.
Usage:
node packages/google-cloud-apihub/samples/generated/v1/provisioning.get_api_hub_instance.js
View the source code.
Usage:
node packages/google-cloud-apihub/samples/generated/v1/provisioning.lookup_api_hub_instance.js
View the source code.
Usage:
node packages/google-cloud-apihub/samples/generated/v1/runtime_project_attachment_service.create_runtime_project_attachment.js
View the source code.
Usage:
node packages/google-cloud-apihub/samples/generated/v1/runtime_project_attachment_service.delete_runtime_project_attachment.js
View the source code.
Usage:
node packages/google-cloud-apihub/samples/generated/v1/runtime_project_attachment_service.get_runtime_project_attachment.js
View the source code.
Usage:
node packages/google-cloud-apihub/samples/generated/v1/runtime_project_attachment_service.list_runtime_project_attachments.js
View the source code.
Usage:
node packages/google-cloud-apihub/samples/generated/v1/runtime_project_attachment_service.lookup_runtime_project_attachment.js
View the source code.
Usage:
node packages/google-cloud-apihub/samples/quickstart.js