google-apis-managedidentities_v1 0.9.0 → 0.13.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: dde66cfb0be06ca0e90ff429b022a6c824db7dc442f6ec63cc1aedd36699cac1
4
- data.tar.gz: bd231e625eccc2ab83c0fa363bf485ec621457c3cc7d8447bd95e0adf6884d92
3
+ metadata.gz: 14c6fd964f78de0c4fb8e9ee4ac8be3442dc2dabc6386d575588742099596ab4
4
+ data.tar.gz: 9dd0c1725734a15caee46999b5914aeac493ba6fa35cd88b4bcccc4ccc148aab
5
5
  SHA512:
6
- metadata.gz: 81ab2d71a909e705c118e031affd08c5bb0b28ad2ab64a45574d908ef6eae6dbe8d3b5627e976e6972ea3d42ed1ac7ee7eb33618968d0aed77eea6d5413bf6b7
7
- data.tar.gz: 1860aa82f0efab6bf11766bf95e1d48ea6b7d50cfe5a71d7c097e03884a12f01f648012d4d964c813fed3cff618dbbe8c646a9d64fe948933fd134494453239c
6
+ metadata.gz: 62e45d89baf15dd47d2eaf0e6a0282bb6a780c829cb7e4bca2e69e11e4fa4a0e24dc5d423fc19c6f4acdd8e0ca915f12f839c0e0d36a6e257f382ae845020eb2
7
+ data.tar.gz: a53fc48911a794488663155956f36f9bd62337064959c402ca32feb374c6f7f6eb0c1ac45cb5105e60fbfe6b38e2074181d38cfee8ac4d2aafe9104343552fd8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-managedidentities_v1
2
2
 
3
+ ### v0.13.0 (2021-08-28)
4
+
5
+ * Regenerated from discovery document revision 20210819
6
+
7
+ ### v0.12.0 (2021-07-10)
8
+
9
+ * Regenerated from discovery document revision 20210701
10
+
11
+ ### v0.11.0 (2021-06-29)
12
+
13
+ * Regenerated using generator version 0.4.0
14
+
15
+ ### v0.10.0 (2021-06-24)
16
+
17
+ * Regenerated from discovery document revision 20210615
18
+
3
19
  ### v0.9.0 (2021-06-16)
4
20
 
5
21
  * Regenerated from discovery document revision 20210614
@@ -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]
@@ -883,15 +883,20 @@ module Google
883
883
  # @return [String]
884
884
  attr_accessor :node_id
885
885
 
886
+ # PerSliSloEligibility is a mapping from an SLI name to eligibility.
887
+ # Corresponds to the JSON property `perSliEligibility`
888
+ # @return [Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility]
889
+ attr_accessor :per_sli_eligibility
890
+
886
891
  def initialize(**args)
887
892
  update!(**args)
888
893
  end
889
894
 
890
895
  # Update properties of this object
891
896
  def update!(**args)
892
- @exclusions = args[:exclusions] if args.key?(:exclusions)
893
897
  @location = args[:location] if args.key?(:location)
894
898
  @node_id = args[:node_id] if args.key?(:node_id)
899
+ @per_sli_eligibility = args[:per_sli_eligibility] if args.key?(:per_sli_eligibility)
895
900
  end
896
901
  end
897
902
 
@@ -983,71 +988,11 @@ module Google
983
988
  end
984
989
  end
985
990
 
986
- # SloExclusion represents an exclusion in SLI calculation applies to all SLOs.
987
- class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion
988
- include Google::Apis::Core::Hashable
989
-
990
- # Exclusion duration. No restrictions on the possible values. When an ongoing
991
- # operation is taking longer than initially expected, an existing entry in the
992
- # exclusion list can be updated by extending the duration. This is supported by
993
- # the subsystem exporting eligibility data as long as such extension is
994
- # committed at least 10 minutes before the original exclusion expiration -
995
- # otherwise it is possible that there will be "gaps" in the exclusion
996
- # application in the exported timeseries.
997
- # Corresponds to the JSON property `duration`
998
- # @return [String]
999
- attr_accessor :duration
1000
-
1001
- # Human-readable reason for the exclusion. This should be a static string (e.g. "
1002
- # Disruptive update in progress") and should not contain dynamically generated
1003
- # data (e.g. instance name). Can be left empty.
1004
- # Corresponds to the JSON property `reason`
1005
- # @return [String]
1006
- attr_accessor :reason
1007
-
1008
- # Name of an SLI that this exclusion applies to. Can be left empty, signaling
1009
- # that the instance should be excluded from all SLIs.
1010
- # Corresponds to the JSON property `sliName`
1011
- # @return [String]
1012
- attr_accessor :sli_name
1013
-
1014
- # Start time of the exclusion. No alignment (e.g. to a full minute) needed.
1015
- # Corresponds to the JSON property `startTime`
1016
- # @return [String]
1017
- attr_accessor :start_time
1018
-
1019
- def initialize(**args)
1020
- update!(**args)
1021
- end
1022
-
1023
- # Update properties of this object
1024
- def update!(**args)
1025
- @duration = args[:duration] if args.key?(:duration)
1026
- @reason = args[:reason] if args.key?(:reason)
1027
- @sli_name = args[:sli_name] if args.key?(:sli_name)
1028
- @start_time = args[:start_time] if args.key?(:start_time)
1029
- end
1030
- end
1031
-
1032
991
  # SloMetadata contains resources required for proper SLO classification of the
1033
992
  # instance.
1034
993
  class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
1035
994
  include Google::Apis::Core::Hashable
1036
995
 
1037
- # List of SLO exclusion windows. When multiple entries in the list match (
1038
- # matching the exclusion time-window against current time point) the exclusion
1039
- # reason used in the first matching entry will be published. It is not needed to
1040
- # include expired exclusion in this list, as only the currently applicable
1041
- # exclusions are taken into account by the eligibility exporting subsystem (the
1042
- # historical state of exclusions will be reflected in the historically produced
1043
- # timeseries regardless of the current state). This field can be used to mark
1044
- # the instance as temporary ineligible for the purpose of SLO calculation. For
1045
- # permanent instance SLO exclusion, use of custom instance eligibility is
1046
- # recommended. See 'eligibility' field below.
1047
- # Corresponds to the JSON property `exclusions`
1048
- # @return [Array<Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion>]
1049
- attr_accessor :exclusions
1050
-
1051
996
  # Optional. List of nodes. Some producers need to use per-node metadata to
1052
997
  # calculate SLO. This field allows such producers to publish per-node SLO meta
1053
998
  # data, which will be consumed by SSA Eligibility Exporter and published in the
@@ -1074,7 +1019,6 @@ module Google
1074
1019
 
1075
1020
  # Update properties of this object
1076
1021
  def update!(**args)
1077
- @exclusions = args[:exclusions] if args.key?(:exclusions)
1078
1022
  @nodes = args[:nodes] if args.key?(:nodes)
1079
1023
  @per_sli_eligibility = args[:per_sli_eligibility] if args.key?(:per_sli_eligibility)
1080
1024
  @tier = args[:tier] if args.key?(:tier)
@@ -1095,7 +1039,7 @@ module Google
1095
1039
  # @return [Google::Apis::ManagedidentitiesV1::Certificate]
1096
1040
  attr_accessor :certificate
1097
1041
 
1098
- # Input only. The password used to encrypt the uploaded pfx certificate.
1042
+ # Input only. The password used to encrypt the uploaded PFX certificate.
1099
1043
  # Corresponds to the JSON property `certificatePassword`
1100
1044
  # @return [String]
1101
1045
  attr_accessor :certificate_password
@@ -1466,13 +1410,13 @@ module Google
1466
1410
  class OperationMetadata
1467
1411
  include Google::Apis::Core::Hashable
1468
1412
 
1469
- # [Output only] API version used to start the operation.
1413
+ # Output only. API version used to start the operation.
1470
1414
  # Corresponds to the JSON property `apiVersion`
1471
1415
  # @return [String]
1472
1416
  attr_accessor :api_version
1473
1417
 
1474
- # [Output only] Identifies whether the user has requested cancellation of the
1475
- # operation. Operations that have successfully been cancelled have Operation.
1418
+ # Output only. Identifies whether the user has requested cancellation of the
1419
+ # operation. Operations that have been cancelled successfully have Operation.
1476
1420
  # error value with a google.rpc.Status.code of 1, corresponding to `Code.
1477
1421
  # CANCELLED`.
1478
1422
  # Corresponds to the JSON property `cancelRequested`
@@ -1480,27 +1424,27 @@ module Google
1480
1424
  attr_accessor :cancel_requested
1481
1425
  alias_method :cancel_requested?, :cancel_requested
1482
1426
 
1483
- # [Output only] The time the operation was created.
1427
+ # Output only. The time the operation was created.
1484
1428
  # Corresponds to the JSON property `createTime`
