google-apis-apigeeregistry_v1 0.14.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: b5f417bb1db912f36501f04f8dac588a316cdc22f528925cfc68bd2f2e3dab9c
4
- data.tar.gz: 244b4bba77df7241b4e858c123ffb7f525d88eae3c60639c379e32bea3aee1f8
3
+ metadata.gz: 7782b54bf7b1ec53f10662b6dfa43d55ff0b8b8e798bca55be5f45e10e6aab73
4
+ data.tar.gz: 48e7257ff8a6bc3a5da295d88bbb10062ddc954ba197c34c7adff52da5a95d8d
5
5
  SHA512:
6
- metadata.gz: b3cc4bb79fa55335c25440bc3e4a515c25fcb0c67d133e962d76a842a44e8aa431b5c7329d2c33804c53d5e4355ef412174d6190e091e12e9a68b0316bb124ed
7
- data.tar.gz: 70b8bec423faa06ae46ebd3d8b6f021c1c98f48ecaae5759a25a4d442a8cd2e7d00e4508cdb1a572bb367fdea67a7fdb4418fce2306a661671115aaa48674d95
6
+ metadata.gz: 956e9fc462e16f6db36fdf83905a81bc9f2ea4e7265c96945a289c621eeeef75172a1dd8f916f476fbfd185975d7dcc47909fa7b52f5e169efbbfc2b5e84947e
7
+ data.tar.gz: 8289f56a7ebd833f97200615eebf3bc67ebee966a329230392323355bb6d7eb67e56f7cb3512d9b12301b781ce86e9c1c43f85eacf9d439bc847ef5662e58c52
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
7
+ ### v0.15.0 (2023-08-13)
8
+
9
+ * Regenerated from discovery document revision 20230802
10
+
3
11
  ### v0.14.0 (2023-02-15)
4
12
 
5
13
  * Regenerated using generator version 0.12.0
@@ -289,7 +289,7 @@ module Google
289
289
  # @return [Hash<String,String>]
290
290
  attr_accessor :labels
291
291
 
292
- # A style (format) descriptor for this spec that is specified as a Media Type (
292
+ # A style (format) descriptor for this spec that is specified as a [Media Type](
293
293
  # https://en.wikipedia.org/wiki/Media_type). Possible values include `
294
294
  # application/vnd.apigee.proto`, `application/vnd.apigee.openapi`, and `
295
295
  # application/vnd.apigee.graphql`, with possible suffixes representing
@@ -1092,7 +1092,7 @@ module Google
1092
1092
  end
1093
1093
  end
1094
1094
 
1095
- # A resource that represents Google Cloud Platform location.
1095
+ # A resource that represents a Google Cloud location.
1096
1096
  class Location
1097
1097
  include Google::Apis::Core::Hashable
1098
1098
 
@@ -1176,13 +1176,13 @@ module Google
1176
1176
  # @return [String]
1177
1177
  attr_accessor :name
1178
1178
 
1179
- # The normal response of the operation in case of success. If the original
1180
- # method returns no data on success, such as `Delete`, the response is `google.
1181
- # protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
1182
- # the response should be the resource. For other methods, the response should
1183
- # have the type `XxxResponse`, where `Xxx` is the original method name. For
1184
- # example, if the original method name is `TakeSnapshot()`, the inferred
1185
- # response type is `TakeSnapshotResponse`.
1179
+ # The normal, successful response of the operation. If the original method
1180
+ # returns no data on success, such as `Delete`, the response is `google.protobuf.
1181
+ # Empty`. If the original method is standard `Get`/`Create`/`Update`, the
1182
+ # response should be the resource. For other methods, the response should have
1183
+ # the type `XxxResponse`, where `Xxx` is the original method name. For example,
1184
+ # if the original method name is `TakeSnapshot()`, the inferred response type is
1185
+ # `TakeSnapshotResponse`.
1186
1186
  # Corresponds to the JSON property `response`
1187
1187
  # @return [Hash<String,Object>]
1188
1188
  attr_accessor :response
@@ -1270,22 +1270,22 @@ module Google
1270
1270
  # evaluates to `true`. A condition can add constraints based on attributes of
1271
1271
  # the request, the resource, or both. To learn which resources support
1272
1272
  # conditions in their IAM policies, see the [IAM documentation](https://cloud.
1273
- # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
1273
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
1274
1274
  # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
1275
1275
  # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
1276
1276
  # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
1277
1277
  # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
1278
1278
  # ], "condition": ` "title": "expirable access", "description": "Does not grant
1279
1279
  # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
