google-apis-managedidentities_v1beta1 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 +4 -4
- data/CHANGELOG.md +21 -0
- data/lib/google/apis/managedidentities_v1beta1.rb +1 -1
- data/lib/google/apis/managedidentities_v1beta1/classes.rb +227 -12
- data/lib/google/apis/managedidentities_v1beta1/gem_version.rb +3 -3
- data/lib/google/apis/managedidentities_v1beta1/representations.rb +75 -2
- data/lib/google/apis/managedidentities_v1beta1/service.rb +381 -3
- metadata +14 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f1c13758f5d709dc31991c25d714cd2cee11d16994dc8eb00e7203ed9d5673d1
|
4
|
+
data.tar.gz: 67b221dbff1c0da412612328ed5e13b75dae631776f9e36918218a4ad27ebb56
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 290789e897c0b7a4ffdee5996e7e4493b4782d763e334c9dc40e97cdd5ddfccb186acfc979bcc87b7122c5b4d4ea8ad52adc2ff996d23f1d5724278c31418e1b
|
7
|
+
data.tar.gz: ac538ba46dab0bd385ddae860f09e1bd2bf7caabd6fd9602a8e9f49fe3b77234f6de7d6ae0c7412b83814321e68c947ce6dba5cb43202e0ac03d8e6e8386462b
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,26 @@
|
|
1
1
|
# Release history for google-apis-managedidentities_v1beta1
|
2
2
|
|
3
|
+
### v0.10.0 (2021-06-24)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210615
|
6
|
+
|
7
|
+
### v0.9.0 (2021-06-17)
|
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-27)
|
21
|
+
|
22
|
+
* Regenerated from discovery document revision 20210324
|
23
|
+
|
3
24
|
### v0.5.0 (2021-03-14)
|
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 = 'V1beta1'
|
32
32
|
|
33
|
-
#
|
33
|
+
# See, edit, configure, and delete your Google Cloud Platform data
|
34
34
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
35
35
|
end
|
36
36
|
end
|
@@ -126,6 +126,49 @@ module Google
|
|
126
126
|
end
|
127
127
|
end
|
128
128
|
|
129
|
+
# Certificate used to configure LDAPS.
|
130
|
+
class Certificate
|
131
|
+
include Google::Apis::Core::Hashable
|
132
|
+
|
133
|
+
# The certificate expire time.
|
134
|
+
# Corresponds to the JSON property `expireTime`
|
135
|
+
# @return [String]
|
136
|
+
attr_accessor :expire_time
|
137
|
+
|
138
|
+
# Certificate used to configure LDAPS.
|
139
|
+
# Corresponds to the JSON property `issuingCertificate`
|
140
|
+
# @return [Google::Apis::ManagedidentitiesV1beta1::Certificate]
|
141
|
+
attr_accessor :issuing_certificate
|
142
|
+
|
143
|
+
# The certificate subject.
|
144
|
+
# Corresponds to the JSON property `subject`
|
145
|
+
# @return [String]
|
146
|
+
attr_accessor :subject
|
147
|
+
|
148
|
+
# The additional hostnames for the domain.
|
149
|
+
# Corresponds to the JSON property `subjectAlternativeName`
|
150
|
+
# @return [Array<String>]
|
151
|
+
attr_accessor :subject_alternative_name
|
152
|
+
|
153
|
+
# The certificate thumbprint which uniquely identifies the certificate.
|
154
|
+
# Corresponds to the JSON property `thumbprint`
|
155
|
+
# @return [String]
|
156
|
+
attr_accessor :thumbprint
|
157
|
+
|
158
|
+
def initialize(**args)
|
159
|
+
update!(**args)
|
160
|
+
end
|
161
|
+
|
162
|
+
# Update properties of this object
|
163
|
+
def update!(**args)
|
164
|
+
@expire_time = args[:expire_time] if args.key?(:expire_time)
|
165
|
+
@issuing_certificate = args[:issuing_certificate] if args.key?(:issuing_certificate)
|
166
|
+
@subject = args[:subject] if args.key?(:subject)
|
167
|
+
@subject_alternative_name = args[:subject_alternative_name] if args.key?(:subject_alternative_name)
|
168
|
+
@thumbprint = args[:thumbprint] if args.key?(:thumbprint)
|
169
|
+
end
|
170
|
+
end
|
171
|
+
|
129
172
|
# Time window specified for daily operations.
|
130
173
|
class DailyCycle
|
131
174
|
include Google::Apis::Core::Hashable
|
@@ -645,8 +688,10 @@ module Google
|
|
645
688
|
# @return [Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings]
|
646
689
|
attr_accessor :maintenance_settings
|
647
690
|
|
648
|
-
# Unique name of the resource. It uses the form: `projects/`project_id
|
649
|
-
# locations/`location_id`/instances/`instance_id``
|
691
|
+
# Unique name of the resource. It uses the form: `projects/`project_id|
|
692
|
+
# project_number`/locations/`location_id`/instances/`instance_id`` Note: Either
|
693
|
+
# project_id or project_number can be used, but keep it consistent with other
|
694
|
+
# APIs (e.g. RescheduleUpdate)
|
650
695
|
# Corresponds to the JSON property `name`
|
651
696
|
# @return [String]
|
652
697
|
attr_accessor :name
|
@@ -729,8 +774,9 @@ module Google
|
|
729
774
|
class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule
|
730
775
|
include Google::Apis::Core::Hashable
|
731
776
|
|
732
|
-
# This field
|
733
|
-
#
|
777
|
+
# This field is deprecated, and will be always set to true since reschedule can
|
778
|
+
# happen multiple times now. This field should not be removed until all service
|
779
|
+
# producers remove this for their customers.
|
734
780
|
# Corresponds to the JSON property `canReschedule`
|
735
781
|
# @return [Boolean]
|
736
782
|
attr_accessor :can_reschedule
|
@@ -841,6 +887,11 @@ module Google
|
|
841
887
|
# @return [String]
|
842
888
|
attr_accessor :node_id
|
843
889
|
|
890
|
+
# PerSliSloEligibility is a mapping from an SLI name to eligibility.
|
891
|
+
# Corresponds to the JSON property `perSliEligibility`
|
892
|
+
# @return [Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility]
|
893
|
+
attr_accessor :per_sli_eligibility
|
894
|
+
|
844
895
|
def initialize(**args)
|
845
896
|
update!(**args)
|
846
897
|
end
|
@@ -850,6 +901,7 @@ module Google
|
|
850
901
|
@exclusions = args[:exclusions] if args.key?(:exclusions)
|
851
902
|
@location = args[:location] if args.key?(:location)
|
852
903
|
@node_id = args[:node_id] if args.key?(:node_id)
|
904
|
+
@per_sli_eligibility = args[:per_sli_eligibility] if args.key?(:per_sli_eligibility)
|
853
905
|
end
|
854
906
|
end
|
855
907
|
|
@@ -992,13 +1044,6 @@ module Google
|
|
992
1044
|
class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
|
993
1045
|
include Google::Apis::Core::Hashable
|
994
1046
|
|
995
|
-
# SloEligibility is a tuple containing eligibility value: true if an instance is
|
996
|
-
# eligible for SLO calculation or false if it should be excluded from all SLO-
|
997
|
-
# related calculations along with a user-defined reason.
|
998
|
-
# Corresponds to the JSON property `eligibility`
|
999
|
-
# @return [Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility]
|
1000
|
-
attr_accessor :eligibility
|
1001
|
-
|
1002
1047
|
# List of SLO exclusion windows. When multiple entries in the list match (
|
1003
1048
|
# matching the exclusion time-window against current time point) the exclusion
|
1004
1049
|
# reason used in the first matching entry will be published. It is not needed to
|
@@ -1039,7 +1084,6 @@ module Google
|
|
1039
1084
|
|
1040
1085
|
# Update properties of this object
|
1041
1086
|
def update!(**args)
|
1042
|
-
@eligibility = args[:eligibility] if args.key?(:eligibility)
|
1043
1087
|
@exclusions = args[:exclusions] if args.key?(:exclusions)
|
1044
1088
|
@nodes = args[:nodes] if args.key?(:nodes)
|
1045
1089
|
@per_sli_eligibility = args[:per_sli_eligibility] if args.key?(:per_sli_eligibility)
|
@@ -1047,6 +1091,76 @@ module Google
|
|
1047
1091
|
end
|
1048
1092
|
end
|
1049
1093
|
|
1094
|
+
# LDAPSSettings represents the ldaps settings for domain resource. LDAP is the
|
1095
|
+
# Lightweight Directory Access Protocol, defined in https://tools.ietf.org/html/
|
1096
|
+
# rfc4511. The settings object configures LDAP over SSL/TLS, whether it is over
|
1097
|
+
# port 636 or the StartTLS operation. If LDAPSSettings is being changed, it will
|
1098
|
+
# be placed into the UPDATING state, which indicates that the resource is being
|
1099
|
+
# reconciled. At this point, Get will reflect an intermediate state.
|
1100
|
+
class LdapsSettings
|
1101
|
+
include Google::Apis::Core::Hashable
|
1102
|
+
|
1103
|
+
# Certificate used to configure LDAPS.
|
1104
|
+
# Corresponds to the JSON property `certificate`
|
1105
|
+
# @return [Google::Apis::ManagedidentitiesV1beta1::Certificate]
|
1106
|
+
attr_accessor :certificate
|
1107
|
+
|
1108
|
+
# Input only. The password used to encrypt the uploaded pfx certificate.
|
1109
|
+
# Corresponds to the JSON property `certificatePassword`
|
1110
|
+
# @return [String]
|
1111
|
+
attr_accessor :certificate_password
|
1112
|
+
|
1113
|
+
# Input only. The uploaded PKCS12-formatted certificate to configure LDAPS with.
|
1114
|
+
# It will enable the domain controllers in this domain to accept LDAPS
|
1115
|
+
# connections (either LDAP over SSL/TLS or the StartTLS operation). A valid
|
1116
|
+
# certificate chain must form a valid x.509 certificate chain (or be comprised
|
1117
|
+
# of a single self-signed certificate. It must be encrypted with either: 1)
|
1118
|
+
# PBES2 + PBKDF2 + AES256 encryption and SHA256 PRF; or 2) pbeWithSHA1And3-
|
1119
|
+
# KeyTripleDES-CBC Private key must be included for the leaf / single self-
|
1120
|
+
# signed certificate. Note: For a fqdn your-example-domain.com, the wildcard
|
1121
|
+
# fqdn is *.your-example-domain.com. Specifically the leaf certificate must have:
|
1122
|
+
# - Either a blank subject or a subject with CN matching the wildcard fqdn. -
|
1123
|
+
# Exactly two SANs - the fqdn and wildcard fqdn. - Encipherment and digital key
|
1124
|
+
# signature key usages. - Server authentication extended key usage (OID=1.3.6.1.
|
1125
|
+
# 5.5.7.3.1) - Private key must be in one of the following formats: RSA, ECDSA,
|
1126
|
+
# ED25519. - Private key must have appropriate key length: 2048 for RSA, 256 for
|
1127
|
+
# ECDSA - Signature algorithm of the leaf certificate cannot be MD2, MD5 or SHA1.
|
1128
|
+
# Corresponds to the JSON property `certificatePfx`
|
1129
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
1130
|
+
# @return [String]
|
1131
|
+
attr_accessor :certificate_pfx
|
1132
|
+
|
1133
|
+
# The resource name of the LDAPS settings. Uses the form: `projects/`project`/
|
1134
|
+
# locations/`location`/domains/`domain``.
|
1135
|
+
# Corresponds to the JSON property `name`
|
1136
|
+
# @return [String]
|
1137
|
+
attr_accessor :name
|
1138
|
+
|
1139
|
+
# Output only. The current state of this LDAPS settings.
|
1140
|
+
# Corresponds to the JSON property `state`
|
1141
|
+
# @return [String]
|
1142
|
+
attr_accessor :state
|
1143
|
+
|
1144
|
+
# Output only. Last update time.
|
1145
|
+
# Corresponds to the JSON property `updateTime`
|
1146
|
+
# @return [String]
|
1147
|
+
attr_accessor :update_time
|
1148
|
+
|
1149
|
+
def initialize(**args)
|
1150
|
+
update!(**args)
|
1151
|
+
end
|
1152
|
+
|
1153
|
+
# Update properties of this object
|
1154
|
+
def update!(**args)
|
1155
|
+
@certificate = args[:certificate] if args.key?(:certificate)
|
1156
|
+
@certificate_password = args[:certificate_password] if args.key?(:certificate_password)
|
1157
|
+
@certificate_pfx = args[:certificate_pfx] if args.key?(:certificate_pfx)
|
1158
|
+
@name = args[:name] if args.key?(:name)
|
1159
|
+
@state = args[:state] if args.key?(:state)
|
1160
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
1161
|
+
end
|
1162
|
+
end
|
1163
|
+
|
1050
1164
|
# Response message for ListDomains
|
1051
1165
|
class ListDomainsResponse
|
1052
1166
|
include Google::Apis::Core::Hashable
|
@@ -1129,6 +1243,38 @@ module Google
|
|
1129
1243
|
end
|
1130
1244
|
end
|
1131
1245
|
|
1246
|
+
# ListPeeringsResponse is the response message for ListPeerings method.
|
1247
|
+
class ListPeeringsResponse
|
1248
|
+
include Google::Apis::Core::Hashable
|
1249
|
+
|
1250
|
+
# Token to retrieve the next page of results, or empty if there are no more
|
1251
|
+
# results in the list.
|
1252
|
+
# Corresponds to the JSON property `nextPageToken`
|
1253
|
+
# @return [String]
|
1254
|
+
attr_accessor :next_page_token
|
1255
|
+
|
1256
|
+
# A list of Managed Identities Service Peerings in the project.
|
1257
|
+
# Corresponds to the JSON property `peerings`
|
1258
|
+
# @return [Array<Google::Apis::ManagedidentitiesV1beta1::Peering>]
|
1259
|
+
attr_accessor :peerings
|
1260
|
+
|
1261
|
+
# Locations that could not be reached.
|
1262
|
+
# Corresponds to the JSON property `unreachable`
|
1263
|
+
# @return [Array<String>]
|
1264
|
+
attr_accessor :unreachable
|
1265
|
+
|
1266
|
+
def initialize(**args)
|
1267
|
+
update!(**args)
|
1268
|
+
end
|
1269
|
+
|
1270
|
+
# Update properties of this object
|
1271
|
+
def update!(**args)
|
1272
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1273
|
+
@peerings = args[:peerings] if args.key?(:peerings)
|
1274
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
1275
|
+
end
|
1276
|
+
end
|
1277
|
+
|
1132
1278
|
# ListSqlIntegrationsResponse is the response message for ListSqlIntegrations
|
1133
1279
|
# method.
|
1134
1280
|
class ListSqlIntegrationsResponse
|
@@ -1417,6 +1563,75 @@ module Google
|
|
1417
1563
|
end
|
1418
1564
|
end
|
1419
1565
|
|
1566
|
+
# Represents a Managed Microsoft Identities Peering.
|
1567
|
+
class Peering
|
1568
|
+
include Google::Apis::Core::Hashable
|
1569
|
+
|
1570
|
+
# Required. The full names of the Google Compute Engine [networks](/compute/docs/
|
1571
|
+
# networks-and-firewalls#networks) to which the instance is connected. Caller
|
1572
|
+
# needs to make sure that CIDR subnets do not overlap between networks, else
|
1573
|
+
# peering creation will fail.
|
1574
|
+
# Corresponds to the JSON property `authorizedNetwork`
|
1575
|
+
# @return [String]
|
1576
|
+
attr_accessor :authorized_network
|
1577
|
+
|
1578
|
+
# Output only. The time the instance was created.
|
1579
|
+
# Corresponds to the JSON property `createTime`
|
1580
|
+
# @return [String]
|
1581
|
+
attr_accessor :create_time
|
1582
|
+
|
1583
|
+
# Required. Full domain resource path for the Managed AD Domain involved in
|
1584
|
+
# peering. The resource path should be in the form: `projects/`project_id`/
|
1585
|
+
# locations/global/domains/`domain_name``
|
1586
|
+
# Corresponds to the JSON property `domainResource`
|
1587
|
+
# @return [String]
|
1588
|
+
attr_accessor :domain_resource
|
1589
|
+
|
1590
|
+
# Optional. Resource labels to represent user provided metadata.
|
1591
|
+
# Corresponds to the JSON property `labels`
|
1592
|
+
# @return [Hash<String,String>]
|
1593
|
+
attr_accessor :labels
|
1594
|
+
|
1595
|
+
# Output only. Unique name of the peering in this scope including projects and
|
1596
|
+
# location using the form: `projects/`project_id`/locations/global/peerings/`
|
1597
|
+
# peering_id``.
|
1598
|
+
# Corresponds to the JSON property `name`
|
1599
|
+
# @return [String]
|
1600
|
+
attr_accessor :name
|
1601
|
+
|
1602
|
+
# Output only. The current state of this Peering.
|
1603
|
+
# Corresponds to the JSON property `state`
|
1604
|
+
# @return [String]
|
1605
|
+
attr_accessor :state
|
1606
|
+
|
1607
|
+
# Output only. Additional information about the current status of this peering,
|
1608
|
+
# if available.
|
1609
|
+
# Corresponds to the JSON property `statusMessage`
|
1610
|
+
# @return [String]
|
1611
|
+
attr_accessor :status_message
|
1612
|
+
|
1613
|
+
# Output only. Last update time.
|
1614
|
+
# Corresponds to the JSON property `updateTime`
|
1615
|
+
# @return [String]
|
1616
|
+
attr_accessor :update_time
|
1617
|
+
|
1618
|
+
def initialize(**args)
|
1619
|
+
update!(**args)
|
1620
|
+
end
|
1621
|
+
|
1622
|
+
# Update properties of this object
|
1623
|
+
def update!(**args)
|
1624
|
+
@authorized_network = args[:authorized_network] if args.key?(:authorized_network)
|
1625
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
1626
|
+
@domain_resource = args[:domain_resource] if args.key?(:domain_resource)
|
1627
|
+
@labels = args[:labels] if args.key?(:labels)
|
1628
|
+
@name = args[:name] if args.key?(:name)
|
1629
|
+
@state = args[:state] if args.key?(:state)
|
1630
|
+
@status_message = args[:status_message] if args.key?(:status_message)
|
1631
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
1632
|
+
end
|
1633
|
+
end
|
1634
|
+
|
1420
1635
|
# An Identity and Access Management (IAM) policy, which specifies access
|
1421
1636
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
1422
1637
|
# 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 ManagedidentitiesV1beta1
|
18
18
|
# Version of the google-apis-managedidentities_v1beta1 gem
|
19
|
-
GEM_VERSION = "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.
|
22
|
+
GENERATOR_VERSION = "0.3.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
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::ManagedidentitiesV1beta1::Certificate, decorator: Google::Apis::ManagedidentitiesV1beta1::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::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility, decorator: Google::Apis::ManagedidentitiesV1beta1::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::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility, decorator: Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility::Representation
|
529
|
-
|
530
566
|
collection :exclusions, as: 'exclusions', class: Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion, decorator: Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion::Representation
|
531
567
|
|
532
568
|
collection :nodes, as: 'nodes', class: Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata, decorator: Google::Apis::ManagedidentitiesV1beta1::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::ManagedidentitiesV1beta1::Certificate, decorator: Google::Apis::ManagedidentitiesV1beta1::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::ManagedidentitiesV1beta1::Peering, decorator: Google::Apis::ManagedidentitiesV1beta1::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
|
-
#
|
87
|
+
# A filter to narrow down results to a preferred subset. The filtering language
|
88
|
+
# accepts strings like "displayName=tokyo", and is documented in more detail in [
|
89
|
+
# AIP-160](https://google.aip.dev/160).
|
88
90
|
# @param [Fixnum] page_size
|
89
|
-
# The
|
91
|
+
# The maximum number of results to return. If not set, the service selects a
|
92
|
+
# default.
|
90
93
|
# @param [String] page_token
|
91
|
-
#
|
94
|
+
# A page token received from the `next_page_token` field in the response. Send
|
95
|
+
# that page token to receive the subsequent page.
|
92
96
|
# @param [String] fields
|
93
97
|
# Selector specifying which fields to include in a partial response.
|
94
98
|
# @param [String] quota_user
|
@@ -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::ManagedidentitiesV1beta1::LdapsSettings] parsed result object
|
354
|
+
# @yieldparam err [StandardError] error object if request failed
|
355
|
+
#
|
356
|
+
# @return [Google::Apis::ManagedidentitiesV1beta1::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, 'v1beta1/{+name}/ldapssettings', options)
|
363
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1beta1::LdapsSettings::Representation
|
364
|
+
command.response_class = Google::Apis::ManagedidentitiesV1beta1::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 project.
|
337
372
|
# @param [String] parent
|
338
373
|
# Required. The resource name of the domain location using the form: `projects/`
|
@@ -563,6 +598,45 @@ module Google
|
|
563
598
|
execute_or_queue_command(command, &block)
|
564
599
|
end
|
565
600
|
|
601
|
+
# Patches a single ldaps settings.
|
602
|
+
# @param [String] name
|
603
|
+
# The resource name of the LDAPS settings. Uses the form: `projects/`project`/
|
604
|
+
# locations/`location`/domains/`domain``.
|
605
|
+
# @param [Google::Apis::ManagedidentitiesV1beta1::LdapsSettings] ldaps_settings_object
|
606
|
+
# @param [String] update_mask
|
607
|
+
# Required. Mask of fields to update. At least one path must be supplied in this
|
608
|
+
# field. For the `FieldMask` definition, see https://developers.google.com/
|
609
|
+
# protocol-buffers/docs/reference/google.protobuf#fieldmask
|
610
|
+
# @param [String] fields
|
611
|
+
# Selector specifying which fields to include in a partial response.
|
612
|
+
# @param [String] quota_user
|
613
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
614
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
615
|
+
# @param [Google::Apis::RequestOptions] options
|
616
|
+
# Request-specific options
|
617
|
+
#
|
618
|
+
# @yield [result, err] Result & error if block supplied
|
619
|
+
# @yieldparam result [Google::Apis::ManagedidentitiesV1beta1::Operation] parsed result object
|
620
|
+
# @yieldparam err [StandardError] error object if request failed
|
621
|
+
#
|
622
|
+
# @return [Google::Apis::ManagedidentitiesV1beta1::Operation]
|
623
|
+
#
|
624
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
625
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
626
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
627
|
+
def update_project_location_global_domain_ldapssettings(name, ldaps_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
628
|
+
command = make_simple_command(:patch, 'v1beta1/{+name}/ldapssettings', options)
|
629
|
+
command.request_representation = Google::Apis::ManagedidentitiesV1beta1::LdapsSettings::Representation
|
630
|
+
command.request_object = ldaps_settings_object
|
631
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1beta1::Operation::Representation
|
632
|
+
command.response_class = Google::Apis::ManagedidentitiesV1beta1::Operation
|
633
|
+
command.params['name'] = name unless name.nil?
|
634
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
635
|
+
command.query['fields'] = fields unless fields.nil?
|
636
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
637
|
+
execute_or_queue_command(command, &block)
|
638
|
+
end
|
639
|
+
|
566
640
|
# Validates a trust state, that the target domain is reachable, and that the
|
567
641
|
# target domain is able to accept incoming trust requests.
|
568
642
|
# @param [String] name
|
@@ -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::ManagedidentitiesV1beta1::Policy] parsed result object
|
698
|
+
# @yieldparam err [StandardError] error object if request failed
|
699
|
+
#
|
700
|
+
# @return [Google::Apis::ManagedidentitiesV1beta1::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, 'v1beta1/{+resource}:getIamPolicy', options)
|
707
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1beta1::Policy::Representation
|
708
|
+
command.response_class = Google::Apis::ManagedidentitiesV1beta1::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::ManagedidentitiesV1beta1::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::ManagedidentitiesV1beta1::Policy] parsed result object
|
733
|
+
# @yieldparam err [StandardError] error object if request failed
|
734
|
+
#
|
735
|
+
# @return [Google::Apis::ManagedidentitiesV1beta1::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, 'v1beta1/{+resource}:setIamPolicy', options)
|
742
|
+
command.request_representation = Google::Apis::ManagedidentitiesV1beta1::SetIamPolicyRequest::Representation
|
743
|
+
command.request_object = set_iam_policy_request_object
|
744
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1beta1::Policy::Representation
|
745
|
+
command.response_class = Google::Apis::ManagedidentitiesV1beta1::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::ManagedidentitiesV1beta1::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::ManagedidentitiesV1beta1::TestIamPermissionsResponse] parsed result object
|
771
|
+
# @yieldparam err [StandardError] error object if request failed
|
772
|
+
#
|
773
|
+
# @return [Google::Apis::ManagedidentitiesV1beta1::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, 'v1beta1/{+resource}:testIamPermissions', options)
|
780
|
+
command.request_representation = Google::Apis::ManagedidentitiesV1beta1::TestIamPermissionsRequest::Representation
|
781
|
+
command.request_object = test_iam_permissions_request_object
|
782
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1beta1::TestIamPermissionsResponse::Representation
|
783
|
+
command.response_class = Google::Apis::ManagedidentitiesV1beta1::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. SqlIntegration 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::ManagedidentitiesV1beta1::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::ManagedidentitiesV1beta1::Operation] parsed result object
|
1038
|
+
# @yieldparam err [StandardError] error object if request failed
|
1039
|
+
#
|
1040
|
+
# @return [Google::Apis::ManagedidentitiesV1beta1::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, 'v1beta1/{+parent}/peerings', options)
|
1047
|
+
command.request_representation = Google::Apis::ManagedidentitiesV1beta1::Peering::Representation
|
1048
|
+
command.request_object = peering_object
|
1049
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1beta1::Operation::Representation
|
1050
|
+
command.response_class = Google::Apis::ManagedidentitiesV1beta1::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::ManagedidentitiesV1beta1::Operation] parsed result object
|
1072
|
+
# @yieldparam err [StandardError] error object if request failed
|
1073
|
+
#
|
1074
|
+
# @return [Google::Apis::ManagedidentitiesV1beta1::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, 'v1beta1/{+name}', options)
|
1081
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1beta1::Operation::Representation
|
1082
|
+
command.response_class = Google::Apis::ManagedidentitiesV1beta1::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::ManagedidentitiesV1beta1::Peering] parsed result object
|
1103
|
+
# @yieldparam err [StandardError] error object if request failed
|
1104
|
+
#
|
1105
|
+
# @return [Google::Apis::ManagedidentitiesV1beta1::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, 'v1beta1/{+name}', options)
|
1112
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1beta1::Peering::Representation
|
1113
|
+
command.response_class = Google::Apis::ManagedidentitiesV1beta1::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::ManagedidentitiesV1beta1::ListPeeringsResponse] parsed result object
|
1190
|
+
# @yieldparam err [StandardError] error object if request failed
|
1191
|
+
#
|
1192
|
+
# @return [Google::Apis::ManagedidentitiesV1beta1::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, 'v1beta1/{+parent}/peerings', options)
|
1199
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1beta1::ListPeeringsResponse::Representation
|
1200
|
+
command.response_class = Google::Apis::ManagedidentitiesV1beta1::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::ManagedidentitiesV1beta1::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::ManagedidentitiesV1beta1::Operation] parsed result object
|
1231
|
+
# @yieldparam err [StandardError] error object if request failed
|
1232
|
+
#
|
1233
|
+
# @return [Google::Apis::ManagedidentitiesV1beta1::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, 'v1beta1/{+name}', options)
|
1240
|
+
command.request_representation = Google::Apis::ManagedidentitiesV1beta1::Peering::Representation
|
1241
|
+
command.request_object = peering_object
|
1242
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1beta1::Operation::Representation
|
1243
|
+
command.response_class = Google::Apis::ManagedidentitiesV1beta1::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_v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 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-
|
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.
|
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:
|
32
|
+
version: 2.a
|
27
33
|
description: This is the simple REST client for Managed Service for Microsoft Active
|
28
34
|
Directory API V1beta1. 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_v1beta1/CHANGELOG.md
|
56
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-managedidentities_v1beta1/v0.
|
62
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-managedidentities_v1beta1/v0.10.0
|
57
63
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-managedidentities_v1beta1
|
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.
|
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
|