1485
1429
  # @return [String]
1486
1430
  attr_accessor :create_time
1487
1431
 
1488
- # [Output only] The time the operation finished running.
1432
+ # Output only. The time the operation finished running.
1489
1433
  # Corresponds to the JSON property `endTime`
1490
1434
  # @return [String]
1491
1435
  attr_accessor :end_time
1492
1436
 
1493
- # [Output only] Human-readable status of the operation, if any.
1437
+ # Output only. Human-readable status of the operation, if any.
1494
1438
  # Corresponds to the JSON property `statusDetail`
1495
1439
  # @return [String]
1496
1440
  attr_accessor :status_detail
1497
1441
 
1498
- # [Output only] Server-defined resource path for the target of the operation.
1442
+ # Output only. Server-defined resource path for the target of the operation.
1499
1443
  # Corresponds to the JSON property `target`
1500
1444
  # @return [String]
1501
1445
  attr_accessor :target
1502
1446
 
1503
- # [Output only] Name of the verb executed by the operation.
1447
+ # Output only. Name of the verb executed by the operation.
1504
1448
  # Corresponds to the JSON property `verb`
1505
1449
  # @return [String]
1506
1450
  attr_accessor :verb
@@ -1545,7 +1489,7 @@ module Google
1545
1489
  # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
1546
1490
  # roles/resourcemanager.organizationViewer condition: title: expirable access
1547
1491
  # description: Does not grant access after Sep 2020 expression: request.time <
1548
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
1492
+ # timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
1549
1493
  # description of IAM and its features, see the [IAM documentation](https://cloud.
1550
1494
  # google.com/iam/docs/).
1551
1495
  class Policy
@@ -1725,7 +1669,7 @@ module Google
1725
1669
  # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
1726
1670
  # roles/resourcemanager.organizationViewer condition: title: expirable access
1727
1671
  # description: Does not grant access after Sep 2020 expression: request.time <
1728
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
1672
+ # timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
1729
1673
  # description of IAM and its features, see the [IAM documentation](https://cloud.
1730
1674
  # google.com/iam/docs/).
1731
1675
  # Corresponds to the JSON property `policy`
@@ -1742,34 +1686,32 @@ module Google
1742
1686
  end
1743
1687
  end
1744
1688
 
1745
- # Represents the Sql instance integrated with AD.
1689
+ # Represents the SQL instance integrated with Managed AD.
1746
1690
  class SqlIntegration
1747
1691
  include Google::Apis::Core::Hashable
1748
1692
 
1749
- # Output only. The time sql integration was created. Synthetic field is
1750
- # populated automatically by CCFE.
1693
+ # Output only. The time the SQL integration was created.
1751
1694
  # Corresponds to the JSON property `createTime`
1752
1695
  # @return [String]
1753
1696
  attr_accessor :create_time
1754
1697
 
1755
- # The unique name of the sql integration in the form of `projects/`project_id`/
1698
+ # The unique name of the SQL integration in the form of `projects/`project_id`/
1756
1699
  # locations/global/domains/`domain_name`/sqlIntegrations/`sql_integration``
1757
1700
  # Corresponds to the JSON property `name`
1758
1701
  # @return [String]
1759
1702
  attr_accessor :name
1760
1703
 
1761
- # The full resource name of an integrated sql instance
1704
+ # The full resource name of an integrated SQL instance
1762
1705
  # Corresponds to the JSON property `sqlInstance`
1763
1706
  # @return [String]
1764
1707
  attr_accessor :sql_instance
1765
1708
 
1766
- # Output only. The current state of the sql integration.
1709
+ # Output only. The current state of the SQL integration.
1767
1710
  # Corresponds to the JSON property `state`
1768
1711
  # @return [String]
1769
1712
  attr_accessor :state
1770
1713
 
1771
- # Output only. The time sql integration was updated. Synthetic field is
1772
- # populated automatically by CCFE.
1714
+ # Output only. The time the SQL integration was updated.
1773
1715
  # Corresponds to the JSON property `updateTime`
1774
1716
  # @return [String]
1775
1717
  attr_accessor :update_time
@@ -2009,8 +1951,7 @@ module Google
2009
1951
 
2010
1952
  # Deny Maintenance Period that is applied to resource to indicate when
2011
1953
  # maintenance is forbidden. User can specify zero or more non-overlapping deny
