google-apis-accesscontextmanager_v1 0.74.0 → 0.75.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d7f1593a7b0deddb87479158ba968e1863ddde3ccf0bd2b9ac4ead25fe2969bb
|
|
4
|
+
data.tar.gz: 513b50e0a381dbe3336eeae23e8bf9f6a205ea83712bd22ffe435db2bd12b97f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: eae420578d4c6ebba557524b04ecde2ee0b213e57f6c5cd31bf725bfa13d40f94fd41318d9421ae4cfde9801b97ac2fe39e2d9d5620a00294b36c001b0e1cc67
|
|
7
|
+
data.tar.gz: a5090cf6cdcd8adf5b5d6b1f5f02c61976d32fe5e33beb2b5ab8c3543b22b386780a83d097036674d8eaa6c3ee8fa790d0e43e3a86c671262bcd7f1bc3e39d71
|
data/CHANGELOG.md
CHANGED
|
@@ -67,7 +67,7 @@ module Google
|
|
|
67
67
|
# @return [String]
|
|
68
68
|
attr_accessor :name
|
|
69
69
|
|
|
70
|
-
# Human
|
|
70
|
+
# Human-readable title. Must be unique within the policy.
|
|
71
71
|
# Corresponds to the JSON property `title`
|
|
72
72
|
# @return [String]
|
|
73
73
|
attr_accessor :title
|
|
@@ -95,8 +95,8 @@ module Google
|
|
|
95
95
|
include Google::Apis::Core::Hashable
|
|
96
96
|
|
|
97
97
|
# Output only. An opaque identifier for the current version of the `AccessPolicy`
|
|
98
|
-
# . This will always be a strongly validated etag, meaning that two
|
|
99
|
-
#
|
|
98
|
+
# . This will always be a strongly validated etag, meaning that two access
|
|
99
|
+
# policies will be identical if and only if their etags are identical. Clients
|
|
100
100
|
# should not expect this to be in any specific format.
|
|
101
101
|
# Corresponds to the JSON property `etag`
|
|
102
102
|
# @return [String]
|
|
@@ -119,7 +119,7 @@ module Google
|
|
|
119
119
|
# `scopes=["folders/123"]` has the following behavior: - ServicePerimeter can
|
|
120
120
|
# only restrict projects within `folders/123`. - ServicePerimeter within policy
|
|
121
121
|
# A can only reference access levels defined within policy A. - Only one policy
|
|
122
|
-
# can include a given scope; thus, attempting to create a second policy
|
|
122
|
+
# can include a given scope; thus, attempting to create a second policy that
|
|
123
123
|
# includes `folders/123` will result in an error. If no scopes are provided,
|
|
124
124
|
# then any resource within the organization can be restricted. Scopes cannot be
|
|
125
125
|
# modified after a policy is created. Policies can only have a single scope.
|
|
@@ -128,7 +128,7 @@ module Google
|
|
|
128
128
|
# @return [Array<String>]
|
|
129
129
|
attr_accessor :scopes
|
|
130
130
|
|
|
131
|
-
# Required. Human
|
|
131
|
+
# Required. Human-readable title. Does not affect behavior.
|
|
132
132
|
# Corresponds to the JSON property `title`
|
|
133
133
|
# @return [String]
|
|
134
134
|
attr_accessor :title
|
|
@@ -147,13 +147,12 @@ module Google
|
|
|
147
147
|
end
|
|
148
148
|
end
|
|
149
149
|
|
|
150
|
-
# Access scope represents the client scope
|
|
151
|
-
# applied to.
|
|
150
|
+
# Access scope represents the client scope to which the settings are applied.
|
|
152
151
|
class AccessScope
|
|
153
152
|
include Google::Apis::Core::Hashable
|
|
154
153
|
|
|
155
|
-
# Client scope represents the application,
|
|
156
|
-
# restrictions.
|
|
154
|
+
# Client scope represents the application, project, or other resource subject to
|
|
155
|
+
# this binding's restrictions.
|
|
157
156
|
# Corresponds to the JSON property `clientScope`
|
|
158
157
|
# @return [Google::Apis::AccesscontextmanagerV1::ClientScope]
|
|
159
158
|
attr_accessor :client_scope
|
|
@@ -175,13 +174,13 @@ module Google
|
|
|
175
174
|
|
|
176
175
|
# Optional. Access level that a user must have to be granted access. Only one
|
|
177
176
|
# access level is supported, not multiple. This repeated field must have exactly
|
|
178
|
-
# one element. Example: "accessPolicies/9522/accessLevels/device_trusted"
|
|
177
|
+
# one element. Example: `"accessPolicies/9522/accessLevels/device_trusted"`
|
|
179
178
|
# Corresponds to the JSON property `accessLevels`
|
|
180
179
|
# @return [Array<String>]
|
|
181
180
|
attr_accessor :access_levels
|
|
182
181
|
|
|
183
|
-
# Stores settings related to Google Cloud Session Length including session
|
|
184
|
-
# duration, the type of challenge (
|
|
182
|
+
# Stores settings related to Google Cloud Session Length, including session
|
|
183
|
+
# duration, the type of challenge (that is, method) a user faces when their
|
|
185
184
|
# session expires, and other related settings.
|
|
186
185
|
# Corresponds to the JSON property `sessionSettings`
|
|
187
186
|
# @return [Google::Apis::AccesscontextmanagerV1::SessionSettings]
|
|
@@ -354,7 +353,7 @@ module Google
|
|
|
354
353
|
include Google::Apis::Core::Hashable
|
|
355
354
|
|
|
356
355
|
# The asset type of this authorized orgs desc. Valid values are `
|
|
357
|
-
# ASSET_TYPE_DEVICE
|
|
356
|
+
# ASSET_TYPE_DEVICE` and `ASSET_TYPE_CREDENTIAL_STRENGTH`.
|
|
358
357
|
# Corresponds to the JSON property `assetType`
|
|
359
358
|
# @return [String]
|
|
360
359
|
attr_accessor :asset_type
|
|
@@ -367,7 +366,7 @@ module Google
|
|
|
367
366
|
# orgs` field to evaluate the traffic in this organization. For the
|
|
368
367
|
# authorization relationship to take effect, all of the organizations must
|
|
369
368
|
# authorize and specify the appropriate relationship direction. For example, if
|
|
370
|
-
# organization A
|
|
369
|
+
# organization A authorizes organizations B and C to evaluate its traffic by
|
|
371
370
|
# specifying `AUTHORIZATION_DIRECTION_TO` as the authorization direction,
|
|
372
371
|
# organizations B and C must specify `AUTHORIZATION_DIRECTION_FROM` as the
|
|
373
372
|
# authorization direction in their `AuthorizedOrgsDesc` resource.
|
|
@@ -390,8 +389,8 @@ module Google
|
|
|
390
389
|
# @return [String]
|
|
391
390
|
attr_accessor :name
|
|
392
391
|
|
|
393
|
-
# The list of organization
|
|
394
|
-
# organizations/` Example: `organizations/123456`
|
|
392
|
+
# The list of organization IDs in this `AuthorizedOrgsDesc`. Format: `
|
|
393
|
+
# organizations/`org_number`` Example: `organizations/123456`
|
|
395
394
|
# Corresponds to the JSON property `orgs`
|
|
396
395
|
# @return [Array<String>]
|
|
397
396
|
attr_accessor :orgs
|
|
@@ -415,10 +414,10 @@ module Google
|
|
|
415
414
|
include Google::Apis::Core::Hashable
|
|
416
415
|
|
|
417
416
|
# How the `conditions` list should be combined to determine if a request is
|
|
418
|
-
# granted this `AccessLevel`. If AND is used, each `Condition` in `conditions`
|
|
419
|
-
# must be satisfied for the `AccessLevel` to be applied. If OR is used, at
|
|
420
|
-
# one `Condition` in `conditions` must be satisfied for the `AccessLevel`
|
|
421
|
-
# applied. Default behavior is AND
|
|
417
|
+
# granted this `AccessLevel`. If `AND` is used, each `Condition` in `conditions`
|
|
418
|
+
# must be satisfied for the `AccessLevel` to be applied. If `OR` is used, at
|
|
419
|
+
# least one `Condition` in `conditions` must be satisfied for the `AccessLevel`
|
|
420
|
+
# to be applied. Default behavior is `AND`.
|
|
422
421
|
# Corresponds to the JSON property `combiningFunction`
|
|
423
422
|
# @return [String]
|
|
424
423
|
attr_accessor :combining_function
|
|
@@ -553,8 +552,8 @@ module Google
|
|
|
553
552
|
end
|
|
554
553
|
end
|
|
555
554
|
|
|
556
|
-
# Client scope represents the application,
|
|
557
|
-
# restrictions.
|
|
555
|
+
# Client scope represents the application, project, or other resource subject to
|
|
556
|
+
# this binding's restrictions.
|
|
558
557
|
class ClientScope
|
|
559
558
|
include Google::Apis::Core::Hashable
|
|
560
559
|
|
|
@@ -563,8 +562,8 @@ module Google
|
|
|
563
562
|
# @return [Google::Apis::AccesscontextmanagerV1::Application]
|
|
564
563
|
attr_accessor :restricted_client_application
|
|
565
564
|
|
|
566
|
-
# A Google Cloud project
|
|
567
|
-
#
|
|
565
|
+
# A Google Cloud project that contains applications and resources that users can
|
|
566
|
+
# access.
|
|
568
567
|
# Corresponds to the JSON property `restrictedProject`
|
|
569
568
|
# @return [Google::Apis::AccesscontextmanagerV1::Project]
|
|
570
569
|
attr_accessor :restricted_project
|
|
@@ -625,33 +624,35 @@ module Google
|
|
|
625
624
|
end
|
|
626
625
|
end
|
|
627
626
|
|
|
628
|
-
# A condition necessary for an `AccessLevel` to be granted. The Condition is
|
|
629
|
-
# AND over its fields.
|
|
630
|
-
# of the listed subnetworks AND 2) the originating device complies with the
|
|
631
|
-
# listed device policy AND 3) all listed access levels are granted AND 4) the
|
|
632
|
-
# request was sent at a time allowed by the DateTimeRestriction
|
|
627
|
+
# A condition necessary for an `AccessLevel` to be granted. The `Condition` is
|
|
628
|
+
# an AND over its fields. A `Condition` is true if: 1) the request IP is from
|
|
629
|
+
# one of the listed subnetworks, AND 2) the originating device complies with the
|
|
630
|
+
# listed device policy, AND 3) all listed access levels are granted, AND 4) the
|
|
631
|
+
# request was sent at a time allowed by the `DateTimeRestriction`.
|
|
633
632
|
class Condition
|
|
634
633
|
include Google::Apis::Core::Hashable
|
|
635
634
|
|
|
636
|
-
# `DevicePolicy` specifies device
|
|
635
|
+
# `DevicePolicy` specifies device-specific restrictions necessary to acquire a
|
|
637
636
|
# given access level. A `DevicePolicy` specifies requirements for requests from
|
|
638
|
-
# devices to be granted access levels
|
|
637
|
+
# devices to be granted access levels; it does not do any enforcement on the
|
|
639
638
|
# device. `DevicePolicy` acts as an AND over all specified fields, and each
|
|
640
639
|
# repeated field is an OR over its elements. Any unset fields are ignored. For
|
|
641
|
-
# example, if the proto is
|
|
642
|
-
# encryption_status: ENCRYPTED
|
|
643
|
-
# originating from encrypted Linux desktops and encrypted Windows
|
|
640
|
+
# example, if the proto is `` os_type : DESKTOP_WINDOWS, os_type : DESKTOP_LINUX,
|
|
641
|
+
# encryption_status: ENCRYPTED``, then the `DevicePolicy` will be true for
|
|
642
|
+
# requests originating from encrypted Linux desktops and encrypted Windows
|
|
643
|
+
# desktops.
|
|
644
644
|
# Corresponds to the JSON property `devicePolicy`
|
|
645
645
|
# @return [Google::Apis::AccesscontextmanagerV1::DevicePolicy]
|
|
646
646
|
attr_accessor :device_policy
|
|
647
647
|
|
|
648
648
|
# CIDR block IP subnetwork specification. May be IPv4 or IPv6. Note that for a
|
|
649
649
|
# CIDR IP address block, the specified IP address portion must be properly
|
|
650
|
-
# truncated (
|
|
651
|
-
# malformed. For example, "192.0.2.0/24" is accepted but "192.0.2.1/24" is
|
|
652
|
-
# Similarly, for IPv6, "2001:db8::/32" is accepted whereas "2001:db8::1/
|
|
653
|
-
# not. The originating IP of a request must be in one of the listed
|
|
654
|
-
# order for this Condition to be true. If empty, all IP addresses
|
|
650
|
+
# truncated (that is, all the host bits must be zero) or the input is considered
|
|
651
|
+
# malformed. For example, `"192.0.2.0/24"` is accepted, but `"192.0.2.1/24"` is
|
|
652
|
+
# not. Similarly, for IPv6, `"2001:db8::/32"` is accepted, whereas `"2001:db8::1/
|
|
653
|
+
# 32"` is not. The originating IP of a request must be in one of the listed
|
|
654
|
+
# subnets in order for this `Condition` to be true. If empty, all IP addresses
|
|
655
|
+
# are allowed.
|
|
655
656
|
# Corresponds to the JSON property `ipSubnetworks`
|
|
656
657
|
# @return [Array<String>]
|
|
657
658
|
attr_accessor :ip_subnetworks
|
|
@@ -663,9 +664,9 @@ module Google
|
|
|
663
664
|
# @return [Array<String>]
|
|
664
665
|
attr_accessor :members
|
|
665
666
|
|
|
666
|
-
# Whether to negate the Condition
|
|
667
|
-
# its non-empty fields. Any non-empty field criteria evaluating to false
|
|
668
|
-
# result in the Condition
|
|
667
|
+
# Whether to negate the `Condition`. If `true`, the `Condition` becomes a NAND
|
|
668
|
+
# over its non-empty fields. Any non-empty field criteria evaluating to `false`
|
|
669
|
+
# will result in the `Condition` being satisfied. Defaults to `false`.
|
|
669
670
|
# Corresponds to the JSON property `negate`
|
|
670
671
|
# @return [Boolean]
|
|
671
672
|
attr_accessor :negate
|
|
@@ -678,9 +679,9 @@ module Google
|
|
|
678
679
|
attr_accessor :regions
|
|
679
680
|
|
|
680
681
|
# A list of other access levels defined in the same `Policy`, referenced by
|
|
681
|
-
# resource name. Referencing an `AccessLevel`
|
|
682
|
-
# All access levels listed must be granted for the Condition to be true.
|
|
683
|
-
# "
|
|
682
|
+
# resource name. Referencing an `AccessLevel` that does not exist is an error.
|
|
683
|
+
# All access levels listed must be granted for the `Condition` to be true.
|
|
684
|
+
# Example: `"accessPolicies/MY_POLICY/accessLevels/LEVEL_NAME"`
|
|
684
685
|
# Corresponds to the JSON property `requiredAccessLevels`
|
|
685
686
|
# @return [Array<String>]
|
|
686
687
|
attr_accessor :required_access_levels
|
|
@@ -742,28 +743,29 @@ module Google
|
|
|
742
743
|
end
|
|
743
744
|
end
|
|
744
745
|
|
|
745
|
-
# `DevicePolicy` specifies device
|
|
746
|
+
# `DevicePolicy` specifies device-specific restrictions necessary to acquire a
|
|
746
747
|
# given access level. A `DevicePolicy` specifies requirements for requests from
|
|
747
|
-
# devices to be granted access levels
|
|
748
|
+
# devices to be granted access levels; it does not do any enforcement on the
|
|
748
749
|
# device. `DevicePolicy` acts as an AND over all specified fields, and each
|
|
749
750
|
# repeated field is an OR over its elements. Any unset fields are ignored. For
|
|
750
|
-
# example, if the proto is
|
|
751
|
-
# encryption_status: ENCRYPTED
|
|
752
|
-
# originating from encrypted Linux desktops and encrypted Windows
|
|
751
|
+
# example, if the proto is `` os_type : DESKTOP_WINDOWS, os_type : DESKTOP_LINUX,
|
|
752
|
+
# encryption_status: ENCRYPTED``, then the `DevicePolicy` will be true for
|
|
753
|
+
# requests originating from encrypted Linux desktops and encrypted Windows
|
|
754
|
+
# desktops.
|
|
753
755
|
class DevicePolicy
|
|
754
756
|
include Google::Apis::Core::Hashable
|
|
755
757
|
|
|
756
|
-
# Allowed device management levels
|
|
758
|
+
# Allowed device management levels. An empty list allows all management levels.
|
|
757
759
|
# Corresponds to the JSON property `allowedDeviceManagementLevels`
|
|
758
760
|
# @return [Array<String>]
|
|
759
761
|
attr_accessor :allowed_device_management_levels
|
|
760
762
|
|
|
761
|
-
# Allowed
|
|
763
|
+
# Allowed encryption statuses. An empty list allows all statuses.
|
|
762
764
|
# Corresponds to the JSON property `allowedEncryptionStatuses`
|
|
763
765
|
# @return [Array<String>]
|
|
764
766
|
attr_accessor :allowed_encryption_statuses
|
|
765
767
|
|
|
766
|
-
# Allowed OS versions
|
|
768
|
+
# Allowed OS versions. An empty list allows all types and all versions.
|
|
767
769
|
# Corresponds to the JSON property `osConstraints`
|
|
768
770
|
# @return [Array<Google::Apis::AccesscontextmanagerV1::OsConstraint>]
|
|
769
771
|
attr_accessor :os_constraints
|
|
@@ -774,13 +776,13 @@ module Google
|
|
|
774
776
|
attr_accessor :require_admin_approval
|
|
775
777
|
alias_method :require_admin_approval?, :require_admin_approval
|
|
776
778
|
|
|
777
|
-
# Whether the device needs to be corp
|
|
779
|
+
# Whether the device needs to be corp-owned.
|
|
778
780
|
# Corresponds to the JSON property `requireCorpOwned`
|
|
779
781
|
# @return [Boolean]
|
|
780
782
|
attr_accessor :require_corp_owned
|
|
781
783
|
alias_method :require_corp_owned?, :require_corp_owned
|
|
782
784
|
|
|
783
|
-
# Whether or not screenlock is required for the DevicePolicy to be true.
|
|
785
|
+
# Whether or not screenlock is required for the `DevicePolicy` to be true.
|
|
784
786
|
# Defaults to `false`.
|
|
785
787
|
# Corresponds to the JSON property `requireScreenlock`
|
|
786
788
|
# @return [Boolean]
|
|
@@ -803,10 +805,10 @@ module Google
|
|
|
803
805
|
end
|
|
804
806
|
|
|
805
807
|
# Defines the conditions under which an EgressPolicy matches a request.
|
|
806
|
-
# Conditions based on information about the source of the request. Note that
|
|
807
|
-
# the destination of the request is also protected by a ServicePerimeter,
|
|
808
|
-
# that ServicePerimeter must have an IngressPolicy which allows access in
|
|
809
|
-
# for this request to succeed.
|
|
808
|
+
# Conditions are based on information about the source of the request. Note that
|
|
809
|
+
# if the destination of the request is also protected by a ServicePerimeter,
|
|
810
|
+
# then that ServicePerimeter must have an IngressPolicy which allows access in
|
|
811
|
+
# order for this request to succeed.
|
|
810
812
|
class EgressFrom
|
|
811
813
|
include Google::Apis::Core::Hashable
|
|
812
814
|
|
|
@@ -827,7 +829,7 @@ module Google
|
|
|
827
829
|
attr_accessor :identity_type
|
|
828
830
|
|
|
829
831
|
# Whether to enforce traffic restrictions based on `sources` field. If the `
|
|
830
|
-
# sources`
|
|
832
|
+
# sources` field is not empty, then this field must be set to `
|
|
831
833
|
# SOURCE_RESTRICTION_ENABLED`.
|
|
832
834
|
# Corresponds to the JSON property `sourceRestriction`
|
|
833
835
|
# @return [String]
|
|
@@ -860,18 +862,18 @@ module Google
|
|
|
860
862
|
# within the ServicePerimeter to access a defined set of projects outside the
|
|
861
863
|
# perimeter in certain contexts (e.g. to read data from a Cloud Storage bucket
|
|
862
864
|
# or query against a BigQuery dataset). EgressPolicies are concerned with the *
|
|
863
|
-
# resources* that a request relates as well as the API services and API
|
|
864
|
-
# being used. They do not
|
|
865
|
+
# resources* that a request relates to, as well as the API services and API
|
|
866
|
+
# actions being used. They do not relate to the direction of data movement. More
|
|
865
867
|
# detailed documentation for this concept can be found in the descriptions of
|
|
866
868
|
# EgressFrom and EgressTo.
|
|
867
869
|
class EgressPolicy
|
|
868
870
|
include Google::Apis::Core::Hashable
|
|
869
871
|
|
|
870
872
|
# Defines the conditions under which an EgressPolicy matches a request.
|
|
871
|
-
# Conditions based on information about the source of the request. Note that
|
|
872
|
-
# the destination of the request is also protected by a ServicePerimeter,
|
|
873
|
-
# that ServicePerimeter must have an IngressPolicy which allows access in
|
|
874
|
-
# for this request to succeed.
|
|
873
|
+
# Conditions are based on information about the source of the request. Note that
|
|
874
|
+
# if the destination of the request is also protected by a ServicePerimeter,
|
|
875
|
+
# then that ServicePerimeter must have an IngressPolicy which allows access in
|
|
876
|
+
# order for this request to succeed.
|
|
875
877
|
# Corresponds to the JSON property `egressFrom`
|
|
876
878
|
# @return [Google::Apis::AccesscontextmanagerV1::EgressFrom]
|
|
877
879
|
attr_accessor :egress_from
|
|
@@ -888,7 +890,7 @@ module Google
|
|
|
888
890
|
attr_accessor :egress_to
|
|
889
891
|
|
|
890
892
|
# Optional. Human-readable title for the egress rule. The title must be unique
|
|
891
|
-
# within the perimeter and
|
|
893
|
+
# within the perimeter and cannot exceed 100 characters. Within the access
|
|
892
894
|
# policy, the combined length of all rule titles must not exceed 240,000
|
|
893
895
|
# characters.
|
|
894
896
|
# Corresponds to the JSON property `title`
|
|
@@ -931,8 +933,9 @@ module Google
|
|
|
931
933
|
|
|
932
934
|
# A Google Cloud resource from the service perimeter that you want to allow to
|
|
933
935
|
# access data outside the perimeter. This field supports projects, folders, and
|
|
934
|
-
# organizations in the form `projects
|
|
935
|
-
# can't use `*` in this field to
|
|
936
|
+
# organizations in the form `projects/`project_number``, `folders/`folder_id``,
|
|
937
|
+
# and `organizations/`organization_id``. You can't use `*` in this field to
|
|
938
|
+
# allow all Google Cloud resources.
|
|
936
939
|
# Corresponds to the JSON property `resource`
|
|
937
940
|
# @return [String]
|
|
938
941
|
attr_accessor :resource
|
|
@@ -960,11 +963,11 @@ module Google
|
|
|
960
963
|
include Google::Apis::Core::Hashable
|
|
961
964
|
|
|
962
965
|
# A list of external resources that are allowed to be accessed. Only AWS and
|
|
963
|
-
# Azure resources are supported. For Amazon S3, the supported formats are s3://
|
|
964
|
-
# BUCKET_NAME
|
|
965
|
-
# supported format is azure://myaccount.blob.core.windows.net/
|
|
966
|
-
# request matches if it contains an external resource in this
|
|
967
|
-
#
|
|
966
|
+
# Azure resources are supported. For Amazon S3, the supported formats are `s3://
|
|
967
|
+
# BUCKET_NAME`, `s3a://BUCKET_NAME`, and `s3n://BUCKET_NAME`. For Azure Storage,
|
|
968
|
+
# the supported format is `azure://myaccount.blob.core.windows.net/
|
|
969
|
+
# CONTAINER_NAME`. A request matches if it contains an external resource in this
|
|
970
|
+
# list (Example: `s3://bucket/path`). Currently `'*'` is not allowed.
|
|
968
971
|
# Corresponds to the JSON property `externalResources`
|
|
969
972
|
# @return [Array<String>]
|
|
970
973
|
attr_accessor :external_resources
|
|
@@ -977,17 +980,17 @@ module Google
|
|
|
977
980
|
attr_accessor :operations
|
|
978
981
|
|
|
979
982
|
# A list of resources, currently projects, folders, and organizations in the
|
|
980
|
-
# form `projects
|
|
981
|
-
# accessed by sources defined in the
|
|
982
|
-
# if it contains a resource in this
|
|
983
|
-
#
|
|
984
|
-
# perimeter.
|
|
983
|
+
# form `projects/`project_number``, `folders/`folder_id``, and `organizations/`
|
|
984
|
+
# organization_id``, that are allowed to be accessed by sources defined in the
|
|
985
|
+
# corresponding EgressFrom. A request matches if it contains a resource in this
|
|
986
|
+
# list. If `*` is specified for `resources`, then this EgressTo rule will
|
|
987
|
+
# authorize access to all resources outside the perimeter.
|
|
985
988
|
# Corresponds to the JSON property `resources`
|
|
986
989
|
# @return [Array<String>]
|
|
987
990
|
attr_accessor :resources
|
|
988
991
|
|
|
989
992
|
# IAM roles that represent the set of operations that the sources specified in
|
|
990
|
-
# the corresponding EgressFrom
|
|
993
|
+
# the corresponding EgressFrom are allowed to perform in this ServicePerimeter.
|
|
991
994
|
# Corresponds to the JSON property `roles`
|
|
992
995
|
# @return [Array<String>]
|
|
993
996
|
attr_accessor :roles
|
|
@@ -1082,25 +1085,25 @@ module Google
|
|
|
1082
1085
|
|
|
1083
1086
|
# Optional. Access level that a user must have to be granted access. Only one
|
|
1084
1087
|
# access level is supported, not multiple. This repeated field must have exactly
|
|
1085
|
-
# one element. Example: "accessPolicies/9522/accessLevels/device_trusted"
|
|
1088
|
+
# one element. Example: `"accessPolicies/9522/accessLevels/device_trusted"`
|
|
1086
1089
|
# Corresponds to the JSON property `accessLevels`
|
|
1087
1090
|
# @return [Array<String>]
|
|
1088
1091
|
attr_accessor :access_levels
|
|
1089
1092
|
|
|
1090
|
-
# Optional. Dry
|
|
1091
|
-
#
|
|
1092
|
-
#
|
|
1093
|
-
#
|
|
1093
|
+
# Optional. Dry-run access level that is evaluated, but not enforced. Any access
|
|
1094
|
+
# denial based on the dry-run policy is logged. Only one access level is
|
|
1095
|
+
# supported, not multiple. This list must have exactly one element. Example: `"
|
|
1096
|
+
# accessPolicies/9522/accessLevels/device_trusted"`
|
|
1094
1097
|
# Corresponds to the JSON property `dryRunAccessLevels`
|
|
1095
1098
|
# @return [Array<String>]
|
|
1096
1099
|
attr_accessor :dry_run_access_levels
|
|
1097
1100
|
|
|
1098
|
-
# Optional. Immutable. Google Group
|
|
1101
|
+
# Optional. Immutable. Google Group ID whose users are subject to this binding's
|
|
1099
1102
|
# restrictions. See "id" in the [Google Workspace Directory API's Group Resource]
|
|
1100
1103
|
# (https://developers.google.com/admin-sdk/directory/v1/reference/groups#
|
|
1101
|
-
# resource). If a group's email address
|
|
1104
|
+
# resource). If a group's email address or alias is changed, this resource will
|
|
1102
1105
|
# continue to point at the changed group. This field does not accept group email
|
|
1103
|
-
# addresses or aliases. Example: "01d520gv4vjcrht"
|
|
1106
|
+
# addresses or aliases. Example: `"01d520gv4vjcrht"`
|
|
1104
1107
|
# Corresponds to the JSON property `groupKey`
|
|
1105
1108
|
# @return [String]
|
|
1106
1109
|
attr_accessor :group_key
|
|
@@ -1108,8 +1111,8 @@ module Google
|
|
|
1108
1111
|
# Immutable. Assigned by the server during creation. The last segment has an
|
|
1109
1112
|
# arbitrary length and has only URI unreserved characters (as defined by [RFC
|
|
1110
1113
|
# 3986 Section 2.3](https://tools.ietf.org/html/rfc3986#section-2.3)). Should
|
|
1111
|
-
# not be specified by the client during creation. Example: "organizations/256/
|
|
1112
|
-
# gcpUserAccessBindings/b3-BhcX_Ud5N"
|
|
1114
|
+
# not be specified by the client during creation. Example: `"organizations/256/
|
|
1115
|
+
# gcpUserAccessBindings/b3-BhcX_Ud5N"`
|
|
1113
1116
|
# Corresponds to the JSON property `name`
|
|
1114
1117
|
# @return [String]
|
|
1115
1118
|
attr_accessor :name
|
|
@@ -1127,8 +1130,8 @@ module Google
|
|
|
1127
1130
|
# @return [Array<Google::Apis::AccesscontextmanagerV1::ScopedAccessSettings>]
|
|
1128
1131
|
attr_accessor :scoped_access_settings
|
|
1129
1132
|
|
|
1130
|
-
# Stores settings related to Google Cloud Session Length including session
|
|
1131
|
-
# duration, the type of challenge (
|
|
1133
|
+
# Stores settings related to Google Cloud Session Length, including session
|
|
1134
|
+
# duration, the type of challenge (that is, method) a user faces when their
|
|
1132
1135
|
# session expires, and other related settings.
|
|
1133
1136
|
# Corresponds to the JSON property `sessionSettings`
|
|
1134
1137
|
# @return [Google::Apis::AccesscontextmanagerV1::SessionSettings]
|
|
@@ -1280,7 +1283,7 @@ module Google
|
|
|
1280
1283
|
attr_accessor :ingress_to
|
|
1281
1284
|
|
|
1282
1285
|
# Optional. Human-readable title for the ingress rule. The title must be unique
|
|
1283
|
-
# within the perimeter and
|
|
1286
|
+
# within the perimeter and cannot exceed 100 characters. Within the access
|
|
1284
1287
|
# policy, the combined length of all rule titles must not exceed 240,000
|
|
1285
1288
|
# characters.
|
|
1286
1289
|
# Corresponds to the JSON property `title`
|
|
@@ -1303,14 +1306,14 @@ module Google
|
|
|
1303
1306
|
class IngressSource
|
|
1304
1307
|
include Google::Apis::Core::Hashable
|
|
1305
1308
|
|
|
1306
|
-
# An AccessLevel resource name that
|
|
1307
|
-
# to be accessed from the internet. AccessLevels listed must
|
|
1308
|
-
# policy as this ServicePerimeter. Referencing a nonexistent
|
|
1309
|
-
# cause an error. If no AccessLevel names are listed, resources
|
|
1310
|
-
# perimeter can only be accessed via Google Cloud calls with request
|
|
1311
|
-
# within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/
|
|
1312
|
-
#
|
|
1313
|
-
# will be allowed.
|
|
1309
|
+
# An AccessLevel resource name that allows resources within the
|
|
1310
|
+
# ServicePerimeters to be accessed from the internet. AccessLevels listed must
|
|
1311
|
+
# be in the same policy as this ServicePerimeter. Referencing a nonexistent
|
|
1312
|
+
# AccessLevel will cause an error. If no AccessLevel names are listed, resources
|
|
1313
|
+
# within the perimeter can only be accessed via Google Cloud calls with request
|
|
1314
|
+
# origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/
|
|
1315
|
+
# MY_LEVEL`. If a single `*` is specified for `access_level`, then all
|
|
1316
|
+
# IngressSources will be allowed.
|
|
1314
1317
|
# Corresponds to the JSON property `accessLevel`
|
|
1315
1318
|
# @return [String]
|
|
1316
1319
|
attr_accessor :access_level
|
|
@@ -1362,7 +1365,7 @@ module Google
|
|
|
1362
1365
|
# form `projects/`project_number``, `folders/`folder_id``, and `organizations/`
|
|
1363
1366
|
# organization_id``, protected by this ServicePerimeter that are allowed to be
|
|
1364
1367
|
# accessed by sources defined in the corresponding IngressFrom. If a single `*`
|
|
1365
|
-
# is specified, then access to all resources inside the perimeter
|
|
1368
|
+
# is specified, then access to all resources inside the perimeter is allowed.
|
|
1366
1369
|
# Corresponds to the JSON property `resources`
|
|
1367
1370
|
# @return [Array<String>]
|
|
1368
1371
|
attr_accessor :resources
|
|
@@ -1604,14 +1607,14 @@ module Google
|
|
|
1604
1607
|
class LookupConfiguredServicePerimeterResponse
|
|
1605
1608
|
include Google::Apis::Core::Hashable
|
|
1606
1609
|
|
|
1607
|
-
# The resource (
|
|
1608
|
-
# restricted by the enforced perimeter.
|
|
1610
|
+
# The resource (for example, `projects/123` or `folders/456`) that directly owns
|
|
1611
|
+
# or is restricted by the enforced perimeter.
|
|
1609
1612
|
# Corresponds to the JSON property `restrictedResource`
|
|
1610
1613
|
# @return [String]
|
|
1611
1614
|
attr_accessor :restricted_resource
|
|
1612
1615
|
|
|
1613
|
-
# The resource (
|
|
1614
|
-
# restricted by the dry-run perimeter.
|
|
1616
|
+
# The resource (for example, `projects/123` or `folders/456`) that directly owns
|
|
1617
|
+
# or is restricted by the dry-run perimeter.
|
|
1615
1618
|
# Corresponds to the JSON property `restrictedResourceDryRun`
|
|
1616
1619
|
# @return [String]
|
|
1617
1620
|
attr_accessor :restricted_resource_dry_run
|
|
@@ -1768,8 +1771,8 @@ module Google
|
|
|
1768
1771
|
# @return [String]
|
|
1769
1772
|
attr_accessor :os_type
|
|
1770
1773
|
|
|
1771
|
-
# Only allows requests from devices with a verified Chrome OS.
|
|
1772
|
-
# includes requirements that the device is enterprise-managed,
|
|
1774
|
+
# Only allows requests from devices with a verified Chrome OS. Verification
|
|
1775
|
+
# includes requirements that the device is enterprise-managed, conforms to
|
|
1773
1776
|
# domain policies, and the caller has permission to call the API targeted by the
|
|
1774
1777
|
# request.
|
|
1775
1778
|
# Corresponds to the JSON property `requireVerifiedChromeOs`
|
|
@@ -1907,11 +1910,11 @@ module Google
|
|
|
1907
1910
|
attr_accessor :federated_principal
|
|
1908
1911
|
|
|
1909
1912
|
# Immutable. Service account email used to assign policies to a specific service
|
|
1910
|
-
# account. If a service account is subject to multiple policies (
|
|
1911
|
-
# is a policy for all service accounts in a project and a policy for the
|
|
1912
|
-
# account), the closest (
|
|
1913
|
-
# the dry-run functionality and the closest enforcement policy
|
|
1914
|
-
#
|
|
1913
|
+
# account. If a service account is subject to multiple policies (for example, if
|
|
1914
|
+
# there is a policy for all service accounts in a project and a policy for the
|
|
1915
|
+
# service account), the closest (that is, the most specific) dry-run policy is
|
|
1916
|
+
# used for the dry-run functionality and the closest enforcement policy is used
|
|
1917
|
+
# for enforcement.
|
|
1915
1918
|
# Corresponds to the JSON property `serviceAccount`
|
|
1916
1919
|
# @return [String]
|
|
1917
1920
|
attr_accessor :service_account
|
|
@@ -1955,8 +1958,8 @@ module Google
|
|
|
1955
1958
|
end
|
|
1956
1959
|
end
|
|
1957
1960
|
|
|
1958
|
-
# A Google Cloud project
|
|
1959
|
-
#
|
|
1961
|
+
# A Google Cloud project that contains applications and resources that users can
|
|
1962
|
+
# access.
|
|
1960
1963
|
class Project
|
|
1961
1964
|
include Google::Apis::Core::Hashable
|
|
1962
1965
|
|
|
@@ -2080,7 +2083,7 @@ module Google
|
|
|
2080
2083
|
end
|
|
2081
2084
|
end
|
|
2082
2085
|
|
|
2083
|
-
# A relationship between access settings and
|
|
2086
|
+
# A relationship between access settings and their scope.
|
|
2084
2087
|
class ScopedAccessSettings
|
|
2085
2088
|
include Google::Apis::Core::Hashable
|
|
2086
2089
|
|
|
@@ -2096,8 +2099,7 @@ module Google
|
|
|
2096
2099
|
# @return [Google::Apis::AccesscontextmanagerV1::AccessSettings]
|
|
2097
2100
|
attr_accessor :dry_run_settings
|
|
2098
2101
|
|
|
2099
|
-
# Access scope represents the client scope
|
|
2100
|
-
# applied to.
|
|
2102
|
+
# Access scope represents the client scope to which the settings are applied.
|
|
2101
2103
|
# Corresponds to the JSON property `scope`
|
|
2102
2104
|
# @return [Google::Apis::AccesscontextmanagerV1::AccessScope]
|
|
2103
2105
|
attr_accessor :scope
|
|
@@ -2123,8 +2125,8 @@ module Google
|
|
|
2123
2125
|
# @return [Array<Google::Apis::AccesscontextmanagerV1::Modifier>]
|
|
2124
2126
|
attr_accessor :modifiers
|
|
2125
2127
|
|
|
2126
|
-
# URL pattern to allow. Only patterns of ".googleapis.com/*"
|
|
2127
|
-
# com//*" and "*.appspot.com/* forms are supported, where should be an
|
|
2128
|
+
# URL pattern to allow. Only patterns of `".googleapis.com/*"`, `"www.googleapis.
|
|
2129
|
+
# com//*"`, and `"*.appspot.com/*"` forms are supported, where `` should be an
|
|
2128
2130
|
# alphanumeric name.
|
|
2129
2131
|
# Corresponds to the JSON property `pattern`
|
|
2130
2132
|
# @return [String]
|
|
@@ -2182,8 +2184,8 @@ module Google
|
|
|
2182
2184
|
attr_accessor :name
|
|
2183
2185
|
|
|
2184
2186
|
# Perimeter type indicator. A single project or VPC network is allowed to be a
|
|
2185
|
-
# member of single regular perimeter, but multiple service perimeter bridges.
|
|
2186
|
-
# project cannot be
|
|
2187
|
+
# member of a single regular perimeter, but multiple service perimeter bridges.
|
|
2188
|
+
# A project cannot be included in a perimeter bridge without being included in a
|
|
2187
2189
|
# regular perimeter. For perimeter bridges, the restricted service list as well
|
|
2188
2190
|
# as access level lists must be empty.
|
|
2189
2191
|
# Corresponds to the JSON property `perimeterType`
|
|
@@ -2214,8 +2216,9 @@ module Google
|
|
|
2214
2216
|
# ("spec") to use in a dry-run version of the Service Perimeter. This allows the
|
|
2215
2217
|
# user to test changes to the enforced config ("status") without actually
|
|
2216
2218
|
# enforcing them. This testing is done through analyzing the differences between
|
|
2217
|
-
# currently enforced and suggested restrictions. use_explicit_dry_run_spec
|
|
2218
|
-
#
|
|
2219
|
+
# currently enforced and suggested restrictions. `use_explicit_dry_run_spec`
|
|
2220
|
+
# must be set to `true` if any of the fields in the spec are set to non-default
|
|
2221
|
+
# values.
|
|
2219
2222
|
# Corresponds to the JSON property `useExplicitDryRunSpec`
|
|
2220
2223
|
# @return [Boolean]
|
|
2221
2224
|
attr_accessor :use_explicit_dry_run_spec
|
|
@@ -2303,8 +2306,8 @@ module Google
|
|
|
2303
2306
|
end
|
|
2304
2307
|
end
|
|
2305
2308
|
|
|
2306
|
-
# Stores settings related to Google Cloud Session Length including session
|
|
2307
|
-
# duration, the type of challenge (
|
|
2309
|
+
# Stores settings related to Google Cloud Session Length, including session
|
|
2310
|
+
# duration, the type of challenge (that is, method) a user faces when their
|
|
2308
2311
|
# session expires, and other related settings.
|
|
2309
2312
|
class SessionSettings
|
|
2310
2313
|
include Google::Apis::Core::Hashable
|
|
@@ -2319,30 +2322,30 @@ module Google
|
|
|
2319
2322
|
# that are active indefinitely. Also, setting `session_length_enabled` to `false`
|
|
2320
2323
|
# disregards session limits, which means that sessions never expire. If `
|
|
2321
2324
|
# use_oidc_max_age` is `true`, for OIDC apps, the session length will be the
|
|
2322
|
-
# minimum of this field and the OIDC `max_age`
|
|
2323
|
-
# zero, `session_length_enabled` must be set to `false` or left unset.
|
|
2325
|
+
# minimum of this field and the OIDC `max_age` parameter. If this field is set
|
|
2326
|
+
# to zero, `session_length_enabled` must be set to `false` or left unset.
|
|
2324
2327
|
# Corresponds to the JSON property `sessionLength`
|
|
2325
2328
|
# @return [String]
|
|
2326
2329
|
attr_accessor :session_length
|
|
2327
2330
|
|
|
2328
|
-
# Optional. This field enables or disables Google Cloud session length. When
|
|
2329
|
-
# false
|
|
2330
|
-
#
|
|
2331
|
-
# to false
|
|
2331
|
+
# Optional. This field enables or disables Google Cloud session length. When `
|
|
2332
|
+
# false`, all fields set above are disregarded and the session length is
|
|
2333
|
+
# effectively infinite. If `session_length` is set to zero, this field must be
|
|
2334
|
+
# set to `false`.
|
|
2332
2335
|
# Corresponds to the JSON property `sessionLengthEnabled`
|
|
2333
2336
|
# @return [Boolean]
|
|
2334
2337
|
attr_accessor :session_length_enabled
|
|
2335
2338
|
alias_method :session_length_enabled?, :session_length_enabled
|
|
2336
2339
|
|
|
2337
|
-
# Optional. Session method when user's Google Cloud session
|
|
2340
|
+
# Optional. Session challenge method when a user's Google Cloud session expires.
|
|
2338
2341
|
# Corresponds to the JSON property `sessionReauthMethod`
|
|
2339
2342
|
# @return [String]
|
|
2340
2343
|
attr_accessor :session_reauth_method
|
|
2341
2344
|
|
|
2342
|
-
# Optional. Only useful for OIDC apps. When false
|
|
2343
|
-
# passed in the authentication request
|
|
2344
|
-
# period
|
|
2345
|
-
#
|
|
2345
|
+
# Optional. Only useful for OIDC apps. When `false`, the OIDC `max_age`
|
|
2346
|
+
# parameter, if passed in the authentication request, is ignored. When `true`,
|
|
2347
|
+
# the re-authentication period is the minimum of the `session_length` field and
|
|
2348
|
+
# the `max_age` OIDC parameter.
|
|
2346
2349
|
# Corresponds to the JSON property `useOidcMaxAge`
|
|
2347
2350
|
# @return [Boolean]
|
|
2348
2351
|
attr_accessor :use_oidc_max_age
|
|
@@ -2454,7 +2457,8 @@ module Google
|
|
|
2454
2457
|
end
|
|
2455
2458
|
end
|
|
2456
2459
|
|
|
2457
|
-
# `SupportedService` specifies
|
|
2460
|
+
# `SupportedService` specifies a service supported by VPC Service Controls and
|
|
2461
|
+
# its properties.
|
|
2458
2462
|
class SupportedService
|
|
2459
2463
|
include Google::Apis::Core::Hashable
|
|
2460
2464
|
|
|
@@ -2490,13 +2494,13 @@ module Google
|
|
|
2490
2494
|
# @return [String]
|
|
2491
2495
|
attr_accessor :support_stage
|
|
2492
2496
|
|
|
2493
|
-
# The list of
|
|
2494
|
-
# GetSupportedService
|
|
2497
|
+
# The list of supported methods. This field exists only in response to
|
|
2498
|
+
# GetSupportedService.
|
|
2495
2499
|
# Corresponds to the JSON property `supportedMethods`
|
|
2496
2500
|
# @return [Array<Google::Apis::AccesscontextmanagerV1::MethodSelector>]
|
|
2497
2501
|
attr_accessor :supported_methods
|
|
2498
2502
|
|
|
2499
|
-
# The name of the supported product, such as 'Cloud Product API'
|
|
2503
|
+
# The name of the supported product, such as `'Cloud Product API'`.
|
|
2500
2504
|
# Corresponds to the JSON property `title`
|
|
2501
2505
|
# @return [String]
|
|
2502
2506
|
attr_accessor :title
|
|
@@ -2567,16 +2571,16 @@ module Google
|
|
|
2567
2571
|
# @return [Array<Google::Apis::AccesscontextmanagerV1::ServicePattern>]
|
|
2568
2572
|
attr_accessor :allowed_service_patterns
|
|
2569
2573
|
|
|
2570
|
-
# The list of APIs usable within the Service Perimeter. Must be empty unless
|
|
2571
|
-
# enable_restriction
|
|
2572
|
-
# well as include the 'RESTRICTED-SERVICES' value, which automatically
|
|
2573
|
-
# all of the services protected by the perimeter.
|
|
2574
|
+
# The list of APIs usable within the Service Perimeter. Must be empty unless `
|
|
2575
|
+
# enable_restriction` is `true`. You can specify a list of individual services,
|
|
2576
|
+
# as well as include the `'RESTRICTED-SERVICES'` value, which automatically
|
|
2577
|
+
# includes all of the services protected by the perimeter.
|
|
2574
2578
|
# Corresponds to the JSON property `allowedServices`
|
|
2575
2579
|
# @return [Array<String>]
|
|
2576
2580
|
attr_accessor :allowed_services
|
|
2577
2581
|
|
|
2578
2582
|
# Whether to restrict API calls within the Service Perimeter to the list of APIs
|
|
2579
|
-
# specified in
|
|
2583
|
+
# specified in `allowed_services`.
|
|
2580
2584
|
# Corresponds to the JSON property `enableRestriction`
|
|
2581
2585
|
# @return [Boolean]
|
|
2582
2586
|
attr_accessor :enable_restriction
|
|
@@ -2604,7 +2608,7 @@ module Google
|
|
|
2604
2608
|
class VpcNetworkSource
|
|
2605
2609
|
include Google::Apis::Core::Hashable
|
|
2606
2610
|
|
|
2607
|
-
# Sub-segment ranges inside of a VPC
|
|
2611
|
+
# Sub-segment ranges inside of a VPC network.
|
|
2608
2612
|
# Corresponds to the JSON property `vpcSubnetwork`
|
|
2609
2613
|
# @return [Google::Apis::AccesscontextmanagerV1::VpcSubNetwork]
|
|
2610
2614
|
attr_accessor :vpc_subnetwork
|
|
@@ -2619,7 +2623,7 @@ module Google
|
|
|
2619
2623
|
end
|
|
2620
2624
|
end
|
|
2621
2625
|
|
|
2622
|
-
# Sub-segment ranges inside of a VPC
|
|
2626
|
+
# Sub-segment ranges inside of a VPC network.
|
|
2623
2627
|
class VpcSubNetwork
|
|
2624
2628
|
include Google::Apis::Core::Hashable
|
|
2625
2629
|
|
|
@@ -2634,10 +2638,10 @@ module Google
|
|
|
2634
2638
|
|
|
2635
2639
|
# CIDR block IP subnetwork specification. The IP address must be an IPv4 address
|
|
2636
2640
|
# and can be a public or private IP address. Note that for a CIDR IP address
|
|
2637
|
-
# block, the specified IP address portion must be properly truncated (
|
|
2638
|
-
# the host bits must be zero) or the input is considered malformed. For
|
|
2639
|
-
# "192.0.2.0/24" is accepted but "192.0.2.1/24" is not. If empty,
|
|
2640
|
-
# addresses are allowed.
|
|
2641
|
+
# block, the specified IP address portion must be properly truncated (that is,
|
|
2642
|
+
# all the host bits must be zero) or the input is considered malformed. For
|
|
2643
|
+
# example, `"192.0.2.0/24"` is accepted, but `"192.0.2.1/24"` is not. If empty,
|
|
2644
|
+
# all IP addresses are allowed.
|
|
2641
2645
|
# Corresponds to the JSON property `vpcIpSubnetworks`
|
|
2642
2646
|
# @return [Array<String>]
|
|
2643
2647
|
attr_accessor :vpc_ip_subnetworks
|
|
@@ -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.75.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.19.1"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20261027"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -97,7 +97,7 @@ module Google
|
|
|
97
97
|
# operation has a successful status after the access policy is removed from long-
|
|
98
98
|
# lasting storage.
|
|
99
99
|
# @param [String] name
|
|
100
|
-
# Required. Resource name for the access policy to delete. Format `
|
|
100
|
+
# Required. Resource name for the access policy to delete. Format: `
|
|
101
101
|
# accessPolicies/`policy_id``
|
|
102
102
|
# @param [String] fields
|
|
103
103
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -128,7 +128,7 @@ module Google
|
|
|
128
128
|
|
|
129
129
|
# Returns an access policy based on the name.
|
|
130
130
|
# @param [String] name
|
|
131
|
-
# Required. Resource name for the access policy to get. Format `accessPolicies/`
|
|
131
|
+
# Required. Resource name for the access policy to get. Format: `accessPolicies/`
|
|
132
132
|
# policy_id``
|
|
133
133
|
# @param [String] fields
|
|
134
134
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -422,10 +422,10 @@ module Google
|
|
|
422
422
|
# policy_id`/accessLevels/`access_level_id``
|
|
423
423
|
# @param [String] access_level_format
|
|
424
424
|
# Whether to return `BasicLevels` in the Cloud Common Expression Language rather
|
|
425
|
-
# than as `BasicLevels`. Defaults to AS_DEFINED
|
|
425
|
+
# than as `BasicLevels`. Defaults to `AS_DEFINED`, where Access Levels are
|
|
426
426
|
# returned as `BasicLevels` or `CustomLevels` based on how they were created. If
|
|
427
|
-
# set to CEL
|
|
428
|
-
# `BasicLevels` are translated to equivalent `CustomLevels`.
|
|
427
|
+
# set to `CEL`, all Access Levels are returned as `CustomLevels`. In the `CEL`
|
|
428
|
+
# case, `BasicLevels` are translated to equivalent `CustomLevels`.
|
|
429
429
|
# @param [String] fields
|
|
430
430
|
# Selector specifying which fields to include in a partial response.
|
|
431
431
|
# @param [String] quota_user
|
|
@@ -459,7 +459,7 @@ module Google
|
|
|
459
459
|
# Required. Resource name for the access policy to list Access Levels from.
|
|
460
460
|
# Format: `accessPolicies/`policy_id``
|
|
461
461
|
# @param [String] access_level_format
|
|
462
|
-
# Whether to return `BasicLevels` in the Cloud Common Expression
|
|
462
|
+
# Whether to return `BasicLevels` in the Cloud Common Expression Language, as `
|
|
463
463
|
# CustomLevels`, rather than as `BasicLevels`. Defaults to returning `
|
|
464
464
|
# AccessLevels` in the format they were defined.
|
|
465
465
|
# @param [Fixnum] page_size
|
|
@@ -545,9 +545,9 @@ module Google
|
|
|
545
545
|
# has a successful status after all replacements propagate to long-lasting
|
|
546
546
|
# storage. If the replacement contains errors, an error response is returned for
|
|
547
547
|
# the first error encountered. Upon error, the replacement is cancelled, and
|
|
548
|
-
# existing access levels are not affected. The Operation.response field
|
|
549
|
-
# ReplaceAccessLevelsResponse
|
|
550
|
-
# service perimeters
|
|
548
|
+
# existing access levels are not affected. The `Operation.response` field
|
|
549
|
+
# contains `ReplaceAccessLevelsResponse`. Removing access levels contained in
|
|
550
|
+
# existing service perimeters results in an error.
|
|
551
551
|
# @param [String] parent
|
|
552
552
|
# Required. Resource name for the access policy which owns these Access Levels.
|
|
553
553
|
# Format: `accessPolicies/`policy_id``
|
|
@@ -622,7 +622,7 @@ module Google
|
|
|
622
622
|
|
|
623
623
|
# Creates an authorized orgs desc. The long-running operation from this RPC has
|
|
624
624
|
# a successful status after the authorized orgs desc propagates to long-lasting
|
|
625
|
-
# storage. If
|
|
625
|
+
# storage. If an authorized orgs desc contains errors, an error response is
|
|
626
626
|
# returned for the first error encountered. The name of this `AuthorizedOrgsDesc`
|
|
627
627
|
# will be assigned during creation.
|
|
628
628
|
# @param [String] parent
|
|
@@ -663,7 +663,7 @@ module Google
|
|
|
663
663
|
# is removed from long-lasting storage.
|
|
664
664
|
# @param [String] name
|
|
665
665
|
# Required. Resource name for the Authorized Orgs Desc. Format: `accessPolicies/`
|
|
666
|
-
# policy_id`/
|
|
666
|
+
# policy_id`/authorizedOrgsDescs/`authorized_orgs_desc_id``
|
|
667
667
|
# @param [String] fields
|
|
668
668
|
# Selector specifying which fields to include in a partial response.
|
|
669
669
|
# @param [String] quota_user
|
|
@@ -694,7 +694,7 @@ module Google
|
|
|
694
694
|
# Gets an authorized orgs desc based on the resource name.
|
|
695
695
|
# @param [String] name
|
|
696
696
|
# Required. Resource name for the Authorized Orgs Desc. Format: `accessPolicies/`
|
|
697
|
-
# policy_id`/authorizedOrgsDescs/`
|
|
697
|
+
# policy_id`/authorizedOrgsDescs/`authorized_orgs_desc_id``
|
|
698
698
|
# @param [String] fields
|
|
699
699
|
# Selector specifying which fields to include in a partial response.
|
|
700
700
|
# @param [String] quota_user
|
|
@@ -762,10 +762,10 @@ module Google
|
|
|
762
762
|
|
|
763
763
|
# Updates an authorized orgs desc. The long-running operation from this RPC has
|
|
764
764
|
# a successful status after the authorized orgs desc propagates to long-lasting
|
|
765
|
-
# storage. If
|
|
765
|
+
# storage. If an authorized orgs desc contains errors, an error response is
|
|
766
766
|
# returned for the first error encountered. Only the organization list in `
|
|
767
|
-
# AuthorizedOrgsDesc` can be updated. The name
|
|
768
|
-
# and authorization_direction cannot be updated.
|
|
767
|
+
# AuthorizedOrgsDesc` can be updated. The `name`, `authorization_type`, `
|
|
768
|
+
# asset_type`, and `authorization_direction` cannot be updated.
|
|
769
769
|
# @param [String] name
|
|
770
770
|
# Identifier. Resource name for the `AuthorizedOrgsDesc`. Format: `
|
|
771
771
|
# accessPolicies/`access_policy`/authorizedOrgsDescs/`authorized_orgs_desc``.
|
|
@@ -813,8 +813,8 @@ module Google
|
|
|
813
813
|
# after the dry-run specifications for all the service perimeters have been
|
|
814
814
|
# committed. If a commit fails, it causes the long-running operation to return
|
|
815
815
|
# an error response and the entire commit operation is cancelled. When
|
|
816
|
-
# successful, the Operation.response field contains
|
|
817
|
-
# CommitServicePerimetersResponse
|
|
816
|
+
# successful, the `Operation.response` field contains `
|
|
817
|
+
# CommitServicePerimetersResponse`. The `dry_run` and the `spec` fields are
|
|
818
818
|
# cleared after a successful commit operation.
|
|
819
819
|
# @param [String] parent
|
|
820
820
|
# Required. Resource name for the parent Access Policy which owns all Service
|
|
@@ -923,7 +923,7 @@ module Google
|
|
|
923
923
|
# Gets a service perimeter based on the resource name.
|
|
924
924
|
# @param [String] name
|
|
925
925
|
# Required. Resource name for the Service Perimeter. Format: `accessPolicies/`
|
|
926
|
-
# policy_id`/servicePerimeters/`
|
|
926
|
+
# policy_id`/servicePerimeters/`service_perimeter_id``
|
|
927
927
|
# @param [String] deleted_principal_syntax
|
|
928
928
|
# Optional. If true, the response will contain the deleted principal syntax for
|
|
929
929
|
# identities that support it.
|
|
@@ -1044,13 +1044,13 @@ module Google
|
|
|
1044
1044
|
execute_or_queue_command(command, &block)
|
|
1045
1045
|
end
|
|
1046
1046
|
|
|
1047
|
-
#
|
|
1047
|
+
# Replaces all existing service perimeters in an access policy with the service
|
|
1048
1048
|
# perimeters provided. This is done atomically. The long-running operation from
|
|
1049
1049
|
# this RPC has a successful status after all replacements propagate to long-
|
|
1050
1050
|
# lasting storage. Replacements containing errors result in an error response
|
|
1051
1051
|
# for the first error encountered. Upon an error, replacements are cancelled and
|
|
1052
|
-
# existing service perimeters are not affected. The Operation.response field
|
|
1053
|
-
# contains ReplaceServicePerimetersResponse
|
|
1052
|
+
# existing service perimeters are not affected. The `Operation.response` field
|
|
1053
|
+
# contains `ReplaceServicePerimetersResponse`.
|
|
1054
1054
|
# @param [String] parent
|
|
1055
1055
|
# Required. Resource name for the access policy which owns these Service
|
|
1056
1056
|
# Perimeters. Format: `accessPolicies/`policy_id``
|
|
@@ -1123,10 +1123,11 @@ module Google
|
|
|
1123
1123
|
execute_or_queue_command(command, &block)
|
|
1124
1124
|
end
|
|
1125
1125
|
|
|
1126
|
-
# Looks up the configured service perimeter for a given resource Format: ['
|
|
1127
|
-
# projects/`projectNumber`', 'folders/`folderNumber`']
|
|
1126
|
+
# Looks up the configured service perimeter for a given resource. Format: `['
|
|
1127
|
+
# projects/`projectNumber`', 'folders/`folderNumber`']`.
|
|
1128
1128
|
# @param [String] resource
|
|
1129
|
-
# Required. The
|
|
1129
|
+
# Required. The resource to resolve (for example, `projects/123` or `folders/456`
|
|
1130
|
+
# ).
|
|
1130
1131
|
# @param [String] fields
|
|
1131
1132
|
# Selector specifying which fields to include in a partial response.
|
|
1132
1133
|
# @param [String] quota_user
|
|
@@ -1409,11 +1410,14 @@ module Google
|
|
|
1409
1410
|
# @param [String] parent
|
|
1410
1411
|
# Required. Example: "organizations/256"
|
|
1411
1412
|
# @param [String] filter
|
|
1412
|
-
# Optional.
|
|
1413
|
-
# google.aip.dev/160
|
|
1414
|
-
# `principal:
|
|
1415
|
-
#
|
|
1416
|
-
#
|
|
1413
|
+
# Optional. Filters the results by principal type. Uses the [AIP-160](https://
|
|
1414
|
+
# google.aip.dev/160) filter syntax. Only the following filters are supported: *
|
|
1415
|
+
# `principal:group_key`: bindings for groups. This is the default when the
|
|
1416
|
+
# filter is empty. * `principal:service_account OR principal:
|
|
1417
|
+
# service_account_project_number`: bindings for service accounts. * `principal:
|
|
1418
|
+
# federated_principal`: bindings for federated principals. Values can be in
|
|
1419
|
+
# snake_case or camelCase. Whitespace and the order of `OR` terms don't matter.
|
|
1420
|
+
# Any other filter returns an `INVALID_ARGUMENT` error.
|
|
1417
1421
|
# @param [Fixnum] page_size
|
|
1418
1422
|
# Optional. Maximum number of items to return. The server may return fewer items.
|
|
1419
1423
|
# If left blank, the server may return any number of items.
|
|
@@ -1457,24 +1461,25 @@ module Google
|
|
|
1457
1461
|
# Immutable. Assigned by the server during creation. The last segment has an
|
|
1458
1462
|
# arbitrary length and has only URI unreserved characters (as defined by [RFC
|
|
1459
1463
|
# 3986 Section 2.3](https://tools.ietf.org/html/rfc3986#section-2.3)). Should
|
|
1460
|
-
# not be specified by the client during creation. Example: "organizations/256/
|
|
1461
|
-
# gcpUserAccessBindings/b3-BhcX_Ud5N"
|
|
1464
|
+
# not be specified by the client during creation. Example: `"organizations/256/
|
|
1465
|
+
# gcpUserAccessBindings/b3-BhcX_Ud5N"`
|
|
1462
1466
|
# @param [Google::Apis::AccesscontextmanagerV1::GcpUserAccessBinding] gcp_user_access_binding_object
|
|
1463
1467
|
# @param [Boolean] append
|
|
1464
1468
|
# Optional. This field controls whether or not certain repeated settings in the
|
|
1465
1469
|
# update request overwrite or append to existing settings on the binding. If
|
|
1466
|
-
# true, then append. Otherwise overwrite. So far, only scoped_access_settings
|
|
1467
|
-
# with session_settings supports appending. Global access_levels
|
|
1468
|
-
# in scoped_access_settings
|
|
1469
|
-
# compatible with append functionality, and the
|
|
1470
|
-
# append=true when these settings are in the
|
|
1471
|
-
# return an error if append=true when "
|
|
1472
|
-
# update_mask
|
|
1470
|
+
# true, then append. Otherwise overwrite. So far, only `scoped_access_settings`
|
|
1471
|
+
# with `session_settings` supports appending. Global `access_levels`, `
|
|
1472
|
+
# access_levels` in `scoped_access_settings`, `dry_run_access_levels`, and `
|
|
1473
|
+
# session_settings` are not compatible with append functionality, and the
|
|
1474
|
+
# request will return an error if `append=true` when these settings are in the `
|
|
1475
|
+
# update_mask`. The request will also return an error if `append=true` when `"
|
|
1476
|
+
# scoped_access_settings"` is not set in the `update_mask`.
|
|
1473
1477
|
# @param [String] update_mask
|
|
1474
|
-
# Required. Only the fields specified in this mask are updated. Because name
|
|
1475
|
-
# group_key cannot be changed, update_mask is required and may only
|
|
1476
|
-
# following fields: `access_levels`, `dry_run_access_levels`, `
|
|
1477
|
-
# `scoped_access_settings`. update_mask ` paths: "
|
|
1478
|
+
# Required. Only the fields specified in this mask are updated. Because `name`
|
|
1479
|
+
# and `group_key` cannot be changed, `update_mask` is required and may only
|
|
1480
|
+
# contain the following fields: `access_levels`, `dry_run_access_levels`, `
|
|
1481
|
+
# session_settings`, `scoped_access_settings`. update_mask ` paths: "
|
|
1482
|
+
# access_levels" `
|
|
1478
1483
|
# @param [String] fields
|
|
1479
1484
|
# Selector specifying which fields to include in a partial response.
|
|
1480
1485
|
# @param [String] quota_user
|
|
@@ -1509,7 +1514,7 @@ module Google
|
|
|
1509
1514
|
# Lists all supported permissions in VPC Service Controls ingress and egress
|
|
1510
1515
|
# rules for Granular Controls.
|
|
1511
1516
|
# @param [Fixnum] page_size
|
|
1512
|
-
# Optional. This flag specifies the maximum number of
|
|
1517
|
+
# Optional. This flag specifies the maximum number of permissions to return per
|
|
1513
1518
|
# page. Default value is 100.
|
|
1514
1519
|
# @param [String] page_token
|
|
1515
1520
|
# Optional. Use this token to retrieve a specific page of results. Default is
|
|
@@ -1542,10 +1547,11 @@ module Google
|
|
|
1542
1547
|
execute_or_queue_command(command, &block)
|
|
1543
1548
|
end
|
|
1544
1549
|
|
|
1545
|
-
# Looks up the configured service perimeter for a given resource Format: ['
|
|
1546
|
-
# projects/`projectNumber`', 'folders/`folderNumber`']
|
|
1550
|
+
# Looks up the configured service perimeter for a given resource. Format: `['
|
|
1551
|
+
# projects/`projectNumber`', 'folders/`folderNumber`']`.
|
|
1547
1552
|
# @param [String] resource
|
|
1548
|
-
# Required. The
|
|
1553
|
+
# Required. The resource to resolve (for example, `projects/123` or `folders/456`
|
|
1554
|
+
# ).
|
|
1549
1555
|
# @param [String] fields
|
|
1550
1556
|
# Selector specifying which fields to include in a partial response.
|
|
1551
1557
|
# @param [String] quota_user
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.75.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-accesscontextmanager_v1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-accesscontextmanager_v1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-accesscontextmanager_v1/v0.75.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-accesscontextmanager_v1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|