@@ -70,13 +70,14 @@ class AccessSettings
70
70
# @return [Google::Apis::IapV1::AllowedDomainsSettings]
71
71
attr_accessor :allowed_domains_settings
72
72
73
- # Allows customers to configure HTTP request paths that'll allow HTTP OPTIONS
73
+ # Allows customers to configure HTTP request paths that'll allow HTTP ` OPTIONS`
74
74
# call to bypass authentication and authorization.
75
75
# Corresponds to the JSON property `corsSettings`
76
76
# @return [Google::Apis::IapV1::CorsSettings]
77
77
attr_accessor :cors_settings
78
78
79
- # Allows customers to configure tenant_id for GCIP instance per-app.
79
+ # Allows customers to configure tenant IDs for a Cloud Identity Platform (GCIP)
80
+ # instance for each application.
80
81
# Corresponds to the JSON property `gcipSettings`
81
82
# @return [Google::Apis::IapV1::GcipSettings]
82
83
attr_accessor :gcip_settings
@@ -393,13 +394,14 @@ def update!(**args)
393
394
end
394
395
end
395
396
396
- # Allows customers to configure HTTP request paths that'll allow HTTP OPTIONS
397
+ # Allows customers to configure HTTP request paths that'll allow HTTP ` OPTIONS`
397
398
# call to bypass authentication and authorization.
398
399
class CorsSettings
399
400
include Google ::Apis ::Core ::Hashable
400
401
401
- # Configuration to allow HTTP OPTIONS calls to skip authorization. If undefined,
402
- # IAP will not apply any special logic to OPTIONS requests.
402
+ # Configuration to allow HTTP `OPTIONS` calls to skip authentication and
403
+ # authorization. If undefined, IAP will not apply any special logic to `OPTIONS`
404
+ # requests.
403
405
# Corresponds to the JSON property `allowHttpOptions`
404
406
# @return [Boolean]
405
407
attr_accessor :allow_http_options
@@ -508,7 +510,8 @@ def update!(**args)
508
510
end
509
511
end
510
512
511
- # Allows customers to configure tenant_id for GCIP instance per-app.
513
+ # Allows customers to configure tenant IDs for a Cloud Identity Platform (GCIP)
514
+ # instance for each application.
512
515
class GcipSettings
513
516
include Google ::Apis ::Core ::Hashable
514
517
@@ -519,11 +522,11 @@ class GcipSettings
519
522
# @return [String]
520
523
attr_accessor :login_page_uri
521
524
522
- # Optional. GCIP tenant ids that are linked to the IAP resource. tenant_ids
525
+ # Optional. GCIP tenant IDs that are linked to the IAP resource. ` tenant_ids`
523
526
# could be a string beginning with a number character to indicate authenticating
524
- # with GCIP tenant flow, or in the format of _ to indicate authenticating with
525
- # GCIP agent flow. If agent flow is used, tenant_ids should only contain one
526
- # single element, while for tenant flow, tenant_ids can contain multiple
527
+ # with GCIP tenant flow, or in the format of `_` to indicate authenticating with
528
+ # GCIP agent flow. If agent flow is used, ` tenant_ids` should only contain one
529
+ # single element, while for tenant flow, ` tenant_ids` can contain multiple
527
530
# elements.
528
531
# Corresponds to the JSON property `tenantIds`
529
532
# @return [Array<String>]
@@ -1072,6 +1075,18 @@ class Resource
1072
1075
# @return [Hash<String,String>]
1073
1076
attr_accessor :labels
1074
1077
1078
+ # The locations of the resource. This field is used to determine whether the
1079
+ # request is compliant with Trust Boundaries. Usage: - If unset or empty, the
1080
+ # location of authorization is used as the target location. - For global
1081
+ # resources: use a single value of "global". - For regional/multi-regional
1082
+ # resources: use name of the GCP region(s) where the resource exists (e.g., ["us-
1083
+ # east1", "us-west1"]). For multi-regional resources specify the name of each
1084
+ # GCP region in the resource's multi-region. NOTE: Only GCP cloud region names
1085
+ # are supported - go/cloud-region-names.
1086
+ # Corresponds to the JSON property `locations`
1087
+ # @return [Array<String>]
1088
+ attr_accessor :locations
1089
+
1075
1090
# The **relative** name of the resource, which is the URI path of the resource
1076
1091
# without the leading "/". See https://cloud.google.com/iam/docs/conditions-
1077
1092
# resource-attributes#resource-name for examples used by other GCP Services.
@@ -1127,6 +1142,7 @@ def initialize(**args)
1127
1142
def update! ( **args )
1128
1143
@expected_next_state = args [ :expected_next_state ] if args . key? ( :expected_next_state )
1129
1144
@labels = args [ :labels ] if args . key? ( :labels )
1145
+ @locations = args [ :locations ] if args . key? ( :locations )
1130
1146
@name = args [ :name ] if args . key? ( :name )
1131
1147
@next_state_of_tags = args [ :next_state_of_tags ] if args . key? ( :next_state_of_tags )
1132
1148
@service = args [ :service ] if args . key? ( :service )
0 commit comments