google-apis-apigee_v1 0.44.0 → 0.45.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/apigee_v1/gem_version.rb +2 -2
- data/lib/google/apis/apigee_v1/service.rb +22 -45
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cd22b37fc31bac57feb8daf981cb83a30e2004fb11865abd8505ac7f9ce7018c
|
4
|
+
data.tar.gz: db81216ea3d25e6f443bd87dc36e1a688b1c8791e281e46a21552566080b6ce2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 30f1a727b814c845bd69aa6a1967ba4adbd038ef34841301baa9fdf9c94af1f08473e41eb4884db4ccb804c5bc76de39a800de03f2ccf3d708b52ef23230b2b2
|
7
|
+
data.tar.gz: 1556f9f3aedfee49566918851f3affd748624b05a2931970cd27a2ca2e636dd34f35fc42467d7e43802045f53e882229a8f6311067acaf3e625edbeb902d2b03
|
data/CHANGELOG.md
CHANGED
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ApigeeV1
|
18
18
|
# Version of the google-apis-apigee_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.45.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220509"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -120,10 +120,20 @@ module Google
|
|
120
120
|
execute_or_queue_command(command, &block)
|
121
121
|
end
|
122
122
|
|
123
|
-
# Delete an Apigee organization.
|
123
|
+
# Delete an Apigee organization. For organizations with BillingType EVALUATION,
|
124
|
+
# an immediate deletion is performed. For paid organizations, a soft-deletion is
|
125
|
+
# performed. The organization can be restored within the soft-deletion period -
|
126
|
+
# which can be controlled using the retention field in the request.
|
124
127
|
# @param [String] name
|
125
128
|
# Required. Name of the organization. Use the following structure in your
|
126
129
|
# request: `organizations/`org``
|
130
|
+
# @param [String] retention
|
131
|
+
# Optional. This setting is only applicable for organizations that are soft-
|
132
|
+
# deleted (i.e. BillingType is not EVALUATION). It controls how long
|
133
|
+
# Organization data will be retained after the initial delete operation
|
134
|
+
# completes. During this period, the Organization may be restored to its last
|
135
|
+
# known state. After this period, the Organization will no longer be able to be
|
136
|
+
# restored.
|
127
137
|
# @param [String] fields
|
128
138
|
# Selector specifying which fields to include in a partial response.
|
129
139
|
# @param [String] quota_user
|
@@ -141,11 +151,12 @@ module Google
|
|
141
151
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
142
152
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
143
153
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
144
|
-
def delete_organization(name, fields: nil, quota_user: nil, options: nil, &block)
|
154
|
+
def delete_organization(name, retention: nil, fields: nil, quota_user: nil, options: nil, &block)
|
145
155
|
command = make_simple_command(:delete, 'v1/{+name}', options)
|
146
156
|
command.response_representation = Google::Apis::ApigeeV1::GoogleLongrunningOperation::Representation
|
147
157
|
command.response_class = Google::Apis::ApigeeV1::GoogleLongrunningOperation
|
148
158
|
command.params['name'] = name unless name.nil?
|
159
|
+
command.query['retention'] = retention unless retention.nil?
|
149
160
|
command.query['fields'] = fields unless fields.nil?
|
150
161
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
151
162
|
execute_or_queue_command(command, &block)
|
@@ -401,43 +412,6 @@ module Google
|
|
401
412
|
execute_or_queue_command(command, &block)
|
402
413
|
end
|
403
414
|
|
404
|
-
# Tests the permissions of a user on an organization, and returns a subset of
|
405
|
-
# permissions that the user has on the organization. If the organization does
|
406
|
-
# not exist, an empty permission set is returned (a NOT_FOUND error is not
|
407
|
-
# returned).
|
408
|
-
# @param [String] resource
|
409
|
-
# REQUIRED: The resource for which the policy detail is being requested. See the
|
410
|
-
# operation documentation for the appropriate value for this field.
|
411
|
-
# @param [Google::Apis::ApigeeV1::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
|
412
|
-
# @param [String] fields
|
413
|
-
# Selector specifying which fields to include in a partial response.
|
414
|
-
# @param [String] quota_user
|
415
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
416
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
417
|
-
# @param [Google::Apis::RequestOptions] options
|
418
|
-
# Request-specific options
|
419
|
-
#
|
420
|
-
# @yield [result, err] Result & error if block supplied
|
421
|
-
# @yieldparam result [Google::Apis::ApigeeV1::GoogleIamV1TestIamPermissionsResponse] parsed result object
|
422
|
-
# @yieldparam err [StandardError] error object if request failed
|
423
|
-
#
|
424
|
-
# @return [Google::Apis::ApigeeV1::GoogleIamV1TestIamPermissionsResponse]
|
425
|
-
#
|
426
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
427
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
428
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
429
|
-
def test_organization_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
430
|
-
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
431
|
-
command.request_representation = Google::Apis::ApigeeV1::GoogleIamV1TestIamPermissionsRequest::Representation
|
432
|
-
command.request_object = google_iam_v1_test_iam_permissions_request_object
|
433
|
-
command.response_representation = Google::Apis::ApigeeV1::GoogleIamV1TestIamPermissionsResponse::Representation
|
434
|
-
command.response_class = Google::Apis::ApigeeV1::GoogleIamV1TestIamPermissionsResponse
|
435
|
-
command.params['resource'] = resource unless resource.nil?
|
436
|
-
command.query['fields'] = fields unless fields.nil?
|
437
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
438
|
-
execute_or_queue_command(command, &block)
|
439
|
-
end
|
440
|
-
|
441
415
|
# Updates the properties for an Apigee organization. No other fields in the
|
442
416
|
# organization profile will be updated.
|
443
417
|
# @param [String] name
|
@@ -4124,8 +4098,9 @@ module Google
|
|
4124
4098
|
# api-platform/system-administration/manage-users-roles). You must have the `
|
4125
4099
|
# apigee.environments.getIamPolicy` permission to call this API.
|
4126
4100
|
# @param [String] resource
|
4127
|
-
# REQUIRED: The resource for which the policy is being requested. See
|
4128
|
-
#
|
4101
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
4102
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
4103
|
+
# appropriate value for this field.
|
4129
4104
|
# @param [Fixnum] options_requested_policy_version
|
4130
4105
|
# Optional. The maximum policy version that will be used to format the policy.
|
4131
4106
|
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
@@ -4202,8 +4177,9 @@ module Google
|
|
4202
4177
|
# administration/manage-users-roles). You must have the `apigee.environments.
|
4203
4178
|
# setIamPolicy` permission to call this API.
|
4204
4179
|
# @param [String] resource
|
4205
|
-
# REQUIRED: The resource for which the policy is being specified. See
|
4206
|
-
#
|
4180
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
4181
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
4182
|
+
# appropriate value for this field.
|
4207
4183
|
# @param [Google::Apis::ApigeeV1::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
|
4208
4184
|
# @param [String] fields
|
4209
4185
|
# Selector specifying which fields to include in a partial response.
|
@@ -4271,8 +4247,9 @@ module Google
|
|
4271
4247
|
# permissions that the user has on the environment. If the environment does not
|
4272
4248
|
# exist, an empty permission set is returned (a NOT_FOUND error is not returned).
|
4273
4249
|
# @param [String] resource
|
4274
|
-
# REQUIRED: The resource for which the policy detail is being requested. See
|
4275
|
-
#
|
4250
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
4251
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
4252
|
+
# appropriate value for this field.
|
4276
4253
|
# @param [Google::Apis::ApigeeV1::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
|
4277
4254
|
# @param [String] fields
|
4278
4255
|
# Selector specifying which fields to include in a partial response.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-apigee_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.45.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: 2022-05-
|
11
|
+
date: 2022-05-16 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-apigee_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-apigee_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-apigee_v1/v0.45.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-apigee_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|