google-apis-managedidentities_v1beta1 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 +4 -4
- data/CHANGELOG.md +16 -0
- data/lib/google/apis/managedidentities_v1beta1/classes.rb +19 -86
- data/lib/google/apis/managedidentities_v1beta1/gem_version.rb +3 -3
- data/lib/google/apis/managedidentities_v1beta1/representations.rb +2 -20
- data/lib/google/apis/managedidentities_v1beta1/service.rb +115 -0
- data/lib/google/apis/managedidentities_v1beta1.rb +1 -1
- metadata +13 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1a9f1b832a4b21eaa14e606863930c3925382bbf541817d3103cb70845324ef1
|
4
|
+
data.tar.gz: 8e43b9bdea4f0daeacf56342c8b20d8d722b6dd0e523a42cb63f5cd7dc1380ea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 18830e2a4dd3f0f567a15233945164463a08294bf688d9fac7d887b681485335c3cf0ba0f3930212828d6da098e2d6af584e84b7116e41442f1c980ebb3719f1
|
7
|
+
data.tar.gz: f54f0456bd114bbe182ecd91a87a7655090288c3675eee0a230be53337edb72ac697dc304327f11b68d73adc0de184c43089b404970cf3b0ebc73b9791c733c9
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-managedidentities_v1beta1
|
2
2
|
|
3
|
+
### v0.13.0 (2021-08-28)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210819
|
6
|
+
|
7
|
+
### v0.12.0 (2021-07-09)
|
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-17)
|
4
20
|
|
5
21
|
* Regenerated from discovery document revision 20210614
|
@@ -869,14 +869,6 @@ module Google
|
|
869
869
|
class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata
|
870
870
|
include Google::Apis::Core::Hashable
|
871
871
|
|
872
|
-
# By default node is eligible if instance is eligible. But individual node might
|
873
|
-
# be excluded from SLO by adding entry here. For semantic see SloMetadata.
|
874
|
-
# exclusions. If both instance and node level exclusions are present for time
|
875
|
-
# period, the node level's reason will be reported by Eligibility Exporter.
|
876
|
-
# Corresponds to the JSON property `exclusions`
|
877
|
-
# @return [Array<Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion>]
|
878
|
-
attr_accessor :exclusions
|
879
|
-
|
880
872
|
# The location of the node, if different from instance location.
|
881
873
|
# Corresponds to the JSON property `location`
|
882
874
|
# @return [String]
|
@@ -887,15 +879,20 @@ module Google
|
|
887
879
|
# @return [String]
|
888
880
|
attr_accessor :node_id
|
889
881
|
|
882
|
+
# PerSliSloEligibility is a mapping from an SLI name to eligibility.
|
883
|
+
# Corresponds to the JSON property `perSliEligibility`
|
884
|
+
# @return [Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility]
|
885
|
+
attr_accessor :per_sli_eligibility
|
886
|
+
|
890
887
|
def initialize(**args)
|
891
888
|
update!(**args)
|
892
889
|
end
|
893
890
|
|
894
891
|
# Update properties of this object
|
895
892
|
def update!(**args)
|
896
|
-
@exclusions = args[:exclusions] if args.key?(:exclusions)
|
897
893
|
@location = args[:location] if args.key?(:location)
|
898
894
|
@node_id = args[:node_id] if args.key?(:node_id)
|
895
|
+
@per_sli_eligibility = args[:per_sli_eligibility] if args.key?(:per_sli_eligibility)
|
899
896
|
end
|
900
897
|
end
|
901
898
|
|
@@ -987,71 +984,11 @@ module Google
|
|
987
984
|
end
|
988
985
|
end
|
989
986
|
|
990
|
-
# SloExclusion represents an exclusion in SLI calculation applies to all SLOs.
|
991
|
-
class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion
|
992
|
-
include Google::Apis::Core::Hashable
|
993
|
-
|
994
|
-
# Exclusion duration. No restrictions on the possible values. When an ongoing
|
995
|
-
# operation is taking longer than initially expected, an existing entry in the
|
996
|
-
# exclusion list can be updated by extending the duration. This is supported by
|
997
|
-
# the subsystem exporting eligibility data as long as such extension is
|
998
|
-
# committed at least 10 minutes before the original exclusion expiration -
|
999
|
-
# otherwise it is possible that there will be "gaps" in the exclusion
|
1000
|
-
# application in the exported timeseries.
|
1001
|
-
# Corresponds to the JSON property `duration`
|
1002
|
-
# @return [String]
|
1003
|
-
attr_accessor :duration
|
1004
|
-
|
1005
|
-
# Human-readable reason for the exclusion. This should be a static string (e.g. "
|
1006
|
-
# Disruptive update in progress") and should not contain dynamically generated
|
1007
|
-
# data (e.g. instance name). Can be left empty.
|
1008
|
-
# Corresponds to the JSON property `reason`
|
1009
|
-
# @return [String]
|
1010
|
-
attr_accessor :reason
|
1011
|
-
|
1012
|
-
# Name of an SLI that this exclusion applies to. Can be left empty, signaling
|
1013
|
-
# that the instance should be excluded from all SLIs.
|
1014
|
-
# Corresponds to the JSON property `sliName`
|
1015
|
-
# @return [String]
|
1016
|
-
attr_accessor :sli_name
|
1017
|
-
|
1018
|
-
# Start time of the exclusion. No alignment (e.g. to a full minute) needed.
|
1019
|
-
# Corresponds to the JSON property `startTime`
|
1020
|
-
# @return [String]
|
1021
|
-
attr_accessor :start_time
|
1022
|
-
|
1023
|
-
def initialize(**args)
|
1024
|
-
update!(**args)
|
1025
|
-
end
|
1026
|
-
|
1027
|
-
# Update properties of this object
|
1028
|
-
def update!(**args)
|
1029
|
-
@duration = args[:duration] if args.key?(:duration)
|
1030
|
-
@reason = args[:reason] if args.key?(:reason)
|
1031
|
-
@sli_name = args[:sli_name] if args.key?(:sli_name)
|
1032
|
-
@start_time = args[:start_time] if args.key?(:start_time)
|
1033
|
-
end
|
1034
|
-
end
|
1035
|
-
|
1036
987
|
# SloMetadata contains resources required for proper SLO classification of the
|
1037
988
|
# instance.
|
1038
989
|
class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
|
1039
990
|
include Google::Apis::Core::Hashable
|
1040
991
|
|
1041
|
-
# List of SLO exclusion windows. When multiple entries in the list match (
|
1042
|
-
# matching the exclusion time-window against current time point) the exclusion
|
1043
|
-
# reason used in the first matching entry will be published. It is not needed to
|
1044
|
-
# include expired exclusion in this list, as only the currently applicable
|
1045
|
-
# exclusions are taken into account by the eligibility exporting subsystem (the
|
1046
|
-
# historical state of exclusions will be reflected in the historically produced
|
1047
|
-
# timeseries regardless of the current state). This field can be used to mark
|
1048
|
-
# the instance as temporary ineligible for the purpose of SLO calculation. For
|
1049
|
-
# permanent instance SLO exclusion, use of custom instance eligibility is
|
1050
|
-
# recommended. See 'eligibility' field below.
|
1051
|
-
# Corresponds to the JSON property `exclusions`
|
1052
|
-
# @return [Array<Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion>]
|
1053
|
-
attr_accessor :exclusions
|
1054
|
-
|
1055
992
|
# Optional. List of nodes. Some producers need to use per-node metadata to
|
1056
993
|
# calculate SLO. This field allows such producers to publish per-node SLO meta
|
1057
994
|
# data, which will be consumed by SSA Eligibility Exporter and published in the
|
@@ -1078,7 +1015,6 @@ module Google
|
|
1078
1015
|
|
1079
1016
|
# Update properties of this object
|
1080
1017
|
def update!(**args)
|
1081
|
-
@exclusions = args[:exclusions] if args.key?(:exclusions)
|
1082
1018
|
@nodes = args[:nodes] if args.key?(:nodes)
|
1083
1019
|
@per_sli_eligibility = args[:per_sli_eligibility] if args.key?(:per_sli_eligibility)
|
1084
1020
|
@tier = args[:tier] if args.key?(:tier)
|
@@ -1502,13 +1438,13 @@ module Google
|
|
1502
1438
|
class OperationMetadata
|
1503
1439
|
include Google::Apis::Core::Hashable
|
1504
1440
|
|
1505
|
-
#
|
1441
|
+
# Output only. API version used to start the operation.
|
1506
1442
|
# Corresponds to the JSON property `apiVersion`
|
1507
1443
|
# @return [String]
|
1508
1444
|
attr_accessor :api_version
|
1509
1445
|
|
1510
|
-
#
|
1511
|
-
# operation. Operations that have
|
1446
|
+
# Output only. Identifies whether the user has requested cancellation of the
|
1447
|
+
# operation. Operations that have been cancelled successfully have Operation.
|
1512
1448
|
# error value with a google.rpc.Status.code of 1, corresponding to `Code.
|
1513
1449
|
# CANCELLED`.
|
1514
1450
|
# Corresponds to the JSON property `cancelRequested`
|
@@ -1516,27 +1452,27 @@ module Google
|
|
1516
1452
|
attr_accessor :cancel_requested
|
1517
1453
|
alias_method :cancel_requested?, :cancel_requested
|
1518
1454
|
|
1519
|
-
#
|
1455
|
+
# Output only. The time the operation was created.
|
1520
1456
|
# Corresponds to the JSON property `createTime`
|
1521
1457
|
# @return [String]
|
1522
1458
|
attr_accessor :create_time
|
1523
1459
|
|
1524
|
-
#
|
1460
|
+
# Output only. The time the operation finished running.
|
1525
1461
|
# Corresponds to the JSON property `endTime`
|
1526
1462
|
# @return [String]
|
1527
1463
|
attr_accessor :end_time
|
1528
1464
|
|
1529
|
-
#
|
1465
|
+
# Output only. Human-readable status of the operation, if any.
|
1530
1466
|
# Corresponds to the JSON property `statusDetail`
|
1531
1467
|
# @return [String]
|
1532
1468
|
attr_accessor :status_detail
|
1533
1469
|
|
1534
|
-
#
|
1470
|
+
# Output only. Server-defined resource path for the target of the operation.
|
1535
1471
|
# Corresponds to the JSON property `target`
|
1536
1472
|
# @return [String]
|
1537
1473
|
attr_accessor :target
|
1538
1474
|
|
1539
|
-
#
|
1475
|
+
# Output only. Name of the verb executed by the operation.
|
1540
1476
|
# Corresponds to the JSON property `verb`
|
1541
1477
|
# @return [String]
|
1542
1478
|
attr_accessor :verb
|
@@ -1650,7 +1586,7 @@ module Google
|
|
1650
1586
|
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
1651
1587
|
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
1652
1588
|
# description: Does not grant access after Sep 2020 expression: request.time <
|
1653
|
-
# timestamp('2020-10-01T00:00:00.000Z')
|
1589
|
+
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
|
1654
1590
|
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
1655
1591
|
# google.com/iam/docs/).
|
1656
1592
|
class Policy
|
@@ -1830,7 +1766,7 @@ module Google
|
|
1830
1766
|
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
1831
1767
|
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
1832
1768
|
# description: Does not grant access after Sep 2020 expression: request.time <
|
1833
|
-
# timestamp('2020-10-01T00:00:00.000Z')
|
1769
|
+
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
|
1834
1770
|
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
1835
1771
|
# google.com/iam/docs/).
|
1836
1772
|
# Corresponds to the JSON property `policy`
|
@@ -1851,8 +1787,7 @@ module Google
|
|
1851
1787
|
class SqlIntegration
|
1852
1788
|
include Google::Apis::Core::Hashable
|
1853
1789
|
|
1854
|
-
# Output only. The time sql integration was created.
|
1855
|
-
# populated automatically by CCFE.
|
1790
|
+
# Output only. The time sql integration was created.
|
1856
1791
|
# Corresponds to the JSON property `createTime`
|
1857
1792
|
# @return [String]
|
1858
1793
|
attr_accessor :create_time
|
@@ -1873,8 +1808,7 @@ module Google
|
|
1873
1808
|
# @return [String]
|
1874
1809
|
attr_accessor :state
|
1875
1810
|
|
1876
|
-
# Output only. The time sql integration was updated.
|
1877
|
-
# populated automatically by CCFE.
|
1811
|
+
# Output only. The time sql integration was updated.
|
1878
1812
|
# Corresponds to the JSON property `updateTime`
|
1879
1813
|
# @return [String]
|
1880
1814
|
attr_accessor :update_time
|
@@ -2111,8 +2045,7 @@ module Google
|
|
2111
2045
|
|
2112
2046
|
# Deny Maintenance Period that is applied to resource to indicate when
|
2113
2047
|
# maintenance is forbidden. User can specify zero or more non-overlapping deny
|
2114
|
-
# periods.
|
2115
|
-
# one.
|
2048
|
+
# periods. Maximum number of deny_maintenance_periods expected is one.
|
2116
2049
|
# Corresponds to the JSON property `denyMaintenancePeriods`
|
2117
2050
|
# @return [Array<Google::Apis::ManagedidentitiesV1beta1::DenyMaintenancePeriod>]
|
2118
2051
|
attr_accessor :deny_maintenance_periods
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ManagedidentitiesV1beta1
|
18
18
|
# Version of the google-apis-managedidentities_v1beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.13.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 = "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
|
|
@@ -517,10 +511,10 @@ module Google
|
|
517
511
|
class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata
|
518
512
|
# @private
|
519
513
|
class Representation < Google::Apis::Core::JsonRepresentation
|
520
|
-
collection :exclusions, as: 'exclusions', class: Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion, decorator: Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion::Representation
|
521
|
-
|
522
514
|
property :location, as: 'location'
|
523
515
|
property :node_id, as: 'nodeId'
|
516
|
+
property :per_sli_eligibility, as: 'perSliEligibility', class: Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility, decorator: Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility::Representation
|
517
|
+
|
524
518
|
end
|
525
519
|
end
|
526
520
|
|
@@ -548,21 +542,9 @@ module Google
|
|
548
542
|
end
|
549
543
|
end
|
550
544
|
|
551
|
-
class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion
|
552
|
-
# @private
|
553
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
554
|
-
property :duration, as: 'duration'
|
555
|
-
property :reason, as: 'reason'
|
556
|
-
property :sli_name, as: 'sliName'
|
557
|
-
property :start_time, as: 'startTime'
|
558
|
-
end
|
559
|
-
end
|
560
|
-
|
561
545
|
class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
|
562
546
|
# @private
|
563
547
|
class Representation < Google::Apis::Core::JsonRepresentation
|
564
|
-
collection :exclusions, as: 'exclusions', class: Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion, decorator: Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion::Representation
|
565
|
-
|
566
548
|
collection :nodes, as: 'nodes', class: Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata, decorator: Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata::Representation
|
567
549
|
|
568
550
|
property :per_sli_eligibility, as: 'perSliEligibility', class: Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility, decorator: Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility::Representation
|
@@ -672,6 +672,121 @@ module Google
|
|
672
672
|
execute_or_queue_command(command, &block)
|
673
673
|
end
|
674
674
|
|
675
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
676
|
+
# resource exists and does not have a policy set.
|
677
|
+
# @param [String] resource
|
678
|
+
# REQUIRED: The resource for which the policy is being requested. See the
|
679
|
+
# operation documentation for the appropriate value for this field.
|
680
|
+
# @param [Fixnum] options_requested_policy_version
|
681
|
+
# Optional. The policy format version to be returned. Valid values are 0, 1, and
|
682
|
+
# 3. Requests specifying an invalid value will be rejected. Requests for
|
683
|
+
# policies with any conditional bindings must specify version 3. Policies
|
684
|
+
# without any conditional bindings may specify any valid value or leave the
|
685
|
+
# field unset. To learn which resources support conditions in their IAM policies,
|
686
|
+
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
687
|
+
# resource-policies).
|
688
|
+
# @param [String] fields
|
689
|
+
# Selector specifying which fields to include in a partial response.
|
690
|
+
# @param [String] quota_user
|
691
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
692
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
693
|
+
# @param [Google::Apis::RequestOptions] options
|
694
|
+
# Request-specific options
|
695
|
+
#
|
696
|
+
# @yield [result, err] Result & error if block supplied
|
697
|
+
# @yieldparam result [Google::Apis::ManagedidentitiesV1beta1::Policy] parsed result object
|
698
|
+
# @yieldparam err [StandardError] error object if request failed
|
699
|
+
#
|
700
|
+
# @return [Google::Apis::ManagedidentitiesV1beta1::Policy]
|
701
|
+
#
|
702
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
703
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
704
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
705
|
+
def get_project_location_global_domain_backup_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
706
|
+
command = make_simple_command(:get, 'v1beta1/{+resource}:getIamPolicy', options)
|
707
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1beta1::Policy::Representation
|
708
|
+
command.response_class = Google::Apis::ManagedidentitiesV1beta1::Policy
|
709
|
+
command.params['resource'] = resource unless resource.nil?
|
710
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
711
|
+
command.query['fields'] = fields unless fields.nil?
|
712
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
713
|
+
execute_or_queue_command(command, &block)
|
714
|
+
end
|
715
|
+
|
716
|
+
# Sets the access control policy on the specified resource. Replaces any
|
717
|
+
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
718
|
+
# PERMISSION_DENIED` errors.
|
719
|
+
# @param [String] resource
|
720
|
+
# REQUIRED: The resource for which the policy is being specified. See the
|
721
|
+
# operation documentation for the appropriate value for this field.
|
722
|
+
# @param [Google::Apis::ManagedidentitiesV1beta1::SetIamPolicyRequest] set_iam_policy_request_object
|
723
|
+
# @param [String] fields
|
724
|
+
# Selector specifying which fields to include in a partial response.
|
725
|
+
# @param [String] quota_user
|
726
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
727
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
728
|
+
# @param [Google::Apis::RequestOptions] options
|
729
|
+
# Request-specific options
|
730
|
+
#
|
731
|
+
# @yield [result, err] Result & error if block supplied
|
732
|
+
# @yieldparam result [Google::Apis::ManagedidentitiesV1beta1::Policy] parsed result object
|
733
|
+
# @yieldparam err [StandardError] error object if request failed
|
734
|
+
#
|
735
|
+
# @return [Google::Apis::ManagedidentitiesV1beta1::Policy]
|
736
|
+
#
|
737
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
738
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
739
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
740
|
+
def set_backup_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
741
|
+
command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
|
742
|
+
command.request_representation = Google::Apis::ManagedidentitiesV1beta1::SetIamPolicyRequest::Representation
|
743
|
+
command.request_object = set_iam_policy_request_object
|
744
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1beta1::Policy::Representation
|
745
|
+
command.response_class = Google::Apis::ManagedidentitiesV1beta1::Policy
|
746
|
+
command.params['resource'] = resource unless resource.nil?
|
747
|
+
command.query['fields'] = fields unless fields.nil?
|
748
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
749
|
+
execute_or_queue_command(command, &block)
|
750
|
+
end
|
751
|
+
|
752
|
+
# Returns permissions that a caller has on the specified resource. If the
|
753
|
+
# resource does not exist, this will return an empty set of permissions, not a `
|
754
|
+
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
755
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
756
|
+
# This operation may "fail open" without warning.
|
757
|
+
# @param [String] resource
|
758
|
+
# REQUIRED: The resource for which the policy detail is being requested. See the
|
759
|
+
# operation documentation for the appropriate value for this field.
|
760
|
+
# @param [Google::Apis::ManagedidentitiesV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
761
|
+
# @param [String] fields
|
762
|
+
# Selector specifying which fields to include in a partial response.
|
763
|
+
# @param [String] quota_user
|
764
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
765
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
766
|
+
# @param [Google::Apis::RequestOptions] options
|
767
|
+
# Request-specific options
|
768
|
+
#
|
769
|
+
# @yield [result, err] Result & error if block supplied
|
770
|
+
# @yieldparam result [Google::Apis::ManagedidentitiesV1beta1::TestIamPermissionsResponse] parsed result object
|
771
|
+
# @yieldparam err [StandardError] error object if request failed
|
772
|
+
#
|
773
|
+
# @return [Google::Apis::ManagedidentitiesV1beta1::TestIamPermissionsResponse]
|
774
|
+
#
|
775
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
776
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
777
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
778
|
+
def test_backup_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
779
|
+
command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
|
780
|
+
command.request_representation = Google::Apis::ManagedidentitiesV1beta1::TestIamPermissionsRequest::Representation
|
781
|
+
command.request_object = test_iam_permissions_request_object
|
782
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1beta1::TestIamPermissionsResponse::Representation
|
783
|
+
command.response_class = Google::Apis::ManagedidentitiesV1beta1::TestIamPermissionsResponse
|
784
|
+
command.params['resource'] = resource unless resource.nil?
|
785
|
+
command.query['fields'] = fields unless fields.nil?
|
786
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
787
|
+
execute_or_queue_command(command, &block)
|
788
|
+
end
|
789
|
+
|
675
790
|
# Gets details of a single sqlIntegration.
|
676
791
|
# @param [String] name
|
677
792
|
# Required. SqlIntegration resource name using the form: `projects/`project_id`/
|
@@ -30,7 +30,7 @@ module Google
|
|
30
30
|
# This is NOT the gem version.
|
31
31
|
VERSION = 'V1beta1'
|
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,29 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-managedidentities_v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.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-
|
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.
|
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:
|
32
|
+
version: 2.a
|
27
33
|
description: This is the simple REST client for Managed Service for Microsoft Active
|
28
34
|
Directory API V1beta1. Simple REST clients are Ruby client libraries that provide
|
29
35
|
access to Google services via their HTTP REST API endpoints. These libraries are
|
@@ -53,7 +59,7 @@ licenses:
|
|
53
59
|
metadata:
|
54
60
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
55
61
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-managedidentities_v1beta1/CHANGELOG.md
|
56
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-managedidentities_v1beta1/v0.
|
62
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-managedidentities_v1beta1/v0.13.0
|
57
63
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-managedidentities_v1beta1
|
58
64
|
post_install_message:
|
59
65
|
rdoc_options: []
|