2012
- # periods. For V1, Maximum number of deny_maintenance_periods is expected to be
2013
- # one.
1954
+ # periods. Maximum number of deny_maintenance_periods expected is one.
2014
1955
  # Corresponds to the JSON property `denyMaintenancePeriods`
2015
1956
  # @return [Array<Google::Apis::ManagedidentitiesV1::DenyMaintenancePeriod>]
2016
1957
  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.9.0"
19
+ GEM_VERSION = "0.13.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.3.0"
22
+ GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210614"
25
+ REVISION = "20210819"
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
 
@@ -388,6 +382,7 @@ module Google
388
382
  # @private
389
383
  class Representation < Google::Apis::Core::JsonRepresentation
390
384
  property :admin, as: 'admin'
385
+ property :audit_logs_enabled, as: 'auditLogsEnabled'
391
386
  collection :authorized_networks, as: 'authorizedNetworks'
392
387
  property :create_time, as: 'createTime'
393
388
  property :fqdn, as: 'fqdn'
@@ -504,10 +499,10 @@ module Google
504
499
  class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata
505
500
  # @private
506
501
  class Representation < Google::Apis::Core::JsonRepresentation
507
- collection :exclusions, as: 'exclusions', class: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion, decorator: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion::Representation
508
-
509
502
  property :location, as: 'location'
510
503
  property :node_id, as: 'nodeId'
504
+ property :per_sli_eligibility, as: 'perSliEligibility', class: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility, decorator: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility::Representation
505
+
511
506
  end
512
507
  end
513
508
 
@@ -535,21 +530,9 @@ module Google
535
530
  end
536
531
  end
537
532
 
538
- class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion
539
- # @private
540
- class Representation < Google::Apis::Core::JsonRepresentation
541
- property :duration, as: 'duration'
542
- property :reason, as: 'reason'
543
- property :sli_name, as: 'sliName'
544
- property :start_time, as: 'startTime'
545
- end
546
- end
547
-
548
533
  class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
549
534
  # @private
550
535
  class Representation < Google::Apis::Core::JsonRepresentation
551
- collection :exclusions, as: 'exclusions', class: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion, decorator: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion::Representation
552
-
553
536
  collection :nodes, as: 'nodes', class: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata, decorator: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata::Representation
554
537
 
555
538
  property :per_sli_eligibility, as: 'perSliEligibility', class: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility, decorator: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility::Representation
@@ -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,121 @@ 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
+ # Gets the access control policy for a resource. Returns an empty policy if the
907
+ # resource exists and does not have a policy set.
908
+ # @param [String] resource
909
+ # REQUIRED: The resource for which the policy is being requested. See the
910
+ # operation documentation for the appropriate value for this field.
911
+ # @param [Fixnum] options_requested_policy_version
912
+ # Optional. The policy format version to be returned. Valid values are 0, 1, and
913
+ # 3. Requests specifying an invalid value will be rejected. Requests for
914
+ # policies with any conditional bindings must specify version 3. Policies
915
+ # without any conditional bindings may specify any valid value or leave the
916
+ # field unset. To learn which resources support conditions in their IAM policies,
917
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
918
+ # resource-policies).
919
+ # @param [String] fields
920
+ # Selector specifying which fields to include in a partial response.
921
+ # @param [String] quota_user
922
+ # Available to use for quota purposes for server-side applications. Can be any
923
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
924
+ # @param [Google::Apis::RequestOptions] options
925
+ # Request-specific options
926
+ #
927
+ # @yield [result, err] Result & error if block supplied
928
+ # @yieldparam result [Google::Apis::ManagedidentitiesV1::Policy] parsed result object
929
+ # @yieldparam err [StandardError] error object if request failed
930
+ #
931
+ # @return [Google::Apis::ManagedidentitiesV1::Policy]
932
+ #
933
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
934
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
935
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
936
+ def get_project_location_global_peering_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
937
+ command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
938
+ command.response_representation = Google::Apis::ManagedidentitiesV1::Policy::Representation
939
+ command.response_class = Google::Apis::ManagedidentitiesV1::Policy
940
+ command.params['resource'] = resource unless resource.nil?
941
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
942
+ command.query['fields'] = fields unless fields.nil?
943
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
944
+ execute_or_queue_command(command, &block)
945
+ end
946
+
947
+ # Sets the access control policy on the specified resource. Replaces any
948
+ # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
949
+ # PERMISSION_DENIED` errors.
950
+ # @param [String] resource
951
+ # REQUIRED: The resource for which the policy is being specified. See the
952
+ # operation documentation for the appropriate value for this field.
953
+ # @param [Google::Apis::ManagedidentitiesV1::SetIamPolicyRequest] set_iam_policy_request_object
954
+ # @param [String] fields
955
+ # Selector specifying which fields to include in a partial response.
956
+ # @param [String] quota_user
957
+ # Available to use for quota purposes for server-side applications. Can be any
958
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
959
+ # @param [Google::Apis::RequestOptions] options
960
+ # Request-specific options
961
+ #
962
+ # @yield [result, err] Result & error if block supplied
963
+ # @yieldparam result [Google::Apis::ManagedidentitiesV1::Policy] parsed result object
964
+ # @yieldparam err [StandardError] error object if request failed
965
+ #
966
+ # @return [Google::Apis::ManagedidentitiesV1::Policy]
967
+ #
968
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
969
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
970
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
971
+ def set_peering_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
972
+ command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
973
+ command.request_representation = Google::Apis::ManagedidentitiesV1::SetIamPolicyRequest::Representation
974
+ command.request_object = set_iam_policy_request_object
975
+ command.response_representation = Google::Apis::ManagedidentitiesV1::Policy::Representation
976
+ command.response_class = Google::Apis::ManagedidentitiesV1::Policy
977
+ command.params['resource'] = resource unless resource.nil?
978
+ command.query['fields'] = fields unless fields.nil?
979
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
980
+ execute_or_queue_command(command, &block)
981
+ end
982
+
983
+ # Returns permissions that a caller has on the specified resource. If the
984
+ # resource does not exist, this will return an empty set of permissions, not a `
985
+ # NOT_FOUND` error. Note: This operation is designed to be used for building
986
+ # permission-aware UIs and command-line tools, not for authorization checking.
987
+ # This operation may "fail open" without warning.
988
+ # @param [String] resource
989
+ # REQUIRED: The resource for which the policy detail is being requested. See the
990
+ # operation documentation for the appropriate value for this field.
991
+ # @param [Google::Apis::ManagedidentitiesV1::TestIamPermissionsRequest] test_iam_permissions_request_object
992
+ # @param [String] fields
993
+ # Selector specifying which fields to include in a partial response.
994
+ # @param [String] quota_user
995
+ # Available to use for quota purposes for server-side applications. Can be any
996
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
997
+ # @param [Google::Apis::RequestOptions] options
998
+ # Request-specific options
999
+ #
1000
+ # @yield [result, err] Result & error if block supplied
1001
+ # @yieldparam result [Google::Apis::ManagedidentitiesV1::TestIamPermissionsResponse] parsed result object
1002
+ # @yieldparam err [StandardError] error object if request failed
1003
+ #
1004
+ # @return [Google::Apis::ManagedidentitiesV1::TestIamPermissionsResponse]
1005
+ #
1006
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1007
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1008
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1009
+ def test_peering_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1010
+ command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
1011
+ command.request_representation = Google::Apis::ManagedidentitiesV1::TestIamPermissionsRequest::Representation
1012
+ command.request_object = test_iam_permissions_request_object
1013
+ command.response_representation = Google::Apis::ManagedidentitiesV1::TestIamPermissionsResponse::Representation
1014
+ command.response_class = Google::Apis::ManagedidentitiesV1::TestIamPermissionsResponse
1015
+ command.params['resource'] = resource unless resource.nil?
1016
+ command.query['fields'] = fields unless fields.nil?
1017
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1018
+ execute_or_queue_command(command, &block)
1019
+ end
905
1020
 
906
1021
  protected
907
1022
 
@@ -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,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-managedidentities_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.13.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-21 00:00:00.000000000 Z
11
+ date: 2021-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.1'
19
+ version: '0.4'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: 2.a
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '0.4'
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: '0.1'
32
+ version: 2.a
27
33
  description: This is the simple REST client for Managed Service for Microsoft Active
28
34
  Directory API V1. Simple REST clients are Ruby client libraries that provide access
29
35
  to Google services via their HTTP REST API endpoints. These libraries are generated
@@ -53,7 +59,7 @@ licenses:
53
59
  metadata:
54
60
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
55
61
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-managedidentities_v1/CHANGELOG.md
56
- documentation_uri: https://googleapis.dev/ruby/google-apis-managedidentities_v1/v0.9.0
62
+ documentation_uri: https://googleapis.dev/ruby/google-apis-managedidentities_v1/v0.13.0
57
63
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-managedidentities_v1
58
64
  post_install_message:
59
65
  rdoc_options: []