google-apis-apigeeregistry_v1 0.15.0 → 0.16.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fcbef33b86029657b7143ac24d5d780a5e1f3db90fb95934534afc7a2cd4ca9c
4
- data.tar.gz: a7753cdd18c9af170daba032422793c3167740fd7b4999f811d2252a838242e7
3
+ metadata.gz: 7782b54bf7b1ec53f10662b6dfa43d55ff0b8b8e798bca55be5f45e10e6aab73
4
+ data.tar.gz: 48e7257ff8a6bc3a5da295d88bbb10062ddc954ba197c34c7adff52da5a95d8d
5
5
  SHA512:
6
- metadata.gz: 933b701ae88c2162332f750bafa03cb94f10864eb846e443f92e9a64f1cdd2b3a6ea942ef3521ffa0c7c2a4bd01ecb2a49d8410ece293c702c64ca82c00ff57f
7
- data.tar.gz: 8858490119f83d1ff450c61867a0186b56b6075bbeb54a810ddbdec1a9dbaef7722b049f5f2660abd630f728c18fec01e96ab7249ba1890854bcfd12ed89e2fc
6
+ metadata.gz: 956e9fc462e16f6db36fdf83905a81bc9f2ea4e7265c96945a289c621eeeef75172a1dd8f916f476fbfd185975d7dcc47909fa7b52f5e169efbbfc2b5e84947e
7
+ data.tar.gz: 8289f56a7ebd833f97200615eebf3bc67ebee966a329230392323355bb6d7eb67e56f7cb3512d9b12301b781ce86e9c1c43f85eacf9d439bc847ef5662e58c52
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-apigeeregistry_v1
2
2
 
3
+ ### v0.16.0 (2023-10-01)
4
+
5
+ * Regenerated from discovery document revision 20230928
6
+
3
7
  ### v0.15.0 (2023-08-13)
4
8
 
5
9
  * Regenerated from discovery document revision 20230802
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ApigeeregistryV1
18
18
  # Version of the google-apis-apigeeregistry_v1 gem
19
- GEM_VERSION = "0.15.0"
19
+ GEM_VERSION = "0.16.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230802"
25
+ REVISION = "20230928"
26
26
  end
27
27
  end
28
28
  end
@@ -3275,6 +3275,127 @@ module Google
3275
3275
  execute_or_queue_command(command, &block)
3276
3276
  end
3277
3277
 
