google-apis-apigeeregistry_v1 0.15.0 → 0.17.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: 2ad66351eca1c1c5bdc1e41de67963790a40eacb36806dc96b59c184e85b7653
4
+ data.tar.gz: 8de7d8284ddefa4bce223ece1a6ccbff89be23fbda17acc7984ee114be580f74
5
5
  SHA512:
6
- metadata.gz: 933b701ae88c2162332f750bafa03cb94f10864eb846e443f92e9a64f1cdd2b3a6ea942ef3521ffa0c7c2a4bd01ecb2a49d8410ece293c702c64ca82c00ff57f
7
- data.tar.gz: 8858490119f83d1ff450c61867a0186b56b6075bbeb54a810ddbdec1a9dbaef7722b049f5f2660abd630f728c18fec01e96ab7249ba1890854bcfd12ed89e2fc
6
+ metadata.gz: 6e34fe62cd87f6aeab7abf9d72cb57d9ea2eec8a95bc0e4561e62f891fe1bfcea2421963ea3f303fbac48ffabbc257f50ea1398a62274e7f0c43a961517b989e
7
+ data.tar.gz: 28eb39d2ac8b98ccd343b0d9275ff902c9c5bb5ecf00b76958435a9ccfce32e2ec5e1f659b3848018811cd7fefe60df99b5ad3d326e73619d9ef74109d191fde
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-apigeeregistry_v1
2
2
 
3
+ ### v0.17.0 (2024-01-23)
4
+
5
+ * Regenerated using generator version 0.13.0
6
+
7
+ ### v0.16.0 (2023-10-01)
8
+
9
+ * Regenerated from discovery document revision 20230928
10
+
3
11
  ### v0.15.0 (2023-08-13)
4
12
 
5
13
  * 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.17.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.12.0"
22
+ GENERATOR_VERSION = "0.13.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
@@ -32,6 +32,8 @@ module Google
32
32
  #
33
33
  # @see https://cloud.google.com/apigee/docs/api-hub/what-is-api-hub
34
34
  class ApigeeRegistryService < Google::Apis::Core::BaseService
35
+ DEFAULT_ENDPOINT_TEMPLATE = "https://apigeeregistry.$UNIVERSE_DOMAIN$/"
36
+
35
37
  # @return [String]
36
38
  # API key. Your API key identifies your project and provides you with API access,
37
39
  # quota, and reports. Required unless you provide an OAuth 2.0 token.
@@ -43,7 +45,7 @@ module Google
43
45
  attr_accessor :quota_user
44
46
 
45
47
  def initialize
