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
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
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
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
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
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
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
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
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
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, force: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Empty
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
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
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
Removes a specified artifact.
-
#delete_project_location_api_deployment_revision(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ApiDeployment
Deletes a revision of a deployment.
-
#delete_project_location_api_version(name, force: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Empty
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
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
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
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
Deletes a revision of a spec.
-
#delete_project_location_artifact(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Empty
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
Returns a specified API.
-
#get_project_location_api_artifact(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Artifact
Returns a specified artifact.
-
#get_project_location_api_artifact_contents(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::HttpBody
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
Returns a specified deployment.
-
#get_project_location_api_deployment_artifact(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Artifact
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
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
Returns a specified version.
-
#get_project_location_api_version_artifact(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Artifact
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
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
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
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
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
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
Returns a specified artifact.
-
#get_project_location_artifact_contents(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::HttpBody
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, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ListArtifactsResponse
Returns matching artifacts.
-
#list_project_location_api_deployment_artifacts(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ListArtifactsResponse
Returns matching artifacts.
-
#list_project_location_api_deployment_revisions(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ListApiDeploymentRevisionsResponse
Lists all revisions of a deployment.
-
#list_project_location_api_deployments(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ListApiDeploymentsResponse
Returns matching deployments.
-
#list_project_location_api_version_artifacts(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ListArtifactsResponse
Returns matching artifacts.
-
#list_project_location_api_version_spec_artifacts(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ListArtifactsResponse
Returns matching artifacts.
-
#list_project_location_api_version_spec_revisions(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ListApiSpecRevisionsResponse
Lists all revisions of a spec.
-
#list_project_location_api_version_specs(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ListApiSpecsResponse
Returns matching specs.
-
#list_project_location_api_versions(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ListApiVersionsResponse
Returns matching versions.
-
#list_project_location_apis(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ListApisResponse
Returns matching APIs.
-
#list_project_location_artifacts(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ListArtifactsResponse
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
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
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
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
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
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
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
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
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
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
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
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
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
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.
3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 3525 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
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
Creates a specified artifact.
470 471 472 473 474 475 476 477 478 479 480 481 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 470 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
Creates a specified deployment.
806 807 808 809 810 811 812 813 814 815 816 817 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 806 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
Creates a specified artifact.
1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1268 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
Creates a specified version.
1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1483 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
Creates a specified artifact.
1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1802 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
Creates a specified spec.
2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2137 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
Creates a specified artifact.
2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2631 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
Creates a specified artifact.
2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2967 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.
3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 3301 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, force: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Empty
Removes a specified API and all of the resources that it owns.
188 189 190 191 192 193 194 195 196 197 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 188 def delete_project_location_api(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_artifact(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Empty
Removes a specified artifact.
503 504 505 506 507 508 509 510 511 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 503 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
Removes a specified deployment, all revisions, and all child resources (e.g., artifacts).
844 845 846 847 848 849 850 851 852 853 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 844 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
Removes a specified artifact.
1301 1302 1303 1304 1305 1306 1307 1308 1309 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1301 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
Deletes a revision of a deployment.
877 878 879 880 881 882 883 884 885 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 877 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, force: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Empty
Removes a specified version and all of the resources that it owns.
1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1520 def delete_project_location_api_version(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_artifact(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::Empty
Removes a specified artifact.
1835 1836 1837 1838 1839 1840 1841 1842 1843 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1835 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
Removes a specified spec, all revisions, and all child resources (e.g., artifacts).
2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2175 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
Removes a specified artifact.
2664 2665 2666 2667 2668 2669 2670 2671 2672 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2664 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
Deletes a revision of a spec.
2208 2209 2210 2211 2212 2213 2214 2215 2216 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2208 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
Removes a specified artifact.
3000 3001 3002 3003 3004 3005 3006 3007 3008 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 3000 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.
3335 3336 3337 3338 3339 3340 3341 3342 3343 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 3335 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.
3560 3561 3562 3563 3564 3565 3566 3567 3568 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 3560 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
Returns a specified API.
220 221 222 223 224 225 226 227 228 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 220 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
Returns a specified artifact.
533 534 535 536 537 538 539 540 541 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 533 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
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).
566 567 568 569 570 571 572 573 574 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 566 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.
610 611 612 613 614 615 616 617 618 619 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 610 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
Returns a specified deployment.
908 909 910 911 912 913 914 915 916 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 908 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
Returns a specified artifact.
1331 1332 1333 1334 1335 1336 1337 1338 1339 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1331 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
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).
1364 1365 1366 1367 1368 1369 1370 1371 1372 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1364 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.
952 953 954 955 956 957 958 959 960 961 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 952 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.
264 265 266 267 268 269 270 271 272 273 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 264 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
Returns a specified version.
1552 1553 1554 1555 1556 1557 1558 1559 1560 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1552 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
Returns a specified artifact.
1865 1866 1867 1868 1869 1870 1871 1872 1873 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1865 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
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).
1898 1899 1900 1901 1902 1903 1904 1905 1906 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1898 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.
1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1942 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.
1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1596 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
Returns a specified spec.
2239 2240 2241 2242 2243 2244 2245 2246 2247 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2239 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
Returns a specified artifact.
2694 2695 2696 2697 2698 2699 2700 2701 2702 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2694 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
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).
2727 2728 2729 2730 2731 2732 2733 2734 2735 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2727 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.
2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2771 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
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).
2272 2273 2274 2275 2276 2277 2278 2279 2280 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2272 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.
2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2316 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
Returns a specified artifact.
3030 3031 3032 3033 3034 3035 3036 3037 3038 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 3030 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
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).
3063 3064 3065 3066 3067 3068 3069 3070 3071 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 3063 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.
3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 3107 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.
3366 3367 3368 3369 3370 3371 3372 3373 3374 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 3366 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.
3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 3410 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.
3591 3592 3593 3594 3595 3596 3597 3598 3599 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 3591 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.
3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 3681 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, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ListArtifactsResponse
Returns matching artifacts.
656 657 658 659 660 661 662 663 664 665 666 667 668 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 656 def list_project_location_api_artifacts(parent, filter: nil, order_by: 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['orderBy'] = order_by unless order_by.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, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ListArtifactsResponse
Returns matching artifacts.
1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1409 def list_project_location_api_deployment_artifacts(parent, filter: nil, order_by: 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['orderBy'] = order_by unless order_by.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, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ListApiDeploymentRevisionsResponse
Lists all revisions of a deployment. Revisions are returned in descending order of revision creation time.
1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1042 def list_project_location_api_deployment_revisions(name, filter: nil, 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['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_deployments(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ListApiDeploymentsResponse
Returns matching deployments.
999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 999 def list_project_location_api_deployments(parent, filter: nil, order_by: 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['orderBy'] = order_by unless order_by.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, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ListArtifactsResponse
Returns matching artifacts.
1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1988 def list_project_location_api_version_artifacts(parent, filter: nil, order_by: 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['orderBy'] = order_by unless order_by.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, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ListArtifactsResponse
Returns matching artifacts.
2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2817 def list_project_location_api_version_spec_artifacts(parent, filter: nil, order_by: 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['orderBy'] = order_by unless order_by.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, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ListApiSpecRevisionsResponse
Lists all revisions of a spec. Revisions are returned in descending order of revision creation time.
2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2405 def list_project_location_api_version_spec_revisions(name, filter: nil, 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['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_specs(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ListApiSpecsResponse
Returns matching specs.
2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2362 def list_project_location_api_version_specs(parent, filter: nil, order_by: 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['orderBy'] = order_by unless order_by.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, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ListApiVersionsResponse
Returns matching versions.
1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1642 def list_project_location_api_versions(parent, filter: nil, order_by: 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['orderBy'] = order_by unless order_by.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, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ListApisResponse
Returns matching APIs.
310 311 312 313 314 315 316 317 318 319 320 321 322 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 310 def list_project_location_apis(parent, filter: nil, order_by: 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['orderBy'] = order_by unless order_by.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, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ApigeeregistryV1::ListArtifactsResponse
Returns matching artifacts.
3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 3153 def list_project_location_artifacts(parent, filter: nil, order_by: 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['orderBy'] = order_by unless order_by.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.
3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 3634 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
Used to modify a specified API.
353 354 355 356 357 358 359 360 361 362 363 364 365 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 353 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
Used to modify a specified deployment.
1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1084 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
Used to modify a specified version.
1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1685 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
Used to modify a specified spec.
2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2447 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
Used to replace a specified artifact.
691 692 693 694 695 696 697 698 699 700 701 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 691 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
Used to replace a specified artifact.
1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1444 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
Used to replace a specified artifact.
2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2023 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
Used to replace a specified artifact.
2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2852 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
Used to replace a specified artifact.
3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 3188 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
Sets the current revision to a specified prior revision. Note that this creates a new revision with a new revision ID.
1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1120 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
Sets the current revision to a specified prior revision. Note that this creates a new revision with a new revision ID.
2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2483 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.
392 393 394 395 396 397 398 399 400 401 402 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 392 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.
1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1157 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.
3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 3446 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.
728 729 730 731 732 733 734 735 736 737 738 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 728 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.
2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2060 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.
2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2889 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.
3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 3225 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.
3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 3717 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.
2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2520 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.
1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1724 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
Adds a tag to a specified revision of a deployment.
1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1190 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
Adds a tag to a specified revision of a spec.
2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2553 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.
431 432 433 434 435 436 437 438 439 440 441 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 431 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.
1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1229 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.
3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 3485 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.
767 768 769 770 771 772 773 774 775 776 777 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 767 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.
2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2099 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.
2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2928 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.
3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 3264 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.
3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 3756 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.
2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2592 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.
1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1763 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 |