google-apis-managedidentities_v1 0.11.0 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/lib/google/apis/managedidentities_v1/classes.rb +133 -92
- data/lib/google/apis/managedidentities_v1/gem_version.rb +2 -2
- data/lib/google/apis/managedidentities_v1/representations.rb +37 -20
- data/lib/google/apis/managedidentities_v1/service.rb +308 -3
- data/lib/google/apis/managedidentities_v1.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bb16a32b499f887e13e456f43ca23ecb3e958c76f6f3eb9d232c1e30d1ef36ed
|
4
|
+
data.tar.gz: d7ffd1e2420a29764d48ea6675e2548617d86f48d7c2cbb35f74ab33a350b032
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c76eca613a3c59d81433849e9aa2721aaaf30e90db51fb1f48707549215a02198c6f5c2bb9286c03ace0a707c8a1b00645b0a49fd5361396a173c29d79e7a0c2
|
7
|
+
data.tar.gz: b456b44ed84020e6a04381b7302ccdcc46f3fbd47be2cf54e2de67035f21e166db93453f8942703911ddb2f2aee92afc27bc7df95bc90eca56e2841ef6541cc0
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-managedidentities_v1
|
2
2
|
|
3
|
+
### v0.15.0 (2021-10-10)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20211004
|
6
|
+
|
7
|
+
### v0.14.0 (2021-09-03)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210824
|
10
|
+
|
11
|
+
### v0.13.0 (2021-08-28)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210819
|
14
|
+
|
15
|
+
### v0.12.0 (2021-07-10)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210701
|
18
|
+
|
3
19
|
### v0.11.0 (2021-06-29)
|
4
20
|
|
5
21
|
* Regenerated using generator version 0.4.0
|
@@ -322,6 +322,13 @@ module Google
|
|
322
322
|
# @return [String]
|
323
323
|
attr_accessor :admin
|
324
324
|
|
325
|
+
# Optional. Configuration for audit logs. True if audit logs are enabled, else
|
326
|
+
# false. Default is audit logs disabled.
|
327
|
+
# Corresponds to the JSON property `auditLogsEnabled`
|
328
|
+
# @return [Boolean]
|
329
|
+
attr_accessor :audit_logs_enabled
|
330
|
+
alias_method :audit_logs_enabled?, :audit_logs_enabled
|
331
|
+
|
325
332
|
# Optional. The full names of the Google Compute Engine [networks](/compute/docs/
|
326
333
|
# networks-and-firewalls#networks) the domain instance is connected to. Networks
|
327
334
|
# can be added using UpdateDomain. The domain is only available on networks
|
@@ -396,6 +403,7 @@ module Google
|
|
396
403
|
# Update properties of this object
|
397
404
|
def update!(**args)
|
398
405
|
@admin = args[:admin] if args.key?(:admin)
|
406
|
+
@audit_logs_enabled = args[:audit_logs_enabled] if args.key?(:audit_logs_enabled)
|
399
407
|
@authorized_networks = args[:authorized_networks] if args.key?(:authorized_networks)
|
400
408
|
@create_time = args[:create_time] if args.key?(:create_time)
|
401
409
|
@fqdn = args[:fqdn] if args.key?(:fqdn)
|
@@ -865,14 +873,6 @@ module Google
|
|
865
873
|
class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata
|
866
874
|
include Google::Apis::Core::Hashable
|
867
875
|
|
868
|
-
# By default node is eligible if instance is eligible. But individual node might
|
869
|
-
# be excluded from SLO by adding entry here. For semantic see SloMetadata.
|
870
|
-
# exclusions. If both instance and node level exclusions are present for time
|
871
|
-
# period, the node level's reason will be reported by Eligibility Exporter.
|
872
|
-
# Corresponds to the JSON property `exclusions`
|
873
|
-
# @return [Array<Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion>]
|
874
|
-
attr_accessor :exclusions
|
875
|
-
|
876
876
|
# The location of the node, if different from instance location.
|
877
877
|
# Corresponds to the JSON property `location`
|
878
878
|
# @return [String]
|
@@ -894,7 +894,6 @@ module Google
|
|
894
894
|
|
895
895
|
# Update properties of this object
|
896
896
|
def update!(**args)
|
897
|
-
@exclusions = args[:exclusions] if args.key?(:exclusions)
|
898
897
|
@location = args[:location] if args.key?(:location)
|
899
898
|
@node_id = args[:node_id] if args.key?(:node_id)
|
900
899
|
@per_sli_eligibility = args[:per_sli_eligibility] if args.key?(:per_sli_eligibility)
|
@@ -989,71 +988,11 @@ module Google
|
|
989
988
|
end
|
990
989
|
end
|
991
990
|
|
992
|
-
# SloExclusion represents an exclusion in SLI calculation applies to all SLOs.
|
993
|
-
class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion
|
994
|
-
include Google::Apis::Core::Hashable
|
995
|
-
|
996
|
-
# Exclusion duration. No restrictions on the possible values. When an ongoing
|
997
|
-
# operation is taking longer than initially expected, an existing entry in the
|
998
|
-
# exclusion list can be updated by extending the duration. This is supported by
|
999
|
-
# the subsystem exporting eligibility data as long as such extension is
|
1000
|
-
# committed at least 10 minutes before the original exclusion expiration -
|
1001
|
-
# otherwise it is possible that there will be "gaps" in the exclusion
|
1002
|
-
# application in the exported timeseries.
|
1003
|
-
# Corresponds to the JSON property `duration`
|
1004
|
-
# @return [String]
|
1005
|
-
attr_accessor :duration
|
1006
|
-
|
1007
|
-
# Human-readable reason for the exclusion. This should be a static string (e.g. "
|
1008
|
-
# Disruptive update in progress") and should not contain dynamically generated
|
1009
|
-
# data (e.g. instance name). Can be left empty.
|
1010
|
-
# Corresponds to the JSON property `reason`
|
1011
|
-
# @return [String]
|
1012
|
-
attr_accessor :reason
|
1013
|
-
|
1014
|
-
# Name of an SLI that this exclusion applies to. Can be left empty, signaling
|
1015
|
-
# that the instance should be excluded from all SLIs.
|
1016
|
-
# Corresponds to the JSON property `sliName`
|
1017
|
-
# @return [String]
|
1018
|
-
attr_accessor :sli_name
|
1019
|
-
|
1020
|
-
# Start time of the exclusion. No alignment (e.g. to a full minute) needed.
|
1021
|
-
# Corresponds to the JSON property `startTime`
|
1022
|
-
# @return [String]
|
1023
|
-
attr_accessor :start_time
|
1024
|
-
|
1025
|
-
def initialize(**args)
|
1026
|
-
update!(**args)
|
1027
|
-
end
|
1028
|
-
|
1029
|
-
# Update properties of this object
|
1030
|
-
def update!(**args)
|
1031
|
-
@duration = args[:duration] if args.key?(:duration)
|
1032
|
-
@reason = args[:reason] if args.key?(:reason)
|
1033
|
-
@sli_name = args[:sli_name] if args.key?(:sli_name)
|
1034
|
-
@start_time = args[:start_time] if args.key?(:start_time)
|
1035
|
-
end
|
1036
|
-
end
|
1037
|
-
|
1038
991
|
# SloMetadata contains resources required for proper SLO classification of the
|
1039
992
|
# instance.
|
1040
993
|
class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
|
1041
994
|
include Google::Apis::Core::Hashable
|
1042
995
|
|
1043
|
-
# List of SLO exclusion windows. When multiple entries in the list match (
|
1044
|
-
# matching the exclusion time-window against current time point) the exclusion
|
1045
|
-
# reason used in the first matching entry will be published. It is not needed to
|
1046
|
-
# include expired exclusion in this list, as only the currently applicable
|
1047
|
-
# exclusions are taken into account by the eligibility exporting subsystem (the
|
1048
|
-
# historical state of exclusions will be reflected in the historically produced
|
1049
|
-
# timeseries regardless of the current state). This field can be used to mark
|
1050
|
-
# the instance as temporary ineligible for the purpose of SLO calculation. For
|
1051
|
-
# permanent instance SLO exclusion, use of custom instance eligibility is
|
1052
|
-
# recommended. See 'eligibility' field below.
|
1053
|
-
# Corresponds to the JSON property `exclusions`
|
1054
|
-
# @return [Array<Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion>]
|
1055
|
-
attr_accessor :exclusions
|
1056
|
-
|
1057
996
|
# Optional. List of nodes. Some producers need to use per-node metadata to
|
1058
997
|
# calculate SLO. This field allows such producers to publish per-node SLO meta
|
1059
998
|
# data, which will be consumed by SSA Eligibility Exporter and published in the
|
@@ -1080,7 +1019,6 @@ module Google
|
|
1080
1019
|
|
1081
1020
|
# Update properties of this object
|
1082
1021
|
def update!(**args)
|
1083
|
-
@exclusions = args[:exclusions] if args.key?(:exclusions)
|
1084
1022
|
@nodes = args[:nodes] if args.key?(:nodes)
|
1085
1023
|
@per_sli_eligibility = args[:per_sli_eligibility] if args.key?(:per_sli_eligibility)
|
1086
1024
|
@tier = args[:tier] if args.key?(:tier)
|
@@ -1101,7 +1039,7 @@ module Google
|
|
1101
1039
|
# @return [Google::Apis::ManagedidentitiesV1::Certificate]
|
1102
1040
|
attr_accessor :certificate
|
1103
1041
|
|
1104
|
-
# Input only. The password used to encrypt the uploaded
|
1042
|
+
# Input only. The password used to encrypt the uploaded PFX certificate.
|
1105
1043
|
# Corresponds to the JSON property `certificatePassword`
|
1106
1044
|
# @return [String]
|
1107
1045
|
attr_accessor :certificate_password
|
@@ -1239,6 +1177,38 @@ module Google
|
|
1239
1177
|
end
|
1240
1178
|
end
|
1241
1179
|
|
1180
|
+
# ListPeeringsResponse is the response message for ListPeerings method.
|
1181
|
+
class ListPeeringsResponse
|
1182
|
+
include Google::Apis::Core::Hashable
|
1183
|
+
|
1184
|
+
# Token to retrieve the next page of results, or empty if there are no more
|
1185
|
+
# results in the list.
|
1186
|
+
# Corresponds to the JSON property `nextPageToken`
|
1187
|
+
# @return [String]
|
1188
|
+
attr_accessor :next_page_token
|
1189
|
+
|
1190
|
+
# A list of Managed Identities Service Peerings in the project.
|
1191
|
+
# Corresponds to the JSON property `peerings`
|
1192
|
+
# @return [Array<Google::Apis::ManagedidentitiesV1::Peering>]
|
1193
|
+
attr_accessor :peerings
|
1194
|
+
|
1195
|
+
# Locations that could not be reached.
|
1196
|
+
# Corresponds to the JSON property `unreachable`
|
1197
|
+
# @return [Array<String>]
|
1198
|
+
attr_accessor :unreachable
|
1199
|
+
|
1200
|
+
def initialize(**args)
|
1201
|
+
update!(**args)
|
1202
|
+
end
|
1203
|
+
|
1204
|
+
# Update properties of this object
|
1205
|
+
def update!(**args)
|
1206
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1207
|
+
@peerings = args[:peerings] if args.key?(:peerings)
|
1208
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
1209
|
+
end
|
1210
|
+
end
|
1211
|
+
|
1242
1212
|
# ListSqlIntegrationsResponse is the response message for ListSqlIntegrations
|
1243
1213
|
# method.
|
1244
1214
|
class ListSqlIntegrationsResponse
|
@@ -1472,13 +1442,13 @@ module Google
|
|
1472
1442
|
class OperationMetadata
|
1473
1443
|
include Google::Apis::Core::Hashable
|
1474
1444
|
|
1475
|
-
#
|
1445
|
+
# Output only. API version used to start the operation.
|
1476
1446
|
# Corresponds to the JSON property `apiVersion`
|
1477
1447
|
# @return [String]
|
1478
1448
|
attr_accessor :api_version
|
1479
1449
|
|
1480
|
-
#
|
1481
|
-
# operation. Operations that have
|
1450
|
+
# Output only. Identifies whether the user has requested cancellation of the
|
1451
|
+
# operation. Operations that have been cancelled successfully have Operation.
|
1482
1452
|
# error value with a google.rpc.Status.code of 1, corresponding to `Code.
|
1483
1453
|
# CANCELLED`.
|
1484
1454
|
# Corresponds to the JSON property `cancelRequested`
|
@@ -1486,27 +1456,27 @@ module Google
|
|
1486
1456
|
attr_accessor :cancel_requested
|
1487
1457
|
alias_method :cancel_requested?, :cancel_requested
|
1488
1458
|
|
1489
|
-
#
|
1459
|
+
# Output only. The time the operation was created.
|
1490
1460
|
# Corresponds to the JSON property `createTime`
|
1491
1461
|
# @return [String]
|
1492
1462
|
attr_accessor :create_time
|
1493
1463
|
|
1494
|
-
#
|
1464
|
+
# Output only. The time the operation finished running.
|
1495
1465
|
# Corresponds to the JSON property `endTime`
|
1496
1466
|
# @return [String]
|
1497
1467
|
attr_accessor :end_time
|
1498
1468
|
|
1499
|
-
#
|
1469
|
+
# Output only. Human-readable status of the operation, if any.
|
1500
1470
|
# Corresponds to the JSON property `statusDetail`
|
1501
1471
|
# @return [String]
|
1502
1472
|
attr_accessor :status_detail
|
1503
1473
|
|
1504
|
-
#
|
1474
|
+
# Output only. Server-defined resource path for the target of the operation.
|
1505
1475
|
# Corresponds to the JSON property `target`
|
1506
1476
|
# @return [String]
|
1507
1477
|
attr_accessor :target
|
1508
1478
|
|
1509
|
-
#
|
1479
|
+
# Output only. Name of the verb executed by the operation.
|
1510
1480
|
# Corresponds to the JSON property `verb`
|
1511
1481
|
# @return [String]
|
1512
1482
|
attr_accessor :verb
|
@@ -1527,6 +1497,75 @@ module Google
|
|
1527
1497
|
end
|
1528
1498
|
end
|
1529
1499
|
|
1500
|
+
# Represents a Managed Service for Microsoft Active Directory Peering.
|
1501
|
+
class Peering
|
1502
|
+
include Google::Apis::Core::Hashable
|
1503
|
+
|
1504
|
+
# Required. The full names of the Google Compute Engine [networks](/compute/docs/
|
1505
|
+
# networks-and-firewalls#networks) to which the instance is connected. Caller
|
1506
|
+
# needs to make sure that CIDR subnets do not overlap between networks, else
|
1507
|
+
# peering creation will fail.
|
1508
|
+
# Corresponds to the JSON property `authorizedNetwork`
|
1509
|
+
# @return [String]
|
1510
|
+
attr_accessor :authorized_network
|
1511
|
+
|
1512
|
+
# Output only. The time the instance was created.
|
1513
|
+
# Corresponds to the JSON property `createTime`
|
1514
|
+
# @return [String]
|
1515
|
+
attr_accessor :create_time
|
1516
|
+
|
1517
|
+
# Required. Full domain resource path for the Managed AD Domain involved in
|
1518
|
+
# peering. The resource path should be in the form: `projects/`project_id`/
|
1519
|
+
# locations/global/domains/`domain_name``
|
1520
|
+
# Corresponds to the JSON property `domainResource`
|
1521
|
+
# @return [String]
|
1522
|
+
attr_accessor :domain_resource
|
1523
|
+
|
1524
|
+
# Optional. Resource labels to represent user-provided metadata.
|
1525
|
+
# Corresponds to the JSON property `labels`
|
1526
|
+
# @return [Hash<String,String>]
|
1527
|
+
attr_accessor :labels
|
1528
|
+
|
1529
|
+
# Output only. Unique name of the peering in this scope including projects and
|
1530
|
+
# location using the form: `projects/`project_id`/locations/global/peerings/`
|
1531
|
+
# peering_id``.
|
1532
|
+
# Corresponds to the JSON property `name`
|
1533
|
+
# @return [String]
|
1534
|
+
attr_accessor :name
|
1535
|
+
|
1536
|
+
# Output only. The current state of this Peering.
|
1537
|
+
# Corresponds to the JSON property `state`
|
1538
|
+
# @return [String]
|
1539
|
+
attr_accessor :state
|
1540
|
+
|
1541
|
+
# Output only. Additional information about the current status of this peering,
|
1542
|
+
# if available.
|
1543
|
+
# Corresponds to the JSON property `statusMessage`
|
1544
|
+
# @return [String]
|
1545
|
+
attr_accessor :status_message
|
1546
|
+
|
1547
|
+
# Output only. Last update time.
|
1548
|
+
# Corresponds to the JSON property `updateTime`
|
1549
|
+
# @return [String]
|
1550
|
+
attr_accessor :update_time
|
1551
|
+
|
1552
|
+
def initialize(**args)
|
1553
|
+
update!(**args)
|
1554
|
+
end
|
1555
|
+
|
1556
|
+
# Update properties of this object
|
1557
|
+
def update!(**args)
|
1558
|
+
@authorized_network = args[:authorized_network] if args.key?(:authorized_network)
|
1559
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
1560
|
+
@domain_resource = args[:domain_resource] if args.key?(:domain_resource)
|
1561
|
+
@labels = args[:labels] if args.key?(:labels)
|
1562
|
+
@name = args[:name] if args.key?(:name)
|
1563
|
+
@state = args[:state] if args.key?(:state)
|
1564
|
+
@status_message = args[:status_message] if args.key?(:status_message)
|
1565
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
1566
|
+
end
|
1567
|
+
end
|
1568
|
+
|
1530
1569
|
# An Identity and Access Management (IAM) policy, which specifies access
|
1531
1570
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
1532
1571
|
# A `binding` binds one or more `members` to a single `role`. Members can be
|
@@ -1551,7 +1590,7 @@ module Google
|
|
1551
1590
|
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
1552
1591
|
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
1553
1592
|
# description: Does not grant access after Sep 2020 expression: request.time <
|
1554
|
-
# timestamp('2020-10-01T00:00:00.000Z')
|
1593
|
+
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
|
1555
1594
|
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
1556
1595
|
# google.com/iam/docs/).
|
1557
1596
|
class Policy
|
@@ -1559,7 +1598,12 @@ module Google
|
|
1559
1598
|
|
1560
1599
|
# Associates a list of `members` to a `role`. Optionally, may specify a `
|
1561
1600
|
# condition` that determines how and when the `bindings` are applied. Each of
|
1562
|
-
# the `bindings` must contain at least one member.
|
1601
|
+
# the `bindings` must contain at least one member. The `bindings` in a `Policy`
|
1602
|
+
# can refer to up to 1,500 members; up to 250 of these members can be Google
|
1603
|
+
# groups. Each occurrence of a member counts towards these limits. For example,
|
1604
|
+
# if the `bindings` grant 50 different roles to `user:alice@example.com`, and
|
1605
|
+
# not to any other member, then you can add another 1,450 members to the `
|
1606
|
+
# bindings` in the `Policy`.
|
1563
1607
|
# Corresponds to the JSON property `bindings`
|
1564
1608
|
# @return [Array<Google::Apis::ManagedidentitiesV1::Binding>]
|
1565
1609
|
attr_accessor :bindings
|
@@ -1731,7 +1775,7 @@ module Google
|
|
1731
1775
|
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
1732
1776
|
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
1733
1777
|
# description: Does not grant access after Sep 2020 expression: request.time <
|
1734
|
-
# timestamp('2020-10-01T00:00:00.000Z')
|
1778
|
+
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
|
1735
1779
|
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
1736
1780
|
# google.com/iam/docs/).
|
1737
1781
|
# Corresponds to the JSON property `policy`
|
@@ -1748,34 +1792,32 @@ module Google
|
|
1748
1792
|
end
|
1749
1793
|
end
|
1750
1794
|
|
1751
|
-
# Represents the
|
1795
|
+
# Represents the SQL instance integrated with Managed AD.
|
1752
1796
|
class SqlIntegration
|
1753
1797
|
include Google::Apis::Core::Hashable
|
1754
1798
|
|
1755
|
-
# Output only. The time
|
1756
|
-
# populated automatically by CCFE.
|
1799
|
+
# Output only. The time the SQL integration was created.
|
1757
1800
|
# Corresponds to the JSON property `createTime`
|
1758
1801
|
# @return [String]
|
1759
1802
|
attr_accessor :create_time
|
1760
1803
|
|
1761
|
-
# The unique name of the
|
1804
|
+
# The unique name of the SQL integration in the form of `projects/`project_id`/
|
1762
1805
|
# locations/global/domains/`domain_name`/sqlIntegrations/`sql_integration``
|
1763
1806
|
# Corresponds to the JSON property `name`
|
1764
1807
|
# @return [String]
|
1765
1808
|
attr_accessor :name
|
1766
1809
|
|
1767
|
-
# The full resource name of an integrated
|
1810
|
+
# The full resource name of an integrated SQL instance
|
1768
1811
|
# Corresponds to the JSON property `sqlInstance`
|
1769
1812
|
# @return [String]
|
1770
1813
|
attr_accessor :sql_instance
|
1771
1814
|
|
1772
|
-
# Output only. The current state of the
|
1815
|
+
# Output only. The current state of the SQL integration.
|
1773
1816
|
# Corresponds to the JSON property `state`
|
1774
1817
|
# @return [String]
|
1775
1818
|
attr_accessor :state
|
1776
1819
|
|
1777
|
-
# Output only. The time
|
1778
|
-
# populated automatically by CCFE.
|
1820
|
+
# Output only. The time the SQL integration was updated.
|
1779
1821
|
# Corresponds to the JSON property `updateTime`
|
1780
1822
|
# @return [String]
|
1781
1823
|
attr_accessor :update_time
|
@@ -2015,8 +2057,7 @@ module Google
|
|
2015
2057
|
|
2016
2058
|
# Deny Maintenance Period that is applied to resource to indicate when
|
2017
2059
|
# maintenance is forbidden. User can specify zero or more non-overlapping deny
|
2018
|
-
# periods.
|
2019
|
-
# one.
|
2060
|
+
# periods. Maximum number of deny_maintenance_periods expected is one.
|
2020
2061
|
# Corresponds to the JSON property `denyMaintenancePeriods`
|
2021
2062
|
# @return [Array<Google::Apis::ManagedidentitiesV1::DenyMaintenancePeriod>]
|
2022
2063
|
attr_accessor :deny_maintenance_periods
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ManagedidentitiesV1
|
18
18
|
# Version of the google-apis-managedidentities_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.15.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20211004"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -148,12 +148,6 @@ module Google
|
|
148
148
|
include Google::Apis::Core::JsonObjectSupport
|
149
149
|
end
|
150
150
|
|
151
|
-
class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion
|
152
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
-
|
154
|
-
include Google::Apis::Core::JsonObjectSupport
|
155
|
-
end
|
156
|
-
|
157
151
|
class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
|
158
152
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
153
|
|
@@ -184,6 +178,12 @@ module Google
|
|
184
178
|
include Google::Apis::Core::JsonObjectSupport
|
185
179
|
end
|
186
180
|
|
181
|
+
class ListPeeringsResponse
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
|
+
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
185
|
+
end
|
186
|
+
|
187
187
|
class ListSqlIntegrationsResponse
|
188
188
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
189
|
|
@@ -220,6 +220,12 @@ module Google
|
|
220
220
|
include Google::Apis::Core::JsonObjectSupport
|
221
221
|
end
|
222
222
|
|
223
|
+
class Peering
|
224
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
|
+
|
226
|
+
include Google::Apis::Core::JsonObjectSupport
|
227
|
+
end
|
228
|
+
|
223
229
|
class Policy
|
224
230
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
231
|
|
@@ -388,6 +394,7 @@ module Google
|
|
388
394
|
# @private
|
389
395
|
class Representation < Google::Apis::Core::JsonRepresentation
|
390
396
|
property :admin, as: 'admin'
|
397
|
+
property :audit_logs_enabled, as: 'auditLogsEnabled'
|
391
398
|
collection :authorized_networks, as: 'authorizedNetworks'
|
392
399
|
property :create_time, as: 'createTime'
|
393
400
|
property :fqdn, as: 'fqdn'
|
@@ -504,8 +511,6 @@ module Google
|
|
504
511
|
class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata
|
505
512
|
# @private
|
506
513
|
class Representation < Google::Apis::Core::JsonRepresentation
|
507
|
-
collection :exclusions, as: 'exclusions', class: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion, decorator: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion::Representation
|
508
|
-
|
509
514
|
property :location, as: 'location'
|
510
515
|
property :node_id, as: 'nodeId'
|
511
516
|
property :per_sli_eligibility, as: 'perSliEligibility', class: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility, decorator: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility::Representation
|
@@ -537,21 +542,9 @@ module Google
|
|
537
542
|
end
|
538
543
|
end
|
539
544
|
|
540
|
-
class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion
|
541
|
-
# @private
|
542
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
543
|
-
property :duration, as: 'duration'
|
544
|
-
property :reason, as: 'reason'
|
545
|
-
property :sli_name, as: 'sliName'
|
546
|
-
property :start_time, as: 'startTime'
|
547
|
-
end
|
548
|
-
end
|
549
|
-
|
550
545
|
class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
|
551
546
|
# @private
|
552
547
|
class Representation < Google::Apis::Core::JsonRepresentation
|
553
|
-
collection :exclusions, as: 'exclusions', class: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion, decorator: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion::Representation
|
554
|
-
|
555
548
|
collection :nodes, as: 'nodes', class: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata, decorator: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata::Representation
|
556
549
|
|
557
550
|
property :per_sli_eligibility, as: 'perSliEligibility', class: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility, decorator: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility::Representation
|
@@ -601,6 +594,16 @@ module Google
|
|
601
594
|
end
|
602
595
|
end
|
603
596
|
|
597
|
+
class ListPeeringsResponse
|
598
|
+
# @private
|
599
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
600
|
+
property :next_page_token, as: 'nextPageToken'
|
601
|
+
collection :peerings, as: 'peerings', class: Google::Apis::ManagedidentitiesV1::Peering, decorator: Google::Apis::ManagedidentitiesV1::Peering::Representation
|
602
|
+
|
603
|
+
collection :unreachable, as: 'unreachable'
|
604
|
+
end
|
605
|
+
end
|
606
|
+
|
604
607
|
class ListSqlIntegrationsResponse
|
605
608
|
# @private
|
606
609
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -671,6 +674,20 @@ module Google
|
|
671
674
|
end
|
672
675
|
end
|
673
676
|
|
677
|
+
class Peering
|
678
|
+
# @private
|
679
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
680
|
+
property :authorized_network, as: 'authorizedNetwork'
|
681
|
+
property :create_time, as: 'createTime'
|
682
|
+
property :domain_resource, as: 'domainResource'
|
683
|
+
hash :labels, as: 'labels'
|
684
|
+
property :name, as: 'name'
|
685
|
+
property :state, as: 'state'
|
686
|
+
property :status_message, as: 'statusMessage'
|
687
|
+
property :update_time, as: 'updateTime'
|
688
|
+
end
|
689
|
+
end
|
690
|
+
|
674
691
|
class Policy
|
675
692
|
# @private
|
676
693
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -167,9 +167,9 @@ module Google
|
|
167
167
|
# with the following restrictions: * Must contain only lowercase letters,
|
168
168
|
# numbers, periods and hyphens. * Must start with a letter. * Must contain
|
169
169
|
# between 2-64 characters. * Must end with a number or a letter. * Must not
|
170
|
-
# start with period. * First
|
171
|
-
#
|
172
|
-
#
|
170
|
+
# start with period. * First segment length (mydomain for example above) shouldn'
|
171
|
+
# t exceed 15 chars. * The last segment cannot be fully numeric. * Must be
|
172
|
+
# unique within the customer project.
|
173
173
|
# @param [String] fields
|
174
174
|
# Selector specifying which fields to include in a partial response.
|
175
175
|
# @param [String] quota_user
|
@@ -902,6 +902,311 @@ module Google
|
|
902
902
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
903
903
|
execute_or_queue_command(command, &block)
|
904
904
|
end
|
905
|
+
|
906
|
+
# Creates a Peering for Managed AD instance.
|
907
|
+
# @param [String] parent
|
908
|
+
# Required. Resource project name and location using the form: `projects/`
|
909
|
+
# project_id`/locations/global`
|
910
|
+
# @param [Google::Apis::ManagedidentitiesV1::Peering] peering_object
|
911
|
+
# @param [String] peering_id
|
912
|
+
# Required. Peering Id, unique name to identify peering. It should follow the
|
913
|
+
# regex format "^(?:[a-z](?:[-a-z0-9]`0,61`[a-z0-9])?)$"
|
914
|
+
# @param [String] fields
|
915
|
+
# Selector specifying which fields to include in a partial response.
|
916
|
+
# @param [String] quota_user
|
917
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
918
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
919
|
+
# @param [Google::Apis::RequestOptions] options
|
920
|
+
# Request-specific options
|
921
|
+
#
|
922
|
+
# @yield [result, err] Result & error if block supplied
|
923
|
+
# @yieldparam result [Google::Apis::ManagedidentitiesV1::Operation] parsed result object
|
924
|
+
# @yieldparam err [StandardError] error object if request failed
|
925
|
+
#
|
926
|
+
# @return [Google::Apis::ManagedidentitiesV1::Operation]
|
927
|
+
#
|
928
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
929
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
930
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
931
|
+
def create_project_location_global_peering(parent, peering_object = nil, peering_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
932
|
+
command = make_simple_command(:post, 'v1/{+parent}/peerings', options)
|
933
|
+
command.request_representation = Google::Apis::ManagedidentitiesV1::Peering::Representation
|
934
|
+
command.request_object = peering_object
|
935
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1::Operation::Representation
|
936
|
+
command.response_class = Google::Apis::ManagedidentitiesV1::Operation
|
937
|
+
command.params['parent'] = parent unless parent.nil?
|
938
|
+
command.query['peeringId'] = peering_id unless peering_id.nil?
|
939
|
+
command.query['fields'] = fields unless fields.nil?
|
940
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
941
|
+
execute_or_queue_command(command, &block)
|
942
|
+
end
|
943
|
+
|
944
|
+
# Deletes identified Peering.
|
945
|
+
# @param [String] name
|
946
|
+
# Required. Peering resource name using the form: `projects/`project_id`/
|
947
|
+
# locations/global/peerings/`peering_id``
|
948
|
+
# @param [String] fields
|
949
|
+
# Selector specifying which fields to include in a partial response.
|
950
|
+
# @param [String] quota_user
|
951
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
952
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
953
|
+
# @param [Google::Apis::RequestOptions] options
|
954
|
+
# Request-specific options
|
955
|
+
#
|
956
|
+
# @yield [result, err] Result & error if block supplied
|
957
|
+
# @yieldparam result [Google::Apis::ManagedidentitiesV1::Operation] parsed result object
|
958
|
+
# @yieldparam err [StandardError] error object if request failed
|
959
|
+
#
|
960
|
+
# @return [Google::Apis::ManagedidentitiesV1::Operation]
|
961
|
+
#
|
962
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
963
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
964
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
965
|
+
def delete_project_location_global_peering(name, fields: nil, quota_user: nil, options: nil, &block)
|
966
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
967
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1::Operation::Representation
|
968
|
+
command.response_class = Google::Apis::ManagedidentitiesV1::Operation
|
969
|
+
command.params['name'] = name unless name.nil?
|
970
|
+
command.query['fields'] = fields unless fields.nil?
|
971
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
972
|
+
execute_or_queue_command(command, &block)
|
973
|
+
end
|
974
|
+
|
975
|
+
# Gets details of a single Peering.
|
976
|
+
# @param [String] name
|
977
|
+
# Required. Peering resource name using the form: `projects/`project_id`/
|
978
|
+
# locations/global/peerings/`peering_id``
|
979
|
+
# @param [String] fields
|
980
|
+
# Selector specifying which fields to include in a partial response.
|
981
|
+
# @param [String] quota_user
|
982
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
983
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
984
|
+
# @param [Google::Apis::RequestOptions] options
|
985
|
+
# Request-specific options
|
986
|
+
#
|
987
|
+
# @yield [result, err] Result & error if block supplied
|
988
|
+
# @yieldparam result [Google::Apis::ManagedidentitiesV1::Peering] parsed result object
|
989
|
+
# @yieldparam err [StandardError] error object if request failed
|
990
|
+
#
|
991
|
+
# @return [Google::Apis::ManagedidentitiesV1::Peering]
|
992
|
+
#
|
993
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
994
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
995
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
996
|
+
def get_project_location_global_peering(name, fields: nil, quota_user: nil, options: nil, &block)
|
997
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
998
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1::Peering::Representation
|
999
|
+
command.response_class = Google::Apis::ManagedidentitiesV1::Peering
|
1000
|
+
command.params['name'] = name unless name.nil?
|
1001
|
+
command.query['fields'] = fields unless fields.nil?
|
1002
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1003
|
+
execute_or_queue_command(command, &block)
|
1004
|
+
end
|
1005
|
+
|
1006
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
1007
|
+
# resource exists and does not have a policy set.
|
1008
|
+
# @param [String] resource
|
1009
|
+
# REQUIRED: The resource for which the policy is being requested. See the
|
1010
|
+
# operation documentation for the appropriate value for this field.
|
1011
|
+
# @param [Fixnum] options_requested_policy_version
|
1012
|
+
# Optional. The policy format version to be returned. Valid values are 0, 1, and
|
1013
|
+
# 3. Requests specifying an invalid value will be rejected. Requests for
|
1014
|
+
# policies with any conditional bindings must specify version 3. Policies
|
1015
|
+
# without any conditional bindings may specify any valid value or leave the
|
1016
|
+
# field unset. To learn which resources support conditions in their IAM policies,
|
1017
|
+
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
1018
|
+
# resource-policies).
|
1019
|
+
# @param [String] fields
|
1020
|
+
# Selector specifying which fields to include in a partial response.
|
1021
|
+
# @param [String] quota_user
|
1022
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1023
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1024
|
+
# @param [Google::Apis::RequestOptions] options
|
1025
|
+
# Request-specific options
|
1026
|
+
#
|
1027
|
+
# @yield [result, err] Result & error if block supplied
|
1028
|
+
# @yieldparam result [Google::Apis::ManagedidentitiesV1::Policy] parsed result object
|
1029
|
+
# @yieldparam err [StandardError] error object if request failed
|
1030
|
+
#
|
1031
|
+
# @return [Google::Apis::ManagedidentitiesV1::Policy]
|
1032
|
+
#
|
1033
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1034
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1035
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1036
|
+
def get_project_location_global_peering_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1037
|
+
command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
|
1038
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1::Policy::Representation
|
1039
|
+
command.response_class = Google::Apis::ManagedidentitiesV1::Policy
|
1040
|
+
command.params['resource'] = resource unless resource.nil?
|
1041
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
1042
|
+
command.query['fields'] = fields unless fields.nil?
|
1043
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1044
|
+
execute_or_queue_command(command, &block)
|
1045
|
+
end
|
1046
|
+
|
1047
|
+
# Lists Peerings in a given project.
|
1048
|
+
# @param [String] parent
|
1049
|
+
# Required. The resource name of the peering location using the form: `projects/`
|
1050
|
+
# project_id`/locations/global`
|
1051
|
+
# @param [String] filter
|
1052
|
+
# Optional. Filter specifying constraints of a list operation. For example, `
|
1053
|
+
# peering.authorized_network="projects/myprojectid/global/networks/mynetwork"`.
|
1054
|
+
# @param [String] order_by
|
1055
|
+
# Optional. Specifies the ordering of results following syntax at https://cloud.
|
1056
|
+
# google.com/apis/design/design_patterns#sorting_order.
|
1057
|
+
# @param [Fixnum] page_size
|
1058
|
+
# Optional. The maximum number of items to return. If not specified, a default
|
1059
|
+
# value of 1000 will be used by the service. Regardless of the page_size value,
|
1060
|
+
# the response may include a partial list and a caller should only rely on
|
1061
|
+
# response's next_page_token to determine if there are more instances left to be
|
1062
|
+
# queried.
|
1063
|
+
# @param [String] page_token
|
1064
|
+
# Optional. The next_page_token value returned from a previous List request, if
|
1065
|
+
# any.
|
1066
|
+
# @param [String] fields
|
1067
|
+
# Selector specifying which fields to include in a partial response.
|
1068
|
+
# @param [String] quota_user
|
1069
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1070
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1071
|
+
# @param [Google::Apis::RequestOptions] options
|
1072
|
+
# Request-specific options
|
1073
|
+
#
|
1074
|
+
# @yield [result, err] Result & error if block supplied
|
1075
|
+
# @yieldparam result [Google::Apis::ManagedidentitiesV1::ListPeeringsResponse] parsed result object
|
1076
|
+
# @yieldparam err [StandardError] error object if request failed
|
1077
|
+
#
|
1078
|
+
# @return [Google::Apis::ManagedidentitiesV1::ListPeeringsResponse]
|
1079
|
+
#
|
1080
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1081
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1082
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1083
|
+
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)
|
1084
|
+
command = make_simple_command(:get, 'v1/{+parent}/peerings', options)
|
1085
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1::ListPeeringsResponse::Representation
|
1086
|
+
command.response_class = Google::Apis::ManagedidentitiesV1::ListPeeringsResponse
|
1087
|
+
command.params['parent'] = parent unless parent.nil?
|
1088
|
+
command.query['filter'] = filter unless filter.nil?
|
1089
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
1090
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1091
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1092
|
+
command.query['fields'] = fields unless fields.nil?
|
1093
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1094
|
+
execute_or_queue_command(command, &block)
|
1095
|
+
end
|
1096
|
+
|
1097
|
+
# Updates the labels for specified Peering.
|
1098
|
+
# @param [String] name
|
1099
|
+
# Output only. Unique name of the peering in this scope including projects and
|
1100
|
+
# location using the form: `projects/`project_id`/locations/global/peerings/`
|
1101
|
+
# peering_id``.
|
1102
|
+
# @param [Google::Apis::ManagedidentitiesV1::Peering] peering_object
|
1103
|
+
# @param [String] update_mask
|
1104
|
+
# Required. Mask of fields to update. At least one path must be supplied in this
|
1105
|
+
# field. The elements of the repeated paths field may only include these fields
|
1106
|
+
# from Peering: * `labels`
|
1107
|
+
# @param [String] fields
|
1108
|
+
# Selector specifying which fields to include in a partial response.
|
1109
|
+
# @param [String] quota_user
|
1110
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1111
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1112
|
+
# @param [Google::Apis::RequestOptions] options
|
1113
|
+
# Request-specific options
|
1114
|
+
#
|
1115
|
+
# @yield [result, err] Result & error if block supplied
|
1116
|
+
# @yieldparam result [Google::Apis::ManagedidentitiesV1::Operation] parsed result object
|
1117
|
+
# @yieldparam err [StandardError] error object if request failed
|
1118
|
+
#
|
1119
|
+
# @return [Google::Apis::ManagedidentitiesV1::Operation]
|
1120
|
+
#
|
1121
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1122
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1123
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1124
|
+
def patch_project_location_global_peering(name, peering_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1125
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
1126
|
+
command.request_representation = Google::Apis::ManagedidentitiesV1::Peering::Representation
|
1127
|
+
command.request_object = peering_object
|
1128
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1::Operation::Representation
|
1129
|
+
command.response_class = Google::Apis::ManagedidentitiesV1::Operation
|
1130
|
+
command.params['name'] = name unless name.nil?
|
1131
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1132
|
+
command.query['fields'] = fields unless fields.nil?
|
1133
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1134
|
+
execute_or_queue_command(command, &block)
|
1135
|
+
end
|
1136
|
+
|
1137
|
+
# Sets the access control policy on the specified resource. Replaces any
|
1138
|
+
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
1139
|
+
# PERMISSION_DENIED` errors.
|
1140
|
+
# @param [String] resource
|
1141
|
+
# REQUIRED: The resource for which the policy is being specified. See the
|
1142
|
+
# operation documentation for the appropriate value for this field.
|
1143
|
+
# @param [Google::Apis::ManagedidentitiesV1::SetIamPolicyRequest] set_iam_policy_request_object
|
1144
|
+
# @param [String] fields
|
1145
|
+
# Selector specifying which fields to include in a partial response.
|
1146
|
+
# @param [String] quota_user
|
1147
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1148
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1149
|
+
# @param [Google::Apis::RequestOptions] options
|
1150
|
+
# Request-specific options
|
1151
|
+
#
|
1152
|
+
# @yield [result, err] Result & error if block supplied
|
1153
|
+
# @yieldparam result [Google::Apis::ManagedidentitiesV1::Policy] parsed result object
|
1154
|
+
# @yieldparam err [StandardError] error object if request failed
|
1155
|
+
#
|
1156
|
+
# @return [Google::Apis::ManagedidentitiesV1::Policy]
|
1157
|
+
#
|
1158
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1159
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1160
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1161
|
+
def set_peering_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1162
|
+
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
1163
|
+
command.request_representation = Google::Apis::ManagedidentitiesV1::SetIamPolicyRequest::Representation
|
1164
|
+
command.request_object = set_iam_policy_request_object
|
1165
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1::Policy::Representation
|
1166
|
+
command.response_class = Google::Apis::ManagedidentitiesV1::Policy
|
1167
|
+
command.params['resource'] = resource unless resource.nil?
|
1168
|
+
command.query['fields'] = fields unless fields.nil?
|
1169
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1170
|
+
execute_or_queue_command(command, &block)
|
1171
|
+
end
|
1172
|
+
|
1173
|
+
# Returns permissions that a caller has on the specified resource. If the
|
1174
|
+
# resource does not exist, this will return an empty set of permissions, not a `
|
1175
|
+
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
1176
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
1177
|
+
# This operation may "fail open" without warning.
|
1178
|
+
# @param [String] resource
|
1179
|
+
# REQUIRED: The resource for which the policy detail is being requested. See the
|
1180
|
+
# operation documentation for the appropriate value for this field.
|
1181
|
+
# @param [Google::Apis::ManagedidentitiesV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
1182
|
+
# @param [String] fields
|
1183
|
+
# Selector specifying which fields to include in a partial response.
|
1184
|
+
# @param [String] quota_user
|
1185
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1186
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1187
|
+
# @param [Google::Apis::RequestOptions] options
|
1188
|
+
# Request-specific options
|
1189
|
+
#
|
1190
|
+
# @yield [result, err] Result & error if block supplied
|
1191
|
+
# @yieldparam result [Google::Apis::ManagedidentitiesV1::TestIamPermissionsResponse] parsed result object
|
1192
|
+
# @yieldparam err [StandardError] error object if request failed
|
1193
|
+
#
|
1194
|
+
# @return [Google::Apis::ManagedidentitiesV1::TestIamPermissionsResponse]
|
1195
|
+
#
|
1196
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1197
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1198
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1199
|
+
def test_peering_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1200
|
+
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
1201
|
+
command.request_representation = Google::Apis::ManagedidentitiesV1::TestIamPermissionsRequest::Representation
|
1202
|
+
command.request_object = test_iam_permissions_request_object
|
1203
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1::TestIamPermissionsResponse::Representation
|
1204
|
+
command.response_class = Google::Apis::ManagedidentitiesV1::TestIamPermissionsResponse
|
1205
|
+
command.params['resource'] = resource unless resource.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
|
905
1210
|
|
906
1211
|
protected
|
907
1212
|
|
@@ -30,7 +30,7 @@ module Google
|
|
30
30
|
# This is NOT the gem version.
|
31
31
|
VERSION = 'V1'
|
32
32
|
|
33
|
-
# See, edit, configure, and delete your Google Cloud
|
33
|
+
# See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
|
34
34
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
35
35
|
end
|
36
36
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-managedidentities_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.15.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-10-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -59,7 +59,7 @@ licenses:
|
|
59
59
|
metadata:
|
60
60
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
61
61
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-managedidentities_v1/CHANGELOG.md
|
62
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-managedidentities_v1/v0.
|
62
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-managedidentities_v1/v0.15.0
|
63
63
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-managedidentities_v1
|
64
64
|
post_install_message:
|
65
65
|
rdoc_options: []
|