google-apis-managedidentities_v1alpha1 0.7.0 → 0.12.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a4763cb969911af181ba76b72f5a332fa5d40362cda66178005627f49103bf94
4
- data.tar.gz: 3093171bae91fb8ece18f8251939cb6e6f113e9679e411206bfed9ac7f6238f6
3
+ metadata.gz: ff185d8035a1c83eb0e2b8bacadc4556bab91dc872415dbefab5d33a7e11e0ad
4
+ data.tar.gz: 10baedbc1d017dc17f1f0032456536295ac873d8479585d8cb010deff8c13263
5
5
  SHA512:
6
- metadata.gz: 0b1a3432155735a5dfcb94f358531a08af05d4338f7a16918eb932e0cc107cbf873ba2a6251a50fdd68d43fcdfed0c04b779b03f49410db4d07c1621bc351b77
7
- data.tar.gz: 6bc1ed16052ab1222cf699e0aec38aee2abce1dff6e8a1f73588ab8bad395690fa8bfbf2835e3075f4b96be9f6bfce5bbc1e8254a7ee4e3e8f4cc71389d4a32c
6
+ metadata.gz: 3ab5915555ad8831d1dcf3f128afa2a92ee3c767e0fee5fe8dd17d71b07a70d7677be892df2bdd6c487969a46d2b4697955d4e185aa49ee84cfc0b59938488bb
7
+ data.tar.gz: 8247e34b82b46efcdd78fce5084c59c6659465efba8d5af0aca8277a9309e1aa955a8a82e39b237f3c31ae4bf95f098206447ddd3b45777642fc05472febb2b8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # Release history for google-apis-managedidentities_v1alpha1
2
2
 
3
+ ### v0.12.0 (2021-07-10)
4
+
5
+ * Regenerated from discovery document revision 20210701
6
+
7
+ ### v0.11.0 (2021-06-29)
8
+
9
+ * Regenerated using generator version 0.4.0
10
+
11
+ ### v0.10.0 (2021-06-24)
12
+
13
+ * Regenerated from discovery document revision 20210615
14
+
15
+ ### v0.9.0 (2021-06-16)
16
+
17
+ * Regenerated from discovery document revision 20210614
18
+
19
+ ### v0.8.0 (2021-06-10)
20
+
21
+ * Regenerated from discovery document revision 20210601
22
+ * Regenerated using generator version 0.3.0
23
+
3
24
  ### v0.7.0 (2021-05-19)
4
25
 
5
26
  * Unspecified changes
@@ -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
@@ -852,6 +897,11 @@ module Google
852
897
  # @return [String]
853
898
  attr_accessor :node_id
854
899
 
900
+ # PerSliSloEligibility is a mapping from an SLI name to eligibility.
901
+ # Corresponds to the JSON property `perSliEligibility`
902
+ # @return [Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility]
903
+ attr_accessor :per_sli_eligibility
904
+
855
905
  def initialize(**args)
856
906
  update!(**args)
857
907
  end
@@ -861,6 +911,7 @@ module Google
861
911
  @exclusions = args[:exclusions] if args.key?(:exclusions)
862
912
  @location = args[:location] if args.key?(:location)
863
913
  @node_id = args[:node_id] if args.key?(:node_id)
914
+ @per_sli_eligibility = args[:per_sli_eligibility] if args.key?(:per_sli_eligibility)
864
915
  end
865
916
  end
866
917
 
@@ -1003,13 +1054,6 @@ module Google
1003
1054
  class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
1004
1055
  include Google::Apis::Core::Hashable
1005
1056
 
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
1057
  # List of SLO exclusion windows. When multiple entries in the list match (
1014
1058
  # matching the exclusion time-window against current time point) the exclusion
1015
1059
  # reason used in the first matching entry will be published. It is not needed to
@@ -1050,7 +1094,6 @@ module Google
1050
1094
 
1051
1095
  # Update properties of this object
1052
1096
  def update!(**args)
1053
- @eligibility = args[:eligibility] if args.key?(:eligibility)
1054
1097
  @exclusions = args[:exclusions] if args.key?(:exclusions)
1055
1098
  @nodes = args[:nodes] if args.key?(:nodes)
1056
1099
  @per_sli_eligibility = args[:per_sli_eligibility] if args.key?(:per_sli_eligibility)
@@ -1058,6 +1101,76 @@ module Google
1058
1101
  end
1059
1102
  end
1060
1103
 
