google-apis-managedidentities_v1 0.12.0 → 0.16.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c52a14dad1176cf0abaa36e14ff6b585db23a6a7bc3712be0aa37c26c7d9e9f5
4
- data.tar.gz: d96c99ab5db5fcee9a830e89c56205c383e962fff67acf7b377a804557d6bef8
3
+ metadata.gz: 022465d28753c63f423334d46b88f7c09f5b5f47be54c87534efcbbc5417885f
4
+ data.tar.gz: 329dbf5f7316cb8ccc6c38dab3c185c079e65632475a81413bdd9c2c71a066a5
5
5
  SHA512:
6
- metadata.gz: 7c95e4e737a42d234a8966c9cba338bea33e0125769027264c5ad69f2f737dfa81a4c0b4b1b39388dbddbe5320443049dc333d11064f76c3449d7a731c41ad73
7
- data.tar.gz: f7367c61d1742e39c3efc4a20fc23dc538878dff1d2db2e3bccc863f61e5ac95e21841048377db4303caef233498d01f11fc9dc423e1b8f8ebb627affae6170c
6
+ metadata.gz: 885f775413bbbbcb4f6a824eaac7d82fb4aa277b8336ed21900414fed9493afa67f62fe46fdbd381c3830476896d4a8c3bcd0046deef31d064ae520d5b630165
7
+ data.tar.gz: b21c4211a7cebd817b6a605822936a18f7b7bcb157431e2cb7df0f58e0e7610cfd942880a0e6704c1eb532f39c6b57e991153c2d5d5293bda3ba5844aea1d30a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-managedidentities_v1
2
2
 
3
+ ### v0.16.0 (2021-10-21)
4
+
5
+ * Unspecified changes
6
+
7
+ ### v0.15.0 (2021-10-10)
8
+
9
+ * Regenerated from discovery document revision 20211004
10
+
11
+ ### v0.14.0 (2021-09-03)
12
+
13
+ * Regenerated from discovery document revision 20210824
14
+
15
+ ### v0.13.0 (2021-08-28)
16
+
17
+ * Regenerated from discovery document revision 20210819
18
+
3
19
  ### v0.12.0 (2021-07-10)
4
20
 
5
21
  * Regenerated from discovery document revision 20210701
data/OVERVIEW.md CHANGED
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
60
60
 
61
61
  More detailed descriptions of the Google simple REST clients are available in two documents.
62
62
 
63
- * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
- * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
63
+ * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
+ * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
65
65
 
66
66
  (Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Managedidentities service in particular.)
67
67
 
@@ -873,14 +873,6 @@ module Google
873
873
  class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata
874
874
  include Google::Apis::Core::Hashable
875
875
 
876
- # By default node is eligible if instance is eligible. But individual node might
877
- # be excluded from SLO by adding entry here. For semantic see SloMetadata.
878
- # exclusions. If both instance and node level exclusions are present for time
879
- # period, the node level's reason will be reported by Eligibility Exporter.
880
- # Corresponds to the JSON property `exclusions`
881
- # @return [Array<Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion>]
882
- attr_accessor :exclusions
883
-
884
876
  # The location of the node, if different from instance location.
885
877
  # Corresponds to the JSON property `location`
886
878
  # @return [String]
@@ -902,7 +894,6 @@ module Google
902
894
 
903
895
  # Update properties of this object
904
896
  def update!(**args)
905
- @exclusions = args[:exclusions] if args.key?(:exclusions)
906
897
  @location = args[:location] if args.key?(:location)
907
898
  @node_id = args[:node_id] if args.key?(:node_id)
908
899
  @per_sli_eligibility = args[:per_sli_eligibility] if args.key?(:per_sli_eligibility)
@@ -997,71 +988,11 @@ module Google
997
988
  end
998
989
  end
999
990
 
