Apigee Registry V1 API - Class Google::Cloud::ApigeeRegistry::V1::Registry::Rest::ServiceStub (v0.5.0)

Reference documentation and code samples for the Apigee Registry V1 API class Google::Cloud::ApigeeRegistry::V1::Registry::Rest::ServiceStub.

REST service stub for the Registry service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.

Inherits

  • Object

Methods

#create_api

def create_api(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApigeeRegistry::V1::Api

Baseline implementation for the create_api REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#create_api_deployment

def create_api_deployment(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApigeeRegistry::V1::ApiDeployment

Baseline implementation for the create_api_deployment REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#create_api_spec

def create_api_spec(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApigeeRegistry::V1::ApiSpec

Baseline implementation for the create_api_spec REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#create_api_version

def create_api_version(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApigeeRegistry::V1::ApiVersion

Baseline implementation for the create_api_version REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#create_artifact

def create_artifact(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApigeeRegistry::V1::Artifact

Baseline implementation for the create_artifact REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_api

def delete_api(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty

Baseline implementation for the delete_api REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_api_deployment

def delete_api_deployment(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty

Baseline implementation for the delete_api_deployment REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_api_deployment_revision

def delete_api_deployment_revision(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApigeeRegistry::V1::ApiDeployment

Baseline implementation for the delete_api_deployment_revision REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_api_spec

def delete_api_spec(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty

Baseline implementation for the delete_api_spec REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_api_spec_revision

def delete_api_spec_revision(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApigeeRegistry::V1::ApiSpec

Baseline implementation for the delete_api_spec_revision REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_api_version

def delete_api_version(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty

Baseline implementation for the delete_api_version REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_artifact

def delete_artifact(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty

Baseline implementation for the delete_artifact REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_api

def get_api(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApigeeRegistry::V1::Api

Baseline implementation for the get_api REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_api_deployment

def get_api_deployment(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApigeeRegistry::V1::ApiDeployment

Baseline implementation for the get_api_deployment REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_api_spec

def get_api_spec(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApigeeRegistry::V1::ApiSpec

Baseline implementation for the get_api_spec REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_api_spec_contents

def get_api_spec_contents(request_pb, options = nil) { |result, operation| ... } -> ::Google::Api::HttpBody

Baseline implementation for the get_api_spec_contents REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_api_version

def get_api_version(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApigeeRegistry::V1::ApiVersion

Baseline implementation for the get_api_version REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_artifact

def get_artifact(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApigeeRegistry::V1::Artifact

Baseline implementation for the get_artifact REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_artifact_contents

def get_artifact_contents(request_pb, options = nil) { |result, operation| ... } -> ::Google::Api::HttpBody

Baseline implementation for the get_artifact_contents REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#initialize

def initialize(endpoint:, credentials:) -> ServiceStub
Returns

#list_api_deployment_revisions

def list_api_deployment_revisions(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApigeeRegistry::V1::ListApiDeploymentRevisionsResponse

Baseline implementation for the list_api_deployment_revisions REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_api_deployments

def list_api_deployments(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApigeeRegistry::V1::ListApiDeploymentsResponse

Baseline implementation for the list_api_deployments REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_api_spec_revisions

def list_api_spec_revisions(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApigeeRegistry::V1::ListApiSpecRevisionsResponse

Baseline implementation for the list_api_spec_revisions REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_api_specs

def list_api_specs(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApigeeRegistry::V1::ListApiSpecsResponse

Baseline implementation for the list_api_specs REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_api_versions

def list_api_versions(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApigeeRegistry::V1::ListApiVersionsResponse

Baseline implementation for the list_api_versions REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_apis

def list_apis(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApigeeRegistry::V1::ListApisResponse

Baseline implementation for the list_apis REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_artifacts

def list_artifacts(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApigeeRegistry::V1::ListArtifactsResponse

Baseline implementation for the list_artifacts REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#replace_artifact

def replace_artifact(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApigeeRegistry::V1::Artifact

Baseline implementation for the replace_artifact REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#rollback_api_deployment

def rollback_api_deployment(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApigeeRegistry::V1::ApiDeployment

Baseline implementation for the rollback_api_deployment REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#rollback_api_spec

def rollback_api_spec(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApigeeRegistry::V1::ApiSpec

Baseline implementation for the rollback_api_spec REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#tag_api_deployment_revision

def tag_api_deployment_revision(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApigeeRegistry::V1::ApiDeployment

Baseline implementation for the tag_api_deployment_revision REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#tag_api_spec_revision

def tag_api_spec_revision(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApigeeRegistry::V1::ApiSpec

Baseline implementation for the tag_api_spec_revision REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#update_api

def update_api(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApigeeRegistry::V1::Api

Baseline implementation for the update_api REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#update_api_deployment

def update_api_deployment(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApigeeRegistry::V1::ApiDeployment

Baseline implementation for the update_api_deployment REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#update_api_spec

def update_api_spec(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApigeeRegistry::V1::ApiSpec

Baseline implementation for the update_api_spec REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#update_api_version

def update_api_version(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApigeeRegistry::V1::ApiVersion

Baseline implementation for the update_api_version REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)