1104
+ # LDAPSSettings represents the ldaps settings for domain resource. LDAP is the
1105
+ # Lightweight Directory Access Protocol, defined in https://tools.ietf.org/html/
1106
+ # rfc4511. The settings object configures LDAP over SSL/TLS, whether it is over
1107
+ # port 636 or the StartTLS operation. If LDAPSSettings is being changed, it will
1108
+ # be placed into the UPDATING state, which indicates that the resource is being
1109
+ # reconciled. At this point, Get will reflect an intermediate state.
1110
+ class LdapsSettings
1111
+ include Google::Apis::Core::Hashable
1112
+
1113
+ # Certificate used to configure LDAPS.
1114
+ # Corresponds to the JSON property `certificate`
1115
+ # @return [Google::Apis::ManagedidentitiesV1alpha1::Certificate]
1116
+ attr_accessor :certificate
1117
+
1118
+ # Input only. The password used to encrypt the uploaded pfx certificate.
1119
+ # Corresponds to the JSON property `certificatePassword`
1120
+ # @return [String]
1121
+ attr_accessor :certificate_password
1122
+
1123
+ # Input only. The uploaded PKCS12-formatted certificate to configure LDAPS with.
1124
+ # It will enable the domain controllers in this domain to accept LDAPS
1125
+ # connections (either LDAP over SSL/TLS or the StartTLS operation). A valid
1126
+ # certificate chain must form a valid x.509 certificate chain (or be comprised
1127
+ # of a single self-signed certificate. It must be encrypted with either: 1)
1128
+ # PBES2 + PBKDF2 + AES256 encryption and SHA256 PRF; or 2) pbeWithSHA1And3-
1129
+ # KeyTripleDES-CBC Private key must be included for the leaf / single self-
1130
+ # signed certificate. Note: For a fqdn your-example-domain.com, the wildcard
1131
+ # fqdn is *.your-example-domain.com. Specifically the leaf certificate must have:
1132
+ # - Either a blank subject or a subject with CN matching the wildcard fqdn. -
1133
+ # Exactly two SANs - the fqdn and wildcard fqdn. - Encipherment and digital key
1134
+ # signature key usages. - Server authentication extended key usage (OID=1.3.6.1.
1135
+ # 5.5.7.3.1) - Private key must be in one of the following formats: RSA, ECDSA,
1136
+ # ED25519. - Private key must have appropriate key length: 2048 for RSA, 256 for
1137
+ # ECDSA - Signature algorithm of the leaf certificate cannot be MD2, MD5 or SHA1.
1138
+ # Corresponds to the JSON property `certificatePfx`
1139
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
1140
+ # @return [String]
1141
+ attr_accessor :certificate_pfx
1142
+
1143
+ # The resource name of the LDAPS settings. Uses the form: `projects/`project`/
1144
+ # locations/`location`/domains/`domain``.
1145
+ # Corresponds to the JSON property `name`
1146
+ # @return [String]
1147
+ attr_accessor :name
1148
+
1149
+ # Output only. The current state of this LDAPS settings.
1150
+ # Corresponds to the JSON property `state`
1151
+ # @return [String]
1152
+ attr_accessor :state
1153
+
1154
+ # Output only. Last update time.
1155
+ # Corresponds to the JSON property `updateTime`
1156
+ # @return [String]
1157
+ attr_accessor :update_time
1158
+
1159
+ def initialize(**args)
1160
+ update!(**args)
1161
+ end
1162
+
1163
+ # Update properties of this object
1164
+ def update!(**args)
1165
+ @certificate = args[:certificate] if args.key?(:certificate)
1166
+ @certificate_password = args[:certificate_password] if args.key?(:certificate_password)
1167
+ @certificate_pfx = args[:certificate_pfx] if args.key?(:certificate_pfx)
1168
+ @name = args[:name] if args.key?(:name)
1169
+ @state = args[:state] if args.key?(:state)
1170
+ @update_time = args[:update_time] if args.key?(:update_time)
1171
+ end
1172
+ end
1173
+
1061
1174
  #
1062
1175
  class ListDomainsResponse
1063
1176
  include Google::Apis::Core::Hashable
@@ -1140,6 +1253,38 @@ module Google
1140
1253
  end
1141
1254
  end
1142
1255
 
1256
+ # ListPeeringsResponse is the response message for ListPeerings method.
1257
+ class ListPeeringsResponse
1258
+ include Google::Apis::Core::Hashable
1259
+
1260
+ # Token to retrieve the next page of results, or empty if there are no more
1261
+ # results in the list.
1262
+ # Corresponds to the JSON property `nextPageToken`
1263
+ # @return [String]
1264
+ attr_accessor :next_page_token
1265
+
1266
+ # A list of Managed Identities Service Peerings in the project.
1267
+ # Corresponds to the JSON property `peerings`
1268
+ # @return [Array<Google::Apis::ManagedidentitiesV1alpha1::Peering>]
1269
+ attr_accessor :peerings
1270
+
1271
+ # Locations that could not be reached.
1272
+ # Corresponds to the JSON property `unreachable`
1273
+ # @return [Array<String>]
1274
+ attr_accessor :unreachable
1275
+
1276
+ def initialize(**args)
1277
+ update!(**args)
1278
+ end
1279
+
1280
+ # Update properties of this object
1281
+ def update!(**args)
1282
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1283
+ @peerings = args[:peerings] if args.key?(:peerings)
1284
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
1285
+ end
1286
+ end
1287
+
1143
1288
  # ListSQLIntegrationsResponse is the response message for ListSQLIntegrations