3278
+ # Gets the access control policy for a resource. Returns an empty policy if the
3279
+ # resource exists and does not have a policy set.
3280
+ # @param [String] resource
3281
+ # REQUIRED: The resource for which the policy is being requested. See [Resource
3282
+ # names](https://cloud.google.com/apis/design/resource_names) for the
3283
+ # appropriate value for this field.
3284
+ # @param [Fixnum] options_requested_policy_version
3285
+ # Optional. The maximum policy version that will be used to format the policy.
3286
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
3287
+ # rejected. Requests for policies with any conditional role bindings must
3288
+ # specify version 3. Policies with no conditional role bindings may specify any
3289
+ # valid value or leave the field unset. The policy in the response might use the
3290
+ # policy version that you specified, or it might use a lower policy version. For
3291
+ # example, if you specify version 3, but the policy has no conditional role
3292
+ # bindings, the response uses version 1. To learn which resources support
3293
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
3294
+ # google.com/iam/help/conditions/resource-policies).
3295
+ # @param [String] fields
3296
+ # Selector specifying which fields to include in a partial response.
3297
+ # @param [String] quota_user
3298
+ # Available to use for quota purposes for server-side applications. Can be any
3299
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3300
+ # @param [Google::Apis::RequestOptions] options
3301
+ # Request-specific options
3302
+ #
3303
+ # @yield [result, err] Result & error if block supplied
3304
+ # @yieldparam result [Google::Apis::ApigeeregistryV1::Policy] parsed result object
3305
+ # @yieldparam err [StandardError] error object if request failed
3306
+ #
3307
+ # @return [Google::Apis::ApigeeregistryV1::Policy]
3308
+ #
3309
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3310
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3311
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3312
+ def get_project_location_document_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
3313
+ command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
3314
+ command.response_representation = Google::Apis::ApigeeregistryV1::Policy::Representation
3315
+ command.response_class = Google::Apis::ApigeeregistryV1::Policy
3316
+ command.params['resource'] = resource unless resource.nil?
3317
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
3318
+ command.query['fields'] = fields unless fields.nil?
3319
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3320
+ execute_or_queue_command(command, &block)
3321
+ end
3322
+
3323
+ # Sets the access control policy on the specified resource. Replaces any
3324
+ # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
3325
+ # PERMISSION_DENIED` errors.
3326
+ # @param [String] resource
3327
+ # REQUIRED: The resource for which the policy is being specified. See [Resource
3328
+ # names](https://cloud.google.com/apis/design/resource_names) for the
3329
+ # appropriate value for this field.
3330
+ # @param [Google::Apis::ApigeeregistryV1::SetIamPolicyRequest] set_iam_policy_request_object
3331
+ # @param [String] fields
3332
+ # Selector specifying which fields to include in a partial response.
3333
+ # @param [String] quota_user
3334
+ # Available to use for quota purposes for server-side applications. Can be any
3335
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3336
+ # @param [Google::Apis::RequestOptions] options
3337
+ # Request-specific options
3338
+ #
3339
+ # @yield [result, err] Result & error if block supplied
3340
+ # @yieldparam result [Google::Apis::ApigeeregistryV1::Policy] parsed result object
3341
+ # @yieldparam err [StandardError] error object if request failed
3342
+ #
3343
+ # @return [Google::Apis::ApigeeregistryV1::Policy]
3344
+ #
3345
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3346
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3347
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3348
+ def set_document_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3349
+ command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
3350
+ command.request_representation = Google::Apis::ApigeeregistryV1::SetIamPolicyRequest::Representation
3351
+ command.request_object = set_iam_policy_request_object
3352
+ command.response_representation = Google::Apis::ApigeeregistryV1::Policy::Representation
3353
+ command.response_class = Google::Apis::ApigeeregistryV1::Policy
3354
+ command.params['resource'] = resource unless resource.nil?
3355
+ command.query['fields'] = fields unless fields.nil?
3356
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3357
+ execute_or_queue_command(command, &block)
3358
+ end
3359
+
3360
+ # Returns permissions that a caller has on the specified resource. If the
3361
+ # resource does not exist, this will return an empty set of permissions, not a `
3362
+ # NOT_FOUND` error. Note: This operation is designed to be used for building
3363
+ # permission-aware UIs and command-line tools, not for authorization checking.
3364
+ # This operation may "fail open" without warning.
3365
+ # @param [String] resource
3366
+ # REQUIRED: The resource for which the policy detail is being requested. See [
3367
+ # Resource names](https://cloud.google.com/apis/design/resource_names) for the
3368
+ # appropriate value for this field.
3369
+ # @param [Google::Apis::ApigeeregistryV1::TestIamPermissionsRequest] test_iam_permissions_request_object
3370
+ # @param [String] fields
3371
+ # Selector specifying which fields to include in a partial response.
3372
+ # @param [String] quota_user
3373
+ # Available to use for quota purposes for server-side applications. Can be any
3374
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3375
+ # @param [Google::Apis::RequestOptions] options
3376
+ # Request-specific options
3377
+ #
3378
+ # @yield [result, err] Result & error if block supplied
3379
+ # @yieldparam result [Google::Apis::ApigeeregistryV1::TestIamPermissionsResponse] parsed result object
3380
+ # @yieldparam err [StandardError] error object if request failed
3381
+ #
3382
+ # @return [Google::Apis::ApigeeregistryV1::TestIamPermissionsResponse]
3383
+ #
3384
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3385
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3386
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3387
+ def test_document_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3388
+ command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
3389
+ command.request_representation = Google::Apis::ApigeeregistryV1::TestIamPermissionsRequest::Representation
3390
+ command.request_object = test_iam_permissions_request_object
3391
+ command.response_representation = Google::Apis::ApigeeregistryV1::TestIamPermissionsResponse::Representation
3392
+ command.response_class = Google::Apis::ApigeeregistryV1::TestIamPermissionsResponse
3393
+ command.params['resource'] = resource unless resource.nil?
3394
+ command.query['fields'] = fields unless fields.nil?
3395
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3396
+ execute_or_queue_command(command, &block)
3397
+ end
3398
+
3278
3399
  # Provisions instance resources for the Registry.
3279
3400
  # @param [String] parent
3280
3401
  # Required. Parent resource of the Instance, of the form: `projects/*/locations/*
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-apigeeregistry_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.0
4
+ version: 0.16.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-13 00:00:00.000000000 Z
11
+ date: 2023-10-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-apigeeregistry_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-apigeeregistry_v1/v0.15.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-apigeeregistry_v1/v0.16.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-apigeeregistry_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.4.2
78
+ rubygems_version: 3.4.19
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Apigee Registry API V1