46
- super('https://apigeeregistry.googleapis.com/', '',
48
+ super(DEFAULT_ENDPOINT_TEMPLATE, '',
47
49
  client_name: 'google-apis-apigeeregistry_v1',
48
50
  client_version: Google::Apis::ApigeeregistryV1::GEM_VERSION)
49
51
  @batch_path = 'batch'
@@ -3275,6 +3277,127 @@ module Google
3275
3277
  execute_or_queue_command(command, &block)
3276
3278
  end
3277
3279
 
3280
+ # Gets the access control policy for a resource. Returns an empty policy if the
3281
+ # resource exists and does not have a policy set.
3282
+ # @param [String] resource
3283
+ # REQUIRED: The resource for which the policy is being requested. See [Resource
3284
+ # names](https://cloud.google.com/apis/design/resource_names) for the
3285
+ # appropriate value for this field.
3286
+ # @param [Fixnum] options_requested_policy_version
3287
+ # Optional. The maximum policy version that will be used to format the policy.
3288
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
3289
+ # rejected. Requests for policies with any conditional role bindings must
3290
+ # specify version 3. Policies with no conditional role bindings may specify any
3291
+ # valid value or leave the field unset. The policy in the response might use the
3292
+ # policy version that you specified, or it might use a lower policy version. For
3293
+ # example, if you specify version 3, but the policy has no conditional role
3294
+ # bindings, the response uses version 1. To learn which resources support
3295
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
3296
+ # google.com/iam/help/conditions/resource-policies).
3297
+ # @param [String] fields
3298
+ # Selector specifying which fields to include in a partial response.
3299
+ # @param [String] quota_user
3300
+ # Available to use for quota purposes for server-side applications. Can be any
3301
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3302
+ # @param [Google::Apis::RequestOptions] options
3303
+ # Request-specific options
3304
+ #
3305
+ # @yield [result, err] Result & error if block supplied
3306
+ # @yieldparam result [Google::Apis::ApigeeregistryV1::Policy] parsed result object
3307
+ # @yieldparam err [StandardError] error object if request failed
3308
+ #
3309
+ # @return [Google::Apis::ApigeeregistryV1::Policy]
3310
+ #
3311
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3312
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3313
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3314
+ def get_project_location_document_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
3315
+ command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
3316
+ command.response_representation = Google::Apis::ApigeeregistryV1::Policy::Representation
3317
+ command.response_class = Google::Apis::ApigeeregistryV1::Policy
3318
+ command.params['resource'] = resource unless resource.nil?
3319
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
3320
+ command.query['fields'] = fields unless fields.nil?
3321
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3322
+ execute_or_queue_command(command, &block)
3323
+ end
3324
+
3325
+ # Sets the access control policy on the specified resource. Replaces any
3326
+ # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
3327
+ # PERMISSION_DENIED` errors.
3328
+ # @param [String] resource
3329
+ # REQUIRED: The resource for which the policy is being specified. See [Resource
3330
+ # names](https://cloud.google.com/apis/design/resource_names) for the
3331
+ # appropriate value for this field.
3332
+ # @param [Google::Apis::ApigeeregistryV1::SetIamPolicyRequest] set_iam_policy_request_object
3333
+ # @param [String] fields
3334
+ # Selector specifying which fields to include in a partial response.
3335
+ # @param [String] quota_user
3336
+ # Available to use for quota purposes for server-side applications. Can be any
3337
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3338
+ # @param [Google::Apis::RequestOptions] options
3339
+ # Request-specific options
3340
+ #
3341
+ # @yield [result, err] Result & error if block supplied
3342
+ # @yieldparam result [Google::Apis::ApigeeregistryV1::Policy] parsed result object
3343
+ # @yieldparam err [StandardError] error object if request failed
3344
+ #
3345
+ # @return [Google::Apis::ApigeeregistryV1::Policy]
3346
+ #
3347
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3348
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3349
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3350
+ def set_document_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3351
+ command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
3352
+ command.request_representation = Google::Apis::ApigeeregistryV1::SetIamPolicyRequest::Representation
3353
+ command.request_object = set_iam_policy_request_object
3354
+ command.response_representation = Google::Apis::ApigeeregistryV1::Policy::Representation
3355
+ command.response_class = Google::Apis::ApigeeregistryV1::Policy
3356
+ command.params['resource'] = resource unless resource.nil?
3357
+ command.query['fields'] = fields unless fields.nil?
3358
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3359
+ execute_or_queue_command(command, &block)
3360
+ end
3361
+
3362
+ # Returns permissions that a caller has on the specified resource. If the
3363
+ # resource does not exist, this will return an empty set of permissions, not a `
3364
+ # NOT_FOUND` error. Note: This operation is designed to be used for building
3365
+ # permission-aware UIs and command-line tools, not for authorization checking.
3366
+ # This operation may "fail open" without warning.
3367
+ # @param [String] resource
3368
+ # REQUIRED: The resource for which the policy detail is being requested. See [
3369
+ # Resource names](https://cloud.google.com/apis/design/resource_names) for the
3370
+ # appropriate value for this field.
3371
+ # @param [Google::Apis::ApigeeregistryV1::TestIamPermissionsRequest] test_iam_permissions_request_object
3372
+ # @param [String] fields
3373
+ # Selector specifying which fields to include in a partial response.
3374
+ # @param [String] quota_user
3375
+ # Available to use for quota purposes for server-side applications. Can be any
3376
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3377
+ # @param [Google::Apis::RequestOptions] options
3378
+ # Request-specific options
3379
+ #
3380
+ # @yield [result, err] Result & error if block supplied
3381
+ # @yieldparam result [Google::Apis::ApigeeregistryV1::TestIamPermissionsResponse] parsed result object
3382
+ # @yieldparam err [StandardError] error object if request failed
3383
+ #
3384
+ # @return [Google::Apis::ApigeeregistryV1::TestIamPermissionsResponse]
3385
+ #
3386
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3387
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3388
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3389
+ def test_document_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3390
+ command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
3391
+ command.request_representation = Google::Apis::ApigeeregistryV1::TestIamPermissionsRequest::Representation
3392
+ command.request_object = test_iam_permissions_request_object
3393
+ command.response_representation = Google::Apis::ApigeeregistryV1::TestIamPermissionsResponse::Representation
3394
+ command.response_class = Google::Apis::ApigeeregistryV1::TestIamPermissionsResponse
3395
+ command.params['resource'] = resource unless resource.nil?
3396
+ command.query['fields'] = fields unless fields.nil?
3397
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3398
+ execute_or_queue_command(command, &block)
3399
+ end
3400
+
3278
3401
  # Provisions instance resources for the Registry.
3279
3402
  # @param [String] parent
3280
3403
  # 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.17.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: 2024-01-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.11.0
19
+ version: 0.12.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.11.0
29
+ version: 0.12.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.17.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.5.3
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Apigee Registry API V1