1144
1289
  # method.
1145
1290
  class ListSqlIntegrationsResponse
@@ -1373,12 +1518,12 @@ module Google
1373
1518
  class OperationMetadata
1374
1519
  include Google::Apis::Core::Hashable
1375
1520
 
1376
- # [Output only] API version used to start the operation.
1521
+ # Output only. API version used to start the operation.
1377
1522
  # Corresponds to the JSON property `apiVersion`
1378
1523
  # @return [String]
1379
1524
  attr_accessor :api_version
1380
1525
 
1381
- # [Output only] Identifies whether the user has requested cancellation of the
1526
+ # Output only. Identifies whether the user has requested cancellation of the
1382
1527
  # operation. Operations that have successfully been cancelled have Operation.
1383
1528
  # error value with a google.rpc.Status.code of 1, corresponding to `Code.
1384
1529
  # CANCELLED`.
@@ -1387,27 +1532,27 @@ module Google
1387
1532
  attr_accessor :cancel_requested
1388
1533
  alias_method :cancel_requested?, :cancel_requested
1389
1534
 
1390
- # [Output only] The time the operation was created.
1535
+ # Output only. The time the operation was created.
1391
1536
  # Corresponds to the JSON property `createTime`
1392
1537
  # @return [String]
1393
1538
  attr_accessor :create_time
1394
1539
 
1395
- # [Output only] The time the operation finished running.
1540
+ # Output only. The time the operation finished running.
1396
1541
  # Corresponds to the JSON property `endTime`
1397
1542
  # @return [String]
1398
1543
  attr_accessor :end_time
1399
1544
 
1400
- # [Output only] Human-readable status of the operation, if any.
1545
+ # Output only. Human-readable status of the operation, if any.
1401
1546
  # Corresponds to the JSON property `statusDetail`
1402
1547
  # @return [String]
1403
1548
  attr_accessor :status_detail
1404
1549
 
1405
- # [Output only] Server-defined resource path for the target of the operation.
1550
+ # Output only. Server-defined resource path for the target of the operation.
1406
1551
  # Corresponds to the JSON property `target`
1407
1552
  # @return [String]
1408
1553
  attr_accessor :target
1409
1554
 
1410
- # [Output only] Name of the verb executed by the operation.
1555
+ # Output only. Name of the verb executed by the operation.
1411
1556
  # Corresponds to the JSON property `verb`
1412
1557
  # @return [String]
1413
1558
  attr_accessor :verb
@@ -1428,6 +1573,75 @@ module Google
1428
1573
  end
1429
1574
  end
1430
1575
 
1576
+ # Represents a Managed Microsoft Identities Peering.
1577
+ class Peering
1578
+ include Google::Apis::Core::Hashable
1579
+
1580
+ # Required. The full names of the Google Compute Engine [networks](/compute/docs/
1581
+ # networks-and-firewalls#networks) to which the instance is connected. Caller
1582
+ # needs to make sure that CIDR subnets do not overlap between networks, else
1583
+ # peering creation will fail.
1584
+ # Corresponds to the JSON property `authorizedNetwork`
1585
+ # @return [String]
1586
+ attr_accessor :authorized_network
1587
+
1588
+ # Output only. The time the instance was created.
1589
+ # Corresponds to the JSON property `createTime`
1590
+ # @return [String]
1591
+ attr_accessor :create_time
1592
+
1593
+ # Required. Full domain resource path for the Managed AD Domain involved in
1594
+ # peering. The resource path should be in the form: `projects/`project_id`/
1595
+ # locations/global/domains/`domain_name``
1596
+ # Corresponds to the JSON property `domainResource`
1597
+ # @return [String]
1598
+ attr_accessor :domain_resource
1599
+
1600
+ # Optional. Resource labels to represent user provided metadata.
1601
+ # Corresponds to the JSON property `labels`
1602
+ # @return [Hash<String,String>]
1603
+ attr_accessor :labels
1604
+
1605
+ # Output only. Unique name of the peering in this scope including projects and
1606
+ # location using the form: `projects/`project_id`/locations/global/peerings/`
1607
+ # peering_id``.
1608
+ # Corresponds to the JSON property `name`
1609
+ # @return [String]
1610
+ attr_accessor :name
1611
+
1612
+ # Output only. The current state of this Peering.
1613
+ # Corresponds to the JSON property `state`
1614
+ # @return [String]
1615
+ attr_accessor :state
1616
+
1617
+ # Output only. Additional information about the current status of this peering,
1618
+ # if available.
1619
+ # Corresponds to the JSON property `statusMessage`
1620
+ # @return [String]
1621
+ attr_accessor :status_message
1622
+
1623
+ # Output only. Last update time.
1624
+ # Corresponds to the JSON property `updateTime`
1625
+ # @return [String]
1626
+ attr_accessor :update_time
1627
+
1628
+ def initialize(**args)
1629
+ update!(**args)
1630
+ end
1631
+
1632
+ # Update properties of this object
1633
+ def update!(**args)
1634
+ @authorized_network = args[:authorized_network] if args.key?(:authorized_network)
1635
+ @create_time = args[:create_time] if args.key?(:create_time)
1636
+ @domain_resource = args[:domain_resource] if args.key?(:domain_resource)
1637
+ @labels = args[:labels] if args.key?(:labels)
1638
+ @name = args[:name] if args.key?(:name)
1639
+ @state = args[:state] if args.key?(:state)
1640
+ @status_message = args[:status_message] if args.key?(:status_message)
1641
+ @update_time = args[:update_time] if args.key?(:update_time)
1642
+ end
1643
+ end
1644
+
1431
1645
  # An Identity and Access Management (IAM) policy, which specifies access