1000
- # SloExclusion represents an exclusion in SLI calculation applies to all SLOs.
1001
- class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion
1002
- include Google::Apis::Core::Hashable
1003
-
1004
- # Exclusion duration. No restrictions on the possible values. When an ongoing
1005
- # operation is taking longer than initially expected, an existing entry in the
1006
- # exclusion list can be updated by extending the duration. This is supported by
1007
- # the subsystem exporting eligibility data as long as such extension is
1008
- # committed at least 10 minutes before the original exclusion expiration -
1009
- # otherwise it is possible that there will be "gaps" in the exclusion
1010
- # application in the exported timeseries.
1011
- # Corresponds to the JSON property `duration`
1012
- # @return [String]
1013
- attr_accessor :duration
1014
-
1015
- # Human-readable reason for the exclusion. This should be a static string (e.g. "
1016
- # Disruptive update in progress") and should not contain dynamically generated
1017
- # data (e.g. instance name). Can be left empty.
1018
- # Corresponds to the JSON property `reason`
1019
- # @return [String]
1020
- attr_accessor :reason
1021
-
1022
- # Name of an SLI that this exclusion applies to. Can be left empty, signaling
1023
- # that the instance should be excluded from all SLIs.
1024
- # Corresponds to the JSON property `sliName`
1025
- # @return [String]
1026
- attr_accessor :sli_name
1027
-
1028
- # Start time of the exclusion. No alignment (e.g. to a full minute) needed.
1029
- # Corresponds to the JSON property `startTime`
1030
- # @return [String]
1031
- attr_accessor :start_time
1032
-
1033
- def initialize(**args)
1034
- update!(**args)
1035
- end
1036
-
1037
- # Update properties of this object
1038
- def update!(**args)
1039
- @duration = args[:duration] if args.key?(:duration)
1040
- @reason = args[:reason] if args.key?(:reason)
1041
- @sli_name = args[:sli_name] if args.key?(:sli_name)
1042
- @start_time = args[:start_time] if args.key?(:start_time)
1043
- end
1044
- end
1045
-
1046
991
  # SloMetadata contains resources required for proper SLO classification of the
1047
992
  # instance.
1048
993
  class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
1049
994
  include Google::Apis::Core::Hashable
1050
995
 
1051
- # List of SLO exclusion windows. When multiple entries in the list match (
1052
- # matching the exclusion time-window against current time point) the exclusion
1053
- # reason used in the first matching entry will be published. It is not needed to
1054
- # include expired exclusion in this list, as only the currently applicable
1055
- # exclusions are taken into account by the eligibility exporting subsystem (the
1056
- # historical state of exclusions will be reflected in the historically produced
1057
- # timeseries regardless of the current state). This field can be used to mark
1058
- # the instance as temporary ineligible for the purpose of SLO calculation. For
1059
- # permanent instance SLO exclusion, use of custom instance eligibility is
1060
- # recommended. See 'eligibility' field below.
1061
- # Corresponds to the JSON property `exclusions`
1062
- # @return [Array<Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion>]
1063
- attr_accessor :exclusions
1064
-
1065
996
  # Optional. List of nodes. Some producers need to use per-node metadata to
1066
997
  # calculate SLO. This field allows such producers to publish per-node SLO meta
1067
998
  # data, which will be consumed by SSA Eligibility Exporter and published in the
@@ -1088,7 +1019,6 @@ module Google
1088
1019
 
1089
1020
  # Update properties of this object
1090
1021
  def update!(**args)
1091
- @exclusions = args[:exclusions] if args.key?(:exclusions)
1092
1022
  @nodes = args[:nodes] if args.key?(:nodes)
1093
1023
  @per_sli_eligibility = args[:per_sli_eligibility] if args.key?(:per_sli_eligibility)
1094
1024
  @tier = args[:tier] if args.key?(:tier)
@@ -1247,6 +1177,38 @@ module Google
1247
1177
  end
1248
1178
  end
1249
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
+
1250
1212
  # ListSqlIntegrationsResponse is the response message for ListSqlIntegrations
1251
1213
  # method.
1252
1214
  class ListSqlIntegrationsResponse
@@ -1486,7 +1448,7 @@ module Google
1486
1448
  attr_accessor :api_version
1487
1449
 
1488
1450
  # Output only. Identifies whether the user has requested cancellation of the
1489
- # operation. Operations that have successfully been cancelled have Operation.
1451
+ # operation. Operations that have been cancelled successfully have Operation.
1490
1452
  # error value with a google.rpc.Status.code of 1, corresponding to `Code.
1491
1453
  # CANCELLED`.
1492
1454
  # Corresponds to the JSON property `cancelRequested`
@@ -1535,6 +1497,75 @@ module Google
1535
1497
  end
1536
1498
  end
1537
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
+
1538
1569
  # An Identity and Access Management (IAM) policy, which specifies access
1539
1570
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
1540
1571
  # A `binding` binds one or more `members` to a single `role`. Members can be
@@ -1559,7 +1590,7 @@ module Google
1559
1590
  # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
1560
1591
  # roles/resourcemanager.organizationViewer condition: title: expirable access
