google-apis-managedidentities_v1alpha1 0.4.0 → 0.9.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 +4 -4
- data/CHANGELOG.md +22 -0
- data/lib/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/lib/google/apis/managedidentities_v1alpha1/classes.rb +221 -13
- data/lib/google/apis/managedidentities_v1alpha1/gem_version.rb +3 -3
- data/lib/google/apis/managedidentities_v1alpha1/representations.rb +73 -2
- data/lib/google/apis/managedidentities_v1alpha1/service.rb +382 -4
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2e6ae638b0fb6c223c5038512a01c0ba6bead57b049bbc42a4bcae80b4cc363f
|
4
|
+
data.tar.gz: e548dcf4b2e648375d17b9f05dda6867631b25dab806da121ce9da11ee1ada1a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 12e7d1cbb3802c1e231a1ffc3009df69a54fb52a342515f0ac31e26f02910ebf7a93253d14739c52088c9fee98ab19b5f800ab89575f006a5a2fd9058f86abb8
|
7
|
+
data.tar.gz: d4588046e9ae476ceecf09b70ecc7f39b90757313a9bf583b0b9cf604741319ca512c1454673fc99bcb5d0685bd0659fa2ea8c97efcf73a6fa3003a4b902d0fa
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,27 @@
|
|
1
1
|
# Release history for google-apis-managedidentities_v1alpha1
|
2
2
|
|
3
|
+
### v0.9.0 (2021-06-16)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210614
|
6
|
+
|
7
|
+
### v0.8.0 (2021-06-10)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210601
|
10
|
+
* Regenerated using generator version 0.3.0
|
11
|
+
|
12
|
+
### v0.7.0 (2021-05-19)
|
13
|
+
|
14
|
+
* Unspecified changes
|
15
|
+
|
16
|
+
### v0.6.0 (2021-03-26)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20210324
|
19
|
+
|
20
|
+
### v0.5.0 (2021-03-12)
|
21
|
+
|
22
|
+
* Regenerated from discovery document revision 20210305
|
23
|
+
* Regenerated using generator version 0.2.0
|
24
|
+
|
3
25
|
### v0.4.0 (2021-03-04)
|
4
26
|
|
5
27
|
* Unspecified changes
|
@@ -30,7 +30,7 @@ module Google
|
|
30
30
|
# This is NOT the gem version.
|
31
31
|
VERSION = 'V1alpha1'
|
32
32
|
|
33
|
-
#
|
33
|
+
# See, edit, configure, and delete your Google Cloud Platform data
|
34
34
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
35
35
|
end
|
36
36
|
end
|
@@ -130,6 +130,49 @@ module Google
|
|
130
130
|
end
|
131
131
|
end
|
132
132
|
|
133
|
+
# Certificate used to configure LDAPS.
|
134
|
+
class Certificate
|
135
|
+
include Google::Apis::Core::Hashable
|
136
|
+
|
137
|
+
# The certificate expire time.
|
138
|
+
# Corresponds to the JSON property `expireTime`
|
139
|
+
# @return [String]
|
140
|
+
attr_accessor :expire_time
|
141
|
+
|
142
|
+
# Certificate used to configure LDAPS.
|
143
|
+
# Corresponds to the JSON property `issuingCertificate`
|
144
|
+
# @return [Google::Apis::ManagedidentitiesV1alpha1::Certificate]
|
145
|
+
attr_accessor :issuing_certificate
|
146
|
+
|
147
|
+
# The certificate subject.
|
148
|
+
# Corresponds to the JSON property `subject`
|
149
|
+
# @return [String]
|
150
|
+
attr_accessor :subject
|
151
|
+
|
152
|
+
# The additional hostnames for the domain.
|
153
|
+
# Corresponds to the JSON property `subjectAlternativeName`
|
154
|
+
# @return [Array<String>]
|
155
|
+
attr_accessor :subject_alternative_name
|
156
|
+
|
157
|
+
# The certificate thumbprint which uniquely identifies the certificate.
|
158
|
+
# Corresponds to the JSON property `thumbprint`
|
159
|
+
# @return [String]
|
160
|
+
attr_accessor :thumbprint
|
161
|
+
|
162
|
+
def initialize(**args)
|
163
|
+
update!(**args)
|
164
|
+
end
|
165
|
+
|
166
|
+
# Update properties of this object
|
167
|
+
def update!(**args)
|
168
|
+
@expire_time = args[:expire_time] if args.key?(:expire_time)
|
169
|
+
@issuing_certificate = args[:issuing_certificate] if args.key?(:issuing_certificate)
|
170
|
+
@subject = args[:subject] if args.key?(:subject)
|
171
|
+
@subject_alternative_name = args[:subject_alternative_name] if args.key?(:subject_alternative_name)
|
172
|
+
@thumbprint = args[:thumbprint] if args.key?(:thumbprint)
|
173
|
+
end
|
174
|
+
end
|
175
|
+
|
133
176
|
# Time window specified for daily operations.
|
134
177
|
class DailyCycle
|
135
178
|
include Google::Apis::Core::Hashable
|
@@ -655,8 +698,10 @@ module Google
|
|
655
698
|
# @return [Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings]
|
656
699
|
attr_accessor :maintenance_settings
|
657
700
|
|
658
|
-
# Unique name of the resource. It uses the form: `projects/`project_id
|
659
|
-
# locations/`location_id`/instances/`instance_id``
|
701
|
+
# Unique name of the resource. It uses the form: `projects/`project_id|
|
702
|
+
# project_number`/locations/`location_id`/instances/`instance_id`` Note: Either
|
703
|
+
# project_id or project_number can be used, but keep it consistent with other
|
704
|
+
# APIs (e.g. RescheduleUpdate)
|
660
705
|
# Corresponds to the JSON property `name`
|
661
706
|
# @return [String]
|
662
707
|
attr_accessor :name
|
@@ -739,9 +784,9 @@ module Google
|
|
739
784
|
class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule
|
740
785
|
include Google::Apis::Core::Hashable
|
741
786
|
|
742
|
-
#
|
743
|
-
#
|
744
|
-
#
|
787
|
+
# This field is deprecated, and will be always set to true since reschedule can
|
788
|
+
# happen multiple times now. This field should not be removed until all service
|
789
|
+
# producers remove this for their customers.
|
745
790
|
# Corresponds to the JSON property `canReschedule`
|
746
791
|
# @return [Boolean]
|
747
792
|
attr_accessor :can_reschedule
|
@@ -1003,13 +1048,6 @@ module Google
|
|
1003
1048
|
class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
|
1004
1049
|
include Google::Apis::Core::Hashable
|
1005
1050
|
|
1006
|
-
# SloEligibility is a tuple containing eligibility value: true if an instance is
|
1007
|
-
# eligible for SLO calculation or false if it should be excluded from all SLO-
|
1008
|
-
# related calculations along with a user-defined reason.
|
1009
|
-
# Corresponds to the JSON property `eligibility`
|
1010
|
-
# @return [Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility]
|
1011
|
-
attr_accessor :eligibility
|
1012
|
-
|
1013
1051
|
# List of SLO exclusion windows. When multiple entries in the list match (
|
1014
1052
|
# matching the exclusion time-window against current time point) the exclusion
|
1015
1053
|
# reason used in the first matching entry will be published. It is not needed to
|
@@ -1050,7 +1088,6 @@ module Google
|
|
1050
1088
|
|
1051
1089
|
# Update properties of this object
|
1052
1090
|
def update!(**args)
|
1053
|
-
@eligibility = args[:eligibility] if args.key?(:eligibility)
|
1054
1091
|
@exclusions = args[:exclusions] if args.key?(:exclusions)
|
1055
1092
|
@nodes = args[:nodes] if args.key?(:nodes)
|
1056
1093
|
@per_sli_eligibility = args[:per_sli_eligibility] if args.key?(:per_sli_eligibility)
|
@@ -1058,6 +1095,76 @@ module Google
|
|
1058
1095
|
end
|
1059
1096
|
end
|
1060
1097
|
|
1098
|
+
# LDAPSSettings represents the ldaps settings for domain resource. LDAP is the
|
1099
|
+
# Lightweight Directory Access Protocol, defined in https://tools.ietf.org/html/
|
1100
|
+
# rfc4511. The settings object configures LDAP over SSL/TLS, whether it is over
|
1101
|
+
# port 636 or the StartTLS operation. If LDAPSSettings is being changed, it will
|
1102
|
+
# be placed into the UPDATING state, which indicates that the resource is being
|
1103
|
+
# reconciled. At this point, Get will reflect an intermediate state.
|
1104
|
+
class LdapsSettings
|
1105
|
+
include Google::Apis::Core::Hashable
|
1106
|
+
|
1107
|
+
# Certificate used to configure LDAPS.
|
1108
|
+
# Corresponds to the JSON property `certificate`
|
1109
|
+
# @return [Google::Apis::ManagedidentitiesV1alpha1::Certificate]
|
1110
|
+
attr_accessor :certificate
|
1111
|
+
|
1112
|
+
# Input only. The password used to encrypt the uploaded pfx certificate.
|
1113
|
+
# Corresponds to the JSON property `certificatePassword`
|
1114
|
+
# @return [String]
|
1115
|
+
attr_accessor :certificate_password
|
1116
|
+
|
1117
|
+
# Input only. The uploaded PKCS12-formatted certificate to configure LDAPS with.
|
1118
|
+
# It will enable the domain controllers in this domain to accept LDAPS
|
1119
|
+
# connections (either LDAP over SSL/TLS or the StartTLS operation). A valid
|
1120
|
+
# certificate chain must form a valid x.509 certificate chain (or be comprised
|
1121
|
+
# of a single self-signed certificate. It must be encrypted with either: 1)
|
1122
|
+
# PBES2 + PBKDF2 + AES256 encryption and SHA256 PRF; or 2) pbeWithSHA1And3-
|
1123
|
+
# KeyTripleDES-CBC Private key must be included for the leaf / single self-
|
1124
|
+
# signed certificate. Note: For a fqdn your-example-domain.com, the wildcard
|
1125
|
+
# fqdn is *.your-example-domain.com. Specifically the leaf certificate must have:
|
1126
|
+
# - Either a blank subject or a subject with CN matching the wildcard fqdn. -
|
1127
|
+
# Exactly two SANs - the fqdn and wildcard fqdn. - Encipherment and digital key
|
1128
|
+
# signature key usages. - Server authentication extended key usage (OID=1.3.6.1.
|
1129
|
+
# 5.5.7.3.1) - Private key must be in one of the following formats: RSA, ECDSA,
|
1130
|
+
# ED25519. - Private key must have appropriate key length: 2048 for RSA, 256 for
|
1131
|
+
# ECDSA - Signature algorithm of the leaf certificate cannot be MD2, MD5 or SHA1.
|
1132
|
+
# Corresponds to the JSON property `certificatePfx`
|
1133
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
1134
|
+
# @return [String]
|
1135
|
+
attr_accessor :certificate_pfx
|
1136
|
+
|
1137
|
+
# The resource name of the LDAPS settings. Uses the form: `projects/`project`/
|
1138
|
+
# locations/`location`/domains/`domain``.
|
1139
|
+
# Corresponds to the JSON property `name`
|
1140
|
+
# @return [String]
|
1141
|
+
attr_accessor :name
|
1142
|
+
|
1143
|
+
# Output only. The current state of this LDAPS settings.
|
1144
|
+
# Corresponds to the JSON property `state`
|
1145
|
+
# @return [String]
|
1146
|
+
attr_accessor :state
|
1147
|
+
|
1148
|
+
# Output only. Last update time.
|
1149
|
+
# Corresponds to the JSON property `updateTime`
|
1150
|
+
# @return [String]
|
1151
|
+
attr_accessor :update_time
|
1152
|
+
|
1153
|
+
def initialize(**args)
|
1154
|
+
update!(**args)
|
1155
|
+
end
|
1156
|
+
|
1157
|
+
# Update properties of this object
|
1158
|
+
def update!(**args)
|
1159
|
+
@certificate = args[:certificate] if args.key?(:certificate)
|
1160
|
+
@certificate_password = args[:certificate_password] if args.key?(:certificate_password)
|
1161
|
+
@certificate_pfx = args[:certificate_pfx] if args.key?(:certificate_pfx)
|
1162
|
+
@name = args[:name] if args.key?(:name)
|
1163
|
+
@state = args[:state] if args.key?(:state)
|
1164
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
1165
|
+
end
|
1166
|
+
end
|
1167
|
+
|
1061
1168
|
#
|
1062
1169
|
class ListDomainsResponse
|
1063
1170
|
include Google::Apis::Core::Hashable
|
@@ -1140,6 +1247,38 @@ module Google
|
|
1140
1247
|
end
|
1141
1248
|
end
|
1142
1249
|
|
1250
|
+
# ListPeeringsResponse is the response message for ListPeerings method.
|
1251
|
+
class ListPeeringsResponse
|
1252
|
+
include Google::Apis::Core::Hashable
|
1253
|
+
|
1254
|
+
# Token to retrieve the next page of results, or empty if there are no more
|
1255
|
+
# results in the list.
|
1256
|
+
# Corresponds to the JSON property `nextPageToken`
|
1257
|
+
# @return [String]
|
1258
|
+
attr_accessor :next_page_token
|
1259
|
+
|
1260
|
+
# A list of Managed Identities Service Peerings in the project.
|
1261
|
+
# Corresponds to the JSON property `peerings`
|
1262
|
+
# @return [Array<Google::Apis::ManagedidentitiesV1alpha1::Peering>]
|
1263
|
+
attr_accessor :peerings
|
1264
|
+
|
1265
|
+
# Locations that could not be reached.
|
1266
|
+
# Corresponds to the JSON property `unreachable`
|
1267
|
+
# @return [Array<String>]
|
1268
|
+
attr_accessor :unreachable
|
1269
|
+
|
1270
|
+
def initialize(**args)
|
1271
|
+
update!(**args)
|
1272
|
+
end
|
1273
|
+
|
1274
|
+
# Update properties of this object
|
1275
|
+
def update!(**args)
|
1276
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1277
|
+
@peerings = args[:peerings] if args.key?(:peerings)
|
1278
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
1279
|
+
end
|
1280
|
+
end
|
1281
|
+
|
1143
1282
|
# ListSQLIntegrationsResponse is the response message for ListSQLIntegrations
|
1144
1283
|
# method.
|
1145
1284
|
class ListSqlIntegrationsResponse
|
@@ -1428,6 +1567,75 @@ module Google
|
|
1428
1567
|
end
|
1429
1568
|
end
|
1430
1569
|
|
1570
|
+
# Represents a Managed Microsoft Identities Peering.
|
1571
|
+
class Peering
|
1572
|
+
include Google::Apis::Core::Hashable
|
1573
|
+
|
1574
|
+
# Required. The full names of the Google Compute Engine [networks](/compute/docs/
|
1575
|
+
# networks-and-firewalls#networks) to which the instance is connected. Caller
|
1576
|
+
# needs to make sure that CIDR subnets do not overlap between networks, else
|
1577
|
+
# peering creation will fail.
|
1578
|
+
# Corresponds to the JSON property `authorizedNetwork`
|
1579
|
+
# @return [String]
|
1580
|
+
attr_accessor :authorized_network
|
1581
|
+
|
1582
|
+
# Output only. The time the instance was created.
|
1583
|
+
# Corresponds to the JSON property `createTime`
|
1584
|
+
# @return [String]
|
1585
|
+
attr_accessor :create_time
|
1586
|
+
|
1587
|
+
# Required. Full domain resource path for the Managed AD Domain involved in
|
1588
|
+
# peering. The resource path should be in the form: `projects/`project_id`/
|
1589
|
+
# locations/global/domains/`domain_name``
|
1590
|
+
# Corresponds to the JSON property `domainResource`
|
1591
|
+
# @return [String]
|
1592
|
+
attr_accessor :domain_resource
|
1593
|
+
|
1594
|
+
# Optional. Resource labels to represent user provided metadata.
|
1595
|
+
# Corresponds to the JSON property `labels`
|
1596
|
+
# @return [Hash<String,String>]
|
1597
|
+
attr_accessor :labels
|
1598
|
+
|
1599
|
+
# Output only. Unique name of the peering in this scope including projects and
|
1600
|
+
# location using the form: `projects/`project_id`/locations/global/peerings/`
|
1601
|
+
# peering_id``.
|
1602
|
+
# Corresponds to the JSON property `name`
|
1603
|
+
# @return [String]
|
1604
|
+
attr_accessor :name
|
1605
|
+
|
1606
|
+
# Output only. The current state of this Peering.
|
1607
|
+
# Corresponds to the JSON property `state`
|
1608
|
+
# @return [String]
|
1609
|
+
attr_accessor :state
|
1610
|
+
|
1611
|
+
# Output only. Additional information about the current status of this peering,
|
1612
|
+
# if available.
|
1613
|
+
# Corresponds to the JSON property `statusMessage`
|
1614
|
+
# @return [String]
|
1615
|
+
attr_accessor :status_message
|
1616
|
+
|
1617
|
+
# Output only. Last update time.
|
1618
|
+
# Corresponds to the JSON property `updateTime`
|
1619
|
+
# @return [String]
|
1620
|
+
attr_accessor :update_time
|
1621
|
+
|
1622
|
+
def initialize(**args)
|
1623
|
+
update!(**args)
|
1624
|
+
end
|
1625
|
+
|
1626
|
+
# Update properties of this object
|
1627
|
+
def update!(**args)
|
1628
|
+
@authorized_network = args[:authorized_network] if args.key?(:authorized_network)
|
1629
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
1630
|
+
@domain_resource = args[:domain_resource] if args.key?(:domain_resource)
|
1631
|
+
@labels = args[:labels] if args.key?(:labels)
|
1632
|
+
@name = args[:name] if args.key?(:name)
|
1633
|
+
@state = args[:state] if args.key?(:state)
|
1634
|
+
@status_message = args[:status_message] if args.key?(:status_message)
|
1635
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
1636
|
+
end
|
1637
|
+
end
|
1638
|
+
|
1431
1639
|
# An Identity and Access Management (IAM) policy, which specifies access
|
1432
1640
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
1433
1641
|
# A `binding` binds one or more `members` to a single `role`. Members can be
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ManagedidentitiesV1alpha1
|
18
18
|
# Version of the google-apis-managedidentities_v1alpha1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.9.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.3.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210614"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -40,6 +40,12 @@ module Google
|
|
40
40
|
include Google::Apis::Core::JsonObjectSupport
|
41
41
|
end
|
42
42
|
|
43
|
+
class Certificate
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
43
49
|
class DailyCycle
|
44
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
51
|
|
@@ -154,6 +160,12 @@ module Google
|
|
154
160
|
include Google::Apis::Core::JsonObjectSupport
|
155
161
|
end
|
156
162
|
|
163
|
+
class LdapsSettings
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
+
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
167
|
+
end
|
168
|
+
|
157
169
|
class ListDomainsResponse
|
158
170
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
171
|
|
@@ -172,6 +184,12 @@ module Google
|
|
172
184
|
include Google::Apis::Core::JsonObjectSupport
|
173
185
|
end
|
174
186
|
|
187
|
+
class ListPeeringsResponse
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
|
+
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
191
|
+
end
|
192
|
+
|
175
193
|
class ListSqlIntegrationsResponse
|
176
194
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
195
|
|
@@ -208,6 +226,12 @@ module Google
|
|
208
226
|
include Google::Apis::Core::JsonObjectSupport
|
209
227
|
end
|
210
228
|
|
229
|
+
class Peering
|
230
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
|
+
|
232
|
+
include Google::Apis::Core::JsonObjectSupport
|
233
|
+
end
|
234
|
+
|
211
235
|
class Policy
|
212
236
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
237
|
|
@@ -322,6 +346,18 @@ module Google
|
|
322
346
|
end
|
323
347
|
end
|
324
348
|
|
349
|
+
class Certificate
|
350
|
+
# @private
|
351
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
352
|
+
property :expire_time, as: 'expireTime'
|
353
|
+
property :issuing_certificate, as: 'issuingCertificate', class: Google::Apis::ManagedidentitiesV1alpha1::Certificate, decorator: Google::Apis::ManagedidentitiesV1alpha1::Certificate::Representation
|
354
|
+
|
355
|
+
property :subject, as: 'subject'
|
356
|
+
collection :subject_alternative_name, as: 'subjectAlternativeName'
|
357
|
+
property :thumbprint, as: 'thumbprint'
|
358
|
+
end
|
359
|
+
end
|
360
|
+
|
325
361
|
class DailyCycle
|
326
362
|
# @private
|
327
363
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -525,8 +561,6 @@ module Google
|
|
525
561
|
class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
|
526
562
|
# @private
|
527
563
|
class Representation < Google::Apis::Core::JsonRepresentation
|
528
|
-
property :eligibility, as: 'eligibility', class: Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility, decorator: Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility::Representation
|
529
|
-
|
530
564
|
collection :exclusions, as: 'exclusions', class: Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion, decorator: Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion::Representation
|
531
565
|
|
532
566
|
collection :nodes, as: 'nodes', class: Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata, decorator: Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata::Representation
|
@@ -537,6 +571,19 @@ module Google
|
|
537
571
|
end
|
538
572
|
end
|
539
573
|
|
574
|
+
class LdapsSettings
|
575
|
+
# @private
|
576
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
577
|
+
property :certificate, as: 'certificate', class: Google::Apis::ManagedidentitiesV1alpha1::Certificate, decorator: Google::Apis::ManagedidentitiesV1alpha1::Certificate::Representation
|
578
|
+
|
579
|
+
property :certificate_password, as: 'certificatePassword'
|
580
|
+
property :certificate_pfx, :base64 => true, as: 'certificatePfx'
|
581
|
+
property :name, as: 'name'
|
582
|
+
property :state, as: 'state'
|
583
|
+
property :update_time, as: 'updateTime'
|
584
|
+
end
|
585
|
+
end
|
586
|
+
|
540
587
|
class ListDomainsResponse
|
541
588
|
# @private
|
542
589
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -565,6 +612,16 @@ module Google
|
|
565
612
|
end
|
566
613
|
end
|
567
614
|
|
615
|
+
class ListPeeringsResponse
|
616
|
+
# @private
|
617
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
618
|
+
property :next_page_token, as: 'nextPageToken'
|
619
|
+
collection :peerings, as: 'peerings', class: Google::Apis::ManagedidentitiesV1alpha1::Peering, decorator: Google::Apis::ManagedidentitiesV1alpha1::Peering::Representation
|
620
|
+
|
621
|
+
collection :unreachable, as: 'unreachable'
|
622
|
+
end
|
623
|
+
end
|
624
|
+
|
568
625
|
class ListSqlIntegrationsResponse
|
569
626
|
# @private
|
570
627
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -635,6 +692,20 @@ module Google
|
|
635
692
|
end
|
636
693
|
end
|
637
694
|
|
695
|
+
class Peering
|
696
|
+
# @private
|
697
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
698
|
+
property :authorized_network, as: 'authorizedNetwork'
|
699
|
+
property :create_time, as: 'createTime'
|
700
|
+
property :domain_resource, as: 'domainResource'
|
701
|
+
hash :labels, as: 'labels'
|
702
|
+
property :name, as: 'name'
|
703
|
+
property :state, as: 'state'
|
704
|
+
property :status_message, as: 'statusMessage'
|
705
|
+
property :update_time, as: 'updateTime'
|
706
|
+
end
|
707
|
+
end
|
708
|
+
|
638
709
|
class Policy
|
639
710
|
# @private
|
640
711
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -84,11 +84,15 @@ module Google
|
|
84
84
|
# @param [String] name
|
85
85
|
# The resource that owns the locations collection, if applicable.
|
86
86
|
# @param [String] filter
|
87
|
-
#
|
87
|
+
# A filter to narrow down results to a preferred subset. The filtering language
|
88
|
+
# accepts strings like "displayName=tokyo", and is documented in more detail in [
|
89
|
+
# AIP-160](https://google.aip.dev/160).
|
88
90
|
# @param [Fixnum] page_size
|
89
|
-
# The
|
91
|
+
# The maximum number of results to return. If not set, the service selects a
|
92
|
+
# default.
|
90
93
|
# @param [String] page_token
|
91
|
-
#
|
94
|
+
# A page token received from the `next_page_token` field in the response. Send
|
95
|
+
# that page token to receive the subsequent page.
|
92
96
|
# @param [String] fields
|
93
97
|
# Selector specifying which fields to include in a partial response.
|
94
98
|
# @param [String] quota_user
|
@@ -163,7 +167,7 @@ module Google
|
|
163
167
|
# following restrictions: * Must contain only lowercase letters, numbers,
|
164
168
|
# periods and hyphens. * Must start with a letter. * Must contain between 2-64
|
165
169
|
# characters. * Must end with a number or a letter. * Must not start with period.
|
166
|
-
# * Must be unique within the project. * First
|
170
|
+
# * Must be unique within the project. * First segment length (mydomain form
|
167
171
|
# example above) shouldn't exceed 15 chars. * The last segment cannot be fully
|
168
172
|
# numeric.
|
169
173
|
# @param [String] fields
|
@@ -333,6 +337,37 @@ module Google
|
|
333
337
|
execute_or_queue_command(command, &block)
|
334
338
|
end
|
335
339
|
|
340
|
+
# Gets the domain ldaps settings.
|
341
|
+
# @param [String] name
|
342
|
+
# Required. The domain resource name using the form: `projects/`project_id`/
|
343
|
+
# locations/global/domains/`domain_name``
|
344
|
+
# @param [String] fields
|
345
|
+
# Selector specifying which fields to include in a partial response.
|
346
|
+
# @param [String] quota_user
|
347
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
348
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
349
|
+
# @param [Google::Apis::RequestOptions] options
|
350
|
+
# Request-specific options
|
351
|
+
#
|
352
|
+
# @yield [result, err] Result & error if block supplied
|
353
|
+
# @yieldparam result [Google::Apis::ManagedidentitiesV1alpha1::LdapsSettings] parsed result object
|
354
|
+
# @yieldparam err [StandardError] error object if request failed
|
355
|
+
#
|
356
|
+
# @return [Google::Apis::ManagedidentitiesV1alpha1::LdapsSettings]
|
357
|
+
#
|
358
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
359
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
360
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
361
|
+
def get_project_location_global_domain_ldapssettings(name, fields: nil, quota_user: nil, options: nil, &block)
|
362
|
+
command = make_simple_command(:get, 'v1alpha1/{+name}/ldapssettings', options)
|
363
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1alpha1::LdapsSettings::Representation
|
364
|
+
command.response_class = Google::Apis::ManagedidentitiesV1alpha1::LdapsSettings
|
365
|
+
command.params['name'] = name unless name.nil?
|
366
|
+
command.query['fields'] = fields unless fields.nil?
|
367
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
368
|
+
execute_or_queue_command(command, &block)
|
369
|
+
end
|
370
|
+
|
336
371
|
# Lists Domains in a given project.
|
337
372
|
# @param [String] parent
|
338
373
|
# Required. The resource name of the domain location using the form: `projects/`
|
@@ -564,6 +599,45 @@ module Google
|
|
564
599
|
execute_or_queue_command(command, &block)
|
565
600
|
end
|
566
601
|
|
602
|
+
# Patches a single ldaps settings.
|
603
|
+
# @param [String] name
|
604
|
+
# The resource name of the LDAPS settings. Uses the form: `projects/`project`/
|
605
|
+
# locations/`location`/domains/`domain``.
|
606
|
+
# @param [Google::Apis::ManagedidentitiesV1alpha1::LdapsSettings] ldaps_settings_object
|
607
|
+
# @param [String] update_mask
|
608
|
+
# Required. Mask of fields to update. At least one path must be supplied in this
|
609
|
+
# field. For the `FieldMask` definition, see https://developers.google.com/
|
610
|
+
# protocol-buffers/docs/reference/google.protobuf#fieldmask
|
611
|
+
# @param [String] fields
|
612
|
+
# Selector specifying which fields to include in a partial response.
|
613
|
+
# @param [String] quota_user
|
614
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
615
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
616
|
+
# @param [Google::Apis::RequestOptions] options
|
617
|
+
# Request-specific options
|
618
|
+
#
|
619
|
+
# @yield [result, err] Result & error if block supplied
|
620
|
+
# @yieldparam result [Google::Apis::ManagedidentitiesV1alpha1::Operation] parsed result object
|
621
|
+
# @yieldparam err [StandardError] error object if request failed
|
622
|
+
#
|
623
|
+
# @return [Google::Apis::ManagedidentitiesV1alpha1::Operation]
|
624
|
+
#
|
625
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
626
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
627
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
628
|
+
def update_project_location_global_domain_ldapssettings(name, ldaps_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
629
|
+
command = make_simple_command(:patch, 'v1alpha1/{+name}/ldapssettings', options)
|
630
|
+
command.request_representation = Google::Apis::ManagedidentitiesV1alpha1::LdapsSettings::Representation
|
631
|
+
command.request_object = ldaps_settings_object
|
632
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1alpha1::Operation::Representation
|
633
|
+
command.response_class = Google::Apis::ManagedidentitiesV1alpha1::Operation
|
634
|
+
command.params['name'] = name unless name.nil?
|
635
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
636
|
+
command.query['fields'] = fields unless fields.nil?
|
637
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
638
|
+
execute_or_queue_command(command, &block)
|
639
|
+
end
|
640
|
+
|
567
641
|
# Validate the trust state Operation
|
568
642
|
# @param [String] name
|
569
643
|
# The resource domain name, project name, and location using the form: `projects/
|
@@ -828,6 +902,310 @@ module Google
|
|
828
902
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
829
903
|
execute_or_queue_command(command, &block)
|
830
904
|
end
|
905
|
+
|
906
|
+
# Creates a Peering for Managed AD instance.
|
907
|
+
# @param [String] parent
|
908
|
+
# Required. Resource project name and location using the form: `projects/`
|
909
|
+
# project_id`/locations/global`
|
910
|
+
# @param [Google::Apis::ManagedidentitiesV1alpha1::Peering] peering_object
|
911
|
+
# @param [String] peering_id
|
912
|
+
# Required. Peering Id, unique name to identify peering.
|
913
|
+
# @param [String] fields
|
914
|
+
# Selector specifying which fields to include in a partial response.
|
915
|
+
# @param [String] quota_user
|
916
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
917
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
918
|
+
# @param [Google::Apis::RequestOptions] options
|
919
|
+
# Request-specific options
|
920
|
+
#
|
921
|
+
# @yield [result, err] Result & error if block supplied
|
922
|
+
# @yieldparam result [Google::Apis::ManagedidentitiesV1alpha1::Operation] parsed result object
|
923
|
+
# @yieldparam err [StandardError] error object if request failed
|
924
|
+
#
|
925
|
+
# @return [Google::Apis::ManagedidentitiesV1alpha1::Operation]
|
926
|
+
#
|
927
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
928
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
929
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
930
|
+
def create_project_location_global_peering(parent, peering_object = nil, peering_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
931
|
+
command = make_simple_command(:post, 'v1alpha1/{+parent}/peerings', options)
|
932
|
+
command.request_representation = Google::Apis::ManagedidentitiesV1alpha1::Peering::Representation
|
933
|
+
command.request_object = peering_object
|
934
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1alpha1::Operation::Representation
|
935
|
+
command.response_class = Google::Apis::ManagedidentitiesV1alpha1::Operation
|
936
|
+
command.params['parent'] = parent unless parent.nil?
|
937
|
+
command.query['peeringId'] = peering_id unless peering_id.nil?
|
938
|
+
command.query['fields'] = fields unless fields.nil?
|
939
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
940
|
+
execute_or_queue_command(command, &block)
|
941
|
+
end
|
942
|
+
|
943
|
+
# Deletes identified Peering.
|
944
|
+
# @param [String] name
|
945
|
+
# Required. Peering resource name using the form: `projects/`project_id`/
|
946
|
+
# locations/global/peerings/`peering_id``
|
947
|
+
# @param [String] fields
|
948
|
+
# Selector specifying which fields to include in a partial response.
|
949
|
+
# @param [String] quota_user
|
950
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
951
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
952
|
+
# @param [Google::Apis::RequestOptions] options
|
953
|
+
# Request-specific options
|
954
|
+
#
|
955
|
+
# @yield [result, err] Result & error if block supplied
|
956
|
+
# @yieldparam result [Google::Apis::ManagedidentitiesV1alpha1::Operation] parsed result object
|
957
|
+
# @yieldparam err [StandardError] error object if request failed
|
958
|
+
#
|
959
|
+
# @return [Google::Apis::ManagedidentitiesV1alpha1::Operation]
|
960
|
+
#
|
961
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
962
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
963
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
964
|
+
def delete_project_location_global_peering(name, fields: nil, quota_user: nil, options: nil, &block)
|
965
|
+
command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
|
966
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1alpha1::Operation::Representation
|
967
|
+
command.response_class = Google::Apis::ManagedidentitiesV1alpha1::Operation
|
968
|
+
command.params['name'] = name unless name.nil?
|
969
|
+
command.query['fields'] = fields unless fields.nil?
|
970
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
971
|
+
execute_or_queue_command(command, &block)
|
972
|
+
end
|
973
|
+
|
974
|
+
# Gets details of a single Peering.
|
975
|
+
# @param [String] name
|
976
|
+
# Required. Peering resource name using the form: `projects/`project_id`/
|
977
|
+
# locations/global/domains/`peering_id``
|
978
|
+
# @param [String] fields
|
979
|
+
# Selector specifying which fields to include in a partial response.
|
980
|
+
# @param [String] quota_user
|
981
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
982
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
983
|
+
# @param [Google::Apis::RequestOptions] options
|
984
|
+
# Request-specific options
|
985
|
+
#
|
986
|
+
# @yield [result, err] Result & error if block supplied
|
987
|
+
# @yieldparam result [Google::Apis::ManagedidentitiesV1alpha1::Peering] parsed result object
|
988
|
+
# @yieldparam err [StandardError] error object if request failed
|
989
|
+
#
|
990
|
+
# @return [Google::Apis::ManagedidentitiesV1alpha1::Peering]
|
991
|
+
#
|
992
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
993
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
994
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
995
|
+
def get_project_location_global_peering(name, fields: nil, quota_user: nil, options: nil, &block)
|
996
|
+
command = make_simple_command(:get, 'v1alpha1/{+name}', options)
|
997
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1alpha1::Peering::Representation
|
998
|
+
command.response_class = Google::Apis::ManagedidentitiesV1alpha1::Peering
|
999
|
+
command.params['name'] = name unless name.nil?
|
1000
|
+
command.query['fields'] = fields unless fields.nil?
|
1001
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1002
|
+
execute_or_queue_command(command, &block)
|
1003
|
+
end
|
1004
|
+
|
1005
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
1006
|
+
# resource exists and does not have a policy set.
|
1007
|
+
# @param [String] resource
|
1008
|
+
# REQUIRED: The resource for which the policy is being requested. See the
|
1009
|
+
# operation documentation for the appropriate value for this field.
|
1010
|
+
# @param [Fixnum] options_requested_policy_version
|
1011
|
+
# Optional. The policy format version to be returned. Valid values are 0, 1, and
|
1012
|
+
# 3. Requests specifying an invalid value will be rejected. Requests for
|
1013
|
+
# policies with any conditional bindings must specify version 3. Policies
|
1014
|
+
# without any conditional bindings may specify any valid value or leave the
|
1015
|
+
# field unset. To learn which resources support conditions in their IAM policies,
|
1016
|
+
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
1017
|
+
# resource-policies).
|
1018
|
+
# @param [String] fields
|
1019
|
+
# Selector specifying which fields to include in a partial response.
|
1020
|
+
# @param [String] quota_user
|
1021
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1022
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1023
|
+
# @param [Google::Apis::RequestOptions] options
|
1024
|
+
# Request-specific options
|
1025
|
+
#
|
1026
|
+
# @yield [result, err] Result & error if block supplied
|
1027
|
+
# @yieldparam result [Google::Apis::ManagedidentitiesV1alpha1::Policy] parsed result object
|
1028
|
+
# @yieldparam err [StandardError] error object if request failed
|
1029
|
+
#
|
1030
|
+
# @return [Google::Apis::ManagedidentitiesV1alpha1::Policy]
|
1031
|
+
#
|
1032
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1033
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1034
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1035
|
+
def get_project_location_global_peering_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1036
|
+
command = make_simple_command(:get, 'v1alpha1/{+resource}:getIamPolicy', options)
|
1037
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1alpha1::Policy::Representation
|
1038
|
+
command.response_class = Google::Apis::ManagedidentitiesV1alpha1::Policy
|
1039
|
+
command.params['resource'] = resource unless resource.nil?
|
1040
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
1041
|
+
command.query['fields'] = fields unless fields.nil?
|
1042
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1043
|
+
execute_or_queue_command(command, &block)
|
1044
|
+
end
|
1045
|
+
|
1046
|
+
# Lists Peerings in a given project.
|
1047
|
+
# @param [String] parent
|
1048
|
+
# Required. The resource name of the domain location using the form: `projects/`
|
1049
|
+
# project_id`/locations/global`
|
1050
|
+
# @param [String] filter
|
1051
|
+
# Optional. Filter specifying constraints of a list operation. For example, `
|
1052
|
+
# peering.authoized_network ="/projects/myprojectid"`.
|
1053
|
+
# @param [String] order_by
|
1054
|
+
# Optional. Specifies the ordering of results following syntax at https://cloud.
|
1055
|
+
# google.com/apis/design/design_patterns#sorting_order.
|
1056
|
+
# @param [Fixnum] page_size
|
1057
|
+
# Optional. The maximum number of items to return. If not specified, a default
|
1058
|
+
# value of 1000 will be used by the service. Regardless of the page_size value,
|
1059
|
+
# the response may include a partial list and a caller should only rely on
|
1060
|
+
# response's next_page_token to determine if there are more instances left to be
|
1061
|
+
# queried.
|
1062
|
+
# @param [String] page_token
|
1063
|
+
# Optional. The next_page_token value returned from a previous List request, if
|
1064
|
+
# any.
|
1065
|
+
# @param [String] fields
|
1066
|
+
# Selector specifying which fields to include in a partial response.
|
1067
|
+
# @param [String] quota_user
|
1068
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1069
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1070
|
+
# @param [Google::Apis::RequestOptions] options
|
1071
|
+
# Request-specific options
|
1072
|
+
#
|
1073
|
+
# @yield [result, err] Result & error if block supplied
|
1074
|
+
# @yieldparam result [Google::Apis::ManagedidentitiesV1alpha1::ListPeeringsResponse] parsed result object
|
1075
|
+
# @yieldparam err [StandardError] error object if request failed
|
1076
|
+
#
|
1077
|
+
# @return [Google::Apis::ManagedidentitiesV1alpha1::ListPeeringsResponse]
|
1078
|
+
#
|
1079
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1080
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1081
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1082
|
+
def list_project_location_global_peerings(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1083
|
+
command = make_simple_command(:get, 'v1alpha1/{+parent}/peerings', options)
|
1084
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1alpha1::ListPeeringsResponse::Representation
|
1085
|
+
command.response_class = Google::Apis::ManagedidentitiesV1alpha1::ListPeeringsResponse
|
1086
|
+
command.params['parent'] = parent unless parent.nil?
|
1087
|
+
command.query['filter'] = filter unless filter.nil?
|
1088
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
1089
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1090
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1091
|
+
command.query['fields'] = fields unless fields.nil?
|
1092
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1093
|
+
execute_or_queue_command(command, &block)
|
1094
|
+
end
|
1095
|
+
|
1096
|
+
# Updates the labels for specified Peering.
|
1097
|
+
# @param [String] name
|
1098
|
+
# Output only. Unique name of the peering in this scope including projects and
|
1099
|
+
# location using the form: `projects/`project_id`/locations/global/peerings/`
|
1100
|
+
# peering_id``.
|
1101
|
+
# @param [Google::Apis::ManagedidentitiesV1alpha1::Peering] peering_object
|
1102
|
+
# @param [String] update_mask
|
1103
|
+
# Required. Mask of fields to update. At least one path must be supplied in this
|
1104
|
+
# field. The elements of the repeated paths field may only include these fields
|
1105
|
+
# from Peering: * `labels`
|
1106
|
+
# @param [String] fields
|
1107
|
+
# Selector specifying which fields to include in a partial response.
|
1108
|
+
# @param [String] quota_user
|
1109
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1110
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1111
|
+
# @param [Google::Apis::RequestOptions] options
|
1112
|
+
# Request-specific options
|
1113
|
+
#
|
1114
|
+
# @yield [result, err] Result & error if block supplied
|
1115
|
+
# @yieldparam result [Google::Apis::ManagedidentitiesV1alpha1::Operation] parsed result object
|
1116
|
+
# @yieldparam err [StandardError] error object if request failed
|
1117
|
+
#
|
1118
|
+
# @return [Google::Apis::ManagedidentitiesV1alpha1::Operation]
|
1119
|
+
#
|
1120
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1121
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1122
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1123
|
+
def patch_project_location_global_peering(name, peering_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1124
|
+
command = make_simple_command(:patch, 'v1alpha1/{+name}', options)
|
1125
|
+
command.request_representation = Google::Apis::ManagedidentitiesV1alpha1::Peering::Representation
|
1126
|
+
command.request_object = peering_object
|
1127
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1alpha1::Operation::Representation
|
1128
|
+
command.response_class = Google::Apis::ManagedidentitiesV1alpha1::Operation
|
1129
|
+
command.params['name'] = name unless name.nil?
|
1130
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1131
|
+
command.query['fields'] = fields unless fields.nil?
|
1132
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1133
|
+
execute_or_queue_command(command, &block)
|
1134
|
+
end
|
1135
|
+
|
1136
|
+
# Sets the access control policy on the specified resource. Replaces any
|
1137
|
+
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
1138
|
+
# PERMISSION_DENIED` errors.
|
1139
|
+
# @param [String] resource
|
1140
|
+
# REQUIRED: The resource for which the policy is being specified. See the
|
1141
|
+
# operation documentation for the appropriate value for this field.
|
1142
|
+
# @param [Google::Apis::ManagedidentitiesV1alpha1::SetIamPolicyRequest] set_iam_policy_request_object
|
1143
|
+
# @param [String] fields
|
1144
|
+
# Selector specifying which fields to include in a partial response.
|
1145
|
+
# @param [String] quota_user
|
1146
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1147
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1148
|
+
# @param [Google::Apis::RequestOptions] options
|
1149
|
+
# Request-specific options
|
1150
|
+
#
|
1151
|
+
# @yield [result, err] Result & error if block supplied
|
1152
|
+
# @yieldparam result [Google::Apis::ManagedidentitiesV1alpha1::Policy] parsed result object
|
1153
|
+
# @yieldparam err [StandardError] error object if request failed
|
1154
|
+
#
|
1155
|
+
# @return [Google::Apis::ManagedidentitiesV1alpha1::Policy]
|
1156
|
+
#
|
1157
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1158
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1159
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1160
|
+
def set_peering_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1161
|
+
command = make_simple_command(:post, 'v1alpha1/{+resource}:setIamPolicy', options)
|
1162
|
+
command.request_representation = Google::Apis::ManagedidentitiesV1alpha1::SetIamPolicyRequest::Representation
|
1163
|
+
command.request_object = set_iam_policy_request_object
|
1164
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1alpha1::Policy::Representation
|
1165
|
+
command.response_class = Google::Apis::ManagedidentitiesV1alpha1::Policy
|
1166
|
+
command.params['resource'] = resource unless resource.nil?
|
1167
|
+
command.query['fields'] = fields unless fields.nil?
|
1168
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1169
|
+
execute_or_queue_command(command, &block)
|
1170
|
+
end
|
1171
|
+
|
1172
|
+
# Returns permissions that a caller has on the specified resource. If the
|
1173
|
+
# resource does not exist, this will return an empty set of permissions, not a `
|
1174
|
+
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
1175
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
1176
|
+
# This operation may "fail open" without warning.
|
1177
|
+
# @param [String] resource
|
1178
|
+
# REQUIRED: The resource for which the policy detail is being requested. See the
|
1179
|
+
# operation documentation for the appropriate value for this field.
|
1180
|
+
# @param [Google::Apis::ManagedidentitiesV1alpha1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
1181
|
+
# @param [String] fields
|
1182
|
+
# Selector specifying which fields to include in a partial response.
|
1183
|
+
# @param [String] quota_user
|
1184
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1185
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1186
|
+
# @param [Google::Apis::RequestOptions] options
|
1187
|
+
# Request-specific options
|
1188
|
+
#
|
1189
|
+
# @yield [result, err] Result & error if block supplied
|
1190
|
+
# @yieldparam result [Google::Apis::ManagedidentitiesV1alpha1::TestIamPermissionsResponse] parsed result object
|
1191
|
+
# @yieldparam err [StandardError] error object if request failed
|
1192
|
+
#
|
1193
|
+
# @return [Google::Apis::ManagedidentitiesV1alpha1::TestIamPermissionsResponse]
|
1194
|
+
#
|
1195
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1196
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1197
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1198
|
+
def test_peering_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1199
|
+
command = make_simple_command(:post, 'v1alpha1/{+resource}:testIamPermissions', options)
|
1200
|
+
command.request_representation = Google::Apis::ManagedidentitiesV1alpha1::TestIamPermissionsRequest::Representation
|
1201
|
+
command.request_object = test_iam_permissions_request_object
|
1202
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1alpha1::TestIamPermissionsResponse::Representation
|
1203
|
+
command.response_class = Google::Apis::ManagedidentitiesV1alpha1::TestIamPermissionsResponse
|
1204
|
+
command.params['resource'] = resource unless resource.nil?
|
1205
|
+
command.query['fields'] = fields unless fields.nil?
|
1206
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1207
|
+
execute_or_queue_command(command, &block)
|
1208
|
+
end
|
831
1209
|
|
832
1210
|
protected
|
833
1211
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-managedidentities_v1alpha1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-06-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -53,7 +53,7 @@ licenses:
|
|
53
53
|
metadata:
|
54
54
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
55
55
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-managedidentities_v1alpha1/CHANGELOG.md
|
56
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-managedidentities_v1alpha1/v0.
|
56
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-managedidentities_v1alpha1/v0.9.0
|
57
57
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-managedidentities_v1alpha1
|
58
58
|
post_install_message:
|
59
59
|
rdoc_options: []
|
@@ -70,7 +70,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
70
70
|
- !ruby/object:Gem::Version
|
71
71
|
version: '0'
|
72
72
|
requirements: []
|
73
|
-
rubygems_version: 3.2.
|
73
|
+
rubygems_version: 3.2.17
|
74
74
|
signing_key:
|
75
75
|
specification_version: 4
|
76
76
|
summary: Simple REST client for Managed Service for Microsoft Active Directory API
|