1432
1646
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
1433
1647
  # A `binding` binds one or more `members` to a single `role`. Members can be
@@ -1572,8 +1786,7 @@ module Google
1572
1786
  class SqlIntegration
1573
1787
  include Google::Apis::Core::Hashable
1574
1788
 
1575
- # Output only. The time the instance was created. Synthetic field is populated
1576
- # automatically by CCFE. go/ccfe-synthetic-field-user-guide
1789
+ # Output only. The time the instance was created.
1577
1790
  # Corresponds to the JSON property `createTime`
1578
1791
  # @return [String]
1579
1792
  attr_accessor :create_time
@@ -1594,8 +1807,7 @@ module Google
1594
1807
  # @return [String]
1595
1808
  attr_accessor :state
1596
1809
 
1597
- # Output only. Last update time. Synthetic field is populated automatically by
1598
- # CCFE.
1810
+ # Output only. Last update time for this SQL instance.
1599
1811
  # Corresponds to the JSON property `updateTime`
1600
1812
  # @return [String]
1601
1813
  attr_accessor :update_time
@@ -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.7.0"
19
+ GEM_VERSION = "0.12.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.2.0"
22
+ GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210324"
25
+ REVISION = "20210701"
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
@@ -485,6 +521,8 @@ module Google
485
521
 
486
522
  property :location, as: 'location'
487
523
  property :node_id, as: 'nodeId'
524
+ property :per_sli_eligibility, as: 'perSliEligibility', class: Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility, decorator: Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility::Representation
525
+
488
526
  end
489
527
  end
490
528
 
@@ -525,8 +563,6 @@ module Google
525
563
  class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
526
564
  # @private
527
565
  class Representation < Google::Apis::Core::JsonRepresentation
528
- property :eligibility, as: 'eligibility', class: Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility, decorator: Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility::Representation
529
-
530
566
  collection :exclusions, as: 'exclusions', class: Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion, decorator: Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion::Representation
531
567
 
532
568
  collection :nodes, as: 'nodes', class: Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata, decorator: Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata::Representation
@@ -537,6 +573,19 @@ module Google
537
573
  end
538
574
  end
539
575
 
576
+ class LdapsSettings
577
+ # @private
578
+ class Representation < Google::Apis::Core::JsonRepresentation
579
+ property :certificate, as: 'certificate', class: Google::Apis::ManagedidentitiesV1alpha1::Certificate, decorator: Google::Apis::ManagedidentitiesV1alpha1::Certificate::Representation
580
+
581
+ property :certificate_password, as: 'certificatePassword'
582
+ property :certificate_pfx, :base64 => true, as: 'certificatePfx'
583
+ property :name, as: 'name'
584
+ property :state, as: 'state'
585
+ property :update_time, as: 'updateTime'
586
+ end
587
+ end
588
+
540
589
  class ListDomainsResponse
541
590
  # @private
542
591
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -565,6 +614,16 @@ module Google
565
614
  end
566
615
  end
567
616
 
617
+ class ListPeeringsResponse
618
+ # @private
619
+ class Representation < Google::Apis::Core::JsonRepresentation
620
+ property :next_page_token, as: 'nextPageToken'
621
+ collection :peerings, as: 'peerings', class: Google::Apis::ManagedidentitiesV1alpha1::Peering, decorator: Google::Apis::ManagedidentitiesV1alpha1::Peering::Representation
622
+
623
+ collection :unreachable, as: 'unreachable'
624
+ end
625
+ end
626
+
568
627
  class ListSqlIntegrationsResponse
569
628
  # @private
570
629
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -635,6 +694,20 @@ module Google
635
694
  end
