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, 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, 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.
3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 3517 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.
1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1264 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.
1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1479 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.
1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1798 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.
2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2133 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.
2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2623 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.
2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2959 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.
3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 3293 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.
1297 1298 1299 1300 1301 1302 1303 1304 1305 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1297 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.
1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1516 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.
1831 1832 1833 1834 1835 1836 1837 1838 1839 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1831 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).
2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2171 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.
2656 2657 2658 2659 2660 2661 2662 2663 2664 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2656 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.
2204 2205 2206 2207 2208 2209 2210 2211 2212 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2204 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.
2992 2993 2994 2995 2996 2997 2998 2999 3000 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2992 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.
3327 3328 3329 3330 3331 3332 3333 3334 3335 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 3327 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.
3552 3553 3554 3555 3556 3557 3558 3559 3560 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 3552 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.
1327 1328 1329 1330 1331 1332 1333 1334 1335 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1327 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).
1360 1361 1362 1363 1364 1365 1366 1367 1368 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1360 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.
1548 1549 1550 1551 1552 1553 1554 1555 1556 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1548 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.
1861 1862 1863 1864 1865 1866 1867 1868 1869 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1861 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).
1894 1895 1896 1897 1898 1899 1900 1901 1902 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1894 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.
1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1938 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.
1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1592 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.
2235 2236 2237 2238 2239 2240 2241 2242 2243 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2235 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.
2686 2687 2688 2689 2690 2691 2692 2693 2694 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2686 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).
2719 2720 2721 2722 2723 2724 2725 2726 2727 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2719 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.
2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2763 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).
2268 2269 2270 2271 2272 2273 2274 2275 2276 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2268 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.
2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2312 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.
3022 3023 3024 3025 3026 3027 3028 3029 3030 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 3022 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).
3055 3056 3057 3058 3059 3060 3061 3062 3063 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 3055 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.
3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 3099 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.
3358 3359 3360 3361 3362 3363 3364 3365 3366 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 3358 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.
3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 3402 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.
3583 3584 3585 3586 3587 3588 3589 3590 3591 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 3583 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.
3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 3673 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.
1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1405 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, 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.
1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1039 def list_project_location_api_deployment_revisions(name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}:listRevisions', ) command.response_representation = Google::Apis::ApigeeregistryV1::ListApiDeploymentRevisionsResponse::Representation command.response_class = Google::Apis::ApigeeregistryV1::ListApiDeploymentRevisionsResponse command.params['name'] = name unless name.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_api_deployments(parent, filter: nil, 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.
1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1984 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.
2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2809 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, 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.
2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2398 def list_project_location_api_version_spec_revisions(name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}:listRevisions', ) command.response_representation = Google::Apis::ApigeeregistryV1::ListApiSpecRevisionsResponse::Representation command.response_class = Google::Apis::ApigeeregistryV1::ListApiSpecRevisionsResponse command.params['name'] = name unless name.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_api_version_specs(parent, filter: nil, 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.
2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2358 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.
1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1638 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.
3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 3145 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.
3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 3626 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.
1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1080 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.
1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1681 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.
2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2439 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.
1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1440 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.
2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2019 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.
2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2844 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.
3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 3180 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.
1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1116 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.
2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2475 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.
1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1153 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.
3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 3438 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.
2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2056 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.
2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2881 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.
3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 3217 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.
3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 3709 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.
2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2512 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.
1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1720 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.
1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1186 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.
2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2545 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.
1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1225 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.
3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 3477 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.
2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2095 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.
2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2920 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.
3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 3256 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.
3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 3748 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.
2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 2584 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.
1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 |
# File 'lib/google/apis/apigeeregistry_v1/service.rb', line 1759 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 |