google-api-client 0.33.0 → 0.33.1
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 +4 -4
- data/CHANGELOG.md +35 -0
- data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +19 -0
- data/generated/google/apis/accessapproval_v1beta1/representations.rb +12 -0
- data/generated/google/apis/accessapproval_v1beta1/service.rb +105 -0
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +6 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +6 -0
- data/generated/google/apis/bigquery_v2/representations.rb +2 -0
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/service.rb +2 -0
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +2 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +14 -15
- data/generated/google/apis/cloudasset_v1/service.rb +1 -2
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/service.rb +14 -14
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +11 -8
- data/generated/google/apis/cloudidentity_v1/service.rb +2 -1
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +11 -8
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +2 -1
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +5 -2
- data/generated/google/apis/cloudsearch_v1/service.rb +5 -2
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +15 -0
- data/generated/google/apis/cloudshell_v1/representations.rb +2 -0
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +15 -0
- data/generated/google/apis/cloudshell_v1alpha1/representations.rb +2 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +481 -126
- data/generated/google/apis/compute_alpha/representations.rb +107 -2
- data/generated/google/apis/compute_alpha/service.rb +1035 -640
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +986 -241
- data/generated/google/apis/compute_beta/representations.rb +284 -0
- data/generated/google/apis/compute_beta/service.rb +1242 -532
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +252 -99
- data/generated/google/apis/compute_v1/representations.rb +24 -0
- data/generated/google/apis/compute_v1/service.rb +749 -472
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +63 -0
- data/generated/google/apis/docs_v1/representations.rb +17 -0
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +203 -8
- data/generated/google/apis/healthcare_v1beta1/representations.rb +101 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +100 -3
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +1 -1
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +185 -0
- data/generated/google/apis/iap_v1/representations.rb +102 -0
- data/generated/google/apis/iap_v1/service.rb +72 -0
- data/generated/google/apis/{speech_v2beta.rb → lifesciences_v2beta.rb} +9 -8
- data/generated/google/apis/lifesciences_v2beta/classes.rb +1328 -0
- data/generated/google/apis/lifesciences_v2beta/representations.rb +533 -0
- data/generated/google/apis/lifesciences_v2beta/service.rb +303 -0
- data/generated/google/apis/monitoring_v1.rb +36 -0
- data/generated/google/apis/monitoring_v1/classes.rb +260 -0
- data/generated/google/apis/monitoring_v1/representations.rb +123 -0
- data/generated/google/apis/monitoring_v1/service.rb +64 -0
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +0 -7
- data/generated/google/apis/run_v1/service.rb +156 -94
- data/generated/google/apis/sql_v1beta4.rb +37 -0
- data/generated/google/apis/sql_v1beta4/classes.rb +2689 -0
- data/generated/google/apis/sql_v1beta4/representations.rb +1099 -0
- data/generated/google/apis/sql_v1beta4/service.rb +1660 -0
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +14 -6
- data/generated/google/apis/speech_v2beta/classes.rb +0 -355
- data/generated/google/apis/speech_v2beta/representations.rb +0 -152
- data/generated/google/apis/speech_v2beta/service.rb +0 -138
@@ -167,6 +167,7 @@ module Google
|
|
167
167
|
# response field type is
|
168
168
|
# DeidentifySummary.
|
169
169
|
# If errors occur,
|
170
|
+
# error
|
170
171
|
# details field type is
|
171
172
|
# DeidentifyErrorDetails.
|
172
173
|
# Errors are also logged to Stackdriver Logging. For more information,
|
@@ -498,6 +499,51 @@ module Google
|
|
498
499
|
execute_or_queue_command(command, &block)
|
499
500
|
end
|
500
501
|
|
502
|
+
# Creates a new DICOM store containing de-identified data from the source
|
503
|
+
# store. The metadata field type
|
504
|
+
# is OperationMetadata.
|
505
|
+
# If the request is successful, the
|
506
|
+
# response field type is
|
507
|
+
# DeidentifyDicomStoreSummary. If errors occur,
|
508
|
+
# error
|
509
|
+
# details field type is
|
510
|
+
# DeidentifyErrorDetails.
|
511
|
+
# Errors are also logged to Stackdriver
|
512
|
+
# (see [Viewing logs](/healthcare/docs/how-tos/stackdriver-logging)).
|
513
|
+
# @param [String] source_store
|
514
|
+
# Source DICOM store resource name. For example,
|
515
|
+
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
|
516
|
+
# dicomStores/`dicom_store_id``.
|
517
|
+
# @param [Google::Apis::HealthcareV1beta1::DeidentifyDicomStoreRequest] deidentify_dicom_store_request_object
|
518
|
+
# @param [String] fields
|
519
|
+
# Selector specifying which fields to include in a partial response.
|
520
|
+
# @param [String] quota_user
|
521
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
522
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
523
|
+
# @param [Google::Apis::RequestOptions] options
|
524
|
+
# Request-specific options
|
525
|
+
#
|
526
|
+
# @yield [result, err] Result & error if block supplied
|
527
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::Operation] parsed result object
|
528
|
+
# @yieldparam err [StandardError] error object if request failed
|
529
|
+
#
|
530
|
+
# @return [Google::Apis::HealthcareV1beta1::Operation]
|
531
|
+
#
|
532
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
533
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
534
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
535
|
+
def deidentify_dicom_store(source_store, deidentify_dicom_store_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
536
|
+
command = make_simple_command(:post, 'v1beta1/{+sourceStore}:deidentify', options)
|
537
|
+
command.request_representation = Google::Apis::HealthcareV1beta1::DeidentifyDicomStoreRequest::Representation
|
538
|
+
command.request_object = deidentify_dicom_store_request_object
|
539
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::Operation::Representation
|
540
|
+
command.response_class = Google::Apis::HealthcareV1beta1::Operation
|
541
|
+
command.params['sourceStore'] = source_store unless source_store.nil?
|
542
|
+
command.query['fields'] = fields unless fields.nil?
|
543
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
544
|
+
execute_or_queue_command(command, &block)
|
545
|
+
end
|
546
|
+
|
501
547
|
# Deletes the specified DICOM store and removes all images that are contained
|
502
548
|
# within it.
|
503
549
|
# @param [String] name
|
@@ -1638,6 +1684,51 @@ module Google
|
|
1638
1684
|
execute_or_queue_command(command, &block)
|
1639
1685
|
end
|
1640
1686
|
|
1687
|
+
# Creates a new FHIR store containing de-identified data from the source
|
1688
|
+
# store. The metadata field type
|
1689
|
+
# is OperationMetadata.
|
1690
|
+
# If the request is successful, the
|
1691
|
+
# response field type is
|
1692
|
+
# DeidentifyFhirStoreSummary. If errors occur,
|
1693
|
+
# error
|
1694
|
+
# details field type is
|
1695
|
+
# DeidentifyErrorDetails.
|
1696
|
+
# Errors are also logged to Stackdriver
|
1697
|
+
# (see [Viewing logs](/healthcare/docs/how-tos/stackdriver-logging)).
|
1698
|
+
# @param [String] source_store
|
1699
|
+
# Source FHIR store resource name. For example,
|
1700
|
+
# `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
|
1701
|
+
# fhirStores/`fhir_store_id``.
|
1702
|
+
# @param [Google::Apis::HealthcareV1beta1::DeidentifyFhirStoreRequest] deidentify_fhir_store_request_object
|
1703
|
+
# @param [String] fields
|
1704
|
+
# Selector specifying which fields to include in a partial response.
|
1705
|
+
# @param [String] quota_user
|
1706
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1707
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1708
|
+
# @param [Google::Apis::RequestOptions] options
|
1709
|
+
# Request-specific options
|
1710
|
+
#
|
1711
|
+
# @yield [result, err] Result & error if block supplied
|
1712
|
+
# @yieldparam result [Google::Apis::HealthcareV1beta1::Operation] parsed result object
|
1713
|
+
# @yieldparam err [StandardError] error object if request failed
|
1714
|
+
#
|
1715
|
+
# @return [Google::Apis::HealthcareV1beta1::Operation]
|
1716
|
+
#
|
1717
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1718
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1719
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1720
|
+
def deidentify_fhir_store(source_store, deidentify_fhir_store_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1721
|
+
command = make_simple_command(:post, 'v1beta1/{+sourceStore}:deidentify', options)
|
1722
|
+
command.request_representation = Google::Apis::HealthcareV1beta1::DeidentifyFhirStoreRequest::Representation
|
1723
|
+
command.request_object = deidentify_fhir_store_request_object
|
1724
|
+
command.response_representation = Google::Apis::HealthcareV1beta1::Operation::Representation
|
1725
|
+
command.response_class = Google::Apis::HealthcareV1beta1::Operation
|
1726
|
+
command.params['sourceStore'] = source_store unless source_store.nil?
|
1727
|
+
command.query['fields'] = fields unless fields.nil?
|
1728
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1729
|
+
execute_or_queue_command(command, &block)
|
1730
|
+
end
|
1731
|
+
|
1641
1732
|
# Deletes the specified FHIR store and removes all resources within it.
|
1642
1733
|
# @param [String] name
|
1643
1734
|
# The resource name of the FHIR store to delete.
|
@@ -2047,9 +2138,15 @@ module Google
|
|
2047
2138
|
# [Observation-lastn](http://hl7.org/implement/standards/fhir/STU3/observation-
|
2048
2139
|
# operations.html#lastn).
|
2049
2140
|
# Search terms are provided as query parameters following the same pattern as
|
2050
|
-
# the search method.
|
2051
|
-
#
|
2052
|
-
#
|
2141
|
+
# the search method. The following search parameters must
|
2142
|
+
# be provided
|
2143
|
+
# - `subject` or `patient` to specify a subject for the Observation.
|
2144
|
+
# - `code`, `category` or any of the composite parameters that include
|
2145
|
+
# `code`.
|
2146
|
+
# Any other valid Observation search parameters can also be provided. This
|
2147
|
+
# operation accepts an additional query parameter `max`, which specifies N,
|
2148
|
+
# the maximum number of Observations to return from each group, with a
|
2149
|
+
# default of 1.
|
2053
2150
|
# On success, the response body will contain a JSON-encoded representation
|
2054
2151
|
# of a `Bundle` resource of type `searchset`, containing the results of the
|
2055
2152
|
# operation.
|
@@ -27,7 +27,7 @@ module Google
|
|
27
27
|
# @see https://cloud.google.com/iam/
|
28
28
|
module IamV1
|
29
29
|
VERSION = 'V1'
|
30
|
-
REVISION = '
|
30
|
+
REVISION = '20191010'
|
31
31
|
|
32
32
|
# View and manage your data across Google Cloud Platform services
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -663,7 +663,7 @@ module Google
|
|
663
663
|
attr_accessor :severity
|
664
664
|
|
665
665
|
# The validation unit name, for instance
|
666
|
-
#
|
666
|
+
# "lintValidationUnits/ConditionComplexityCheck".
|
667
667
|
# Corresponds to the JSON property `validationUnitName`
|
668
668
|
# @return [String]
|
669
669
|
attr_accessor :validation_unit_name
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/iap
|
26
26
|
module IapV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20191011'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -22,6 +22,60 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module IapV1
|
24
24
|
|
25
|
+
# Access related settings for IAP protected apps.
|
26
|
+
class AccessSettings
|
27
|
+
include Google::Apis::Core::Hashable
|
28
|
+
|
29
|
+
# Allows customers to configure HTTP request paths that'll allow HTTP OPTIONS
|
30
|
+
# call to bypass authentication and authorization.
|
31
|
+
# Corresponds to the JSON property `corsSettings`
|
32
|
+
# @return [Google::Apis::IapV1::CorsSettings]
|
33
|
+
attr_accessor :cors_settings
|
34
|
+
|
35
|
+
# Allows customers to configure tenant_id for GCIP instance per-app.
|
36
|
+
# Corresponds to the JSON property `gcipSettings`
|
37
|
+
# @return [Google::Apis::IapV1::GcipSettings]
|
38
|
+
attr_accessor :gcip_settings
|
39
|
+
|
40
|
+
# Configuration for OAuth login&consent flow behavior.
|
41
|
+
# Corresponds to the JSON property `oauthSettings`
|
42
|
+
# @return [Google::Apis::IapV1::OAuthSettings]
|
43
|
+
attr_accessor :oauth_settings
|
44
|
+
|
45
|
+
def initialize(**args)
|
46
|
+
update!(**args)
|
47
|
+
end
|
48
|
+
|
49
|
+
# Update properties of this object
|
50
|
+
def update!(**args)
|
51
|
+
@cors_settings = args[:cors_settings] if args.key?(:cors_settings)
|
52
|
+
@gcip_settings = args[:gcip_settings] if args.key?(:gcip_settings)
|
53
|
+
@oauth_settings = args[:oauth_settings] if args.key?(:oauth_settings)
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
# Wrapper over application specific settings for IAP.
|
58
|
+
class ApplicationSettings
|
59
|
+
include Google::Apis::Core::Hashable
|
60
|
+
|
61
|
+
# Configuration for RCTokens generated for CSM workloads protected by IAP.
|
62
|
+
# RCTokens are IAP generated JWTs that can be verified at the application. The
|
63
|
+
# RCToken is primarily used for ISTIO deployments, and can be scoped to a
|
64
|
+
# single mesh by configuring the audience field accordingly
|
65
|
+
# Corresponds to the JSON property `csmSettings`
|
66
|
+
# @return [Google::Apis::IapV1::CsmSettings]
|
67
|
+
attr_accessor :csm_settings
|
68
|
+
|
69
|
+
def initialize(**args)
|
70
|
+
update!(**args)
|
71
|
+
end
|
72
|
+
|
73
|
+
# Update properties of this object
|
74
|
+
def update!(**args)
|
75
|
+
@csm_settings = args[:csm_settings] if args.key?(:csm_settings)
|
76
|
+
end
|
77
|
+
end
|
78
|
+
|
25
79
|
# Associates `members` with a `role`.
|
26
80
|
class Binding
|
27
81
|
include Google::Apis::Core::Hashable
|
@@ -70,6 +124,51 @@ module Google
|
|
70
124
|
end
|
71
125
|
end
|
72
126
|
|
127
|
+
# Allows customers to configure HTTP request paths that'll allow HTTP OPTIONS
|
128
|
+
# call to bypass authentication and authorization.
|
129
|
+
class CorsSettings
|
130
|
+
include Google::Apis::Core::Hashable
|
131
|
+
|
132
|
+
# Configuration to allow HTTP OPTIONS calls to skip authorization. If
|
133
|
+
# undefined, IAP will not apply any special logic to OPTIONS requests.
|
134
|
+
# Corresponds to the JSON property `allowHttpOptions`
|
135
|
+
# @return [Boolean]
|
136
|
+
attr_accessor :allow_http_options
|
137
|
+
alias_method :allow_http_options?, :allow_http_options
|
138
|
+
|
139
|
+
def initialize(**args)
|
140
|
+
update!(**args)
|
141
|
+
end
|
142
|
+
|
143
|
+
# Update properties of this object
|
144
|
+
def update!(**args)
|
145
|
+
@allow_http_options = args[:allow_http_options] if args.key?(:allow_http_options)
|
146
|
+
end
|
147
|
+
end
|
148
|
+
|
149
|
+
# Configuration for RCTokens generated for CSM workloads protected by IAP.
|
150
|
+
# RCTokens are IAP generated JWTs that can be verified at the application. The
|
151
|
+
# RCToken is primarily used for ISTIO deployments, and can be scoped to a
|
152
|
+
# single mesh by configuring the audience field accordingly
|
153
|
+
class CsmSettings
|
154
|
+
include Google::Apis::Core::Hashable
|
155
|
+
|
156
|
+
# Audience claim set in the generated RCToken. This value is not validated by
|
157
|
+
# IAP.
|
158
|
+
# Corresponds to the JSON property `rctokenAud`
|
159
|
+
# @return [String]
|
160
|
+
attr_accessor :rctoken_aud
|
161
|
+
|
162
|
+
def initialize(**args)
|
163
|
+
update!(**args)
|
164
|
+
end
|
165
|
+
|
166
|
+
# Update properties of this object
|
167
|
+
def update!(**args)
|
168
|
+
@rctoken_aud = args[:rctoken_aud] if args.key?(:rctoken_aud)
|
169
|
+
end
|
170
|
+
end
|
171
|
+
|
73
172
|
# Represents an expression text. Example:
|
74
173
|
# title: "User account presence"
|
75
174
|
# description: "Determines whether the request has a user account"
|
@@ -117,6 +216,38 @@ module Google
|
|
117
216
|
end
|
118
217
|
end
|
119
218
|
|
219
|
+
# Allows customers to configure tenant_id for GCIP instance per-app.
|
220
|
+
class GcipSettings
|
221
|
+
include Google::Apis::Core::Hashable
|
222
|
+
|
223
|
+
# Login page URI associated with the GCIP tenants.
|
224
|
+
# Typically, all resources within the same project share the same login page,
|
225
|
+
# though it could be overridden at the sub resource level.
|
226
|
+
# Corresponds to the JSON property `loginPageUri`
|
227
|
+
# @return [String]
|
228
|
+
attr_accessor :login_page_uri
|
229
|
+
|
230
|
+
# GCIP tenant ids that are linked to the IAP resource.
|
231
|
+
# tenant_ids could be a string beginning with a number character to indicate
|
232
|
+
# authenticating with GCIP tenant flow, or in the format of _<ProjectNumber>
|
233
|
+
# to indicate authenticating with GCIP agent flow.
|
234
|
+
# If agent flow is used, tenant_ids should only contain one single element,
|
235
|
+
# while for tenant flow, tenant_ids can contain multiple elements.
|
236
|
+
# Corresponds to the JSON property `tenantIds`
|
237
|
+
# @return [Array<String>]
|
238
|
+
attr_accessor :tenant_ids
|
239
|
+
|
240
|
+
def initialize(**args)
|
241
|
+
update!(**args)
|
242
|
+
end
|
243
|
+
|
244
|
+
# Update properties of this object
|
245
|
+
def update!(**args)
|
246
|
+
@login_page_uri = args[:login_page_uri] if args.key?(:login_page_uri)
|
247
|
+
@tenant_ids = args[:tenant_ids] if args.key?(:tenant_ids)
|
248
|
+
end
|
249
|
+
end
|
250
|
+
|
120
251
|
# Request message for `GetIamPolicy` method.
|
121
252
|
class GetIamPolicyRequest
|
122
253
|
include Google::Apis::Core::Hashable
|
@@ -160,6 +291,60 @@ module Google
|
|
160
291
|
end
|
161
292
|
end
|
162
293
|
|
294
|
+
# The IAP configurable settings.
|
295
|
+
class IapSettings
|
296
|
+
include Google::Apis::Core::Hashable
|
297
|
+
|
298
|
+
# Access related settings for IAP protected apps.
|
299
|
+
# Corresponds to the JSON property `accessSettings`
|
300
|
+
# @return [Google::Apis::IapV1::AccessSettings]
|
301
|
+
attr_accessor :access_settings
|
302
|
+
|
303
|
+
# Wrapper over application specific settings for IAP.
|
304
|
+
# Corresponds to the JSON property `applicationSettings`
|
305
|
+
# @return [Google::Apis::IapV1::ApplicationSettings]
|
306
|
+
attr_accessor :application_settings
|
307
|
+
|
308
|
+
# Required. The resource name of the IAP protected resource.
|
309
|
+
# Corresponds to the JSON property `name`
|
310
|
+
# @return [String]
|
311
|
+
attr_accessor :name
|
312
|
+
|
313
|
+
def initialize(**args)
|
314
|
+
update!(**args)
|
315
|
+
end
|
316
|
+
|
317
|
+
# Update properties of this object
|
318
|
+
def update!(**args)
|
319
|
+
@access_settings = args[:access_settings] if args.key?(:access_settings)
|
320
|
+
@application_settings = args[:application_settings] if args.key?(:application_settings)
|
321
|
+
@name = args[:name] if args.key?(:name)
|
322
|
+
end
|
323
|
+
end
|
324
|
+
|
325
|
+
# Configuration for OAuth login&consent flow behavior.
|
326
|
+
class OAuthSettings
|
327
|
+
include Google::Apis::Core::Hashable
|
328
|
+
|
329
|
+
# Domain hint to send as hd=? parameter in OAuth request flow. Enables
|
330
|
+
# redirect to primary IDP by skipping Google's login screen.
|
331
|
+
# https://developers.google.com/identity/protocols/OpenIDConnect#hd-param
|
332
|
+
# Note: IAP does not verify that the id token's hd claim matches this value
|
333
|
+
# since access behavior is managed by IAM policies.
|
334
|
+
# Corresponds to the JSON property `loginHint`
|
335
|
+
# @return [String]
|
336
|
+
attr_accessor :login_hint
|
337
|
+
|
338
|
+
def initialize(**args)
|
339
|
+
update!(**args)
|
340
|
+
end
|
341
|
+
|
342
|
+
# Update properties of this object
|
343
|
+
def update!(**args)
|
344
|
+
@login_hint = args[:login_hint] if args.key?(:login_hint)
|
345
|
+
end
|
346
|
+
end
|
347
|
+
|
163
348
|
# Defines an Identity and Access Management (IAM) policy. It is used to
|
164
349
|
# specify access control policies for Cloud Platform resources.
|
165
350
|
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
@@ -22,18 +22,48 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module IapV1
|
24
24
|
|
25
|
+
class AccessSettings
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
31
|
+
class ApplicationSettings
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
25
37
|
class Binding
|
26
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
39
|
|
28
40
|
include Google::Apis::Core::JsonObjectSupport
|
29
41
|
end
|
30
42
|
|
43
|
+
class CorsSettings
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
49
|
+
class CsmSettings
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
31
55
|
class Expr
|
32
56
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
57
|
|
34
58
|
include Google::Apis::Core::JsonObjectSupport
|
35
59
|
end
|
36
60
|
|
61
|
+
class GcipSettings
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
65
|
+
end
|
66
|
+
|
37
67
|
class GetIamPolicyRequest
|
38
68
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
69
|
|
@@ -46,6 +76,18 @@ module Google
|
|
46
76
|
include Google::Apis::Core::JsonObjectSupport
|
47
77
|
end
|
48
78
|
|
79
|
+
class IapSettings
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
85
|
+
class OAuthSettings
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
49
91
|
class Policy
|
50
92
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
93
|
|
@@ -70,6 +112,26 @@ module Google
|
|
70
112
|
include Google::Apis::Core::JsonObjectSupport
|
71
113
|
end
|
72
114
|
|
115
|
+
class AccessSettings
|
116
|
+
# @private
|
117
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
118
|
+
property :cors_settings, as: 'corsSettings', class: Google::Apis::IapV1::CorsSettings, decorator: Google::Apis::IapV1::CorsSettings::Representation
|
119
|
+
|
120
|
+
property :gcip_settings, as: 'gcipSettings', class: Google::Apis::IapV1::GcipSettings, decorator: Google::Apis::IapV1::GcipSettings::Representation
|
121
|
+
|
122
|
+
property :oauth_settings, as: 'oauthSettings', class: Google::Apis::IapV1::OAuthSettings, decorator: Google::Apis::IapV1::OAuthSettings::Representation
|
123
|
+
|
124
|
+
end
|
125
|
+
end
|
126
|
+
|
127
|
+
class ApplicationSettings
|
128
|
+
# @private
|
129
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
130
|
+
property :csm_settings, as: 'csmSettings', class: Google::Apis::IapV1::CsmSettings, decorator: Google::Apis::IapV1::CsmSettings::Representation
|
131
|
+
|
132
|
+
end
|
133
|
+
end
|
134
|
+
|
73
135
|
class Binding
|
74
136
|
# @private
|
75
137
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -80,6 +142,20 @@ module Google
|
|
80
142
|
end
|
81
143
|
end
|
82
144
|
|
145
|
+
class CorsSettings
|
146
|
+
# @private
|
147
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
148
|
+
property :allow_http_options, as: 'allowHttpOptions'
|
149
|
+
end
|
150
|
+
end
|
151
|
+
|
152
|
+
class CsmSettings
|
153
|
+
# @private
|
154
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
155
|
+
property :rctoken_aud, as: 'rctokenAud'
|
156
|
+
end
|
157
|
+
end
|
158
|
+
|
83
159
|
class Expr
|
84
160
|
# @private
|
85
161
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -90,6 +166,14 @@ module Google
|
|
90
166
|
end
|
91
167
|
end
|
92
168
|
|
169
|
+
class GcipSettings
|
170
|
+
# @private
|
171
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
172
|
+
property :login_page_uri, as: 'loginPageUri'
|
173
|
+
collection :tenant_ids, as: 'tenantIds'
|
174
|
+
end
|
175
|
+
end
|
176
|
+
|
93
177
|
class GetIamPolicyRequest
|
94
178
|
# @private
|
95
179
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -105,6 +189,24 @@ module Google
|
|
105
189
|
end
|
106
190
|
end
|
107
191
|
|
192
|
+
class IapSettings
|
193
|
+
# @private
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
195
|
+
property :access_settings, as: 'accessSettings', class: Google::Apis::IapV1::AccessSettings, decorator: Google::Apis::IapV1::AccessSettings::Representation
|
196
|
+
|
197
|
+
property :application_settings, as: 'applicationSettings', class: Google::Apis::IapV1::ApplicationSettings, decorator: Google::Apis::IapV1::ApplicationSettings::Representation
|
198
|
+
|
199
|
+
property :name, as: 'name'
|
200
|
+
end
|
201
|
+
end
|
202
|
+
|
203
|
+
class OAuthSettings
|
204
|
+
# @private
|
205
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
206
|
+
property :login_hint, as: 'loginHint'
|
207
|
+
end
|
208
|
+
end
|
209
|
+
|
108
210
|
class Policy
|
109
211
|
# @private
|
110
212
|
class Representation < Google::Apis::Core::JsonRepresentation
|