google-apis-managedidentities_v1alpha1 0.5.0 → 0.10.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: 90cd4e82beffc1fb432ec1c1c03cc6f3acebde6b163fe4c4ee63a741650f6512
4
- data.tar.gz: c285dbdfd3c419b6ddf8ce08accb5225f48d09df6300a1eff383c5625f07b404
3
+ metadata.gz: 789f376ef3008b715f32899376a7e6dae5353091a02aa0daa21b3aa0d6153d27
4
+ data.tar.gz: 4d9b2a51d40867d05286789803a2e15d4325c9a427f1196137f01d8689ad4ac1
5
5
  SHA512:
6
- metadata.gz: 8bafe887043505ed4bf478558442df5bdd520776ec74088873c6bb3e6d77e29e8f4aa45641980f170d4eb7e03663d29cfb4ab0dc9faac9d34156f1ab6b25f421
7
- data.tar.gz: 5be18890115d1efa4a8502925ed91fb7fab58358a13d654b82d1782282c8db821e1303beb225513bbbe9ebb8e12eccab0b13b342837c5700dacfe9aee744d258
6
+ metadata.gz: 42c1cd8cfb6fc1139fe8e288e9110b0f29075bbdd1a20ceb5f88d9047bba041faf9083246ee7a20032303448c1288c17dc21193dbd2cb48577e7c041bf80fedb
7
+ data.tar.gz: 98ccc4e3732b556d7a73049347dda236580b81f5427f4a5ed9096f0e06eda1a06e1f60f2776d2c4e0283ebd75ae79b7dd77d2e50a379ac0d5b268a1ab1d13899
data/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # Release history for google-apis-managedidentities_v1alpha1
2
2
 
3
+ ### v0.10.0 (2021-06-24)
4
+
5
+ * Regenerated from discovery document revision 20210615
6
+
7
+ ### v0.9.0 (2021-06-16)
8
+
9
+ * Regenerated from discovery document revision 20210614
10
+
11
+ ### v0.8.0 (2021-06-10)
12
+
13
+ * Regenerated from discovery document revision 20210601
14
+ * Regenerated using generator version 0.3.0
15
+
16
+ ### v0.7.0 (2021-05-19)
17
+
18
+ * Unspecified changes
19
+
20
+ ### v0.6.0 (2021-03-26)
21
+
22
+ * Regenerated from discovery document revision 20210324
23
+
3
24
  ### v0.5.0 (2021-03-12)
4
25
 
5
26
  * Regenerated from discovery document revision 20210305
@@ -30,7 +30,7 @@ module Google
30
30
  # This is NOT the gem version.
31
31
  VERSION = 'V1alpha1'
32
32
 
33
- # View and manage your data across Google Cloud Platform services
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,8 +784,9 @@ module Google
739
784
  class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule
740
785
  include Google::Apis::Core::Hashable
741
786
 
742
- # This field will be deprecated, and will be always set to true since reschedule
743
- # can happen multiple times now.
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.
744
790
  # Corresponds to the JSON property `canReschedule`
745
791
  # @return [Boolean]
746
792
  attr_accessor :can_reschedule
@@ -851,6 +897,11 @@ module Google
851
897
  # @return [String]
852
898
  attr_accessor :node_id
853
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
+
854
905
  def initialize(**args)
855
906
  update!(**args)
856
907
  end
@@ -860,6 +911,7 @@ module Google
860
911
  @exclusions = args[:exclusions] if args.key?(:exclusions)
861
912
  @location = args[:location] if args.key?(:location)
862
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)
863
915
  end
864
916
  end
865
917
 
@@ -1002,13 +1054,6 @@ module Google
1002
1054
  class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
1003
1055
  include Google::Apis::Core::Hashable
1004
1056
 
1005
- # SloEligibility is a tuple containing eligibility value: true if an instance is
1006
- # eligible for SLO calculation or false if it should be excluded from all SLO-
1007
- # related calculations along with a user-defined reason.
1008
- # Corresponds to the JSON property `eligibility`
1009
- # @return [Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility]
1010
- attr_accessor :eligibility
1011
-
1012
1057
  # List of SLO exclusion windows. When multiple entries in the list match (
1013
1058
  # matching the exclusion time-window against current time point) the exclusion
1014
1059
  # reason used in the first matching entry will be published. It is not needed to
@@ -1049,7 +1094,6 @@ module Google
1049
1094
 
1050
1095
  # Update properties of this object
1051
1096
  def update!(**args)
1052
- @eligibility = args[:eligibility] if args.key?(:eligibility)
1053
1097
  @exclusions = args[:exclusions] if args.key?(:exclusions)
1054
1098
  @nodes = args[:nodes] if args.key?(:nodes)
1055
1099
  @per_sli_eligibility = args[:per_sli_eligibility] if args.key?(:per_sli_eligibility)
@@ -1057,6 +1101,76 @@ module Google
1057
1101
  end
1058
1102
  end
1059
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
+
1060
1174
  #
1061
1175
  class ListDomainsResponse
1062
1176
  include Google::Apis::Core::Hashable
@@ -1139,6 +1253,38 @@ module Google
1139
1253
  end
1140
1254
  end
1141
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
+
1142
1288
  # ListSQLIntegrationsResponse is the response message for ListSQLIntegrations
1143
1289
  # method.
1144
1290
  class ListSqlIntegrationsResponse
@@ -1427,6 +1573,75 @@ module Google
1427
1573
  end
1428
1574
  end
1429
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
+
1430
1645
  # An Identity and Access Management (IAM) policy, which specifies access
1431
1646
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
1432
1647
  # 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.5.0"
19
+ GEM_VERSION = "0.10.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.3.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210305"
25
+ REVISION = "20210615"
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
@@ -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
- # The standard list filter.
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 standard list page size.
91
+ # The maximum number of results to return. If not set, the service selects a
92
+ # default.
90
93
  # @param [String] page_token
91
- # The standard list page token.
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
@@ -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/
@@ -598,6 +672,121 @@ module Google
598
672
  execute_or_queue_command(command, &block)
599
673
  end
600
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
+
601
790
  # Gets details of a single sqlIntegration.
602
791
  # @param [String] name
603
792
  # Required. MangedOU resource name using the form: `projects/`project_id`/
@@ -829,6 +1018,105 @@ module Google
829
1018
  execute_or_queue_command(command, &block)
830
1019
  end
831
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
+
832
1120
  # Gets the access control policy for a resource. Returns an empty policy if the
833
1121
  # resource exists and does not have a policy set.
834
1122
  # @param [String] resource
@@ -870,6 +1158,96 @@ module Google
870
1158
  execute_or_queue_command(command, &block)
871
1159
  end
872
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
+
873
1251
  # Sets the access control policy on the specified resource. Replaces any
874
1252
  # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
875
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.5.0
4
+ version: 0.10.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-03-15 00:00:00.000000000 Z
11
+ date: 2021-06-28 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.3'
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.3'
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.5.0
62
+ documentation_uri: https://googleapis.dev/ruby/google-apis-managedidentities_v1alpha1/v0.10.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: []
@@ -70,7 +76,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
70
76
  - !ruby/object:Gem::Version
71
77
  version: '0'
72
78
  requirements: []
73
- rubygems_version: 3.2.13
79
+ rubygems_version: 3.2.17
74
80
  signing_key:
75
81
  specification_version: 4
76
82
  summary: Simple REST client for Managed Service for Microsoft Active Directory API