1561
1592
  # description: Does not grant access after Sep 2020 expression: request.time <
1562
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
1593
+ # timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
1563
1594
  # description of IAM and its features, see the [IAM documentation](https://cloud.
1564
1595
  # google.com/iam/docs/).
1565
1596
  class Policy
@@ -1567,7 +1598,12 @@ module Google
1567
1598
 
1568
1599
  # Associates a list of `members` to a `role`. Optionally, may specify a `
1569
1600
  # condition` that determines how and when the `bindings` are applied. Each of
1570
- # 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`.
1571
1607
  # Corresponds to the JSON property `bindings`
1572
1608
  # @return [Array<Google::Apis::ManagedidentitiesV1::Binding>]
1573
1609
  attr_accessor :bindings
@@ -1739,7 +1775,7 @@ module Google
1739
1775
  # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
1740
1776
  # roles/resourcemanager.organizationViewer condition: title: expirable access
1741
1777
  # description: Does not grant access after Sep 2020 expression: request.time <
1742
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
1778
+ # timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
1743
1779
  # description of IAM and its features, see the [IAM documentation](https://cloud.
1744
1780
  # google.com/iam/docs/).
1745
1781
  # Corresponds to the JSON property `policy`
@@ -2021,8 +2057,7 @@ module Google
2021
2057
 
2022
2058
  # Deny Maintenance Period that is applied to resource to indicate when
2023
2059
  # maintenance is forbidden. User can specify zero or more non-overlapping deny
2024
- # periods. For V1, Maximum number of deny_maintenance_periods is expected to be
2025
- # one.
2060
+ # periods. Maximum number of deny_maintenance_periods expected is one.
2026
2061
  # Corresponds to the JSON property `denyMaintenancePeriods`
2027
2062
  # @return [Array<Google::Apis::ManagedidentitiesV1::DenyMaintenancePeriod>]
2028
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.12.0"
19
+ GEM_VERSION = "0.16.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 = "20210701"
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
 
@@ -505,8 +511,6 @@ module Google
505
511
  class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata
506
512
  # @private
507
513
  class Representation < Google::Apis::Core::JsonRepresentation
508
- collection :exclusions, as: 'exclusions', class: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion, decorator: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion::Representation
509
-
510
514
  property :location, as: 'location'
511
515
  property :node_id, as: 'nodeId'
512
516
  property :per_sli_eligibility, as: 'perSliEligibility', class: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility, decorator: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility::Representation
@@ -538,21 +542,9 @@ module Google
538
542
  end
539
543
  end
540
544
 
541
- class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion
542
- # @private
543
- class Representation < Google::Apis::Core::JsonRepresentation
544
- property :duration, as: 'duration'
545
- property :reason, as: 'reason'
546
- property :sli_name, as: 'sliName'
547
- property :start_time, as: 'startTime'
548
- end
549
- end
550
-
551
545
  class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
552
546
  # @private
553
547
  class Representation < Google::Apis::Core::JsonRepresentation
554
- collection :exclusions, as: 'exclusions', class: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion, decorator: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion::Representation
555
-
556
548
  collection :nodes, as: 'nodes', class: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata, decorator: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata::Representation
557
549
 
558
550
  property :per_sli_eligibility, as: 'perSliEligibility', class: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility, decorator: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility::Representation
@@ -602,6 +594,16 @@ module Google
602
594
  end
603
595
  end
604
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
+
605
607
  class ListSqlIntegrationsResponse
606
608
  # @private
607
609
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -672,6 +674,20 @@ module Google
672
674
  end
673
675
  end
674
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
+
675
691
  class Policy
676
692
  # @private
677
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 segement length (mydomain form example above)
171
- # shouldn't exceed 15 chars. * The last segment cannot be fully numeric. * Must
172
- # be unique within the customer project.
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 Platform data
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.12.0
4
+ version: 0.16.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-07-12 00:00:00.000000000 Z
11
+ date: 2021-10-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,9 +58,9 @@ licenses:
58
58
  - Apache-2.0
59
59
  metadata:
60
60
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
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.12.0
63
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-managedidentities_v1
61
+ changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-managedidentities_v1/CHANGELOG.md
62
+ documentation_uri: https://googleapis.dev/ruby/google-apis-managedidentities_v1/v0.16.0
63
+ source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-managedidentities_v1
64
64
  post_install_message:
65
65
  rdoc_options: []
66
66
  require_paths: