Class: Google::Apis::ApigeeregistryV1::ApigeeRegistryService
- Inherits:
-
Core::BaseService
- Object
- Core::BaseService
- Google::Apis::ApigeeregistryV1::ApigeeRegistryService
- Defined in:
- lib/google/apis/apigeeregistry_v1/service.rb
Overview
Apigee Registry API
Instance Attribute Summary collapse
-
#key ⇒ String
API key.
-
#quota_user ⇒ String
Available to use for quota purposes for server-side applications.
Instance Method Summary collapse
-
#cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Empty
Starts asynchronous cancellation on a long-running operation.
-
#create_project_location_api(parent, api_object = nil, api_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Api
CreateApi creates a specified API.
-
#create_project_location_api_artifact(parent, artifact_object = nil, artifact_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Artifact
CreateArtifact creates a specified artifact.
-
#create_project_location_api_deployment(parent, api_deployment_object = nil, api_deployment_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ApiDeployment
CreateApiDeployment creates a specified deployment.
-
#create_project_location_api_deployment_artifact(parent, artifact_object = nil, artifact_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Artifact
CreateArtifact creates a specified artifact.
-
#create_project_location_api_version(parent, api_version_object = nil, api_version_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ApiVersion
CreateApiVersion creates a specified version.
-
#create_project_location_api_version_artifact(parent, artifact_object = nil, artifact_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Artifact
CreateArtifact creates a specified artifact.
-
#create_project_location_api_version_spec(parent, api_spec_object = nil, api_spec_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ApiSpec
CreateApiSpec creates a specified spec.
-
#create_project_location_api_version_spec_artifact(parent, artifact_object = nil, artifact_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Artifact
CreateArtifact creates a specified artifact.
-
#create_project_location_artifact(parent, artifact_object = nil, artifact_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Artifact
CreateArtifact creates a specified artifact.
-
#create_project_location_instance(parent, instance_object = nil, instance_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Operation
Provisions instance resources for the Registry.
-
#delete_project_location_api(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Empty
DeleteApi removes a specified API and all of the resources that it owns.
-
#delete_project_location_api_artifact(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Empty
DeleteArtifact removes a specified artifact.
-
#delete_project_location_api_deployment(name, force: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Empty
DeleteApiDeployment removes a specified deployment, all revisions, and all child resources (e.g. artifacts).
-
#delete_project_location_api_deployment_artifact(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Empty
DeleteArtifact removes a specified artifact.
-
#delete_project_location_api_deployment_revision(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ApiDeployment
DeleteApiDeploymentRevision deletes a revision of a deployment.
-
#delete_project_location_api_version(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Empty
DeleteApiVersion removes a specified version and all of the resources that it owns.
-
#delete_project_location_api_version_artifact(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Empty
DeleteArtifact removes a specified artifact.
-
#delete_project_location_api_version_spec(name, force: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Empty
DeleteApiSpec removes a specified spec, all revisions, and all child resources (e.g. artifacts).
-
#delete_project_location_api_version_spec_artifact(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Empty
DeleteArtifact removes a specified artifact.
-
#delete_project_location_api_version_spec_revision(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ApiSpec
DeleteApiSpecRevision deletes a revision of a spec.
-
#delete_project_location_artifact(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Empty
DeleteArtifact removes a specified artifact.
-
#delete_project_location_instance(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Operation
Deletes the Registry instance.
-
#delete_project_location_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Empty
Deletes a long-running operation.
-
#get_project_location(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Location
Gets information about a location.
-
#get_project_location_api(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Api
GetApi returns a specified API.
-
#get_project_location_api_artifact(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Artifact
GetArtifact returns a specified artifact.
-
#get_project_location_api_artifact_contents(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::HttpBody
GetArtifactContents returns the contents of a specified artifact.
-
#get_project_location_api_artifact_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Policy
Gets the access control policy for a resource.
-
#get_project_location_api_deployment(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ApiDeployment
GetApiDeployment returns a specified deployment.
-
#get_project_location_api_deployment_artifact(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Artifact
GetArtifact returns a specified artifact.
-
#get_project_location_api_deployment_artifact_contents(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::HttpBody
GetArtifactContents returns the contents of a specified artifact.
-
#get_project_location_api_deployment_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Policy
Gets the access control policy for a resource.
-
#get_project_location_api_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Policy
Gets the access control policy for a resource.
-
#get_project_location_api_version(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ApiVersion
GetApiVersion returns a specified version.
-
#get_project_location_api_version_artifact(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Artifact
GetArtifact returns a specified artifact.
-
#get_project_location_api_version_artifact_contents(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::HttpBody
GetArtifactContents returns the contents of a specified artifact.
-
#get_project_location_api_version_artifact_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Policy
Gets the access control policy for a resource.
-
#get_project_location_api_version_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Policy
Gets the access control policy for a resource.
-
#get_project_location_api_version_spec(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ApiSpec
GetApiSpec returns a specified spec.
-
#get_project_location_api_version_spec_artifact(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Artifact
GetArtifact returns a specified artifact.
-
#get_project_location_api_version_spec_artifact_contents(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::HttpBody
GetArtifactContents returns the contents of a specified artifact.
-
#get_project_location_api_version_spec_artifact_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Policy
Gets the access control policy for a resource.
-
#get_project_location_api_version_spec_contents(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::HttpBody
GetApiSpecContents returns the contents of a specified spec.
-
#get_project_location_api_version_spec_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Policy
Gets the access control policy for a resource.
-
#get_project_location_artifact(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Artifact
GetArtifact returns a specified artifact.
-
#get_project_location_artifact_contents(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::HttpBody
GetArtifactContents returns the contents of a specified artifact.
-
#get_project_location_artifact_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Policy
Gets the access control policy for a resource.
-
#get_project_location_instance(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Instance
Gets details of a single Instance.
-
#get_project_location_instance_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Policy
Gets the access control policy for a resource.
-
#get_project_location_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Operation
Gets the latest state of a long-running operation.
-
#get_project_location_runtime_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Policy
Gets the access control policy for a resource.
-
#initialize ⇒ ApigeeRegistryService
constructor
A new instance of ApigeeRegistryService.
-
#list_project_location_api_artifacts(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ListArtifactsResponse
ListArtifacts returns matching artifacts.
-
#list_project_location_api_deployment_artifacts(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ListArtifactsResponse
ListArtifacts returns matching artifacts.
-
#list_project_location_api_deployment_revisions(name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ListApiDeploymentRevisionsResponse
ListApiDeploymentRevisions lists all revisions of a deployment.
-
#list_project_location_api_deployments(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ListApiDeploymentsResponse
ListApiDeployments returns matching deployments.
-
#list_project_location_api_version_artifacts(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ListArtifactsResponse
ListArtifacts returns matching artifacts.
-
#list_project_location_api_version_spec_artifacts(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ListArtifactsResponse
ListArtifacts returns matching artifacts.
-
#list_project_location_api_version_spec_revisions(name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ListApiSpecRevisionsResponse
ListApiSpecRevisions lists all revisions of a spec.
-
#list_project_location_api_version_specs(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ListApiSpecsResponse
ListApiSpecs returns matching specs.
-
#list_project_location_api_versions(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ListApiVersionsResponse
ListApiVersions returns matching versions.
-
#list_project_location_apis(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ListApisResponse
ListApis returns matching APIs.
-
#list_project_location_artifacts(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ListArtifactsResponse
ListArtifacts returns matching artifacts.
-
#list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ListOperationsResponse
Lists operations that match the specified filter in the request.
-
#list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ListLocationsResponse
Lists information about the supported locations for this service.
-
#patch_project_location_api(name, api_object = nil, allow_missing: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Api
UpdateApi can be used to modify a specified API.
-
#patch_project_location_api_deployment(name, api_deployment_object = nil, allow_missing: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ApiDeployment
UpdateApiDeployment can be used to modify a specified deployment.
-
#patch_project_location_api_version(name, api_version_object = nil, allow_missing: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ApiVersion
UpdateApiVersion can be used to modify a specified version.
-
#patch_project_location_api_version_spec(name, api_spec_object = nil, allow_missing: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ApiSpec
UpdateApiSpec can be used to modify a specified spec.
-
#replace_project_location_api_artifact_artifact(name, artifact_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Artifact
ReplaceArtifact can be used to replace a specified artifact.
-
#replace_project_location_api_deployment_artifact_artifact(name, artifact_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Artifact
ReplaceArtifact can be used to replace a specified artifact.
-
#replace_project_location_api_version_artifact_artifact(name, artifact_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Artifact
ReplaceArtifact can be used to replace a specified artifact.
-
#replace_project_location_api_version_spec_artifact_artifact(name, artifact_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Artifact
ReplaceArtifact can be used to replace a specified artifact.
-
#replace_project_location_artifact_artifact(name, artifact_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Artifact
ReplaceArtifact can be used to replace a specified artifact.
-
#rollback_api_deployment(name, rollback_api_deployment_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ApiDeployment
RollbackApiDeployment sets the current revision to a specified prior revision.
-
#rollback_api_spec(name, rollback_api_spec_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ApiSpec
RollbackApiSpec sets the current revision to a specified prior revision.
-
#set_api_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Policy
Sets the access control policy on the specified resource.
-
#set_deployment_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Policy
Sets the access control policy on the specified resource.
-
#set_instance_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Policy
Sets the access control policy on the specified resource.
-
#set_project_location_api_artifact_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Policy
Sets the access control policy on the specified resource.
-
#set_project_location_api_version_artifact_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Policy
Sets the access control policy on the specified resource.
-
#set_project_location_api_version_spec_artifact_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Policy
Sets the access control policy on the specified resource.
-
#set_project_location_artifact_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Policy
Sets the access control policy on the specified resource.
-
#set_runtime_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Policy
Sets the access control policy on the specified resource.
-
#set_spec_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Policy
Sets the access control policy on the specified resource.
-
#set_version_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Policy
Sets the access control policy on the specified resource.
-
#tag_project_location_api_deployment_revision(name, tag_api_deployment_revision_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ApiDeployment
TagApiDeploymentRevision adds a tag to a specified revision of a deployment.
-
#tag_project_location_api_version_spec_revision(name, tag_api_spec_revision_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ApiSpec
TagApiSpecRevision adds a tag to a specified revision of a spec.
-
#test_api_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_deployment_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_instance_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_project_location_api_artifact_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_project_location_api_version_artifact_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_project_location_api_version_spec_artifact_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_project_location_artifact_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_runtime_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_spec_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_version_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource.
Constructor Details
#initialize ⇒ ApigeeRegistryService
Returns a new instance of ApigeeRegistryService.
45 46 47 48 49 50 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 45 def initialize super('https://apigeeregistry.googleapis.com/', '', client_name: 'google-apis-apigeeregistry_v1', client_version: Google::Apis::ApigeeregistryV1::GEM_VERSION) @batch_path = 'batch' end |
Instance Attribute Details
#key ⇒ String
Returns API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
38 39 40 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 38 def key @key end |
#quota_user ⇒ String
Returns Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
43 44 45 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 43 def quota_user @quota_user end |
Instance Method Details
#cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Empty
Starts asynchronous cancellation on a long-running operation. The server makes
a best effort to cancel the operation, but success is not guaranteed. If the
server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED.
Clients can use Operations.GetOperation or other methods to check whether the
cancellation succeeded or whether the operation completed despite cancellation.
On successful cancellation, the operation is not deleted; instead, it becomes
an operation with an Operation.error value with a google.rpc.Status.code of 1,
corresponding to Code.CANCELLED.
3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 3442 def cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+name}:cancel', ) command.request_representation = Google::Apis::ApigeeregistryV1::CancelOperationRequest::Representation command.request_object = cancel_operation_request_object command.response_representation = Google::Apis::ApigeeregistryV1::Empty::Representation command.response_class = Google::Apis::ApigeeregistryV1::Empty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_api(parent, api_object = nil, api_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Api
CreateApi creates a specified API.
151 152 153 154 155 156 157 158 159 160 161 162 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 151 def create_project_location_api(parent, api_object = nil, api_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/apis', ) command.request_representation = Google::Apis::ApigeeregistryV1::Api::Representation command.request_object = api_object command.response_representation = Google::Apis::ApigeeregistryV1::Api::Representation command.response_class = Google::Apis::ApigeeregistryV1::Api command.params['parent'] = parent unless parent.nil? command.query['apiId'] = api_id unless api_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_api_artifact(parent, artifact_object = nil, artifact_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Artifact
CreateArtifact creates a specified artifact.
457 458 459 460 461 462 463 464 465 466 467 468 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 457 def create_project_location_api_artifact(parent, artifact_object = nil, artifact_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/artifacts', ) command.request_representation = Google::Apis::ApigeeregistryV1::Artifact::Representation command.request_object = artifact_object command.response_representation = Google::Apis::ApigeeregistryV1::Artifact::Representation command.response_class = Google::Apis::ApigeeregistryV1::Artifact command.params['parent'] = parent unless parent.nil? command.query['artifactId'] = artifact_id unless artifact_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_api_deployment(parent, api_deployment_object = nil, api_deployment_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ApiDeployment
CreateApiDeployment creates a specified deployment.
786 787 788 789 790 791 792 793 794 795 796 797 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 786 def create_project_location_api_deployment(parent, api_deployment_object = nil, api_deployment_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/deployments', ) command.request_representation = Google::Apis::ApigeeregistryV1::ApiDeployment::Representation command.request_object = api_deployment_object command.response_representation = Google::Apis::ApigeeregistryV1::ApiDeployment::Representation command.response_class = Google::Apis::ApigeeregistryV1::ApiDeployment command.params['parent'] = parent unless parent.nil? command.query['apiDeploymentId'] = api_deployment_id unless api_deployment_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_api_deployment_artifact(parent, artifact_object = nil, artifact_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Artifact
CreateArtifact creates a specified artifact.
1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1236 def create_project_location_api_deployment_artifact(parent, artifact_object = nil, artifact_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/artifacts', ) command.request_representation = Google::Apis::ApigeeregistryV1::Artifact::Representation command.request_object = artifact_object command.response_representation = Google::Apis::ApigeeregistryV1::Artifact::Representation command.response_class = Google::Apis::ApigeeregistryV1::Artifact command.params['parent'] = parent unless parent.nil? command.query['artifactId'] = artifact_id unless artifact_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_api_version(parent, api_version_object = nil, api_version_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ApiVersion
CreateApiVersion creates a specified version.
1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1447 def create_project_location_api_version(parent, api_version_object = nil, api_version_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/versions', ) command.request_representation = Google::Apis::ApigeeregistryV1::ApiVersion::Representation command.request_object = api_version_object command.response_representation = Google::Apis::ApigeeregistryV1::ApiVersion::Representation command.response_class = Google::Apis::ApigeeregistryV1::ApiVersion command.params['parent'] = parent unless parent.nil? command.query['apiVersionId'] = api_version_id unless api_version_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_api_version_artifact(parent, artifact_object = nil, artifact_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Artifact
CreateArtifact creates a specified artifact.
1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1755 def create_project_location_api_version_artifact(parent, artifact_object = nil, artifact_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/artifacts', ) command.request_representation = Google::Apis::ApigeeregistryV1::Artifact::Representation command.request_object = artifact_object command.response_representation = Google::Apis::ApigeeregistryV1::Artifact::Representation command.response_class = Google::Apis::ApigeeregistryV1::Artifact command.params['parent'] = parent unless parent.nil? command.query['artifactId'] = artifact_id unless artifact_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_api_version_spec(parent, api_spec_object = nil, api_spec_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ApiSpec
CreateApiSpec creates a specified spec.
2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2083 def create_project_location_api_version_spec(parent, api_spec_object = nil, api_spec_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/specs', ) command.request_representation = Google::Apis::ApigeeregistryV1::ApiSpec::Representation command.request_object = api_spec_object command.response_representation = Google::Apis::ApigeeregistryV1::ApiSpec::Representation command.response_class = Google::Apis::ApigeeregistryV1::ApiSpec command.params['parent'] = parent unless parent.nil? command.query['apiSpecId'] = api_spec_id unless api_spec_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_api_version_spec_artifact(parent, artifact_object = nil, artifact_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Artifact
CreateArtifact creates a specified artifact.
2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2566 def create_project_location_api_version_spec_artifact(parent, artifact_object = nil, artifact_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/artifacts', ) command.request_representation = Google::Apis::ApigeeregistryV1::Artifact::Representation command.request_object = artifact_object command.response_representation = Google::Apis::ApigeeregistryV1::Artifact::Representation command.response_class = Google::Apis::ApigeeregistryV1::Artifact command.params['parent'] = parent unless parent.nil? command.query['artifactId'] = artifact_id unless artifact_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_artifact(parent, artifact_object = nil, artifact_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Artifact
CreateArtifact creates a specified artifact.
2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2894 def create_project_location_artifact(parent, artifact_object = nil, artifact_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/artifacts', ) command.request_representation = Google::Apis::ApigeeregistryV1::Artifact::Representation command.request_object = artifact_object command.response_representation = Google::Apis::ApigeeregistryV1::Artifact::Representation command.response_class = Google::Apis::ApigeeregistryV1::Artifact command.params['parent'] = parent unless parent.nil? command.query['artifactId'] = artifact_id unless artifact_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_instance(parent, instance_object = nil, instance_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Operation
Provisions instance resources for the Registry.
3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 3221 def create_project_location_instance(parent, instance_object = nil, instance_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/instances', ) command.request_representation = Google::Apis::ApigeeregistryV1::Instance::Representation command.request_object = instance_object command.response_representation = Google::Apis::ApigeeregistryV1::Operation::Representation command.response_class = Google::Apis::ApigeeregistryV1::Operation command.params['parent'] = parent unless parent.nil? command.query['instanceId'] = instance_id unless instance_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_api(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Empty
DeleteApi removes a specified API and all of the resources that it owns.
184 185 186 187 188 189 190 191 192 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 184 def delete_project_location_api(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::ApigeeregistryV1::Empty::Representation command.response_class = Google::Apis::ApigeeregistryV1::Empty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_api_artifact(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Empty
DeleteArtifact removes a specified artifact.
490 491 492 493 494 495 496 497 498 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 490 def delete_project_location_api_artifact(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::ApigeeregistryV1::Empty::Representation command.response_class = Google::Apis::ApigeeregistryV1::Empty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_api_deployment(name, force: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Empty
DeleteApiDeployment removes a specified deployment, all revisions, and all child resources (e.g. artifacts).
824 825 826 827 828 829 830 831 832 833 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 824 def delete_project_location_api_deployment(name, force: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::ApigeeregistryV1::Empty::Representation command.response_class = Google::Apis::ApigeeregistryV1::Empty command.params['name'] = name unless name.nil? command.query['force'] = force unless force.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_api_deployment_artifact(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Empty
DeleteArtifact removes a specified artifact.
1269 1270 1271 1272 1273 1274 1275 1276 1277 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1269 def delete_project_location_api_deployment_artifact(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::ApigeeregistryV1::Empty::Representation command.response_class = Google::Apis::ApigeeregistryV1::Empty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_api_deployment_revision(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ApiDeployment
DeleteApiDeploymentRevision deletes a revision of a deployment.
857 858 859 860 861 862 863 864 865 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 857 def delete_project_location_api_deployment_revision(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}:deleteRevision', ) command.response_representation = Google::Apis::ApigeeregistryV1::ApiDeployment::Representation command.response_class = Google::Apis::ApigeeregistryV1::ApiDeployment command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_api_version(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Empty
DeleteApiVersion removes a specified version and all of the resources that it owns.
1482 1483 1484 1485 1486 1487 1488 1489 1490 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1482 def delete_project_location_api_version(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::ApigeeregistryV1::Empty::Representation command.response_class = Google::Apis::ApigeeregistryV1::Empty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_api_version_artifact(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Empty
DeleteArtifact removes a specified artifact.
1788 1789 1790 1791 1792 1793 1794 1795 1796 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1788 def delete_project_location_api_version_artifact(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::ApigeeregistryV1::Empty::Representation command.response_class = Google::Apis::ApigeeregistryV1::Empty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_api_version_spec(name, force: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Empty
DeleteApiSpec removes a specified spec, all revisions, and all child resources (e.g. artifacts).
2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2121 def delete_project_location_api_version_spec(name, force: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::ApigeeregistryV1::Empty::Representation command.response_class = Google::Apis::ApigeeregistryV1::Empty command.params['name'] = name unless name.nil? command.query['force'] = force unless force.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_api_version_spec_artifact(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Empty
DeleteArtifact removes a specified artifact.
2599 2600 2601 2602 2603 2604 2605 2606 2607 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2599 def delete_project_location_api_version_spec_artifact(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::ApigeeregistryV1::Empty::Representation command.response_class = Google::Apis::ApigeeregistryV1::Empty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_api_version_spec_revision(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ApiSpec
DeleteApiSpecRevision deletes a revision of a spec.
2154 2155 2156 2157 2158 2159 2160 2161 2162 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2154 def delete_project_location_api_version_spec_revision(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}:deleteRevision', ) command.response_representation = Google::Apis::ApigeeregistryV1::ApiSpec::Representation command.response_class = Google::Apis::ApigeeregistryV1::ApiSpec command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_artifact(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Empty
DeleteArtifact removes a specified artifact.
2927 2928 2929 2930 2931 2932 2933 2934 2935 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2927 def delete_project_location_artifact(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::ApigeeregistryV1::Empty::Representation command.response_class = Google::Apis::ApigeeregistryV1::Empty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_instance(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Operation
Deletes the Registry instance.
3255 3256 3257 3258 3259 3260 3261 3262 3263 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 3255 def delete_project_location_instance(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::ApigeeregistryV1::Operation::Representation command.response_class = Google::Apis::ApigeeregistryV1::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Empty
Deletes a long-running operation. This method indicates that the client is no
longer interested in the operation result. It does not cancel the operation.
If the server doesn't support this method, it returns google.rpc.Code.
UNIMPLEMENTED.
3477 3478 3479 3480 3481 3482 3483 3484 3485 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 3477 def delete_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::ApigeeregistryV1::Empty::Representation command.response_class = Google::Apis::ApigeeregistryV1::Empty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Location
Gets information about a location.
72 73 74 75 76 77 78 79 80 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 72 def get_project_location(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::ApigeeregistryV1::Location::Representation command.response_class = Google::Apis::ApigeeregistryV1::Location command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_api(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Api
GetApi returns a specified API.
215 216 217 218 219 220 221 222 223 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 215 def get_project_location_api(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::ApigeeregistryV1::Api::Representation command.response_class = Google::Apis::ApigeeregistryV1::Api command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_api_artifact(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Artifact
GetArtifact returns a specified artifact.
520 521 522 523 524 525 526 527 528 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 520 def get_project_location_api_artifact(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::ApigeeregistryV1::Artifact::Representation command.response_class = Google::Apis::ApigeeregistryV1::Artifact command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_api_artifact_contents(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::HttpBody
GetArtifactContents returns the contents of a specified artifact. If artifacts are stored with GZip compression, the default behavior is to return the artifact uncompressed (the mime_type response field indicates the exact format returned).
554 555 556 557 558 559 560 561 562 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 554 def get_project_location_api_artifact_contents(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}:getContents', ) command.response_representation = Google::Apis::ApigeeregistryV1::HttpBody::Representation command.response_class = Google::Apis::ApigeeregistryV1::HttpBody command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_api_artifact_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Policy
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
597 598 599 600 601 602 603 604 605 606 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 597 def get_project_location_api_artifact_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', ) command.response_representation = Google::Apis::ApigeeregistryV1::Policy::Representation command.response_class = Google::Apis::ApigeeregistryV1::Policy command.params['resource'] = resource unless resource.nil? command.query['options.requestedPolicyVersion'] = unless .nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_api_deployment(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ApiDeployment
GetApiDeployment returns a specified deployment.
888 889 890 891 892 893 894 895 896 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 888 def get_project_location_api_deployment(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::ApigeeregistryV1::ApiDeployment::Representation command.response_class = Google::Apis::ApigeeregistryV1::ApiDeployment command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_api_deployment_artifact(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Artifact
GetArtifact returns a specified artifact.
1299 1300 1301 1302 1303 1304 1305 1306 1307 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1299 def get_project_location_api_deployment_artifact(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::ApigeeregistryV1::Artifact::Representation command.response_class = Google::Apis::ApigeeregistryV1::Artifact command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_api_deployment_artifact_contents(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::HttpBody
GetArtifactContents returns the contents of a specified artifact. If artifacts are stored with GZip compression, the default behavior is to return the artifact uncompressed (the mime_type response field indicates the exact format returned).
1333 1334 1335 1336 1337 1338 1339 1340 1341 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1333 def get_project_location_api_deployment_artifact_contents(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}:getContents', ) command.response_representation = Google::Apis::ApigeeregistryV1::HttpBody::Representation command.response_class = Google::Apis::ApigeeregistryV1::HttpBody command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_api_deployment_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Policy
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
931 932 933 934 935 936 937 938 939 940 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 931 def get_project_location_api_deployment_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', ) command.response_representation = Google::Apis::ApigeeregistryV1::Policy::Representation command.response_class = Google::Apis::ApigeeregistryV1::Policy command.params['resource'] = resource unless resource.nil? command.query['options.requestedPolicyVersion'] = unless .nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_api_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Policy
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
258 259 260 261 262 263 264 265 266 267 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 258 def get_project_location_api_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', ) command.response_representation = Google::Apis::ApigeeregistryV1::Policy::Representation command.response_class = Google::Apis::ApigeeregistryV1::Policy command.params['resource'] = resource unless resource.nil? command.query['options.requestedPolicyVersion'] = unless .nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_api_version(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ApiVersion
GetApiVersion returns a specified version.
1513 1514 1515 1516 1517 1518 1519 1520 1521 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1513 def get_project_location_api_version(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::ApigeeregistryV1::ApiVersion::Representation command.response_class = Google::Apis::ApigeeregistryV1::ApiVersion command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_api_version_artifact(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Artifact
GetArtifact returns a specified artifact.
1818 1819 1820 1821 1822 1823 1824 1825 1826 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1818 def get_project_location_api_version_artifact(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::ApigeeregistryV1::Artifact::Representation command.response_class = Google::Apis::ApigeeregistryV1::Artifact command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_api_version_artifact_contents(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::HttpBody
GetArtifactContents returns the contents of a specified artifact. If artifacts are stored with GZip compression, the default behavior is to return the artifact uncompressed (the mime_type response field indicates the exact format returned).
1852 1853 1854 1855 1856 1857 1858 1859 1860 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1852 def get_project_location_api_version_artifact_contents(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}:getContents', ) command.response_representation = Google::Apis::ApigeeregistryV1::HttpBody::Representation command.response_class = Google::Apis::ApigeeregistryV1::HttpBody command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_api_version_artifact_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Policy
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1895 def get_project_location_api_version_artifact_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', ) command.response_representation = Google::Apis::ApigeeregistryV1::Policy::Representation command.response_class = Google::Apis::ApigeeregistryV1::Policy command.params['resource'] = resource unless resource.nil? command.query['options.requestedPolicyVersion'] = unless .nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_api_version_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Policy
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1556 def get_project_location_api_version_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', ) command.response_representation = Google::Apis::ApigeeregistryV1::Policy::Representation command.response_class = Google::Apis::ApigeeregistryV1::Policy command.params['resource'] = resource unless resource.nil? command.query['options.requestedPolicyVersion'] = unless .nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_api_version_spec(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ApiSpec
GetApiSpec returns a specified spec.
2185 2186 2187 2188 2189 2190 2191 2192 2193 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2185 def get_project_location_api_version_spec(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::ApigeeregistryV1::ApiSpec::Representation command.response_class = Google::Apis::ApigeeregistryV1::ApiSpec command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_api_version_spec_artifact(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Artifact
GetArtifact returns a specified artifact.
2629 2630 2631 2632 2633 2634 2635 2636 2637 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2629 def get_project_location_api_version_spec_artifact(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::ApigeeregistryV1::Artifact::Representation command.response_class = Google::Apis::ApigeeregistryV1::Artifact command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_api_version_spec_artifact_contents(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::HttpBody
GetArtifactContents returns the contents of a specified artifact. If artifacts are stored with GZip compression, the default behavior is to return the artifact uncompressed (the mime_type response field indicates the exact format returned).
2663 2664 2665 2666 2667 2668 2669 2670 2671 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2663 def get_project_location_api_version_spec_artifact_contents(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}:getContents', ) command.response_representation = Google::Apis::ApigeeregistryV1::HttpBody::Representation command.response_class = Google::Apis::ApigeeregistryV1::HttpBody command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_api_version_spec_artifact_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Policy
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2706 def get_project_location_api_version_spec_artifact_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', ) command.response_representation = Google::Apis::ApigeeregistryV1::Policy::Representation command.response_class = Google::Apis::ApigeeregistryV1::Policy command.params['resource'] = resource unless resource.nil? command.query['options.requestedPolicyVersion'] = unless .nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_api_version_spec_contents(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::HttpBody
GetApiSpecContents returns the contents of a specified spec. If specs are stored with GZip compression, the default behavior is to return the spec uncompressed (the mime_type response field indicates the exact format returned) .
2219 2220 2221 2222 2223 2224 2225 2226 2227 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2219 def get_project_location_api_version_spec_contents(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}:getContents', ) command.response_representation = Google::Apis::ApigeeregistryV1::HttpBody::Representation command.response_class = Google::Apis::ApigeeregistryV1::HttpBody command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_api_version_spec_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Policy
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2262 def get_project_location_api_version_spec_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', ) command.response_representation = Google::Apis::ApigeeregistryV1::Policy::Representation command.response_class = Google::Apis::ApigeeregistryV1::Policy command.params['resource'] = resource unless resource.nil? command.query['options.requestedPolicyVersion'] = unless .nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_artifact(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Artifact
GetArtifact returns a specified artifact.
2957 2958 2959 2960 2961 2962 2963 2964 2965 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2957 def get_project_location_artifact(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::ApigeeregistryV1::Artifact::Representation command.response_class = Google::Apis::ApigeeregistryV1::Artifact command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_artifact_contents(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::HttpBody
GetArtifactContents returns the contents of a specified artifact. If artifacts are stored with GZip compression, the default behavior is to return the artifact uncompressed (the mime_type response field indicates the exact format returned).
2991 2992 2993 2994 2995 2996 2997 2998 2999 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2991 def get_project_location_artifact_contents(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}:getContents', ) command.response_representation = Google::Apis::ApigeeregistryV1::HttpBody::Representation command.response_class = Google::Apis::ApigeeregistryV1::HttpBody command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_artifact_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Policy
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 3034 def get_project_location_artifact_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', ) command.response_representation = Google::Apis::ApigeeregistryV1::Policy::Representation command.response_class = Google::Apis::ApigeeregistryV1::Policy command.params['resource'] = resource unless resource.nil? command.query['options.requestedPolicyVersion'] = unless .nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_instance(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Instance
Gets details of a single Instance.
3286 3287 3288 3289 3290 3291 3292 3293 3294 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 3286 def get_project_location_instance(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::ApigeeregistryV1::Instance::Representation command.response_class = Google::Apis::ApigeeregistryV1::Instance command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_instance_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Policy
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 3329 def get_project_location_instance_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', ) command.response_representation = Google::Apis::ApigeeregistryV1::Policy::Representation command.response_class = Google::Apis::ApigeeregistryV1::Policy command.params['resource'] = resource unless resource.nil? command.query['options.requestedPolicyVersion'] = unless .nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Operation
Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
3508 3509 3510 3511 3512 3513 3514 3515 3516 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 3508 def get_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::ApigeeregistryV1::Operation::Representation command.response_class = Google::Apis::ApigeeregistryV1::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_runtime_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Policy
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 3597 def get_project_location_runtime_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', ) command.response_representation = Google::Apis::ApigeeregistryV1::Policy::Representation command.response_class = Google::Apis::ApigeeregistryV1::Policy command.params['resource'] = resource unless resource.nil? command.query['options.requestedPolicyVersion'] = unless .nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_api_artifacts(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ListArtifactsResponse
ListArtifacts returns matching artifacts.
639 640 641 642 643 644 645 646 647 648 649 650 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 639 def list_project_location_api_artifacts(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/artifacts', ) command.response_representation = Google::Apis::ApigeeregistryV1::ListArtifactsResponse::Representation command.response_class = Google::Apis::ApigeeregistryV1::ListArtifactsResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_api_deployment_artifacts(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ListArtifactsResponse
ListArtifacts returns matching artifacts.
1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1374 def list_project_location_api_deployment_artifacts(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/artifacts', ) command.response_representation = Google::Apis::ApigeeregistryV1::ListArtifactsResponse::Representation command.response_class = Google::Apis::ApigeeregistryV1::ListArtifactsResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_api_deployment_revisions(name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ListApiDeploymentRevisionsResponse
ListApiDeploymentRevisions lists all revisions of a deployment. Revisions are returned in descending order of revision creation time.
1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1014 def list_project_location_api_deployment_revisions(name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}:listRevisions', ) command.response_representation = Google::Apis::ApigeeregistryV1::ListApiDeploymentRevisionsResponse::Representation command.response_class = Google::Apis::ApigeeregistryV1::ListApiDeploymentRevisionsResponse command.params['name'] = name unless name.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_api_deployments(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ListApiDeploymentsResponse
ListApiDeployments returns matching deployments.
975 976 977 978 979 980 981 982 983 984 985 986 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 975 def list_project_location_api_deployments(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/deployments', ) command.response_representation = Google::Apis::ApigeeregistryV1::ListApiDeploymentsResponse::Representation command.response_class = Google::Apis::ApigeeregistryV1::ListApiDeploymentsResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_api_version_artifacts(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ListArtifactsResponse
ListArtifacts returns matching artifacts.
1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1937 def list_project_location_api_version_artifacts(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/artifacts', ) command.response_representation = Google::Apis::ApigeeregistryV1::ListArtifactsResponse::Representation command.response_class = Google::Apis::ApigeeregistryV1::ListArtifactsResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_api_version_spec_artifacts(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ListArtifactsResponse
ListArtifacts returns matching artifacts.
2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2748 def list_project_location_api_version_spec_artifacts(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/artifacts', ) command.response_representation = Google::Apis::ApigeeregistryV1::ListArtifactsResponse::Representation command.response_class = Google::Apis::ApigeeregistryV1::ListArtifactsResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_api_version_spec_revisions(name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ListApiSpecRevisionsResponse
ListApiSpecRevisions lists all revisions of a spec. Revisions are returned in descending order of revision creation time.
2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2344 def list_project_location_api_version_spec_revisions(name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}:listRevisions', ) command.response_representation = Google::Apis::ApigeeregistryV1::ListApiSpecRevisionsResponse::Representation command.response_class = Google::Apis::ApigeeregistryV1::ListApiSpecRevisionsResponse command.params['name'] = name unless name.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_api_version_specs(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ListApiSpecsResponse
ListApiSpecs returns matching specs.
2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2305 def list_project_location_api_version_specs(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/specs', ) command.response_representation = Google::Apis::ApigeeregistryV1::ListApiSpecsResponse::Representation command.response_class = Google::Apis::ApigeeregistryV1::ListApiSpecsResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_api_versions(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ListApiVersionsResponse
ListApiVersions returns matching versions.
1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1599 def list_project_location_api_versions(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/versions', ) command.response_representation = Google::Apis::ApigeeregistryV1::ListApiVersionsResponse::Representation command.response_class = Google::Apis::ApigeeregistryV1::ListApiVersionsResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_apis(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ListApisResponse
ListApis returns matching APIs.
301 302 303 304 305 306 307 308 309 310 311 312 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 301 def list_project_location_apis(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/apis', ) command.response_representation = Google::Apis::ApigeeregistryV1::ListApisResponse::Representation command.response_class = Google::Apis::ApigeeregistryV1::ListApisResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_artifacts(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ListArtifactsResponse
ListArtifacts returns matching artifacts.
3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 3076 def list_project_location_artifacts(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/artifacts', ) command.response_representation = Google::Apis::ApigeeregistryV1::ListArtifactsResponse::Representation command.response_class = Google::Apis::ApigeeregistryV1::ListArtifactsResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ListOperationsResponse
Lists operations that match the specified filter in the request. If the server
doesn't support this method, it returns UNIMPLEMENTED. NOTE: the name
binding allows API services to override the binding to use different resource
name schemes, such as users/*/operations. To override the binding, API
services can add a binding such as "/v1/name=users/*/operations" to their
service configuration. For backwards compatibility, the default name includes
the operations collection id, however overriding users must ensure the name
binding is the parent resource, without the operations collection id.
3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 3551 def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}/operations', ) command.response_representation = Google::Apis::ApigeeregistryV1::ListOperationsResponse::Representation command.response_class = Google::Apis::ApigeeregistryV1::ListOperationsResponse command.params['name'] = name unless name.nil? command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ListLocationsResponse
Lists information about the supported locations for this service.
112 113 114 115 116 117 118 119 120 121 122 123 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 112 def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}/locations', ) command.response_representation = Google::Apis::ApigeeregistryV1::ListLocationsResponse::Representation command.response_class = Google::Apis::ApigeeregistryV1::ListLocationsResponse command.params['name'] = name unless name.nil? command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_api(name, api_object = nil, allow_missing: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Api
UpdateApi can be used to modify a specified API.
343 344 345 346 347 348 349 350 351 352 353 354 355 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 343 def patch_project_location_api(name, api_object = nil, allow_missing: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::ApigeeregistryV1::Api::Representation command.request_object = api_object command.response_representation = Google::Apis::ApigeeregistryV1::Api::Representation command.response_class = Google::Apis::ApigeeregistryV1::Api command.params['name'] = name unless name.nil? command.query['allowMissing'] = allow_missing unless allow_missing.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_api_deployment(name, api_deployment_object = nil, allow_missing: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ApiDeployment
UpdateApiDeployment can be used to modify a specified deployment.
1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1055 def patch_project_location_api_deployment(name, api_deployment_object = nil, allow_missing: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::ApigeeregistryV1::ApiDeployment::Representation command.request_object = api_deployment_object command.response_representation = Google::Apis::ApigeeregistryV1::ApiDeployment::Representation command.response_class = Google::Apis::ApigeeregistryV1::ApiDeployment command.params['name'] = name unless name.nil? command.query['allowMissing'] = allow_missing unless allow_missing.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_api_version(name, api_version_object = nil, allow_missing: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ApiVersion
UpdateApiVersion can be used to modify a specified version.
1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1641 def patch_project_location_api_version(name, api_version_object = nil, allow_missing: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::ApigeeregistryV1::ApiVersion::Representation command.request_object = api_version_object command.response_representation = Google::Apis::ApigeeregistryV1::ApiVersion::Representation command.response_class = Google::Apis::ApigeeregistryV1::ApiVersion command.params['name'] = name unless name.nil? command.query['allowMissing'] = allow_missing unless allow_missing.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_api_version_spec(name, api_spec_object = nil, allow_missing: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ApiSpec
UpdateApiSpec can be used to modify a specified spec.
2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2385 def patch_project_location_api_version_spec(name, api_spec_object = nil, allow_missing: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::ApigeeregistryV1::ApiSpec::Representation command.request_object = api_spec_object command.response_representation = Google::Apis::ApigeeregistryV1::ApiSpec::Representation command.response_class = Google::Apis::ApigeeregistryV1::ApiSpec command.params['name'] = name unless name.nil? command.query['allowMissing'] = allow_missing unless allow_missing.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#replace_project_location_api_artifact_artifact(name, artifact_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Artifact
ReplaceArtifact can be used to replace a specified artifact.
673 674 675 676 677 678 679 680 681 682 683 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 673 def replace_project_location_api_artifact_artifact(name, artifact_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, 'v1/{+name}', ) command.request_representation = Google::Apis::ApigeeregistryV1::Artifact::Representation command.request_object = artifact_object command.response_representation = Google::Apis::ApigeeregistryV1::Artifact::Representation command.response_class = Google::Apis::ApigeeregistryV1::Artifact command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#replace_project_location_api_deployment_artifact_artifact(name, artifact_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Artifact
ReplaceArtifact can be used to replace a specified artifact.
1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1408 def replace_project_location_api_deployment_artifact_artifact(name, artifact_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, 'v1/{+name}', ) command.request_representation = Google::Apis::ApigeeregistryV1::Artifact::Representation command.request_object = artifact_object command.response_representation = Google::Apis::ApigeeregistryV1::Artifact::Representation command.response_class = Google::Apis::ApigeeregistryV1::Artifact command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#replace_project_location_api_version_artifact_artifact(name, artifact_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Artifact
ReplaceArtifact can be used to replace a specified artifact.
1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1971 def replace_project_location_api_version_artifact_artifact(name, artifact_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, 'v1/{+name}', ) command.request_representation = Google::Apis::ApigeeregistryV1::Artifact::Representation command.request_object = artifact_object command.response_representation = Google::Apis::ApigeeregistryV1::Artifact::Representation command.response_class = Google::Apis::ApigeeregistryV1::Artifact command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#replace_project_location_api_version_spec_artifact_artifact(name, artifact_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Artifact
ReplaceArtifact can be used to replace a specified artifact.
2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2782 def replace_project_location_api_version_spec_artifact_artifact(name, artifact_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, 'v1/{+name}', ) command.request_representation = Google::Apis::ApigeeregistryV1::Artifact::Representation command.request_object = artifact_object command.response_representation = Google::Apis::ApigeeregistryV1::Artifact::Representation command.response_class = Google::Apis::ApigeeregistryV1::Artifact command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#replace_project_location_artifact_artifact(name, artifact_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Artifact
ReplaceArtifact can be used to replace a specified artifact.
3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 3110 def replace_project_location_artifact_artifact(name, artifact_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, 'v1/{+name}', ) command.request_representation = Google::Apis::ApigeeregistryV1::Artifact::Representation command.request_object = artifact_object command.response_representation = Google::Apis::ApigeeregistryV1::Artifact::Representation command.response_class = Google::Apis::ApigeeregistryV1::Artifact command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#rollback_api_deployment(name, rollback_api_deployment_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ApiDeployment
RollbackApiDeployment sets the current revision to a specified prior revision. Note that this creates a new revision with a new revision ID.
1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1091 def rollback_api_deployment(name, rollback_api_deployment_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+name}:rollback', ) command.request_representation = Google::Apis::ApigeeregistryV1::RollbackApiDeploymentRequest::Representation command.request_object = rollback_api_deployment_request_object command.response_representation = Google::Apis::ApigeeregistryV1::ApiDeployment::Representation command.response_class = Google::Apis::ApigeeregistryV1::ApiDeployment command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#rollback_api_spec(name, rollback_api_spec_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ApiSpec
RollbackApiSpec sets the current revision to a specified prior revision. Note that this creates a new revision with a new revision ID.
2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2421 def rollback_api_spec(name, rollback_api_spec_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+name}:rollback', ) command.request_representation = Google::Apis::ApigeeregistryV1::RollbackApiSpecRequest::Representation command.request_object = rollback_api_spec_request_object command.response_representation = Google::Apis::ApigeeregistryV1::ApiSpec::Representation command.response_class = Google::Apis::ApigeeregistryV1::ApiSpec command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#set_api_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Policy
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and
PERMISSION_DENIED errors.
381 382 383 384 385 386 387 388 389 390 391 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 381 def set_api_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::ApigeeregistryV1::SetIamPolicyRequest::Representation command.request_object = set_iam_policy_request_object command.response_representation = Google::Apis::ApigeeregistryV1::Policy::Representation command.response_class = Google::Apis::ApigeeregistryV1::Policy command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#set_deployment_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Policy
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and
PERMISSION_DENIED errors.
1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1127 def set_deployment_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::ApigeeregistryV1::SetIamPolicyRequest::Representation command.request_object = set_iam_policy_request_object command.response_representation = Google::Apis::ApigeeregistryV1::Policy::Representation command.response_class = Google::Apis::ApigeeregistryV1::Policy command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#set_instance_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Policy
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and
PERMISSION_DENIED errors.
3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 3364 def set_instance_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::ApigeeregistryV1::SetIamPolicyRequest::Representation command.request_object = set_iam_policy_request_object command.response_representation = Google::Apis::ApigeeregistryV1::Policy::Representation command.response_class = Google::Apis::ApigeeregistryV1::Policy command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#set_project_location_api_artifact_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Policy
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and
PERMISSION_DENIED errors.
709 710 711 712 713 714 715 716 717 718 719 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 709 def set_project_location_api_artifact_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::ApigeeregistryV1::SetIamPolicyRequest::Representation command.request_object = set_iam_policy_request_object command.response_representation = Google::Apis::ApigeeregistryV1::Policy::Representation command.response_class = Google::Apis::ApigeeregistryV1::Policy command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#set_project_location_api_version_artifact_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Policy
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and
PERMISSION_DENIED errors.
2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2007 def set_project_location_api_version_artifact_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::ApigeeregistryV1::SetIamPolicyRequest::Representation command.request_object = set_iam_policy_request_object command.response_representation = Google::Apis::ApigeeregistryV1::Policy::Representation command.response_class = Google::Apis::ApigeeregistryV1::Policy command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#set_project_location_api_version_spec_artifact_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Policy
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and
PERMISSION_DENIED errors.
2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2818 def set_project_location_api_version_spec_artifact_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::ApigeeregistryV1::SetIamPolicyRequest::Representation command.request_object = set_iam_policy_request_object command.response_representation = Google::Apis::ApigeeregistryV1::Policy::Representation command.response_class = Google::Apis::ApigeeregistryV1::Policy command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#set_project_location_artifact_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Policy
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and
PERMISSION_DENIED errors.
3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 3146 def set_project_location_artifact_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::ApigeeregistryV1::SetIamPolicyRequest::Representation command.request_object = set_iam_policy_request_object command.response_representation = Google::Apis::ApigeeregistryV1::Policy::Representation command.response_class = Google::Apis::ApigeeregistryV1::Policy command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#set_runtime_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Policy
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and
PERMISSION_DENIED errors.
3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 3632 def set_runtime_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::ApigeeregistryV1::SetIamPolicyRequest::Representation command.request_object = set_iam_policy_request_object command.response_representation = Google::Apis::ApigeeregistryV1::Policy::Representation command.response_class = Google::Apis::ApigeeregistryV1::Policy command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#set_spec_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Policy
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and
PERMISSION_DENIED errors.
2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2457 def set_spec_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::ApigeeregistryV1::SetIamPolicyRequest::Representation command.request_object = set_iam_policy_request_object command.response_representation = Google::Apis::ApigeeregistryV1::Policy::Representation command.response_class = Google::Apis::ApigeeregistryV1::Policy command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#set_version_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Policy
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and
PERMISSION_DENIED errors.
1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1679 def set_version_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::ApigeeregistryV1::SetIamPolicyRequest::Representation command.request_object = set_iam_policy_request_object command.response_representation = Google::Apis::ApigeeregistryV1::Policy::Representation command.response_class = Google::Apis::ApigeeregistryV1::Policy command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#tag_project_location_api_deployment_revision(name, tag_api_deployment_revision_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ApiDeployment
TagApiDeploymentRevision adds a tag to a specified revision of a deployment.
1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1160 def tag_project_location_api_deployment_revision(name, tag_api_deployment_revision_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+name}:tagRevision', ) command.request_representation = Google::Apis::ApigeeregistryV1::TagApiDeploymentRevisionRequest::Representation command.request_object = tag_api_deployment_revision_request_object command.response_representation = Google::Apis::ApigeeregistryV1::ApiDeployment::Representation command.response_class = Google::Apis::ApigeeregistryV1::ApiDeployment command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#tag_project_location_api_version_spec_revision(name, tag_api_spec_revision_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ApiSpec
TagApiSpecRevision adds a tag to a specified revision of a spec.
2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2490 def tag_project_location_api_version_spec_revision(name, tag_api_spec_revision_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+name}:tagRevision', ) command.request_representation = Google::Apis::ApigeeregistryV1::TagApiSpecRevisionRequest::Representation command.request_object = tag_api_spec_revision_request_object command.response_representation = Google::Apis::ApigeeregistryV1::ApiSpec::Representation command.response_class = Google::Apis::ApigeeregistryV1::ApiSpec command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#test_api_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of permissions, not a
NOT_FOUND error. Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization checking.
This operation may "fail open" without warning.
419 420 421 422 423 424 425 426 427 428 429 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 419 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::ApigeeregistryV1::TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ApigeeregistryV1::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::ApigeeregistryV1::TestIamPermissionsResponse command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#test_deployment_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of permissions, not a
NOT_FOUND error. Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization checking.
This operation may "fail open" without warning.
1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1198 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::ApigeeregistryV1::TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ApigeeregistryV1::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::ApigeeregistryV1::TestIamPermissionsResponse command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#test_instance_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of permissions, not a
NOT_FOUND error. Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization checking.
This operation may "fail open" without warning.
3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 3402 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::ApigeeregistryV1::TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ApigeeregistryV1::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::ApigeeregistryV1::TestIamPermissionsResponse command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#test_project_location_api_artifact_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of permissions, not a
NOT_FOUND error. Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization checking.
This operation may "fail open" without warning.
747 748 749 750 751 752 753 754 755 756 757 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 747 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::ApigeeregistryV1::TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ApigeeregistryV1::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::ApigeeregistryV1::TestIamPermissionsResponse command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#test_project_location_api_version_artifact_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of permissions, not a
NOT_FOUND error. Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization checking.
This operation may "fail open" without warning.
2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2045 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::ApigeeregistryV1::TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ApigeeregistryV1::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::ApigeeregistryV1::TestIamPermissionsResponse command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#test_project_location_api_version_spec_artifact_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of permissions, not a
NOT_FOUND error. Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization checking.
This operation may "fail open" without warning.
2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2856 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::ApigeeregistryV1::TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ApigeeregistryV1::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::ApigeeregistryV1::TestIamPermissionsResponse command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#test_project_location_artifact_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of permissions, not a
NOT_FOUND error. Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization checking.
This operation may "fail open" without warning.
3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 3184 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::ApigeeregistryV1::TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ApigeeregistryV1::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::ApigeeregistryV1::TestIamPermissionsResponse command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#test_runtime_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of permissions, not a
NOT_FOUND error. Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization checking.
This operation may "fail open" without warning.
3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 3670 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::ApigeeregistryV1::TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ApigeeregistryV1::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::ApigeeregistryV1::TestIamPermissionsResponse command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#test_spec_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of permissions, not a
NOT_FOUND error. Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization checking.
This operation may "fail open" without warning.
2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2528 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::ApigeeregistryV1::TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ApigeeregistryV1::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::ApigeeregistryV1::TestIamPermissionsResponse command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#test_version_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of permissions, not a
NOT_FOUND error. Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization checking.
This operation may "fail open" without warning.
1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1717 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::ApigeeregistryV1::TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::ApigeeregistryV1::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::ApigeeregistryV1::TestIamPermissionsResponse command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |