google-apis-iam_v1 0.36.0 → 0.37.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 +5 -0
- data/lib/google/apis/iam_v1/classes.rb +7 -8
- data/lib/google/apis/iam_v1/gem_version.rb +3 -3
- data/lib/google/apis/iam_v1/service.rb +150 -67
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3c319d37f609b27fd557ed3cef2376e5c5c27eddbf764dee2c05db16bbc7e80a
|
4
|
+
data.tar.gz: ef9c4c86312a93e576824289d2437b57ec6bb8b42dbed59178d106ebd41e30ed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4998b08f4470415215d091229517310cda94a49ae560e1a959f857d8776c5ffa009f7aae1b35574a1518e081aea66f0f317a85bffe6356f04f11dbb72611073e
|
7
|
+
data.tar.gz: 9e78c05ff2add6fbbd0928a21b097ca84b0ebcb4301ccad616589c930a27e8348bce4c2dfb0c125a69de543b8a5db1329214b7f7ae8326389c5c2f73f1eef61e
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-iam_v1
|
2
2
|
|
3
|
+
### v0.37.0 (2023-01-15)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230105
|
6
|
+
* Regenerated using generator version 0.11.1
|
7
|
+
|
3
8
|
### v0.36.0 (2022-10-27)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20221013
|
@@ -538,11 +538,10 @@ module Google
|
|
538
538
|
attr_accessor :condition
|
539
539
|
|
540
540
|
# The full resource name of the policy this lint request is about. The name
|
541
|
-
# follows the Google Cloud
|
541
|
+
# follows the Google Cloud format for full resource names. For example, a Cloud
|
542
542
|
# project with ID `my-project` will be named `//cloudresourcemanager.googleapis.
|
543
|
-
# com/projects/my-project`. The resource name is not used to read
|
544
|
-
#
|
545
|
-
# provided in the same request object.
|
543
|
+
# com/projects/my-project`. The resource name is not used to read a policy from
|
544
|
+
# IAM. Only the data in the request object is linted.
|
546
545
|
# Corresponds to the JSON property `fullResourceName`
|
547
546
|
# @return [String]
|
548
547
|
attr_accessor :full_resource_name
|
@@ -1402,10 +1401,10 @@ module Google
|
|
1402
1401
|
# character instead of the project ID: * `projects/-/serviceAccounts/`
|
1403
1402
|
# EMAIL_ADDRESS`` * `projects/-/serviceAccounts/`UNIQUE_ID`` When possible,
|
1404
1403
|
# avoid using the `-` wildcard character, because it can cause response messages
|
1405
|
-
# to contain misleading error codes. For example, if you try to
|
1406
|
-
# account `projects/-/serviceAccounts/fake@example.com`, which does not
|
1407
|
-
# the response contains an HTTP `403 Forbidden` error instead of a `404
|
1408
|
-
# Found` error.
|
1404
|
+
# to contain misleading error codes. For example, if you try to access the
|
1405
|
+
# service account `projects/-/serviceAccounts/fake@example.com`, which does not
|
1406
|
+
# exist, the response contains an HTTP `403 Forbidden` error instead of a `404
|
1407
|
+
# Not Found` error.
|
1409
1408
|
# Corresponds to the JSON property `name`
|
1410
1409
|
# @return [String]
|
1411
1410
|
attr_accessor :name
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module IamV1
|
18
18
|
# Version of the google-apis-iam_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.37.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.11.
|
22
|
+
GENERATOR_VERSION = "0.11.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230105"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1485,10 +1485,16 @@ module Google
|
|
1485
1485
|
# hours and watch for unintended consequences. If there are no unintended
|
1486
1486
|
# consequences, you can delete the service account.
|
1487
1487
|
# @param [String] name
|
1488
|
-
# Required. The resource name of the service account
|
1489
|
-
# projects/`PROJECT_ID`/serviceAccounts/`
|
1490
|
-
#
|
1491
|
-
#
|
1488
|
+
# Required. The resource name of the service account. Use one of the following
|
1489
|
+
# formats: * `projects/`PROJECT_ID`/serviceAccounts/`EMAIL_ADDRESS`` * `projects/
|
1490
|
+
# `PROJECT_ID`/serviceAccounts/`UNIQUE_ID`` As an alternative, you can use the `-
|
1491
|
+
# ` wildcard character instead of the project ID: * `projects/-/serviceAccounts/`
|
1492
|
+
# EMAIL_ADDRESS`` * `projects/-/serviceAccounts/`UNIQUE_ID`` When possible,
|
1493
|
+
# avoid using the `-` wildcard character, because it can cause response messages
|
1494
|
+
# to contain misleading error codes. For example, if you try to access the
|
1495
|
+
# service account `projects/-/serviceAccounts/fake@example.com`, which does not
|
1496
|
+
# exist, the response contains an HTTP `403 Forbidden` error instead of a `404
|
1497
|
+
# Not Found` error.
|
1492
1498
|
# @param [String] fields
|
1493
1499
|
# Selector specifying which fields to include in a partial response.
|
1494
1500
|
# @param [String] quota_user
|
@@ -1528,10 +1534,16 @@ module Google
|
|
1528
1534
|
# consequences. If there are no unintended consequences, you can delete the
|
1529
1535
|
# service account with DeleteServiceAccount.
|
1530
1536
|
# @param [String] name
|
1531
|
-
# The resource name of the service account
|
1532
|
-
# PROJECT_ID`/serviceAccounts/`
|
1533
|
-
#
|
1534
|
-
#
|
1537
|
+
# The resource name of the service account. Use one of the following formats: * `
|
1538
|
+
# projects/`PROJECT_ID`/serviceAccounts/`EMAIL_ADDRESS`` * `projects/`PROJECT_ID`
|
1539
|
+
# /serviceAccounts/`UNIQUE_ID`` As an alternative, you can use the `-` wildcard
|
1540
|
+
# character instead of the project ID: * `projects/-/serviceAccounts/`
|
1541
|
+
# EMAIL_ADDRESS`` * `projects/-/serviceAccounts/`UNIQUE_ID`` When possible,
|
1542
|
+
# avoid using the `-` wildcard character, because it can cause response messages
|
1543
|
+
# to contain misleading error codes. For example, if you try to access the
|
1544
|
+
# service account `projects/-/serviceAccounts/fake@example.com`, which does not
|
1545
|
+
# exist, the response contains an HTTP `403 Forbidden` error instead of a `404
|
1546
|
+
# Not Found` error.
|
1535
1547
|
# @param [Google::Apis::IamV1::DisableServiceAccountRequest] disable_service_account_request_object
|
1536
1548
|
# @param [String] fields
|
1537
1549
|
# Selector specifying which fields to include in a partial response.
|
@@ -1568,10 +1580,16 @@ module Google
|
|
1568
1580
|
# the service account because it was compromised—you cannot use this method to
|
1569
1581
|
# enable the service account.
|
1570
1582
|
# @param [String] name
|
1571
|
-
# The resource name of the service account
|
1572
|
-
# PROJECT_ID`/serviceAccounts/`
|
1573
|
-
#
|
1574
|
-
#
|
1583
|
+
# The resource name of the service account. Use one of the following formats: * `
|
1584
|
+
# projects/`PROJECT_ID`/serviceAccounts/`EMAIL_ADDRESS`` * `projects/`PROJECT_ID`
|
1585
|
+
# /serviceAccounts/`UNIQUE_ID`` As an alternative, you can use the `-` wildcard
|
1586
|
+
# character instead of the project ID: * `projects/-/serviceAccounts/`
|
1587
|
+
# EMAIL_ADDRESS`` * `projects/-/serviceAccounts/`UNIQUE_ID`` When possible,
|
1588
|
+
# avoid using the `-` wildcard character, because it can cause response messages
|
1589
|
+
# to contain misleading error codes. For example, if you try to access the
|
1590
|
+
# service account `projects/-/serviceAccounts/fake@example.com`, which does not
|
1591
|
+
# exist, the response contains an HTTP `403 Forbidden` error instead of a `404
|
1592
|
+
# Not Found` error.
|
1575
1593
|
# @param [Google::Apis::IamV1::EnableServiceAccountRequest] enable_service_account_request_object
|
1576
1594
|
# @param [String] fields
|
1577
1595
|
# Selector specifying which fields to include in a partial response.
|
@@ -1604,10 +1622,16 @@ module Google
|
|
1604
1622
|
|
1605
1623
|
# Gets a ServiceAccount.
|
1606
1624
|
# @param [String] name
|
1607
|
-
# Required. The resource name of the service account
|
1608
|
-
# projects/`PROJECT_ID`/serviceAccounts/`
|
1609
|
-
#
|
1610
|
-
#
|
1625
|
+
# Required. The resource name of the service account. Use one of the following
|
1626
|
+
# formats: * `projects/`PROJECT_ID`/serviceAccounts/`EMAIL_ADDRESS`` * `projects/
|
1627
|
+
# `PROJECT_ID`/serviceAccounts/`UNIQUE_ID`` As an alternative, you can use the `-
|
1628
|
+
# ` wildcard character instead of the project ID: * `projects/-/serviceAccounts/`
|
1629
|
+
# EMAIL_ADDRESS`` * `projects/-/serviceAccounts/`UNIQUE_ID`` When possible,
|
1630
|
+
# avoid using the `-` wildcard character, because it can cause response messages
|
1631
|
+
# to contain misleading error codes. For example, if you try to access the
|
1632
|
+
# service account `projects/-/serviceAccounts/fake@example.com`, which does not
|
1633
|
+
# exist, the response contains an HTTP `403 Forbidden` error instead of a `404
|
1634
|
+
# Not Found` error.
|
1611
1635
|
# @param [String] fields
|
1612
1636
|
# Selector specifying which fields to include in a partial response.
|
1613
1637
|
# @param [String] quota_user
|
@@ -1735,10 +1759,10 @@ module Google
|
|
1735
1759
|
# character instead of the project ID: * `projects/-/serviceAccounts/`
|
1736
1760
|
# EMAIL_ADDRESS`` * `projects/-/serviceAccounts/`UNIQUE_ID`` When possible,
|
1737
1761
|
# avoid using the `-` wildcard character, because it can cause response messages
|
1738
|
-
# to contain misleading error codes. For example, if you try to
|
1739
|
-
# account `projects/-/serviceAccounts/fake@example.com`, which does not
|
1740
|
-
# the response contains an HTTP `403 Forbidden` error instead of a `404
|
1741
|
-
# Found` error.
|
1762
|
+
# to contain misleading error codes. For example, if you try to access the
|
1763
|
+
# service account `projects/-/serviceAccounts/fake@example.com`, which does not
|
1764
|
+
# exist, the response contains an HTTP `403 Forbidden` error instead of a `404
|
1765
|
+
# Not Found` error.
|
1742
1766
|
# @param [Google::Apis::IamV1::PatchServiceAccountRequest] patch_service_account_request_object
|
1743
1767
|
# @param [String] fields
|
1744
1768
|
# Selector specifying which fields to include in a partial response.
|
@@ -1824,10 +1848,15 @@ module Google
|
|
1824
1848
|
# @param [String] name
|
1825
1849
|
# Required. Deprecated. [Migrate to Service Account Credentials API](https://
|
1826
1850
|
# cloud.google.com/iam/help/credentials/migrate-api). The resource name of the
|
1827
|
-
# service account
|
1828
|
-
# serviceAccounts/`
|
1829
|
-
#
|
1830
|
-
#
|
1851
|
+
# service account. Use one of the following formats: * `projects/`PROJECT_ID`/
|
1852
|
+
# serviceAccounts/`EMAIL_ADDRESS`` * `projects/`PROJECT_ID`/serviceAccounts/`
|
1853
|
+
# UNIQUE_ID`` As an alternative, you can use the `-` wildcard character instead
|
1854
|
+
# of the project ID: * `projects/-/serviceAccounts/`EMAIL_ADDRESS`` * `projects/-
|
1855
|
+
# /serviceAccounts/`UNIQUE_ID`` When possible, avoid using the `-` wildcard
|
1856
|
+
# character, because it can cause response messages to contain misleading error
|
1857
|
+
# codes. For example, if you try to access the service account `projects/-/
|
1858
|
+
# serviceAccounts/fake@example.com`, which does not exist, the response contains
|
1859
|
+
# an HTTP `403 Forbidden` error instead of a `404 Not Found` error.
|
1831
1860
|
# @param [Google::Apis::IamV1::SignBlobRequest] sign_blob_request_object
|
1832
1861
|
# @param [String] fields
|
1833
1862
|
# Selector specifying which fields to include in a partial response.
|
@@ -1867,10 +1896,15 @@ module Google
|
|
1867
1896
|
# @param [String] name
|
1868
1897
|
# Required. Deprecated. [Migrate to Service Account Credentials API](https://
|
1869
1898
|
# cloud.google.com/iam/help/credentials/migrate-api). The resource name of the
|
1870
|
-
# service account
|
1871
|
-
# serviceAccounts/`
|
1872
|
-
#
|
1873
|
-
#
|
1899
|
+
# service account. Use one of the following formats: * `projects/`PROJECT_ID`/
|
1900
|
+
# serviceAccounts/`EMAIL_ADDRESS`` * `projects/`PROJECT_ID`/serviceAccounts/`
|
1901
|
+
# UNIQUE_ID`` As an alternative, you can use the `-` wildcard character instead
|
1902
|
+
# of the project ID: * `projects/-/serviceAccounts/`EMAIL_ADDRESS`` * `projects/-
|
1903
|
+
# /serviceAccounts/`UNIQUE_ID`` When possible, avoid using the `-` wildcard
|
1904
|
+
# character, because it can cause response messages to contain misleading error
|
1905
|
+
# codes. For example, if you try to access the service account `projects/-/
|
1906
|
+
# serviceAccounts/fake@example.com`, which does not exist, the response contains
|
1907
|
+
# an HTTP `403 Forbidden` error instead of a `404 Not Found` error.
|
1874
1908
|
# @param [Google::Apis::IamV1::SignJwtRequest] sign_jwt_request_object
|
1875
1909
|
# @param [String] fields
|
1876
1910
|
# Selector specifying which fields to include in a partial response.
|
@@ -1942,9 +1976,16 @@ module Google
|
|
1942
1976
|
# account 30 days later. There is no way to restore a deleted service account
|
1943
1977
|
# that has been permanently removed.
|
1944
1978
|
# @param [String] name
|
1945
|
-
# The resource name of the service account
|
1946
|
-
# PROJECT_ID`/serviceAccounts/`
|
1947
|
-
#
|
1979
|
+
# The resource name of the service account. Use one of the following formats: * `
|
1980
|
+
# projects/`PROJECT_ID`/serviceAccounts/`EMAIL_ADDRESS`` * `projects/`PROJECT_ID`
|
1981
|
+
# /serviceAccounts/`UNIQUE_ID`` As an alternative, you can use the `-` wildcard
|
1982
|
+
# character instead of the project ID: * `projects/-/serviceAccounts/`
|
1983
|
+
# EMAIL_ADDRESS`` * `projects/-/serviceAccounts/`UNIQUE_ID`` When possible,
|
1984
|
+
# avoid using the `-` wildcard character, because it can cause response messages
|
1985
|
+
# to contain misleading error codes. For example, if you try to access the
|
1986
|
+
# service account `projects/-/serviceAccounts/fake@example.com`, which does not
|
1987
|
+
# exist, the response contains an HTTP `403 Forbidden` error instead of a `404
|
1988
|
+
# Not Found` error.
|
1948
1989
|
# @param [Google::Apis::IamV1::UndeleteServiceAccountRequest] undelete_service_account_request_object
|
1949
1990
|
# @param [String] fields
|
1950
1991
|
# Selector specifying which fields to include in a partial response.
|
@@ -1985,10 +2026,10 @@ module Google
|
|
1985
2026
|
# character instead of the project ID: * `projects/-/serviceAccounts/`
|
1986
2027
|
# EMAIL_ADDRESS`` * `projects/-/serviceAccounts/`UNIQUE_ID`` When possible,
|
1987
2028
|
# avoid using the `-` wildcard character, because it can cause response messages
|
1988
|
-
# to contain misleading error codes. For example, if you try to
|
1989
|
-
# account `projects/-/serviceAccounts/fake@example.com`, which does not
|
1990
|
-
# the response contains an HTTP `403 Forbidden` error instead of a `404
|
1991
|
-
# Found` error.
|
2029
|
+
# to contain misleading error codes. For example, if you try to access the
|
2030
|
+
# service account `projects/-/serviceAccounts/fake@example.com`, which does not
|
2031
|
+
# exist, the response contains an HTTP `403 Forbidden` error instead of a `404
|
2032
|
+
# Not Found` error.
|
1992
2033
|
# @param [Google::Apis::IamV1::ServiceAccount] service_account_object
|
1993
2034
|
# @param [String] fields
|
1994
2035
|
# Selector specifying which fields to include in a partial response.
|
@@ -2021,10 +2062,16 @@ module Google
|
|
2021
2062
|
|
2022
2063
|
# Creates a ServiceAccountKey.
|
2023
2064
|
# @param [String] name
|
2024
|
-
# Required. The resource name of the service account
|
2025
|
-
# projects/`PROJECT_ID`/serviceAccounts/`
|
2026
|
-
#
|
2027
|
-
#
|
2065
|
+
# Required. The resource name of the service account. Use one of the following
|
2066
|
+
# formats: * `projects/`PROJECT_ID`/serviceAccounts/`EMAIL_ADDRESS`` * `projects/
|
2067
|
+
# `PROJECT_ID`/serviceAccounts/`UNIQUE_ID`` As an alternative, you can use the `-
|
2068
|
+
# ` wildcard character instead of the project ID: * `projects/-/serviceAccounts/`
|
2069
|
+
# EMAIL_ADDRESS`` * `projects/-/serviceAccounts/`UNIQUE_ID`` When possible,
|
2070
|
+
# avoid using the `-` wildcard character, because it can cause response messages
|
2071
|
+
# to contain misleading error codes. For example, if you try to access the
|
2072
|
+
# service account `projects/-/serviceAccounts/fake@example.com`, which does not
|
2073
|
+
# exist, the response contains an HTTP `403 Forbidden` error instead of a `404
|
2074
|
+
# Not Found` error.
|
2028
2075
|
# @param [Google::Apis::IamV1::CreateServiceAccountKeyRequest] create_service_account_key_request_object
|
2029
2076
|
# @param [String] fields
|
2030
2077
|
# Selector specifying which fields to include in a partial response.
|
@@ -2058,11 +2105,17 @@ module Google
|
|
2058
2105
|
# Deletes a ServiceAccountKey. Deleting a service account key does not revoke
|
2059
2106
|
# short-lived credentials that have been issued based on the service account key.
|
2060
2107
|
# @param [String] name
|
2061
|
-
# Required. The resource name of the service account key
|
2062
|
-
# `projects/`PROJECT_ID`/serviceAccounts/`
|
2063
|
-
#
|
2064
|
-
#
|
2065
|
-
#
|
2108
|
+
# Required. The resource name of the service account key. Use one of the
|
2109
|
+
# following formats: * `projects/`PROJECT_ID`/serviceAccounts/`EMAIL_ADDRESS`/
|
2110
|
+
# keys/`KEY_ID`` * `projects/`PROJECT_ID`/serviceAccounts/`UNIQUE_ID`/keys/`
|
2111
|
+
# KEY_ID`` As an alternative, you can use the `-` wildcard character instead of
|
2112
|
+
# the project ID: * `projects/-/serviceAccounts/`EMAIL_ADDRESS`/keys/`KEY_ID`` *
|
2113
|
+
# `projects/-/serviceAccounts/`UNIQUE_ID`/keys/`KEY_ID`` When possible, avoid
|
2114
|
+
# using the `-` wildcard character, because it can cause response messages to
|
2115
|
+
# contain misleading error codes. For example, if you try to access the service
|
2116
|
+
# account key `projects/-/serviceAccounts/fake@example.com/keys/fake-key`, which
|
2117
|
+
# does not exist, the response contains an HTTP `403 Forbidden` error instead of
|
2118
|
+
# a `404 Not Found` error.
|
2066
2119
|
# @param [String] fields
|
2067
2120
|
# Selector specifying which fields to include in a partial response.
|
2068
2121
|
# @param [String] quota_user
|
@@ -2093,11 +2146,17 @@ module Google
|
|
2093
2146
|
# Disable a ServiceAccountKey. A disabled service account key can be re-enabled
|
2094
2147
|
# with EnableServiceAccountKey.
|
2095
2148
|
# @param [String] name
|
2096
|
-
# Required. The resource name of the service account key
|
2097
|
-
# `projects/`PROJECT_ID`/serviceAccounts/`
|
2098
|
-
#
|
2099
|
-
#
|
2100
|
-
#
|
2149
|
+
# Required. The resource name of the service account key. Use one of the
|
2150
|
+
# following formats: * `projects/`PROJECT_ID`/serviceAccounts/`EMAIL_ADDRESS`/
|
2151
|
+
# keys/`KEY_ID`` * `projects/`PROJECT_ID`/serviceAccounts/`UNIQUE_ID`/keys/`
|
2152
|
+
# KEY_ID`` As an alternative, you can use the `-` wildcard character instead of
|
2153
|
+
# the project ID: * `projects/-/serviceAccounts/`EMAIL_ADDRESS`/keys/`KEY_ID`` *
|
2154
|
+
# `projects/-/serviceAccounts/`UNIQUE_ID`/keys/`KEY_ID`` When possible, avoid
|
2155
|
+
# using the `-` wildcard character, because it can cause response messages to
|
2156
|
+
# contain misleading error codes. For example, if you try to access the service
|
2157
|
+
# account key `projects/-/serviceAccounts/fake@example.com/keys/fake-key`, which
|
2158
|
+
# does not exist, the response contains an HTTP `403 Forbidden` error instead of
|
2159
|
+
# a `404 Not Found` error.
|
2101
2160
|
# @param [Google::Apis::IamV1::DisableServiceAccountKeyRequest] disable_service_account_key_request_object
|
2102
2161
|
# @param [String] fields
|
2103
2162
|
# Selector specifying which fields to include in a partial response.
|
@@ -2130,11 +2189,17 @@ module Google
|
|
2130
2189
|
|
2131
2190
|
# Enable a ServiceAccountKey.
|
2132
2191
|
# @param [String] name
|
2133
|
-
# Required. The resource name of the service account key
|
2134
|
-
# `projects/`PROJECT_ID`/serviceAccounts/`
|
2135
|
-
#
|
2136
|
-
#
|
2137
|
-
#
|
2192
|
+
# Required. The resource name of the service account key. Use one of the
|
2193
|
+
# following formats: * `projects/`PROJECT_ID`/serviceAccounts/`EMAIL_ADDRESS`/
|
2194
|
+
# keys/`KEY_ID`` * `projects/`PROJECT_ID`/serviceAccounts/`UNIQUE_ID`/keys/`
|
2195
|
+
# KEY_ID`` As an alternative, you can use the `-` wildcard character instead of
|
2196
|
+
# the project ID: * `projects/-/serviceAccounts/`EMAIL_ADDRESS`/keys/`KEY_ID`` *
|
2197
|
+
# `projects/-/serviceAccounts/`UNIQUE_ID`/keys/`KEY_ID`` When possible, avoid
|
2198
|
+
# using the `-` wildcard character, because it can cause response messages to
|
2199
|
+
# contain misleading error codes. For example, if you try to access the service
|
2200
|
+
# account key `projects/-/serviceAccounts/fake@example.com/keys/fake-key`, which
|
2201
|
+
# does not exist, the response contains an HTTP `403 Forbidden` error instead of
|
2202
|
+
# a `404 Not Found` error.
|
2138
2203
|
# @param [Google::Apis::IamV1::EnableServiceAccountKeyRequest] enable_service_account_key_request_object
|
2139
2204
|
# @param [String] fields
|
2140
2205
|
# Selector specifying which fields to include in a partial response.
|
@@ -2167,11 +2232,17 @@ module Google
|
|
2167
2232
|
|
2168
2233
|
# Gets a ServiceAccountKey.
|
2169
2234
|
# @param [String] name
|
2170
|
-
# Required. The resource name of the service account key
|
2171
|
-
# `projects/`PROJECT_ID`/serviceAccounts/`
|
2172
|
-
#
|
2173
|
-
#
|
2174
|
-
#
|
2235
|
+
# Required. The resource name of the service account key. Use one of the
|
2236
|
+
# following formats: * `projects/`PROJECT_ID`/serviceAccounts/`EMAIL_ADDRESS`/
|
2237
|
+
# keys/`KEY_ID`` * `projects/`PROJECT_ID`/serviceAccounts/`UNIQUE_ID`/keys/`
|
2238
|
+
# KEY_ID`` As an alternative, you can use the `-` wildcard character instead of
|
2239
|
+
# the project ID: * `projects/-/serviceAccounts/`EMAIL_ADDRESS`/keys/`KEY_ID`` *
|
2240
|
+
# `projects/-/serviceAccounts/`UNIQUE_ID`/keys/`KEY_ID`` When possible, avoid
|
2241
|
+
# using the `-` wildcard character, because it can cause response messages to
|
2242
|
+
# contain misleading error codes. For example, if you try to access the service
|
2243
|
+
# account key `projects/-/serviceAccounts/fake@example.com/keys/fake-key`, which
|
2244
|
+
# does not exist, the response contains an HTTP `403 Forbidden` error instead of
|
2245
|
+
# a `404 Not Found` error.
|
2175
2246
|
# @param [String] public_key_type
|
2176
2247
|
# Optional. The output format of the public key. The default is `TYPE_NONE`,
|
2177
2248
|
# which means that the public key is not returned.
|
@@ -2205,10 +2276,16 @@ module Google
|
|
2205
2276
|
|
2206
2277
|
# Lists every ServiceAccountKey for a service account.
|
2207
2278
|
# @param [String] name
|
2208
|
-
# Required. The resource name of the service account
|
2209
|
-
# projects/`PROJECT_ID`/serviceAccounts/`
|
2210
|
-
#
|
2211
|
-
#
|
2279
|
+
# Required. The resource name of the service account. Use one of the following
|
2280
|
+
# formats: * `projects/`PROJECT_ID`/serviceAccounts/`EMAIL_ADDRESS`` * `projects/
|
2281
|
+
# `PROJECT_ID`/serviceAccounts/`UNIQUE_ID`` As an alternative, you can use the `-
|
2282
|
+
# ` wildcard character instead of the project ID: * `projects/-/serviceAccounts/`
|
2283
|
+
# EMAIL_ADDRESS`` * `projects/-/serviceAccounts/`UNIQUE_ID`` When possible,
|
2284
|
+
# avoid using the `-` wildcard character, because it can cause response messages
|
2285
|
+
# to contain misleading error codes. For example, if you try to access the
|
2286
|
+
# service account `projects/-/serviceAccounts/fake@example.com`, which does not
|
2287
|
+
# exist, the response contains an HTTP `403 Forbidden` error instead of a `404
|
2288
|
+
# Not Found` error.
|
2212
2289
|
# @param [Array<String>, String] key_types
|
2213
2290
|
# Filters the types of keys the user wants to include in the list response.
|
2214
2291
|
# Duplicate key types are not allowed. If no key type is provided, all keys are
|
@@ -2245,10 +2322,16 @@ module Google
|
|
2245
2322
|
# the public key with a ServiceAccount. After you upload the public key, you can
|
2246
2323
|
# use the private key from the key pair as a service account key.
|
2247
2324
|
# @param [String] name
|
2248
|
-
# The resource name of the service account
|
2249
|
-
# PROJECT_ID`/serviceAccounts/`
|
2250
|
-
# PROJECT_ID
|
2251
|
-
#
|
2325
|
+
# The resource name of the service account key. Use one of the following formats:
|
2326
|
+
# * `projects/`PROJECT_ID`/serviceAccounts/`EMAIL_ADDRESS`` * `projects/`
|
2327
|
+
# PROJECT_ID`/serviceAccounts/`UNIQUE_ID`` As an alternative, you can use the `-`
|
2328
|
+
# wildcard character instead of the project ID: * `projects/-/serviceAccounts/`
|
2329
|
+
# EMAIL_ADDRESS`` * `projects/-/serviceAccounts/`UNIQUE_ID`` When possible,
|
2330
|
+
# avoid using the `-` wildcard character, because it can cause response messages
|
2331
|
+
# to contain misleading error codes. For example, if you try to access the
|
2332
|
+
# service account `projects/-/serviceAccounts/fake@example.com`, which does not
|
2333
|
+
# exist, the response contains an HTTP `403 Forbidden` error instead of a `404
|
2334
|
+
# Not Found` error.
|
2252
2335
|
# @param [Google::Apis::IamV1::UploadServiceAccountKeyRequest] upload_service_account_key_request_object
|
2253
2336
|
# @param [String] fields
|
2254
2337
|
# Selector specifying which fields to include in a partial response.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-iam_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.37.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:
|
11
|
+
date: 2023-01-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -59,7 +59,7 @@ licenses:
|
|
59
59
|
metadata:
|
60
60
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
61
61
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-iam_v1/CHANGELOG.md
|
62
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-iam_v1/v0.
|
62
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-iam_v1/v0.37.0
|
63
63
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-iam_v1
|
64
64
|
post_install_message:
|
65
65
|
rdoc_options: []
|
@@ -76,7 +76,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
76
76
|
- !ruby/object:Gem::Version
|
77
77
|
version: '0'
|
78
78
|
requirements: []
|
79
|
-
rubygems_version: 3.
|
79
|
+
rubygems_version: 3.4.2
|
80
80
|
signing_key:
|
81
81
|
specification_version: 4
|
82
82
|
summary: Simple REST client for Identity and Access Management (IAM) API V1
|