636
695
  end
637
696
 
697
+ class Peering
698
+ # @private
699
+ class Representation < Google::Apis::Core::JsonRepresentation
700
+ property :authorized_network, as: 'authorizedNetwork'
701
+ property :create_time, as: 'createTime'
702
+ property :domain_resource, as: 'domainResource'
703
+ hash :labels, as: 'labels'
704
+ property :name, as: 'name'
705
+ property :state, as: 'state'
706
+ property :status_message, as: 'statusMessage'
707
+ property :update_time, as: 'updateTime'
708
+ end
709
+ end
710
+
638
711
  class Policy
639
712
  # @private
640
713
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -88,7 +88,7 @@ module Google
88
88
  # accepts strings like "displayName=tokyo", and is documented in more detail in [
89
89
  # AIP-160](https://google.aip.dev/160).
90
90
  # @param [Fixnum] page_size
91
- # The maximum number of results to return. If not set, the service will select a
91
+ # The maximum number of results to return. If not set, the service selects a
92
92
  # default.
93
93
  # @param [String] page_token
94
94
  # A page token received from the `next_page_token` field in the response. Send
@@ -337,6 +337,37 @@ module Google
337
337
  execute_or_queue_command(command, &block)
338
338
  end
339
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
+
340
371
  # Lists Domains in a given project.
341
372
  # @param [String] parent
342
373
  # Required. The resource name of the domain location using the form: `projects/`
@@ -568,6 +599,45 @@ module Google
568
599
  execute_or_queue_command(command, &block)
569
600
  end
570
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
+
571
641
  # Validate the trust state Operation
572
642
  # @param [String] name
573
643
  # The resource domain name, project name, and location using the form: `projects/
@@ -602,6 +672,121 @@ module Google
602
672
  execute_or_queue_command(command, &block)
603
673
  end
604
674
 
675
+ # Gets the access control policy for a resource. Returns an empty policy if the
676
+ # resource exists and does not have a policy set.
677
+ # @param [String] resource
678
+ # REQUIRED: The resource for which the policy is being requested. See the
679
+ # operation documentation for the appropriate value for this field.
680
+ # @param [Fixnum] options_requested_policy_version
681
+ # Optional. The policy format version to be returned. Valid values are 0, 1, and
682
+ # 3. Requests specifying an invalid value will be rejected. Requests for
683
+ # policies with any conditional bindings must specify version 3. Policies
684
+ # without any conditional bindings may specify any valid value or leave the
685
+ # field unset. To learn which resources support conditions in their IAM policies,
686
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
687
+ # resource-policies).
688
+ # @param [String] fields
689
+ # Selector specifying which fields to include in a partial response.
690
+ # @param [String] quota_user
691
+ # Available to use for quota purposes for server-side applications. Can be any
692
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
693
+ # @param [Google::Apis::RequestOptions] options
694
+ # Request-specific options
695
+ #
696
+ # @yield [result, err] Result & error if block supplied
697
+ # @yieldparam result [Google::Apis::ManagedidentitiesV1alpha1::Policy] parsed result object
698
+ # @yieldparam err [StandardError] error object if request failed
699
+ #
700
+ # @return [Google::Apis::ManagedidentitiesV1alpha1::Policy]
701
+ #
702
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
703
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
704
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
705
+ def get_project_location_global_domain_backup_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
706
+ command = make_simple_command(:get, 'v1alpha1/{+resource}:getIamPolicy', options)
707
+ command.response_representation = Google::Apis::ManagedidentitiesV1alpha1::Policy::Representation
708
+ command.response_class = Google::Apis::ManagedidentitiesV1alpha1::Policy
709
+ command.params['resource'] = resource unless resource.nil?
710
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
711
+ command.query['fields'] = fields unless fields.nil?
712
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
713
+ execute_or_queue_command(command, &block)
714
+ end
715
+
716
+ # Sets the access control policy on the specified resource. Replaces any
717
+ # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
718
+ # PERMISSION_DENIED` errors.
719
+ # @param [String] resource
720
+ # REQUIRED: The resource for which the policy is being specified. See the
721
+ # operation documentation for the appropriate value for this field.
722
+ # @param [Google::Apis::ManagedidentitiesV1alpha1::SetIamPolicyRequest] set_iam_policy_request_object
723
+ # @param [String] fields
724
+ # Selector specifying which fields to include in a partial response.
725
+ # @param [String] quota_user
726
+ # Available to use for quota purposes for server-side applications. Can be any
727
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
728
+ # @param [Google::Apis::RequestOptions] options
729
+ # Request-specific options
730
+ #
731
+ # @yield [result, err] Result & error if block supplied
732
+ # @yieldparam result [Google::Apis::ManagedidentitiesV1alpha1::Policy] parsed result object
733
+ # @yieldparam err [StandardError] error object if request failed
734
+ #
735
+ # @return [Google::Apis::ManagedidentitiesV1alpha1::Policy]
736
+ #
737
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
738
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
739
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
740
+ def set_backup_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
741
+ command = make_simple_command(:post, 'v1alpha1/{+resource}:setIamPolicy', options)
742
+ command.request_representation = Google::Apis::ManagedidentitiesV1alpha1::SetIamPolicyRequest::Representation
743
+ command.request_object = set_iam_policy_request_object
744
+ command.response_representation = Google::Apis::ManagedidentitiesV1alpha1::Policy::Representation
745
+ command.response_class = Google::Apis::ManagedidentitiesV1alpha1::Policy
746
+ command.params['resource'] = resource unless resource.nil?
747
+ command.query['fields'] = fields unless fields.nil?
748
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
749
+ execute_or_queue_command(command, &block)
750
+ end
751
+
752
+ # Returns permissions that a caller has on the specified resource. If the
753
+ # resource does not exist, this will return an empty set of permissions, not a `
754
+ # NOT_FOUND` error. Note: This operation is designed to be used for building
755
+ # permission-aware UIs and command-line tools, not for authorization checking.
756
+ # This operation may "fail open" without warning.
757
+ # @param [String] resource
758
+ # REQUIRED: The resource for which the policy detail is being requested. See the
759
+ # operation documentation for the appropriate value for this field.
760
+ # @param [Google::Apis::ManagedidentitiesV1alpha1::TestIamPermissionsRequest] test_iam_permissions_request_object
761
+ # @param [String] fields
762
+ # Selector specifying which fields to include in a partial response.
763
+ # @param [String] quota_user
764
+ # Available to use for quota purposes for server-side applications. Can be any
765
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
766
+ # @param [Google::Apis::RequestOptions] options
767
+ # Request-specific options
768
+ #
769
+ # @yield [result, err] Result & error if block supplied
770
+ # @yieldparam result [Google::Apis::ManagedidentitiesV1alpha1::TestIamPermissionsResponse] parsed result object
771
+ # @yieldparam err [StandardError] error object if request failed
772
+ #
773
+ # @return [Google::Apis::ManagedidentitiesV1alpha1::TestIamPermissionsResponse]
774
+ #
775
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
776
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
777
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
778
+ def test_backup_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
779
+ command = make_simple_command(:post, 'v1alpha1/{+resource}:testIamPermissions', options)
780
+ command.request_representation = Google::Apis::ManagedidentitiesV1alpha1::TestIamPermissionsRequest::Representation
781
+ command.request_object = test_iam_permissions_request_object
782
+ command.response_representation = Google::Apis::ManagedidentitiesV1alpha1::TestIamPermissionsResponse::Representation
783
+ command.response_class = Google::Apis::ManagedidentitiesV1alpha1::TestIamPermissionsResponse
784
+ command.params['resource'] = resource unless resource.nil?
785
+ command.query['fields'] = fields unless fields.nil?
786
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
787
+ execute_or_queue_command(command, &block)
788
+ end
789
+
605
790
  # Gets details of a single sqlIntegration.
606
791
  # @param [String] name
607
792
  # Required. MangedOU resource name using the form: `projects/`project_id`/
@@ -833,6 +1018,105 @@ module Google
833
1018
  execute_or_queue_command(command, &block)
834
1019
  end
835
1020
 
1021
+ # Creates a Peering for Managed AD instance.
1022
+ # @param [String] parent
1023
+ # Required. Resource project name and location using the form: `projects/`
1024
+ # project_id`/locations/global`
1025
+ # @param [Google::Apis::ManagedidentitiesV1alpha1::Peering] peering_object
1026
+ # @param [String] peering_id
1027
+ # Required. Peering Id, unique name to identify peering.
1028
+ # @param [String] fields
1029
+ # Selector specifying which fields to include in a partial response.
1030
+ # @param [String] quota_user
1031
+ # Available to use for quota purposes for server-side applications. Can be any
1032
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1033
+ # @param [Google::Apis::RequestOptions] options
1034
+ # Request-specific options
1035
+ #
1036
+ # @yield [result, err] Result & error if block supplied
1037
+ # @yieldparam result [Google::Apis::ManagedidentitiesV1alpha1::Operation] parsed result object
1038
+ # @yieldparam err [StandardError] error object if request failed
1039
+ #
1040
+ # @return [Google::Apis::ManagedidentitiesV1alpha1::Operation]
1041
+ #
1042
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1043
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1044
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1045
+ def create_project_location_global_peering(parent, peering_object = nil, peering_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1046
+ command = make_simple_command(:post, 'v1alpha1/{+parent}/peerings', options)
1047
+ command.request_representation = Google::Apis::ManagedidentitiesV1alpha1::Peering::Representation
1048
+ command.request_object = peering_object
1049
+ command.response_representation = Google::Apis::ManagedidentitiesV1alpha1::Operation::Representation
1050
+ command.response_class = Google::Apis::ManagedidentitiesV1alpha1::Operation
1051
+ command.params['parent'] = parent unless parent.nil?
1052
+ command.query['peeringId'] = peering_id unless peering_id.nil?
1053
+ command.query['fields'] = fields unless fields.nil?
1054
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1055
+ execute_or_queue_command(command, &block)
1056
+ end
1057
+
1058
+ # Deletes identified Peering.
1059
+ # @param [String] name
1060
+ # Required. Peering resource name using the form: `projects/`project_id`/
1061
+ # locations/global/peerings/`peering_id``
1062
+ # @param [String] fields
1063
+ # Selector specifying which fields to include in a partial response.
1064
+ # @param [String] quota_user
1065
+ # Available to use for quota purposes for server-side applications. Can be any
1066
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1067
+ # @param [Google::Apis::RequestOptions] options
1068
+ # Request-specific options
1069
+ #
1070
+ # @yield [result, err] Result & error if block supplied
1071
+ # @yieldparam result [Google::Apis::ManagedidentitiesV1alpha1::Operation] parsed result object
1072
+ # @yieldparam err [StandardError] error object if request failed
1073
+ #
1074
+ # @return [Google::Apis::ManagedidentitiesV1alpha1::Operation]
1075
+ #
1076
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1077
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1078
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1079
+ def delete_project_location_global_peering(name, fields: nil, quota_user: nil, options: nil, &block)
1080
+ command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
1081
+ command.response_representation = Google::Apis::ManagedidentitiesV1alpha1::Operation::Representation
1082
+ command.response_class = Google::Apis::ManagedidentitiesV1alpha1::Operation
1083
+ command.params['name'] = name unless name.nil?
1084
+ command.query['fields'] = fields unless fields.nil?
1085
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1086
+ execute_or_queue_command(command, &block)
1087
+ end
1088
+
1089
+ # Gets details of a single Peering.
1090
+ # @param [String] name
1091
+ # Required. Peering resource name using the form: `projects/`project_id`/
1092
+ # locations/global/domains/`peering_id``
1093
+ # @param [String] fields
1094
+ # Selector specifying which fields to include in a partial response.
1095
+ # @param [String] quota_user
1096
+ # Available to use for quota purposes for server-side applications. Can be any
1097
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1098
+ # @param [Google::Apis::RequestOptions] options
1099
+ # Request-specific options
1100
+ #
1101
+ # @yield [result, err] Result & error if block supplied
1102
+ # @yieldparam result [Google::Apis::ManagedidentitiesV1alpha1::Peering] parsed result object
1103
+ # @yieldparam err [StandardError] error object if request failed
1104
+ #
1105
+ # @return [Google::Apis::ManagedidentitiesV1alpha1::Peering]
1106
+ #
1107
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1108
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1109
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1110
+ def get_project_location_global_peering(name, fields: nil, quota_user: nil, options: nil, &block)
1111
+ command = make_simple_command(:get, 'v1alpha1/{+name}', options)
1112
+ command.response_representation = Google::Apis::ManagedidentitiesV1alpha1::Peering::Representation
1113
+ command.response_class = Google::Apis::ManagedidentitiesV1alpha1::Peering
1114
+ command.params['name'] = name unless name.nil?
1115
+ command.query['fields'] = fields unless fields.nil?
1116
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1117
+ execute_or_queue_command(command, &block)
1118
+ end
1119
+
836
1120
  # Gets the access control policy for a resource. Returns an empty policy if the
837
1121
  # resource exists and does not have a policy set.
838
1122
  # @param [String] resource
@@ -874,6 +1158,96 @@ module Google
874
1158
  execute_or_queue_command(command, &block)
875
1159
  end
876
1160
 
1161
+ # Lists Peerings in a given project.
1162
+ # @param [String] parent
1163
+ # Required. The resource name of the domain location using the form: `projects/`
1164
+ # project_id`/locations/global`
1165
+ # @param [String] filter
1166
+ # Optional. Filter specifying constraints of a list operation. For example, `
1167
+ # peering.authoized_network ="/projects/myprojectid"`.
1168
+ # @param [String] order_by
1169
+ # Optional. Specifies the ordering of results following syntax at https://cloud.
1170
+ # google.com/apis/design/design_patterns#sorting_order.
1171
+ # @param [Fixnum] page_size
1172
+ # Optional. The maximum number of items to return. If not specified, a default
1173
+ # value of 1000 will be used by the service. Regardless of the page_size value,
1174
+ # the response may include a partial list and a caller should only rely on
1175
+ # response's next_page_token to determine if there are more instances left to be
1176
+ # queried.
1177
+ # @param [String] page_token
1178
+ # Optional. The next_page_token value returned from a previous List request, if
1179
+ # any.
1180
+ # @param [String] fields
1181
+ # Selector specifying which fields to include in a partial response.
1182
+ # @param [String] quota_user
1183
+ # Available to use for quota purposes for server-side applications. Can be any
1184
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1185
+ # @param [Google::Apis::RequestOptions] options
1186
+ # Request-specific options
1187
+ #
1188
+ # @yield [result, err] Result & error if block supplied
1189
+ # @yieldparam result [Google::Apis::ManagedidentitiesV1alpha1::ListPeeringsResponse] parsed result object
1190
+ # @yieldparam err [StandardError] error object if request failed
1191
+ #
1192
+ # @return [Google::Apis::ManagedidentitiesV1alpha1::ListPeeringsResponse]
1193
+ #
1194
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1195
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1196
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1197
+ 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)
1198
+ command = make_simple_command(:get, 'v1alpha1/{+parent}/peerings', options)
1199
+ command.response_representation = Google::Apis::ManagedidentitiesV1alpha1::ListPeeringsResponse::Representation
1200
+ command.response_class = Google::Apis::ManagedidentitiesV1alpha1::ListPeeringsResponse
1201
+ command.params['parent'] = parent unless parent.nil?
1202
+ command.query['filter'] = filter unless filter.nil?
1203
+ command.query['orderBy'] = order_by unless order_by.nil?
1204
+ command.query['pageSize'] = page_size unless page_size.nil?
1205
+ command.query['pageToken'] = page_token unless page_token.nil?
1206
+ command.query['fields'] = fields unless fields.nil?
1207
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1208
+ execute_or_queue_command(command, &block)
1209
+ end
1210
+
1211
+ # Updates the labels for specified Peering.
1212
+ # @param [String] name
1213
+ # Output only. Unique name of the peering in this scope including projects and
1214
+ # location using the form: `projects/`project_id`/locations/global/peerings/`
1215
+ # peering_id``.
1216
+ # @param [Google::Apis::ManagedidentitiesV1alpha1::Peering] peering_object
1217
+ # @param [String] update_mask
1218
+ # Required. Mask of fields to update. At least one path must be supplied in this
1219
+ # field. The elements of the repeated paths field may only include these fields
1220
+ # from Peering: * `labels`
1221
+ # @param [String] fields
1222
+ # Selector specifying which fields to include in a partial response.
1223
+ # @param [String] quota_user
1224
+ # Available to use for quota purposes for server-side applications. Can be any
1225
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1226
+ # @param [Google::Apis::RequestOptions] options
1227
+ # Request-specific options
1228
+ #
1229
+ # @yield [result, err] Result & error if block supplied
1230
+ # @yieldparam result [Google::Apis::ManagedidentitiesV1alpha1::Operation] parsed result object
1231
+ # @yieldparam err [StandardError] error object if request failed
1232
+ #
1233
+ # @return [Google::Apis::ManagedidentitiesV1alpha1::Operation]
1234
+ #
1235
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1236
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1237
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1238
+ def patch_project_location_global_peering(name, peering_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1239
+ command = make_simple_command(:patch, 'v1alpha1/{+name}', options)
1240
+ command.request_representation = Google::Apis::ManagedidentitiesV1alpha1::Peering::Representation
1241
+ command.request_object = peering_object
1242
+ command.response_representation = Google::Apis::ManagedidentitiesV1alpha1::Operation::Representation
1243
+ command.response_class = Google::Apis::ManagedidentitiesV1alpha1::Operation
1244
+ command.params['name'] = name unless name.nil?
1245
+ command.query['updateMask'] = update_mask unless update_mask.nil?
1246
+ command.query['fields'] = fields unless fields.nil?
1247
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1248
+ execute_or_queue_command(command, &block)
1249
+ end
1250
+
877
1251
  # Sets the access control policy on the specified resource. Replaces any
878
1252
  # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
879
1253
  # PERMISSION_DENIED` errors.
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-managedidentities_v1alpha1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.12.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-05-24 00:00:00.000000000 Z
11
+ date: 2021-07-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.1'
19
+ version: '0.4'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: 2.a
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '0.4'
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: '0.1'
32
+ version: 2.a
27
33
  description: This is the simple REST client for Managed Service for Microsoft Active
28
34
  Directory API V1alpha1. Simple REST clients are Ruby client libraries that provide
29
35
  access to Google services via their HTTP REST API endpoints. These libraries are
@@ -53,7 +59,7 @@ licenses:
53
59
  metadata:
54
60
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
55
61
  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.7.0
62
+ documentation_uri: https://googleapis.dev/ruby/google-apis-managedidentities_v1alpha1/v0.12.0
57
63
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-managedidentities_v1alpha1
58
64
  post_install_message:
59
65
  rdoc_options: []