google-apis-managedidentities_v1 0.10.0 → 0.14.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 +16 -0
- data/lib/google/apis/managedidentities_v1/classes.rb +127 -91
- data/lib/google/apis/managedidentities_v1/gem_version.rb +3 -3
- data/lib/google/apis/managedidentities_v1/representations.rb +37 -20
- data/lib/google/apis/managedidentities_v1/service.rb +307 -3
- data/lib/google/apis/managedidentities_v1.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 16f7cc5a49196e2e3ae933bc54a0e1f21614b37e1d107cd3fa614a8e5eecc172
|
4
|
+
data.tar.gz: 15d3885c89a8b55f6a3ea1739e49af5f207487210522e63dea742f1c4c17fd6f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bca7366460baf5688d21f76af8340dc76e81321b50c38286221b604b20b92918cf1b9d843a68f0099ae8b1db67e225b488c72952d79432f675c550f865ffbd19
|
7
|
+
data.tar.gz: ac8de207493b883930969ccadf330bbd652647a2ecae343fbbcff784a1a6d3c8d7403f5db982da9fc9876b1f5817cc34b3d1a02d4b5a0abb129439db29d2f6ec
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-managedidentities_v1
|
2
2
|
|
3
|
+
### v0.14.0 (2021-09-03)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210824
|
6
|
+
|
7
|
+
### v0.13.0 (2021-08-28)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210819
|
10
|
+
|
11
|
+
### v0.12.0 (2021-07-10)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210701
|
14
|
+
|
15
|
+
### v0.11.0 (2021-06-29)
|
16
|
+
|
17
|
+
* Regenerated using generator version 0.4.0
|
18
|
+
|
3
19
|
### v0.10.0 (2021-06-24)
|
4
20
|
|
5
21
|
* Regenerated from discovery document revision 20210615
|
@@ -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
|
@@ -1731,7 +1770,7 @@ module Google
|
|
1731
1770
|
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
1732
1771
|
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
1733
1772
|
# description: Does not grant access after Sep 2020 expression: request.time <
|
1734
|
-
# timestamp('2020-10-01T00:00:00.000Z')
|
1773
|
+
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
|
1735
1774
|
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
1736
1775
|
# google.com/iam/docs/).
|
1737
1776
|
# Corresponds to the JSON property `policy`
|
@@ -1748,34 +1787,32 @@ module Google
|
|
1748
1787
|
end
|
1749
1788
|
end
|
1750
1789
|
|
1751
|
-
# Represents the
|
1790
|
+
# Represents the SQL instance integrated with Managed AD.
|
1752
1791
|
class SqlIntegration
|
1753
1792
|
include Google::Apis::Core::Hashable
|
1754
1793
|
|
1755
|
-
# Output only. The time
|
1756
|
-
# populated automatically by CCFE.
|
1794
|
+
# Output only. The time the SQL integration was created.
|
1757
1795
|
# Corresponds to the JSON property `createTime`
|
1758
1796
|
# @return [String]
|
1759
1797
|
attr_accessor :create_time
|
1760
1798
|
|
1761
|
-
# The unique name of the
|
1799
|
+
# The unique name of the SQL integration in the form of `projects/`project_id`/
|
1762
1800
|
# locations/global/domains/`domain_name`/sqlIntegrations/`sql_integration``
|
1763
1801
|
# Corresponds to the JSON property `name`
|
1764
1802
|
# @return [String]
|
1765
1803
|
attr_accessor :name
|
1766
1804
|
|
1767
|
-
# The full resource name of an integrated
|
1805
|
+
# The full resource name of an integrated SQL instance
|
1768
1806
|
# Corresponds to the JSON property `sqlInstance`
|
1769
1807
|
# @return [String]
|
1770
1808
|
attr_accessor :sql_instance
|
1771
1809
|
|
1772
|
-
# Output only. The current state of the
|
1810
|
+
# Output only. The current state of the SQL integration.
|
1773
1811
|
# Corresponds to the JSON property `state`
|
1774
1812
|
# @return [String]
|
1775
1813
|
attr_accessor :state
|
1776
1814
|
|
1777
|
-
# Output only. The time
|
1778
|
-
# populated automatically by CCFE.
|
1815
|
+
# Output only. The time the SQL integration was updated.
|
1779
1816
|
# Corresponds to the JSON property `updateTime`
|
1780
1817
|
# @return [String]
|
1781
1818
|
attr_accessor :update_time
|
@@ -2015,8 +2052,7 @@ module Google
|
|
2015
2052
|
|
2016
2053
|
# Deny Maintenance Period that is applied to resource to indicate when
|
2017
2054
|
# maintenance is forbidden. User can specify zero or more non-overlapping deny
|
2018
|
-
# periods.
|
2019
|
-
# one.
|
2055
|
+
# periods. Maximum number of deny_maintenance_periods expected is one.
|
2020
2056
|
# Corresponds to the JSON property `denyMaintenancePeriods`
|
2021
2057
|
# @return [Array<Google::Apis::ManagedidentitiesV1::DenyMaintenancePeriod>]
|
2022
2058
|
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.14.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210824"
|
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,310 @@ 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.
|
913
|
+
# @param [String] fields
|
914
|
+
# Selector specifying which fields to include in a partial response.
|
915
|
+
# @param [String] quota_user
|
916
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
917
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
918
|
+
# @param [Google::Apis::RequestOptions] options
|
919
|
+
# Request-specific options
|
920
|
+
#
|
921
|
+
# @yield [result, err] Result & error if block supplied
|
922
|
+
# @yieldparam result [Google::Apis::ManagedidentitiesV1::Operation] parsed result object
|
923
|
+
# @yieldparam err [StandardError] error object if request failed
|
924
|
+
#
|
925
|
+
# @return [Google::Apis::ManagedidentitiesV1::Operation]
|
926
|
+
#
|
927
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
928
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
929
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
930
|
+
def create_project_location_global_peering(parent, peering_object = nil, peering_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
931
|
+
command = make_simple_command(:post, 'v1/{+parent}/peerings', options)
|
932
|
+
command.request_representation = Google::Apis::ManagedidentitiesV1::Peering::Representation
|
933
|
+
command.request_object = peering_object
|
934
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1::Operation::Representation
|
935
|
+
command.response_class = Google::Apis::ManagedidentitiesV1::Operation
|
936
|
+
command.params['parent'] = parent unless parent.nil?
|
937
|
+
command.query['peeringId'] = peering_id unless peering_id.nil?
|
938
|
+
command.query['fields'] = fields unless fields.nil?
|
939
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
940
|
+
execute_or_queue_command(command, &block)
|
941
|
+
end
|
942
|
+
|
943
|
+
# Deletes identified Peering.
|
944
|
+
# @param [String] name
|
945
|
+
# Required. Peering resource name using the form: `projects/`project_id`/
|
946
|
+
# locations/global/peerings/`peering_id``
|
947
|
+
# @param [String] fields
|
948
|
+
# Selector specifying which fields to include in a partial response.
|
949
|
+
# @param [String] quota_user
|
950
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
951
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
952
|
+
# @param [Google::Apis::RequestOptions] options
|
953
|
+
# Request-specific options
|
954
|
+
#
|
955
|
+
# @yield [result, err] Result & error if block supplied
|
956
|
+
# @yieldparam result [Google::Apis::ManagedidentitiesV1::Operation] parsed result object
|
957
|
+
# @yieldparam err [StandardError] error object if request failed
|
958
|
+
#
|
959
|
+
# @return [Google::Apis::ManagedidentitiesV1::Operation]
|
960
|
+
#
|
961
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
962
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
963
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
964
|
+
def delete_project_location_global_peering(name, fields: nil, quota_user: nil, options: nil, &block)
|
965
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
966
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1::Operation::Representation
|
967
|
+
command.response_class = Google::Apis::ManagedidentitiesV1::Operation
|
968
|
+
command.params['name'] = name unless name.nil?
|
969
|
+
command.query['fields'] = fields unless fields.nil?
|
970
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
971
|
+
execute_or_queue_command(command, &block)
|
972
|
+
end
|
973
|
+
|
974
|
+
# Gets details of a single Peering.
|
975
|
+
# @param [String] name
|
976
|
+
# Required. Peering resource name using the form: `projects/`project_id`/
|
977
|
+
# locations/global/peerings/`peering_id``
|
978
|
+
# @param [String] fields
|
979
|
+
# Selector specifying which fields to include in a partial response.
|
980
|
+
# @param [String] quota_user
|
981
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
982
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
983
|
+
# @param [Google::Apis::RequestOptions] options
|
984
|
+
# Request-specific options
|
985
|
+
#
|
986
|
+
# @yield [result, err] Result & error if block supplied
|
987
|
+
# @yieldparam result [Google::Apis::ManagedidentitiesV1::Peering] parsed result object
|
988
|
+
# @yieldparam err [StandardError] error object if request failed
|
989
|
+
#
|
990
|
+
# @return [Google::Apis::ManagedidentitiesV1::Peering]
|
991
|
+
#
|
992
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
993
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
994
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
995
|
+
def get_project_location_global_peering(name, fields: nil, quota_user: nil, options: nil, &block)
|
996
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
997
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1::Peering::Representation
|
998
|
+
command.response_class = Google::Apis::ManagedidentitiesV1::Peering
|
999
|
+
command.params['name'] = name unless name.nil?
|
1000
|
+
command.query['fields'] = fields unless fields.nil?
|
1001
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1002
|
+
execute_or_queue_command(command, &block)
|
1003
|
+
end
|
1004
|
+
|
1005
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
1006
|
+
# resource exists and does not have a policy set.
|
1007
|
+
# @param [String] resource
|
1008
|
+
# REQUIRED: The resource for which the policy is being requested. See the
|
1009
|
+
# operation documentation for the appropriate value for this field.
|
1010
|
+
# @param [Fixnum] options_requested_policy_version
|
1011
|
+
# Optional. The policy format version to be returned. Valid values are 0, 1, and
|
1012
|
+
# 3. Requests specifying an invalid value will be rejected. Requests for
|
1013
|
+
# policies with any conditional bindings must specify version 3. Policies
|
1014
|
+
# without any conditional bindings may specify any valid value or leave the
|
1015
|
+
# field unset. To learn which resources support conditions in their IAM policies,
|
1016
|
+
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
1017
|
+
# resource-policies).
|
1018
|
+
# @param [String] fields
|
1019
|
+
# Selector specifying which fields to include in a partial response.
|
1020
|
+
# @param [String] quota_user
|
1021
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1022
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1023
|
+
# @param [Google::Apis::RequestOptions] options
|
1024
|
+
# Request-specific options
|
1025
|
+
#
|
1026
|
+
# @yield [result, err] Result & error if block supplied
|
1027
|
+
# @yieldparam result [Google::Apis::ManagedidentitiesV1::Policy] parsed result object
|
1028
|
+
# @yieldparam err [StandardError] error object if request failed
|
1029
|
+
#
|
1030
|
+
# @return [Google::Apis::ManagedidentitiesV1::Policy]
|
1031
|
+
#
|
1032
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1033
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1034
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1035
|
+
def get_project_location_global_peering_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1036
|
+
command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
|
1037
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1::Policy::Representation
|
1038
|
+
command.response_class = Google::Apis::ManagedidentitiesV1::Policy
|
1039
|
+
command.params['resource'] = resource unless resource.nil?
|
1040
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
1041
|
+
command.query['fields'] = fields unless fields.nil?
|
1042
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1043
|
+
execute_or_queue_command(command, &block)
|
1044
|
+
end
|
1045
|
+
|
1046
|
+
# Lists Peerings in a given project.
|
1047
|
+
# @param [String] parent
|
1048
|
+
# Required. The resource name of the peering location using the form: `projects/`
|
1049
|
+
# project_id`/locations/global`
|
1050
|
+
# @param [String] filter
|
1051
|
+
# Optional. Filter specifying constraints of a list operation. For example, `
|
1052
|
+
# peering.authorized_network="projects/myprojectid/global/networks/mynetwork"`.
|
1053
|
+
# @param [String] order_by
|
1054
|
+
# Optional. Specifies the ordering of results following syntax at https://cloud.
|
1055
|
+
# google.com/apis/design/design_patterns#sorting_order.
|
1056
|
+
# @param [Fixnum] page_size
|
1057
|
+
# Optional. The maximum number of items to return. If not specified, a default
|
1058
|
+
# value of 1000 will be used by the service. Regardless of the page_size value,
|
1059
|
+
# the response may include a partial list and a caller should only rely on
|
1060
|
+
# response's next_page_token to determine if there are more instances left to be
|
1061
|
+
# queried.
|
1062
|
+
# @param [String] page_token
|
1063
|
+
# Optional. The next_page_token value returned from a previous List request, if
|
1064
|
+
# any.
|
1065
|
+
# @param [String] fields
|
1066
|
+
# Selector specifying which fields to include in a partial response.
|
1067
|
+
# @param [String] quota_user
|
1068
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1069
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1070
|
+
# @param [Google::Apis::RequestOptions] options
|
1071
|
+
# Request-specific options
|
1072
|
+
#
|
1073
|
+
# @yield [result, err] Result & error if block supplied
|
1074
|
+
# @yieldparam result [Google::Apis::ManagedidentitiesV1::ListPeeringsResponse] parsed result object
|
1075
|
+
# @yieldparam err [StandardError] error object if request failed
|
1076
|
+
#
|
1077
|
+
# @return [Google::Apis::ManagedidentitiesV1::ListPeeringsResponse]
|
1078
|
+
#
|
1079
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1080
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1081
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1082
|
+
def list_project_location_global_peerings(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1083
|
+
command = make_simple_command(:get, 'v1/{+parent}/peerings', options)
|
1084
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1::ListPeeringsResponse::Representation
|
1085
|
+
command.response_class = Google::Apis::ManagedidentitiesV1::ListPeeringsResponse
|
1086
|
+
command.params['parent'] = parent unless parent.nil?
|
1087
|
+
command.query['filter'] = filter unless filter.nil?
|
1088
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
1089
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1090
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1091
|
+
command.query['fields'] = fields unless fields.nil?
|
1092
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1093
|
+
execute_or_queue_command(command, &block)
|
1094
|
+
end
|
1095
|
+
|
1096
|
+
# Updates the labels for specified Peering.
|
1097
|
+
# @param [String] name
|
1098
|
+
# Output only. Unique name of the peering in this scope including projects and
|
1099
|
+
# location using the form: `projects/`project_id`/locations/global/peerings/`
|
1100
|
+
# peering_id``.
|
1101
|
+
# @param [Google::Apis::ManagedidentitiesV1::Peering] peering_object
|
1102
|
+
# @param [String] update_mask
|
1103
|
+
# Required. Mask of fields to update. At least one path must be supplied in this
|
1104
|
+
# field. The elements of the repeated paths field may only include these fields
|
1105
|
+
# from Peering: * `labels`
|
1106
|
+
# @param [String] fields
|
1107
|
+
# Selector specifying which fields to include in a partial response.
|
1108
|
+
# @param [String] quota_user
|
1109
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1110
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1111
|
+
# @param [Google::Apis::RequestOptions] options
|
1112
|
+
# Request-specific options
|
1113
|
+
#
|
1114
|
+
# @yield [result, err] Result & error if block supplied
|
1115
|
+
# @yieldparam result [Google::Apis::ManagedidentitiesV1::Operation] parsed result object
|
1116
|
+
# @yieldparam err [StandardError] error object if request failed
|
1117
|
+
#
|
1118
|
+
# @return [Google::Apis::ManagedidentitiesV1::Operation]
|
1119
|
+
#
|
1120
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1121
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1122
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1123
|
+
def patch_project_location_global_peering(name, peering_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1124
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
1125
|
+
command.request_representation = Google::Apis::ManagedidentitiesV1::Peering::Representation
|
1126
|
+
command.request_object = peering_object
|
1127
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1::Operation::Representation
|
1128
|
+
command.response_class = Google::Apis::ManagedidentitiesV1::Operation
|
1129
|
+
command.params['name'] = name unless name.nil?
|
1130
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1131
|
+
command.query['fields'] = fields unless fields.nil?
|
1132
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1133
|
+
execute_or_queue_command(command, &block)
|
1134
|
+
end
|
1135
|
+
|
1136
|
+
# Sets the access control policy on the specified resource. Replaces any
|
1137
|
+
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
1138
|
+
# PERMISSION_DENIED` errors.
|
1139
|
+
# @param [String] resource
|
1140
|
+
# REQUIRED: The resource for which the policy is being specified. See the
|
1141
|
+
# operation documentation for the appropriate value for this field.
|
1142
|
+
# @param [Google::Apis::ManagedidentitiesV1::SetIamPolicyRequest] set_iam_policy_request_object
|
1143
|
+
# @param [String] fields
|
1144
|
+
# Selector specifying which fields to include in a partial response.
|
1145
|
+
# @param [String] quota_user
|
1146
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1147
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1148
|
+
# @param [Google::Apis::RequestOptions] options
|
1149
|
+
# Request-specific options
|
1150
|
+
#
|
1151
|
+
# @yield [result, err] Result & error if block supplied
|
1152
|
+
# @yieldparam result [Google::Apis::ManagedidentitiesV1::Policy] parsed result object
|
1153
|
+
# @yieldparam err [StandardError] error object if request failed
|
1154
|
+
#
|
1155
|
+
# @return [Google::Apis::ManagedidentitiesV1::Policy]
|
1156
|
+
#
|
1157
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1158
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1159
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1160
|
+
def set_peering_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1161
|
+
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
1162
|
+
command.request_representation = Google::Apis::ManagedidentitiesV1::SetIamPolicyRequest::Representation
|
1163
|
+
command.request_object = set_iam_policy_request_object
|
1164
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1::Policy::Representation
|
1165
|
+
command.response_class = Google::Apis::ManagedidentitiesV1::Policy
|
1166
|
+
command.params['resource'] = resource unless resource.nil?
|
1167
|
+
command.query['fields'] = fields unless fields.nil?
|
1168
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1169
|
+
execute_or_queue_command(command, &block)
|
1170
|
+
end
|
1171
|
+
|
1172
|
+
# Returns permissions that a caller has on the specified resource. If the
|
1173
|
+
# resource does not exist, this will return an empty set of permissions, not a `
|
1174
|
+
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
1175
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
1176
|
+
# This operation may "fail open" without warning.
|
1177
|
+
# @param [String] resource
|
1178
|
+
# REQUIRED: The resource for which the policy detail is being requested. See the
|
1179
|
+
# operation documentation for the appropriate value for this field.
|
1180
|
+
# @param [Google::Apis::ManagedidentitiesV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
1181
|
+
# @param [String] fields
|
1182
|
+
# Selector specifying which fields to include in a partial response.
|
1183
|
+
# @param [String] quota_user
|
1184
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1185
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1186
|
+
# @param [Google::Apis::RequestOptions] options
|
1187
|
+
# Request-specific options
|
1188
|
+
#
|
1189
|
+
# @yield [result, err] Result & error if block supplied
|
1190
|
+
# @yieldparam result [Google::Apis::ManagedidentitiesV1::TestIamPermissionsResponse] parsed result object
|
1191
|
+
# @yieldparam err [StandardError] error object if request failed
|
1192
|
+
#
|
1193
|
+
# @return [Google::Apis::ManagedidentitiesV1::TestIamPermissionsResponse]
|
1194
|
+
#
|
1195
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1196
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1197
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1198
|
+
def test_peering_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1199
|
+
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
1200
|
+
command.request_representation = Google::Apis::ManagedidentitiesV1::TestIamPermissionsRequest::Representation
|
1201
|
+
command.request_object = test_iam_permissions_request_object
|
1202
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1::TestIamPermissionsResponse::Representation
|
1203
|
+
command.response_class = Google::Apis::ManagedidentitiesV1::TestIamPermissionsResponse
|
1204
|
+
command.params['resource'] = resource unless resource.nil?
|
1205
|
+
command.query['fields'] = fields unless fields.nil?
|
1206
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1207
|
+
execute_or_queue_command(command, &block)
|
1208
|
+
end
|
905
1209
|
|
906
1210
|
protected
|
907
1211
|
|
@@ -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.14.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-06
|
11
|
+
date: 2021-09-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.4'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
29
|
+
version: '0.4'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -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.14.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: []
|