google-apis-accesscontextmanager_v1 0.24.0 → 0.26.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 +9 -0
- data/lib/google/apis/accesscontextmanager_v1/classes.rb +93 -5
- data/lib/google/apis/accesscontextmanager_v1/gem_version.rb +3 -3
- data/lib/google/apis/accesscontextmanager_v1/representations.rb +32 -0
- data/lib/google/apis/accesscontextmanager_v1/service.rb +185 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e15d24c42e1bb60e748d1f9835ec9902a52b03601366642571b3556c1930b6c2
|
4
|
+
data.tar.gz: 31af635b3818d17c1e7f8f974558bd72c44d466aca6cbea070d67c771823ceab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5512e2ac726f3f417e0422341094d13f215058757e1dd550e96bcffa7be2781ae95feeb41aeee63edbeb61a1542fe1c083da86cc6f3559bc5d680971dfb652e7
|
7
|
+
data.tar.gz: a64b576b506f67d6b424b4161986c2b23568c013258a4094c0d0d59998a382c438f0e0f765927b91494d4fe9165700ab1912b5728a431de28b64a2d19c8a5e9d
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-accesscontextmanager_v1
|
2
2
|
|
3
|
+
### v0.26.0 (2023-01-15)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230109
|
6
|
+
* Regenerated using generator version 0.11.1
|
7
|
+
|
8
|
+
### v0.25.0 (2022-12-26)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20221213
|
11
|
+
|
3
12
|
### v0.24.0 (2022-12-07)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20221205
|
@@ -248,6 +248,65 @@ module Google
|
|
248
248
|
end
|
249
249
|
end
|
250
250
|
|
251
|
+
# `AuthorizedOrgsDesc` is a resource that contains a list of organizations for a
|
252
|
+
# authorization type and asset type and its authorization direction.
|
253
|
+
class AuthorizedOrgsDesc
|
254
|
+
include Google::Apis::Core::Hashable
|
255
|
+
|
256
|
+
# The asset type of this authorized orgs desc. e.g. device, credential strength.
|
257
|
+
# Corresponds to the JSON property `assetType`
|
258
|
+
# @return [String]
|
259
|
+
attr_accessor :asset_type
|
260
|
+
|
261
|
+
# Authorization direction of this authorization relationship. i.e. Whether to
|
262
|
+
# allow specified orgs to evaluate this org's traffic, or allow specified orgs'
|
263
|
+
# traffic to be evaluated by this org. Orgs specified as `
|
264
|
+
# AUTHORIZATION_DIRECTION_TO` in this AuthorizedOrgsDesc[com.google.identity.
|
265
|
+
# accesscontextmanager.v1.AuthorizedOrgsDesc] must also specify this org as the `
|
266
|
+
# AUTHORIZATION_DIRECTION_FROM` in their own AuthorizedOrgsDesc in order for
|
267
|
+
# this relationship to take effect. Orgs specified as `
|
268
|
+
# AUTHORIZATION_DIRECTION_FROM` in this AuthorizedOrgsDesc[com.google.identity.
|
269
|
+
# accesscontextmanager.v1.AuthorizedOrgsDesc] must also specify this org as the `
|
270
|
+
# AUTHORIZATION_DIRECTION_TO` in their own AuthorizedOrgsDesc in order for this
|
271
|
+
# relationship to take effect.
|
272
|
+
# Corresponds to the JSON property `authorizationDirection`
|
273
|
+
# @return [String]
|
274
|
+
attr_accessor :authorization_direction
|
275
|
+
|
276
|
+
# The authorization type of this authorized orgs desc. e.g.authorization,
|
277
|
+
# troubleshooting or logging.
|
278
|
+
# Corresponds to the JSON property `authorizationType`
|
279
|
+
# @return [String]
|
280
|
+
attr_accessor :authorization_type
|
281
|
+
|
282
|
+
# Assigned by the server during creation. The last segment has an arbitrary
|
283
|
+
# length and has only URI unreserved characters (as defined by [RFC 3986 Section
|
284
|
+
# 2.3](https://tools.ietf.org/html/rfc3986#section-2.3)). Should not be
|
285
|
+
# specified by the client during creation. Example: "accessPolicies/122256/
|
286
|
+
# authorizedOrgs/b3-BhcX_Ud5N"
|
287
|
+
# Corresponds to the JSON property `name`
|
288
|
+
# @return [String]
|
289
|
+
attr_accessor :name
|
290
|
+
|
291
|
+
# The list of organization ids in this AuthorizedOrgsDesc.
|
292
|
+
# Corresponds to the JSON property `orgs`
|
293
|
+
# @return [Array<String>]
|
294
|
+
attr_accessor :orgs
|
295
|
+
|
296
|
+
def initialize(**args)
|
297
|
+
update!(**args)
|
298
|
+
end
|
299
|
+
|
300
|
+
# Update properties of this object
|
301
|
+
def update!(**args)
|
302
|
+
@asset_type = args[:asset_type] if args.key?(:asset_type)
|
303
|
+
@authorization_direction = args[:authorization_direction] if args.key?(:authorization_direction)
|
304
|
+
@authorization_type = args[:authorization_type] if args.key?(:authorization_type)
|
305
|
+
@name = args[:name] if args.key?(:name)
|
306
|
+
@orgs = args[:orgs] if args.key?(:orgs)
|
307
|
+
end
|
308
|
+
end
|
309
|
+
|
251
310
|
# `BasicLevel` is an `AccessLevel` using a set of recommended features.
|
252
311
|
class BasicLevel
|
253
312
|
include Google::Apis::Core::Hashable
|
@@ -979,10 +1038,11 @@ module Google
|
|
979
1038
|
|
980
1039
|
# A Google Cloud resource that is allowed to ingress the perimeter. Requests
|
981
1040
|
# from these resources will be allowed to access perimeter data. Currently only
|
982
|
-
# projects are allowed.
|
983
|
-
#
|
984
|
-
#
|
985
|
-
#
|
1041
|
+
# projects and VPCs are allowed. Project format: `projects/`project_number`` VPC
|
1042
|
+
# format: `//compute.googleapis.com/projects/`PROJECT_ID`/global/networks/`NAME``
|
1043
|
+
# . The project may be in any Google Cloud organization, not just the
|
1044
|
+
# organization that the perimeter is defined in. `*` is not allowed, the case of
|
1045
|
+
# allowing all Google Cloud resources only is not supported.
|
986
1046
|
# Corresponds to the JSON property `resource`
|
987
1047
|
# @return [String]
|
988
1048
|
attr_accessor :resource
|
@@ -1082,6 +1142,32 @@ module Google
|
|
1082
1142
|
end
|
1083
1143
|
end
|
1084
1144
|
|
1145
|
+
# A response to `ListAuthorizedOrgsDescsRequest`.
|
1146
|
+
class ListAuthorizedOrgsDescsResponse
|
1147
|
+
include Google::Apis::Core::Hashable
|
1148
|
+
|
1149
|
+
# List of the Authorized Orgs Desc instances.
|
1150
|
+
# Corresponds to the JSON property `authorizedOrgsDescs`
|
1151
|
+
# @return [Array<Google::Apis::AccesscontextmanagerV1::AuthorizedOrgsDesc>]
|
1152
|
+
attr_accessor :authorized_orgs_descs
|
1153
|
+
|
1154
|
+
# The pagination token to retrieve the next page of results. If the value is
|
1155
|
+
# empty, no further results remain.
|
1156
|
+
# Corresponds to the JSON property `nextPageToken`
|
1157
|
+
# @return [String]
|
1158
|
+
attr_accessor :next_page_token
|
1159
|
+
|
1160
|
+
def initialize(**args)
|
1161
|
+
update!(**args)
|
1162
|
+
end
|
1163
|
+
|
1164
|
+
# Update properties of this object
|
1165
|
+
def update!(**args)
|
1166
|
+
@authorized_orgs_descs = args[:authorized_orgs_descs] if args.key?(:authorized_orgs_descs)
|
1167
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1168
|
+
end
|
1169
|
+
end
|
1170
|
+
|
1085
1171
|
# Response of ListGcpUserAccessBindings.
|
1086
1172
|
class ListGcpUserAccessBindingsResponse
|
1087
1173
|
include Google::Apis::Core::Hashable
|
@@ -1596,7 +1682,9 @@ module Google
|
|
1596
1682
|
attr_accessor :ingress_policies
|
1597
1683
|
|
1598
1684
|
# A list of Google Cloud resources that are inside of the service perimeter.
|
1599
|
-
# Currently only projects are allowed.
|
1685
|
+
# Currently only projects and VPCs are allowed. Project format: `projects/`
|
1686
|
+
# project_number`` VPC format: `//compute.googleapis.com/projects/`PROJECT_ID`/
|
1687
|
+
# global/networks/`NAME``.
|
1600
1688
|
# Corresponds to the JSON property `resources`
|
1601
1689
|
# @return [Array<String>]
|
1602
1690
|
attr_accessor :resources
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module AccesscontextmanagerV1
|
18
18
|
# Version of the google-apis-accesscontextmanager_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.26.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.11.
|
22
|
+
GENERATOR_VERSION = "0.11.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230109"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -58,6 +58,12 @@ module Google
|
|
58
58
|
include Google::Apis::Core::JsonObjectSupport
|
59
59
|
end
|
60
60
|
|
61
|
+
class AuthorizedOrgsDesc
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
65
|
+
end
|
66
|
+
|
61
67
|
class BasicLevel
|
62
68
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
69
|
|
@@ -196,6 +202,12 @@ module Google
|
|
196
202
|
include Google::Apis::Core::JsonObjectSupport
|
197
203
|
end
|
198
204
|
|
205
|
+
class ListAuthorizedOrgsDescsResponse
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
|
+
|
208
|
+
include Google::Apis::Core::JsonObjectSupport
|
209
|
+
end
|
210
|
+
|
199
211
|
class ListGcpUserAccessBindingsResponse
|
200
212
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
213
|
|
@@ -360,6 +372,17 @@ module Google
|
|
360
372
|
end
|
361
373
|
end
|
362
374
|
|
375
|
+
class AuthorizedOrgsDesc
|
376
|
+
# @private
|
377
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
378
|
+
property :asset_type, as: 'assetType'
|
379
|
+
property :authorization_direction, as: 'authorizationDirection'
|
380
|
+
property :authorization_type, as: 'authorizationType'
|
381
|
+
property :name, as: 'name'
|
382
|
+
collection :orgs, as: 'orgs'
|
383
|
+
end
|
384
|
+
end
|
385
|
+
|
363
386
|
class BasicLevel
|
364
387
|
# @private
|
365
388
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -563,6 +586,15 @@ module Google
|
|
563
586
|
end
|
564
587
|
end
|
565
588
|
|
589
|
+
class ListAuthorizedOrgsDescsResponse
|
590
|
+
# @private
|
591
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
592
|
+
collection :authorized_orgs_descs, as: 'authorizedOrgsDescs', class: Google::Apis::AccesscontextmanagerV1::AuthorizedOrgsDesc, decorator: Google::Apis::AccesscontextmanagerV1::AuthorizedOrgsDesc::Representation
|
593
|
+
|
594
|
+
property :next_page_token, as: 'nextPageToken'
|
595
|
+
end
|
596
|
+
end
|
597
|
+
|
566
598
|
class ListGcpUserAccessBindingsResponse
|
567
599
|
# @private
|
568
600
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -604,6 +604,191 @@ module Google
|
|
604
604
|
execute_or_queue_command(command, &block)
|
605
605
|
end
|
606
606
|
|
607
|
+
# Creates a authorized orgs desc. The long-running operation from this RPC has a
|
608
|
+
# successful status after the authorized orgs desc propagates to long-lasting
|
609
|
+
# storage. If a authorized orgs desc contains errors, an error response is
|
610
|
+
# returned for the first error encountered. The name of this `AuthorizedOrgsDesc`
|
611
|
+
# will be assigned during creation.
|
612
|
+
# @param [String] parent
|
613
|
+
# Required. Resource name for the access policy which owns this Authorized Orgs
|
614
|
+
# Desc. Format: `accessPolicies/`policy_id``
|
615
|
+
# @param [Google::Apis::AccesscontextmanagerV1::AuthorizedOrgsDesc] authorized_orgs_desc_object
|
616
|
+
# @param [String] fields
|
617
|
+
# Selector specifying which fields to include in a partial response.
|
618
|
+
# @param [String] quota_user
|
619
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
620
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
621
|
+
# @param [Google::Apis::RequestOptions] options
|
622
|
+
# Request-specific options
|
623
|
+
#
|
624
|
+
# @yield [result, err] Result & error if block supplied
|
625
|
+
# @yieldparam result [Google::Apis::AccesscontextmanagerV1::Operation] parsed result object
|
626
|
+
# @yieldparam err [StandardError] error object if request failed
|
627
|
+
#
|
628
|
+
# @return [Google::Apis::AccesscontextmanagerV1::Operation]
|
629
|
+
#
|
630
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
631
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
632
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
633
|
+
def create_access_policy_authorized_orgs_desc(parent, authorized_orgs_desc_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
634
|
+
command = make_simple_command(:post, 'v1/{+parent}/authorizedOrgsDescs', options)
|
635
|
+
command.request_representation = Google::Apis::AccesscontextmanagerV1::AuthorizedOrgsDesc::Representation
|
636
|
+
command.request_object = authorized_orgs_desc_object
|
637
|
+
command.response_representation = Google::Apis::AccesscontextmanagerV1::Operation::Representation
|
638
|
+
command.response_class = Google::Apis::AccesscontextmanagerV1::Operation
|
639
|
+
command.params['parent'] = parent unless parent.nil?
|
640
|
+
command.query['fields'] = fields unless fields.nil?
|
641
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
642
|
+
execute_or_queue_command(command, &block)
|
643
|
+
end
|
644
|
+
|
645
|
+
# Deletes a authorized orgs desc based on the resource name. The long-running
|
646
|
+
# operation from this RPC has a successful status after the authorized orgs desc
|
647
|
+
# is removed from long-lasting storage.
|
648
|
+
# @param [String] name
|
649
|
+
# Required. Resource name for the Authorized Orgs Desc. Format: `accessPolicies/`
|
650
|
+
# policy_id`/authorizedOrgsDesc/`authorized_orgs_desc_id``
|
651
|
+
# @param [String] fields
|
652
|
+
# Selector specifying which fields to include in a partial response.
|
653
|
+
# @param [String] quota_user
|
654
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
655
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
656
|
+
# @param [Google::Apis::RequestOptions] options
|
657
|
+
# Request-specific options
|
658
|
+
#
|
659
|
+
# @yield [result, err] Result & error if block supplied
|
660
|
+
# @yieldparam result [Google::Apis::AccesscontextmanagerV1::Operation] parsed result object
|
661
|
+
# @yieldparam err [StandardError] error object if request failed
|
662
|
+
#
|
663
|
+
# @return [Google::Apis::AccesscontextmanagerV1::Operation]
|
664
|
+
#
|
665
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
666
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
667
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
668
|
+
def delete_access_policy_authorized_orgs_desc(name, fields: nil, quota_user: nil, options: nil, &block)
|
669
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
670
|
+
command.response_representation = Google::Apis::AccesscontextmanagerV1::Operation::Representation
|
671
|
+
command.response_class = Google::Apis::AccesscontextmanagerV1::Operation
|
672
|
+
command.params['name'] = name unless name.nil?
|
673
|
+
command.query['fields'] = fields unless fields.nil?
|
674
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
675
|
+
execute_or_queue_command(command, &block)
|
676
|
+
end
|
677
|
+
|
678
|
+
# Gets a authorized orgs desc based on the resource name.
|
679
|
+
# @param [String] name
|
680
|
+
# Required. Resource name for the Authorized Orgs Desc. Format: `accessPolicies/`
|
681
|
+
# policy_id`/authorizedOrgsDescs/`authorized_orgs_descs_id``
|
682
|
+
# @param [String] fields
|
683
|
+
# Selector specifying which fields to include in a partial response.
|
684
|
+
# @param [String] quota_user
|
685
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
686
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
687
|
+
# @param [Google::Apis::RequestOptions] options
|
688
|
+
# Request-specific options
|
689
|
+
#
|
690
|
+
# @yield [result, err] Result & error if block supplied
|
691
|
+
# @yieldparam result [Google::Apis::AccesscontextmanagerV1::AuthorizedOrgsDesc] parsed result object
|
692
|
+
# @yieldparam err [StandardError] error object if request failed
|
693
|
+
#
|
694
|
+
# @return [Google::Apis::AccesscontextmanagerV1::AuthorizedOrgsDesc]
|
695
|
+
#
|
696
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
697
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
698
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
699
|
+
def get_access_policy_authorized_orgs_desc(name, fields: nil, quota_user: nil, options: nil, &block)
|
700
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
701
|
+
command.response_representation = Google::Apis::AccesscontextmanagerV1::AuthorizedOrgsDesc::Representation
|
702
|
+
command.response_class = Google::Apis::AccesscontextmanagerV1::AuthorizedOrgsDesc
|
703
|
+
command.params['name'] = name unless name.nil?
|
704
|
+
command.query['fields'] = fields unless fields.nil?
|
705
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
706
|
+
execute_or_queue_command(command, &block)
|
707
|
+
end
|
708
|
+
|
709
|
+
# Lists all authorized orgs descs for an access policy.
|
710
|
+
# @param [String] parent
|
711
|
+
# Required. Resource name for the access policy to list Authorized Orgs Desc
|
712
|
+
# from. Format: `accessPolicies/`policy_id``
|
713
|
+
# @param [Fixnum] page_size
|
714
|
+
# Number of Authorized Orgs Descs to include in the list. Default 100.
|
715
|
+
# @param [String] page_token
|
716
|
+
# Next page token for the next batch of Authorized Orgs Desc instances. Defaults
|
717
|
+
# to the first page of results.
|
718
|
+
# @param [String] fields
|
719
|
+
# Selector specifying which fields to include in a partial response.
|
720
|
+
# @param [String] quota_user
|
721
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
722
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
723
|
+
# @param [Google::Apis::RequestOptions] options
|
724
|
+
# Request-specific options
|
725
|
+
#
|
726
|
+
# @yield [result, err] Result & error if block supplied
|
727
|
+
# @yieldparam result [Google::Apis::AccesscontextmanagerV1::ListAuthorizedOrgsDescsResponse] parsed result object
|
728
|
+
# @yieldparam err [StandardError] error object if request failed
|
729
|
+
#
|
730
|
+
# @return [Google::Apis::AccesscontextmanagerV1::ListAuthorizedOrgsDescsResponse]
|
731
|
+
#
|
732
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
733
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
734
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
735
|
+
def list_access_policy_authorized_orgs_descs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
736
|
+
command = make_simple_command(:get, 'v1/{+parent}/authorizedOrgsDescs', options)
|
737
|
+
command.response_representation = Google::Apis::AccesscontextmanagerV1::ListAuthorizedOrgsDescsResponse::Representation
|
738
|
+
command.response_class = Google::Apis::AccesscontextmanagerV1::ListAuthorizedOrgsDescsResponse
|
739
|
+
command.params['parent'] = parent unless parent.nil?
|
740
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
741
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
742
|
+
command.query['fields'] = fields unless fields.nil?
|
743
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
744
|
+
execute_or_queue_command(command, &block)
|
745
|
+
end
|
746
|
+
|
747
|
+
# Updates a authorized orgs desc. The long-running operation from this RPC has a
|
748
|
+
# successful status after the authorized orgs desc propagates to long-lasting
|
749
|
+
# storage. If a authorized orgs desc contains errors, an error response is
|
750
|
+
# returned for the first error encountered. Only the organization list in `
|
751
|
+
# AuthorizedOrgsDesc` can be updated. The name, authorization_type, asset_type
|
752
|
+
# and authorization_direction cannot be updated.
|
753
|
+
# @param [String] name
|
754
|
+
# Assigned by the server during creation. The last segment has an arbitrary
|
755
|
+
# length and has only URI unreserved characters (as defined by [RFC 3986 Section
|
756
|
+
# 2.3](https://tools.ietf.org/html/rfc3986#section-2.3)). Should not be
|
757
|
+
# specified by the client during creation. Example: "accessPolicies/122256/
|
758
|
+
# authorizedOrgs/b3-BhcX_Ud5N"
|
759
|
+
# @param [Google::Apis::AccesscontextmanagerV1::AuthorizedOrgsDesc] authorized_orgs_desc_object
|
760
|
+
# @param [String] update_mask
|
761
|
+
# Required. Mask to control which fields get updated. Must be non-empty.
|
762
|
+
# @param [String] fields
|
763
|
+
# Selector specifying which fields to include in a partial response.
|
764
|
+
# @param [String] quota_user
|
765
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
766
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
767
|
+
# @param [Google::Apis::RequestOptions] options
|
768
|
+
# Request-specific options
|
769
|
+
#
|
770
|
+
# @yield [result, err] Result & error if block supplied
|
771
|
+
# @yieldparam result [Google::Apis::AccesscontextmanagerV1::Operation] parsed result object
|
772
|
+
# @yieldparam err [StandardError] error object if request failed
|
773
|
+
#
|
774
|
+
# @return [Google::Apis::AccesscontextmanagerV1::Operation]
|
775
|
+
#
|
776
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
777
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
778
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
779
|
+
def patch_access_policy_authorized_orgs_desc(name, authorized_orgs_desc_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
780
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
781
|
+
command.request_representation = Google::Apis::AccesscontextmanagerV1::AuthorizedOrgsDesc::Representation
|
782
|
+
command.request_object = authorized_orgs_desc_object
|
783
|
+
command.response_representation = Google::Apis::AccesscontextmanagerV1::Operation::Representation
|
784
|
+
command.response_class = Google::Apis::AccesscontextmanagerV1::Operation
|
785
|
+
command.params['name'] = name unless name.nil?
|
786
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
787
|
+
command.query['fields'] = fields unless fields.nil?
|
788
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
789
|
+
execute_or_queue_command(command, &block)
|
790
|
+
end
|
791
|
+
|
607
792
|
# Commits the dry-run specification for all the service perimeters in an access
|
608
793
|
# policy. A commit operation on a service perimeter involves copying its `spec`
|
609
794
|
# field to the `status` field of the service perimeter. Only service perimeters
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-accesscontextmanager_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.26.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:
|
11
|
+
date: 2023-01-15 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-accesscontextmanager_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-accesscontextmanager_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-accesscontextmanager_v1/v0.26.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-accesscontextmanager_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.
|
78
|
+
rubygems_version: 3.4.2
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Access Context Manager API V1
|