1280
- # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
1281
- # bindings: - members: - user:mike@example.com - group:admins@example.com -
1282
- # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
1283
- # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
1284
- # com role: roles/resourcemanager.organizationViewer condition: title: expirable
1285
- # access description: Does not grant access after Sep 2020 expression: request.
1286
- # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
1287
- # a description of IAM and its features, see the [IAM documentation](https://
1288
- # cloud.google.com/iam/docs/).
1280
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
1281
+ # example:** ``` bindings: - members: - user:mike@example.com - group:admins@
1282
+ # example.com - domain:google.com - serviceAccount:my-project-id@appspot.
1283
+ # gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
1284
+ # user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
1285
+ # title: expirable access description: Does not grant access after Sep 2020
1286
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
1287
+ # BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
1288
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
1289
1289
  class Policy
1290
1290
  include Google::Apis::Core::Hashable
1291
1291
 
@@ -1403,22 +1403,22 @@ module Google
1403
1403
  # evaluates to `true`. A condition can add constraints based on attributes of
1404
1404
  # the request, the resource, or both. To learn which resources support
1405
1405
  # conditions in their IAM policies, see the [IAM documentation](https://cloud.
1406
- # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
1406
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
1407
1407
  # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
1408
1408
  # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
1409
1409
  # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
1410
1410
  # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
1411
1411
  # ], "condition": ` "title": "expirable access", "description": "Does not grant
1412
1412
  # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
1413
- # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
1414
- # bindings: - members: - user:mike@example.com - group:admins@example.com -
1415
- # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
1416
- # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
1417
- # com role: roles/resourcemanager.organizationViewer condition: title: expirable
1418
- # access description: Does not grant access after Sep 2020 expression: request.
1419
- # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
1420
- # a description of IAM and its features, see the [IAM documentation](https://
1421
- # cloud.google.com/iam/docs/).
1413
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
1414
+ # example:** ``` bindings: - members: - user:mike@example.com - group:admins@
1415
+ # example.com - domain:google.com - serviceAccount:my-project-id@appspot.
1416
+ # gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
1417
+ # user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
1418
+ # title: expirable access description: Does not grant access after Sep 2020
1419
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
1420
+ # BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
1421
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
1422
1422
  # Corresponds to the JSON property `policy`
1423
1423
  # @return [Google::Apis::ApigeeregistryV1::Policy]
1424
1424
  attr_accessor :policy
@@ -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.14.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 = "20230127"
25
+ REVISION = "20230928"
26
26
  end
27
27
  end
28
28
  end
@@ -1168,7 +1168,8 @@ module Google
1168
1168
 
1169
1169
  # Adds a tag to a specified revision of a deployment.
1170
1170
  # @param [String] name
1171
- # Required. The name of the deployment to be tagged, including the revision ID.
1171
+ # Required. The name of the deployment to be tagged, including the revision ID
1172
+ # is optional. If a revision is not specified, it will tag the latest revision.
1172
1173
  # @param [Google::Apis::ApigeeregistryV1::TagApiDeploymentRevisionRequest] tag_api_deployment_revision_request_object
1173
1174
  # @param [String] fields
1174
1175
  # Selector specifying which fields to include in a partial response.
@@ -2531,7 +2532,8 @@ module Google
2531
2532
 
2532
2533
  # Adds a tag to a specified revision of a spec.
2533
2534
  # @param [String] name
2534
- # Required. The name of the spec to be tagged, including the revision ID.
2535
+ # Required. The name of the spec to be tagged, including the revision ID is
2536
+ # optional. If a revision is not specified, it will tag the latest revision.
2535
2537
  # @param [Google::Apis::ApigeeregistryV1::TagApiSpecRevisionRequest] tag_api_spec_revision_request_object
2536
2538
  # @param [String] fields
2537
2539
  # Selector specifying which fields to include in a partial response.
@@ -3273,6 +3275,127 @@ module Google
3273
3275
  execute_or_queue_command(command, &block)
3274
3276
  end
3275
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
+
3276
3399
  # Provisions instance resources for the Registry.
3277
3400
  # @param [String] parent
3278
3401
  # Required. Parent resource of the Instance, of the form: `projects/*/locations/*
@@ -3599,13 +3722,7 @@ module Google
3599
3722
  end
3600
3723
 
3601
3724
  # Lists operations that match the specified filter in the request. If the server
3602
- # doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
3603
- # binding allows API services to override the binding to use different resource
3604
- # name schemes, such as `users/*/operations`. To override the binding, API
3605
- # services can add a binding such as `"/v1/`name=users/*`/operations"` to their
3606
- # service configuration. For backwards compatibility, the default name includes
3607
- # the operations collection id, however overriding users must ensure the name
3608
- # binding is the parent resource, without the operations collection id.
3725
+ # doesn't support this method, it returns `UNIMPLEMENTED`.
3609
3726
  # @param [String] name
3610
3727
  # The name of the operation's parent resource.
3611
3728
  # @param [String] filter
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.14.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-02-19 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.14.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