google-apis-managedidentities_v1alpha1 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: ff185d8035a1c83eb0e2b8bacadc4556bab91dc872415dbefab5d33a7e11e0ad
4
- data.tar.gz: 10baedbc1d017dc17f1f0032456536295ac873d8479585d8cb010deff8c13263
3
+ metadata.gz: 07d4c79e99fa67c3bff064c7ca02335b6c47f366335d898af2b08e0f157c80b6
4
+ data.tar.gz: 9c062b3059bec8da533acf7126e898ecd07070150fa100d59183bd63b3ea7e59
5
5
  SHA512:
6
- metadata.gz: 3ab5915555ad8831d1dcf3f128afa2a92ee3c767e0fee5fe8dd17d71b07a70d7677be892df2bdd6c487969a46d2b4697955d4e185aa49ee84cfc0b59938488bb
7
- data.tar.gz: 8247e34b82b46efcdd78fce5084c59c6659465efba8d5af0aca8277a9309e1aa955a8a82e39b237f3c31ae4bf95f098206447ddd3b45777642fc05472febb2b8
6
+ metadata.gz: 14002e981570da96340260a93008d128898fb1a6907489429b74ea01386fe98d6a1b36bbf56945fd25eefb855a7003c6ba3e5040a03f18295bc35acb4e105100
7
+ data.tar.gz: feb47c1d34a174a58cafe9e1afedd23be3c5e83bdc029d26eb178ed675fe31973c6acf834fe1c3e77ccda99f2d27d559a5f03ecfbf5e27cbb55f730b3d3d663b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-managedidentities_v1alpha1
2
2
 
3
+ ### v0.16.0 (2021-11-14)
4
+
5
+ * Regenerated from discovery document revision 20211108
6
+
7
+ ### v0.15.0 (2021-10-21)
8
+
9
+ * Unspecified changes
10
+
11
+ ### v0.14.0 (2021-10-10)
12
+
13
+ * Regenerated from discovery document revision 20211004
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
 
@@ -46,7 +46,64 @@ module Google
46
46
  end
47
47
  end
48
48
 
49
- # Associates `members` with a `role`.
49
+ # Represents a Managed Microsoft Identities backup.
50
+ class Backup
51
+ include Google::Apis::Core::Hashable
52
+
53
+ # Output only. The time the backups was created.
54
+ # Corresponds to the JSON property `createTime`
55
+ # @return [String]
56
+ attr_accessor :create_time
57
+
58
+ # Optional. Resource labels to represent user provided metadata.
59
+ # Corresponds to the JSON property `labels`
60
+ # @return [Hash<String,String>]
61
+ attr_accessor :labels
62
+
63
+ # Output only. The unique name of the Backup in the form of projects/`project_id`
64
+ # /locations/global/domains/`domain_name`/backups/`name`
65
+ # Corresponds to the JSON property `name`
66
+ # @return [String]
67
+ attr_accessor :name
68
+
69
+ # Output only. The current state of the backup.
70
+ # Corresponds to the JSON property `state`
71
+ # @return [String]
72
+ attr_accessor :state
73
+
74
+ # Output only. Additional information about the current status of this backup,
75
+ # if available.
76
+ # Corresponds to the JSON property `statusMessage`
77
+ # @return [String]
78
+ attr_accessor :status_message
79
+
80
+ # Output only. Indicates whether it’s an on-demand backup or scheduled.
81
+ # Corresponds to the JSON property `type`
82
+ # @return [String]
83
+ attr_accessor :type
84
+
85
+ # Output only. Last update time.
86
+ # Corresponds to the JSON property `updateTime`
87
+ # @return [String]
88
+ attr_accessor :update_time
89
+
90
+ def initialize(**args)
91
+ update!(**args)
92
+ end
93
+
94
+ # Update properties of this object
95
+ def update!(**args)
96
+ @create_time = args[:create_time] if args.key?(:create_time)
97
+ @labels = args[:labels] if args.key?(:labels)
98
+ @name = args[:name] if args.key?(:name)
99
+ @state = args[:state] if args.key?(:state)
100
+ @status_message = args[:status_message] if args.key?(:status_message)
101
+ @type = args[:type] if args.key?(:type)
102
+ @update_time = args[:update_time] if args.key?(:update_time)
103
+ end
104
+ end
105
+
106
+ # Associates `members`, or principals, with a `role`.
50
107
  class Binding
51
108
  include Google::Apis::Core::Hashable
52
109
 
@@ -69,7 +126,7 @@ module Google
69
126
  # @return [Google::Apis::ManagedidentitiesV1alpha1::Expr]
70
127
  attr_accessor :condition
71
128
 
72
- # Specifies the identities requesting access for a Cloud Platform resource. `
129
+ # Specifies the principals requesting access for a Cloud Platform resource. `
73
130
  # members` can have the following values: * `allUsers`: A special identifier
74
131
  # that represents anyone who is on the internet; with or without a Google
75
132
  # account. * `allAuthenticatedUsers`: A special identifier that represents
@@ -99,8 +156,8 @@ module Google
99
156
  # @return [Array<String>]
100
157
  attr_accessor :members
101
158
 
102
- # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
103
- # , or `roles/owner`.
159
+ # Role that is assigned to the list of `members`, or principals. For example, `
160
+ # roles/viewer`, `roles/editor`, or `roles/owner`.
104
161
  # Corresponds to the JSON property `role`
105
162
  # @return [String]
106
163
  attr_accessor :role
@@ -879,14 +936,6 @@ module Google
879
936
  class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata
880
937
  include Google::Apis::Core::Hashable
881
938
 
882
- # By default node is eligible if instance is eligible. But individual node might
883
- # be excluded from SLO by adding entry here. For semantic see SloMetadata.
884
- # exclusions. If both instance and node level exclusions are present for time
885
- # period, the node level's reason will be reported by Eligibility Exporter.
886
- # Corresponds to the JSON property `exclusions`
887
- # @return [Array<Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion>]
888
- attr_accessor :exclusions
889
-
890
939
  # The location of the node, if different from instance location.
891
940
  # Corresponds to the JSON property `location`
892
941
  # @return [String]
@@ -908,7 +957,6 @@ module Google
908
957
 
909
958
  # Update properties of this object
910
959
  def update!(**args)
911
- @exclusions = args[:exclusions] if args.key?(:exclusions)
912
960
  @location = args[:location] if args.key?(:location)
913
961
  @node_id = args[:node_id] if args.key?(:node_id)
914
962
  @per_sli_eligibility = args[:per_sli_eligibility] if args.key?(:per_sli_eligibility)
@@ -1003,71 +1051,11 @@ module Google
1003
1051
  end
1004
1052
  end
1005
1053
 
1006
- # SloExclusion represents an exclusion in SLI calculation applies to all SLOs.
1007
- class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion
1008
- include Google::Apis::Core::Hashable
1009
-
1010
- # Exclusion duration. No restrictions on the possible values. When an ongoing
1011
- # operation is taking longer than initially expected, an existing entry in the
1012
- # exclusion list can be updated by extending the duration. This is supported by
1013
- # the subsystem exporting eligibility data as long as such extension is
1014
- # committed at least 10 minutes before the original exclusion expiration -
1015
- # otherwise it is possible that there will be "gaps" in the exclusion
1016
- # application in the exported timeseries.
1017
- # Corresponds to the JSON property `duration`
1018
- # @return [String]
1019
- attr_accessor :duration
1020
-
1021
- # Human-readable reason for the exclusion. This should be a static string (e.g. "
1022
- # Disruptive update in progress") and should not contain dynamically generated
1023
- # data (e.g. instance name). Can be left empty.
1024
- # Corresponds to the JSON property `reason`
1025
- # @return [String]
1026
- attr_accessor :reason
1027
-
1028
- # Name of an SLI that this exclusion applies to. Can be left empty, signaling
1029
- # that the instance should be excluded from all SLIs.
1030
- # Corresponds to the JSON property `sliName`
1031
- # @return [String]
1032
- attr_accessor :sli_name
1033
-
1034
- # Start time of the exclusion. No alignment (e.g. to a full minute) needed.
1035
- # Corresponds to the JSON property `startTime`
1036
- # @return [String]
1037
- attr_accessor :start_time
1038
-
1039
- def initialize(**args)
1040
- update!(**args)
1041
- end
1042
-
1043
- # Update properties of this object
1044
- def update!(**args)
1045
- @duration = args[:duration] if args.key?(:duration)
1046
- @reason = args[:reason] if args.key?(:reason)
1047
- @sli_name = args[:sli_name] if args.key?(:sli_name)
1048
- @start_time = args[:start_time] if args.key?(:start_time)
1049
- end
1050
- end
1051
-
1052
1054
  # SloMetadata contains resources required for proper SLO classification of the
1053
1055
  # instance.
1054
1056
  class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
1055
1057
  include Google::Apis::Core::Hashable
1056
1058
 
1057
- # List of SLO exclusion windows. When multiple entries in the list match (
1058
- # matching the exclusion time-window against current time point) the exclusion
1059
- # reason used in the first matching entry will be published. It is not needed to
1060
- # include expired exclusion in this list, as only the currently applicable
1061
- # exclusions are taken into account by the eligibility exporting subsystem (the
1062
- # historical state of exclusions will be reflected in the historically produced
1063
- # timeseries regardless of the current state). This field can be used to mark
1064
- # the instance as temporary ineligible for the purpose of SLO calculation. For
1065
- # permanent instance SLO exclusion, use of custom instance eligibility is
1066
- # recommended. See 'eligibility' field below.
1067
- # Corresponds to the JSON property `exclusions`
1068
- # @return [Array<Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion>]
1069
- attr_accessor :exclusions
1070
-
1071
1059
  # Optional. List of nodes. Some producers need to use per-node metadata to
1072
1060
  # calculate SLO. This field allows such producers to publish per-node SLO meta
1073
1061
  # data, which will be consumed by SSA Eligibility Exporter and published in the
@@ -1094,7 +1082,6 @@ module Google
1094
1082
 
1095
1083
  # Update properties of this object
1096
1084
  def update!(**args)
1097
- @exclusions = args[:exclusions] if args.key?(:exclusions)
1098
1085
  @nodes = args[:nodes] if args.key?(:nodes)
1099
1086
  @per_sli_eligibility = args[:per_sli_eligibility] if args.key?(:per_sli_eligibility)
1100
1087
  @tier = args[:tier] if args.key?(:tier)
@@ -1171,6 +1158,38 @@ module Google
1171
1158
  end
1172
1159
  end
1173
1160
 
1161
+ # ListBackupsResponse is the response message for ListBackups method.
1162
+ class ListBackupsResponse
1163
+ include Google::Apis::Core::Hashable
1164
+
1165
+ # A list of Cloud AD backups in the domain.
1166
+ # Corresponds to the JSON property `backups`
1167
+ # @return [Array<Google::Apis::ManagedidentitiesV1alpha1::Backup>]
1168
+ attr_accessor :backups
1169
+
1170
+ # Token to retrieve the next page of results, or empty if there are no more
1171
+ # results in the list.
1172
+ # Corresponds to the JSON property `nextPageToken`
1173
+ # @return [String]
1174
+ attr_accessor :next_page_token
1175
+
1176
+ # Locations that could not be reached.
1177
+ # Corresponds to the JSON property `unreachable`
1178
+ # @return [Array<String>]
1179
+ attr_accessor :unreachable
1180
+
1181
+ def initialize(**args)
1182
+ update!(**args)
1183
+ end
1184
+
1185
+ # Update properties of this object
1186
+ def update!(**args)
1187
+ @backups = args[:backups] if args.key?(:backups)
1188
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1189
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
1190
+ end
1191
+ end
1192
+
1174
1193
  #
1175
1194
  class ListDomainsResponse
1176
1195
  include Google::Apis::Core::Hashable
@@ -1524,7 +1543,7 @@ module Google
1524
1543
  attr_accessor :api_version
1525
1544
 
1526
1545
  # Output only. Identifies whether the user has requested cancellation of the
1527
- # operation. Operations that have successfully been cancelled have Operation.
1546
+ # operation. Operations that have been cancelled successfully have Operation.
1528
1547
  # error value with a google.rpc.Status.code of 1, corresponding to `Code.
1529
1548
  # CANCELLED`.
1530
1549
  # Corresponds to the JSON property `cancelRequested`
@@ -1644,37 +1663,42 @@ module Google
1644
1663
 
1645
1664
  # An Identity and Access Management (IAM) policy, which specifies access
1646
1665
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
1647
- # A `binding` binds one or more `members` to a single `role`. Members can be
1648
- # user accounts, service accounts, Google groups, and domains (such as G Suite).
1649
- # A `role` is a named list of permissions; each `role` can be an IAM predefined
1650
- # role or a user-created custom role. For some types of Google Cloud resources,
1651
- # a `binding` can also specify a `condition`, which is a logical expression that
1652
- # allows access to a resource only if the expression evaluates to `true`. A
1653
- # condition can add constraints based on attributes of the request, the resource,
1654
- # or both. To learn which resources support conditions in their IAM policies,
1655
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
1656
- # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
1657
- # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
1658
- # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
1659
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
1660
- # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
1661
- # title": "expirable access", "description": "Does not grant access after Sep
1662
- # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
1663
- # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
1664
- # members: - user:mike@example.com - group:admins@example.com - domain:google.
1665
- # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
1666
- # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
1667
- # roles/resourcemanager.organizationViewer condition: title: expirable access
1668
- # description: Does not grant access after Sep 2020 expression: request.time <
1669
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
1670
- # description of IAM and its features, see the [IAM documentation](https://cloud.
1671
- # google.com/iam/docs/).
1666
+ # A `binding` binds one or more `members`, or principals, to a single `role`.
1667
+ # Principals can be user accounts, service accounts, Google groups, and domains (
1668
+ # such as G Suite). A `role` is a named list of permissions; each `role` can be
1669
+ # an IAM predefined role or a user-created custom role. For some types of Google
1670
+ # Cloud resources, a `binding` can also specify a `condition`, which is a
1671
+ # logical expression that allows access to a resource only if the expression
1672
+ # evaluates to `true`. A condition can add constraints based on attributes of
1673
+ # the request, the resource, or both. To learn which resources support
1674
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
1675
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
1676
+ # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
1677
+ # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
1678
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
1679
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
1680
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
1681
+ # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
1682
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
1683
+ # bindings: - members: - user:mike@example.com - group:admins@example.com -
1684
+ # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
1685
+ # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
1686
+ # com role: roles/resourcemanager.organizationViewer condition: title: expirable
1687
+ # access description: Does not grant access after Sep 2020 expression: request.
1688
+ # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
1689
+ # a description of IAM and its features, see the [IAM documentation](https://
1690
+ # cloud.google.com/iam/docs/).
1672
1691
  class Policy
1673
1692
  include Google::Apis::Core::Hashable
1674
1693
 
1675
- # Associates a list of `members` to a `role`. Optionally, may specify a `
1676
- # condition` that determines how and when the `bindings` are applied. Each of
1677
- # the `bindings` must contain at least one member.
1694
+ # Associates a list of `members`, or principals, with a `role`. Optionally, may
1695
+ # specify a `condition` that determines how and when the `bindings` are applied.
1696
+ # Each of the `bindings` must contain at least one principal. The `bindings` in
1697
+ # a `Policy` can refer to up to 1,500 principals; up to 250 of these principals
1698
+ # can be Google groups. Each occurrence of a principal counts towards these
1699
+ # limits. For example, if the `bindings` grant 50 different roles to `user:alice@
1700
+ # example.com`, and not to any other principal, then you can add another 1,450
1701
+ # principals to the `bindings` in the `Policy`.
1678
1702
  # Corresponds to the JSON property `bindings`
1679
1703
  # @return [Array<Google::Apis::ManagedidentitiesV1alpha1::Binding>]
1680
1704
  attr_accessor :bindings
@@ -1782,6 +1806,25 @@ module Google
1782
1806
  end
1783
1807
  end
1784
1808
 
1809
+ # RestoreDomainRequest is the request received by RestoreDomain rpc
1810
+ class RestoreDomainRequest
1811
+ include Google::Apis::Core::Hashable
1812
+
1813
+ # Required. ID of the backup to be restored
1814
+ # Corresponds to the JSON property `backupId`
1815
+ # @return [String]
1816
+ attr_accessor :backup_id
1817
+
1818
+ def initialize(**args)
1819
+ update!(**args)
1820
+ end
1821
+
1822
+ # Update properties of this object
1823
+ def update!(**args)
1824
+ @backup_id = args[:backup_id] if args.key?(:backup_id)
1825
+ end
1826
+ end
1827
+
1785
1828
  # Represents the SQL instance integrated with AD.
1786
1829
  class SqlIntegration
1787
1830
  include Google::Apis::Core::Hashable
@@ -1865,31 +1908,31 @@ module Google
1865
1908
 
1866
1909
  # An Identity and Access Management (IAM) policy, which specifies access
1867
1910
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
1868
- # A `binding` binds one or more `members` to a single `role`. Members can be
1869
- # user accounts, service accounts, Google groups, and domains (such as G Suite).
1870
- # A `role` is a named list of permissions; each `role` can be an IAM predefined
1871
- # role or a user-created custom role. For some types of Google Cloud resources,
1872
- # a `binding` can also specify a `condition`, which is a logical expression that
1873
- # allows access to a resource only if the expression evaluates to `true`. A
1874
- # condition can add constraints based on attributes of the request, the resource,
1875
- # or both. To learn which resources support conditions in their IAM policies,
1876
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
1877
- # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
1878
- # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
1879
- # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
1880
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
1881
- # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
1882
- # title": "expirable access", "description": "Does not grant access after Sep
1883
- # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
1884
- # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
1885
- # members: - user:mike@example.com - group:admins@example.com - domain:google.
1886
- # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
1887
- # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
1888
- # roles/resourcemanager.organizationViewer condition: title: expirable access
1889
- # description: Does not grant access after Sep 2020 expression: request.time <
1890
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
1891
- # description of IAM and its features, see the [IAM documentation](https://cloud.
1892
- # google.com/iam/docs/).
1911
+ # A `binding` binds one or more `members`, or principals, to a single `role`.
1912
+ # Principals can be user accounts, service accounts, Google groups, and domains (
1913
+ # such as G Suite). A `role` is a named list of permissions; each `role` can be
1914
+ # an IAM predefined role or a user-created custom role. For some types of Google
1915
+ # Cloud resources, a `binding` can also specify a `condition`, which is a
1916
+ # logical expression that allows access to a resource only if the expression
1917
+ # evaluates to `true`. A condition can add constraints based on attributes of
1918
+ # the request, the resource, or both. To learn which resources support
1919
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
1920
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
1921
+ # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
1922
+ # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
1923
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
1924
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
1925
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
1926
+ # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
1927
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
1928
+ # bindings: - members: - user:mike@example.com - group:admins@example.com -
1929
+ # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
1930
+ # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
1931
+ # com role: roles/resourcemanager.organizationViewer condition: title: expirable
1932
+ # access description: Does not grant access after Sep 2020 expression: request.
1933
+ # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
1934
+ # a description of IAM and its features, see the [IAM documentation](https://
1935
+ # cloud.google.com/iam/docs/).
1893
1936
  # Corresponds to the JSON property `policy`
1894
1937
  # @return [Google::Apis::ManagedidentitiesV1alpha1::Policy]
1895
1938
  attr_accessor :policy
@@ -2125,8 +2168,7 @@ module Google
2125
2168
 
2126
2169
  # Deny Maintenance Period that is applied to resource to indicate when
2127
2170
  # maintenance is forbidden. User can specify zero or more non-overlapping deny
2128
- # periods. For V1, Maximum number of deny_maintenance_periods is expected to be
2129
- # one.
2171
+ # periods. Maximum number of deny_maintenance_periods expected is one.
2130
2172
  # Corresponds to the JSON property `denyMaintenancePeriods`
2131
2173
  # @return [Array<Google::Apis::ManagedidentitiesV1alpha1::DenyMaintenancePeriod>]
2132
2174
  attr_accessor :deny_maintenance_periods
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ManagedidentitiesV1alpha1
18
18
  # Version of the google-apis-managedidentities_v1alpha1 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 = "20211108"
26
26
  end
27
27
  end
28
28
  end
@@ -28,6 +28,12 @@ module Google
28
28
  include Google::Apis::Core::JsonObjectSupport
29
29
  end
30
30
 
31
+ class Backup
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
31
37
  class Binding
32
38
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
39
 
@@ -148,19 +154,19 @@ module Google
148
154
  include Google::Apis::Core::JsonObjectSupport
149
155
  end
150
156
 
151
- class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion
157
+ class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
152
158
  class Representation < Google::Apis::Core::JsonRepresentation; end
153
159
 
154
160
  include Google::Apis::Core::JsonObjectSupport
155
161
  end
156
162
 
157
- class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
163
+ class LdapsSettings
158
164
  class Representation < Google::Apis::Core::JsonRepresentation; end
159
165
 
160
166
  include Google::Apis::Core::JsonObjectSupport
161
167
  end
162
168
 
163
- class LdapsSettings
169
+ class ListBackupsResponse
164
170
  class Representation < Google::Apis::Core::JsonRepresentation; end
165
171
 
166
172
  include Google::Apis::Core::JsonObjectSupport
@@ -256,6 +262,12 @@ module Google
256
262
  include Google::Apis::Core::JsonObjectSupport
257
263
  end
258
264
 
265
+ class RestoreDomainRequest
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
259
271
  class SqlIntegration
260
272
  class Representation < Google::Apis::Core::JsonRepresentation; end
261
273
 
@@ -330,6 +342,19 @@ module Google
330
342
  end
331
343
  end
332
344
 
345
+ class Backup
346
+ # @private
347
+ class Representation < Google::Apis::Core::JsonRepresentation
348
+ property :create_time, as: 'createTime'
349
+ hash :labels, as: 'labels'
350
+ property :name, as: 'name'
351
+ property :state, as: 'state'
352
+ property :status_message, as: 'statusMessage'
353
+ property :type, as: 'type'
354
+ property :update_time, as: 'updateTime'
355
+ end
356
+ end
357
+
333
358
  class Binding
334
359
  # @private
335
360
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -517,8 +542,6 @@ module Google
517
542
  class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata
518
543
  # @private
519
544
  class Representation < Google::Apis::Core::JsonRepresentation
520
- collection :exclusions, as: 'exclusions', class: Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion, decorator: Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion::Representation
521
-
522
545
  property :location, as: 'location'
523
546
  property :node_id, as: 'nodeId'
524
547
  property :per_sli_eligibility, as: 'perSliEligibility', class: Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility, decorator: Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility::Representation
@@ -550,21 +573,9 @@ module Google
550
573
  end
551
574
  end
552
575
 
553
- class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion
554
- # @private
555
- class Representation < Google::Apis::Core::JsonRepresentation
556
- property :duration, as: 'duration'
557
- property :reason, as: 'reason'
558
- property :sli_name, as: 'sliName'
559
- property :start_time, as: 'startTime'
560
- end
561
- end
562
-
563
576
  class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
564
577
  # @private
565
578
  class Representation < Google::Apis::Core::JsonRepresentation
566
- collection :exclusions, as: 'exclusions', class: Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion, decorator: Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion::Representation
567
-
568
579
  collection :nodes, as: 'nodes', class: Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata, decorator: Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata::Representation
569
580
 
570
581
  property :per_sli_eligibility, as: 'perSliEligibility', class: Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility, decorator: Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility::Representation
@@ -586,6 +597,16 @@ module Google
586
597
  end
587
598
  end
588
599
 
600
+ class ListBackupsResponse
601
+ # @private
602
+ class Representation < Google::Apis::Core::JsonRepresentation
603
+ collection :backups, as: 'backups', class: Google::Apis::ManagedidentitiesV1alpha1::Backup, decorator: Google::Apis::ManagedidentitiesV1alpha1::Backup::Representation
604
+
605
+ property :next_page_token, as: 'nextPageToken'
606
+ collection :unreachable, as: 'unreachable'
607
+ end
608
+ end
609
+
589
610
  class ListDomainsResponse
590
611
  # @private
591
612
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -739,6 +760,13 @@ module Google
739
760
  end
740
761
  end
741
762
 
763
+ class RestoreDomainRequest
764
+ # @private
765
+ class Representation < Google::Apis::Core::JsonRepresentation
766
+ property :backup_id, as: 'backupId'
767
+ end
768
+ end
769
+
742
770
  class SqlIntegration
743
771
  # @private
744
772
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -302,13 +302,16 @@ module Google
302
302
  # REQUIRED: The resource for which the policy is being requested. See the
303
303
  # operation documentation for the appropriate value for this field.
304
304
  # @param [Fixnum] options_requested_policy_version
305
- # Optional. The policy format version to be returned. Valid values are 0, 1, and
306
- # 3. Requests specifying an invalid value will be rejected. Requests for
307
- # policies with any conditional bindings must specify version 3. Policies
308
- # without any conditional bindings may specify any valid value or leave the
309
- # field unset. To learn which resources support conditions in their IAM policies,
310
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
311
- # resource-policies).
305
+ # Optional. The maximum policy version that will be used to format the policy.
306
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
307
+ # rejected. Requests for policies with any conditional role bindings must
308
+ # specify version 3. Policies with no conditional role bindings may specify any
309
+ # valid value or leave the field unset. The policy in the response might use the
310
+ # policy version that you specified, or it might use a lower policy version. For
311
+ # example, if you specify version 3, but the policy has no conditional role
312
+ # bindings, the response uses version 1. To learn which resources support
313
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
314
+ # google.com/iam/help/conditions/resource-policies).
312
315
  # @param [String] fields
313
316
  # Selector specifying which fields to include in a partial response.
314
317
  # @param [String] quota_user
@@ -525,6 +528,39 @@ module Google
525
528
  execute_or_queue_command(command, &block)
526
529
  end
527
530
 
531
+ # RestoreDomain restores domain backup mentioned in the RestoreDomainRequest
532
+ # @param [String] name
533
+ # Required. resource name for the domain to which the backup belongs
534
+ # @param [Google::Apis::ManagedidentitiesV1alpha1::RestoreDomainRequest] restore_domain_request_object
535
+ # @param [String] fields
536
+ # Selector specifying which fields to include in a partial response.
537
+ # @param [String] quota_user
538
+ # Available to use for quota purposes for server-side applications. Can be any
539
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
540
+ # @param [Google::Apis::RequestOptions] options
541
+ # Request-specific options
542
+ #
543
+ # @yield [result, err] Result & error if block supplied
544
+ # @yieldparam result [Google::Apis::ManagedidentitiesV1alpha1::Operation] parsed result object
545
+ # @yieldparam err [StandardError] error object if request failed
546
+ #
547
+ # @return [Google::Apis::ManagedidentitiesV1alpha1::Operation]
548
+ #
549
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
550
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
551
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
552
+ def restore_domain(name, restore_domain_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
553
+ command = make_simple_command(:post, 'v1alpha1/{+name}:restore', options)
554
+ command.request_representation = Google::Apis::ManagedidentitiesV1alpha1::RestoreDomainRequest::Representation
555
+ command.request_object = restore_domain_request_object
556
+ command.response_representation = Google::Apis::ManagedidentitiesV1alpha1::Operation::Representation
557
+ command.response_class = Google::Apis::ManagedidentitiesV1alpha1::Operation
558
+ command.params['name'] = name unless name.nil?
559
+ command.query['fields'] = fields unless fields.nil?
560
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
561
+ execute_or_queue_command(command, &block)
562
+ end
563
+
528
564
  # Sets the access control policy on the specified resource. Replaces any
529
565
  # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
530
566
  # PERMISSION_DENIED` errors.
@@ -672,19 +708,124 @@ module Google
672
708
  execute_or_queue_command(command, &block)
673
709
  end
674
710
 
711
+ # Creates a Backup for a domain.
712
+ # @param [String] parent
713
+ # Required. The domain resource name using the form: `projects/`project_id`/
714
+ # locations/global/domains/`domain_name``
715
+ # @param [Google::Apis::ManagedidentitiesV1alpha1::Backup] backup_object
716
+ # @param [String] backup_id
717
+ # Required. Backup Id, unique name to identify the backups with the following
718
+ # restrictions: * Must be lowercase letters, numbers, and hyphens * Must start
719
+ # with a letter. * Must contain between 1-63 characters. * Must end with a
720
+ # number or a letter. * Must be unique within the domain.
721
+ # @param [String] fields
722
+ # Selector specifying which fields to include in a partial response.
723
+ # @param [String] quota_user
724
+ # Available to use for quota purposes for server-side applications. Can be any
725
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
726
+ # @param [Google::Apis::RequestOptions] options
727
+ # Request-specific options
728
+ #
729
+ # @yield [result, err] Result & error if block supplied
730
+ # @yieldparam result [Google::Apis::ManagedidentitiesV1alpha1::Operation] parsed result object
731
+ # @yieldparam err [StandardError] error object if request failed
732
+ #
733
+ # @return [Google::Apis::ManagedidentitiesV1alpha1::Operation]
734
+ #
735
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
736
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
737
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
738
+ def create_project_location_global_domain_backup(parent, backup_object = nil, backup_id: nil, fields: nil, quota_user: nil, options: nil, &block)
739
+ command = make_simple_command(:post, 'v1alpha1/{+parent}/backups', options)
740
+ command.request_representation = Google::Apis::ManagedidentitiesV1alpha1::Backup::Representation
741
+ command.request_object = backup_object
742
+ command.response_representation = Google::Apis::ManagedidentitiesV1alpha1::Operation::Representation
743
+ command.response_class = Google::Apis::ManagedidentitiesV1alpha1::Operation
744
+ command.params['parent'] = parent unless parent.nil?
745
+ command.query['backupId'] = backup_id unless backup_id.nil?
746
+ command.query['fields'] = fields unless fields.nil?
747
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
748
+ execute_or_queue_command(command, &block)
749
+ end
750
+
751
+ # Deletes identified Backup.
752
+ # @param [String] name
753
+ # Required. The backup resource name using the form: `projects/`project_id`/
754
+ # locations/global/domains/`domain_name`/backups/`backup_id``
755
+ # @param [String] fields
756
+ # Selector specifying which fields to include in a partial response.
757
+ # @param [String] quota_user
758
+ # Available to use for quota purposes for server-side applications. Can be any
759
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
760
+ # @param [Google::Apis::RequestOptions] options
761
+ # Request-specific options
762
+ #
763
+ # @yield [result, err] Result & error if block supplied
764
+ # @yieldparam result [Google::Apis::ManagedidentitiesV1alpha1::Operation] parsed result object
765
+ # @yieldparam err [StandardError] error object if request failed
766
+ #
767
+ # @return [Google::Apis::ManagedidentitiesV1alpha1::Operation]
768
+ #
769
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
770
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
771
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
772
+ def delete_project_location_global_domain_backup(name, fields: nil, quota_user: nil, options: nil, &block)
773
+ command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
774
+ command.response_representation = Google::Apis::ManagedidentitiesV1alpha1::Operation::Representation
775
+ command.response_class = Google::Apis::ManagedidentitiesV1alpha1::Operation
776
+ command.params['name'] = name unless name.nil?
777
+ command.query['fields'] = fields unless fields.nil?
778
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
779
+ execute_or_queue_command(command, &block)
780
+ end
781
+
782
+ # Gets details of a single Backup.
783
+ # @param [String] name
784
+ # Required. The backup resource name using the form: `projects/`project_id`/
785
+ # locations/global/domains/`domain_name`/backups/`backup_id``
786
+ # @param [String] fields
787
+ # Selector specifying which fields to include in a partial response.
788
+ # @param [String] quota_user
789
+ # Available to use for quota purposes for server-side applications. Can be any
790
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
791
+ # @param [Google::Apis::RequestOptions] options
792
+ # Request-specific options
793
+ #
794
+ # @yield [result, err] Result & error if block supplied
795
+ # @yieldparam result [Google::Apis::ManagedidentitiesV1alpha1::Backup] parsed result object
796
+ # @yieldparam err [StandardError] error object if request failed
797
+ #
798
+ # @return [Google::Apis::ManagedidentitiesV1alpha1::Backup]
799
+ #
800
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
801
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
802
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
803
+ def get_project_location_global_domain_backup(name, fields: nil, quota_user: nil, options: nil, &block)
804
+ command = make_simple_command(:get, 'v1alpha1/{+name}', options)
805
+ command.response_representation = Google::Apis::ManagedidentitiesV1alpha1::Backup::Representation
806
+ command.response_class = Google::Apis::ManagedidentitiesV1alpha1::Backup
807
+ command.params['name'] = name unless name.nil?
808
+ command.query['fields'] = fields unless fields.nil?
809
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
810
+ execute_or_queue_command(command, &block)
811
+ end
812
+
675
813
  # Gets the access control policy for a resource. Returns an empty policy if the
676
814
  # resource exists and does not have a policy set.
677
815
  # @param [String] resource
678
816
  # REQUIRED: The resource for which the policy is being requested. See the
679
817
  # operation documentation for the appropriate value for this field.
680
818
  # @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).
819
+ # Optional. The maximum policy version that will be used to format the policy.
820
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
821
+ # rejected. Requests for policies with any conditional role bindings must
822
+ # specify version 3. Policies with no conditional role bindings may specify any
823
+ # valid value or leave the field unset. The policy in the response might use the
824
+ # policy version that you specified, or it might use a lower policy version. For
825
+ # example, if you specify version 3, but the policy has no conditional role
826
+ # bindings, the response uses version 1. To learn which resources support
827
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
828
+ # google.com/iam/help/conditions/resource-policies).
688
829
  # @param [String] fields
689
830
  # Selector specifying which fields to include in a partial response.
690
831
  # @param [String] quota_user
@@ -713,6 +854,95 @@ module Google
713
854
  execute_or_queue_command(command, &block)
714
855
  end
715
856
 
857
+ # Lists Backup in a given project.
858
+ # @param [String] parent
859
+ # Required. The domain resource name using the form: `projects/`project_id`/
860
+ # locations/global/domains/`domain_name``
861
+ # @param [String] filter
862
+ # Optional. Filter specifying constraints of a list operation. For example, `
863
+ # backup.location ="us-west1-a"`.
864
+ # @param [String] order_by
865
+ # Optional. Specifies the ordering of results following syntax at https://cloud.
866
+ # google.com/apis/design/design_patterns#sorting_order.
867
+ # @param [Fixnum] page_size
868
+ # Optional. The maximum number of items to return. If not specified, a default
869
+ # value of 1000 will be used by the service. Regardless of the page_size value,
870
+ # the response may include a partial list and a caller should only rely on
871
+ # response's next_page_token to determine if there are more instances left to be
872
+ # queried.
873
+ # @param [String] page_token
874
+ # Optional. The next_page_token value returned from a previous List request, if
875
+ # any.
876
+ # @param [String] fields
877
+ # Selector specifying which fields to include in a partial response.
878
+ # @param [String] quota_user
879
+ # Available to use for quota purposes for server-side applications. Can be any
880
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
881
+ # @param [Google::Apis::RequestOptions] options
882
+ # Request-specific options
883
+ #
884
+ # @yield [result, err] Result & error if block supplied
885
+ # @yieldparam result [Google::Apis::ManagedidentitiesV1alpha1::ListBackupsResponse] parsed result object
886
+ # @yieldparam err [StandardError] error object if request failed
887
+ #
888
+ # @return [Google::Apis::ManagedidentitiesV1alpha1::ListBackupsResponse]
889
+ #
890
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
891
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
892
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
893
+ def list_project_location_global_domain_backups(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
894
+ command = make_simple_command(:get, 'v1alpha1/{+parent}/backups', options)
895
+ command.response_representation = Google::Apis::ManagedidentitiesV1alpha1::ListBackupsResponse::Representation
896
+ command.response_class = Google::Apis::ManagedidentitiesV1alpha1::ListBackupsResponse
897
+ command.params['parent'] = parent unless parent.nil?
898
+ command.query['filter'] = filter unless filter.nil?
899
+ command.query['orderBy'] = order_by unless order_by.nil?
900
+ command.query['pageSize'] = page_size unless page_size.nil?
901
+ command.query['pageToken'] = page_token unless page_token.nil?
902
+ command.query['fields'] = fields unless fields.nil?
903
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
904
+ execute_or_queue_command(command, &block)
905
+ end
906
+
907
+ # Updates the labels for specified Backup.
908
+ # @param [String] name
909
+ # Output only. The unique name of the Backup in the form of projects/`project_id`
910
+ # /locations/global/domains/`domain_name`/backups/`name`
911
+ # @param [Google::Apis::ManagedidentitiesV1alpha1::Backup] backup_object
912
+ # @param [String] update_mask
913
+ # Required. Mask of fields to update. At least one path must be supplied in this
914
+ # field. The elements of the repeated paths field may only include these fields
915
+ # from Backup: * `labels`
916
+ # @param [String] fields
917
+ # Selector specifying which fields to include in a partial response.
918
+ # @param [String] quota_user
919
+ # Available to use for quota purposes for server-side applications. Can be any
920
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
921
+ # @param [Google::Apis::RequestOptions] options
922
+ # Request-specific options
923
+ #
924
+ # @yield [result, err] Result & error if block supplied
925
+ # @yieldparam result [Google::Apis::ManagedidentitiesV1alpha1::Operation] parsed result object
926
+ # @yieldparam err [StandardError] error object if request failed
927
+ #
928
+ # @return [Google::Apis::ManagedidentitiesV1alpha1::Operation]
929
+ #
930
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
931
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
932
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
933
+ def patch_project_location_global_domain_backup(name, backup_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
934
+ command = make_simple_command(:patch, 'v1alpha1/{+name}', options)
935
+ command.request_representation = Google::Apis::ManagedidentitiesV1alpha1::Backup::Representation
936
+ command.request_object = backup_object
937
+ command.response_representation = Google::Apis::ManagedidentitiesV1alpha1::Operation::Representation
938
+ command.response_class = Google::Apis::ManagedidentitiesV1alpha1::Operation
939
+ command.params['name'] = name unless name.nil?
940
+ command.query['updateMask'] = update_mask unless update_mask.nil?
941
+ command.query['fields'] = fields unless fields.nil?
942
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
943
+ execute_or_queue_command(command, &block)
944
+ end
945
+
716
946
  # Sets the access control policy on the specified resource. Replaces any
717
947
  # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
718
948
  # PERMISSION_DENIED` errors.
@@ -1089,7 +1319,7 @@ module Google
1089
1319
  # Gets details of a single Peering.
1090
1320
  # @param [String] name
1091
1321
  # Required. Peering resource name using the form: `projects/`project_id`/
1092
- # locations/global/domains/`peering_id``
1322
+ # locations/global/peerings/`peering_id``
1093
1323
  # @param [String] fields
1094
1324
  # Selector specifying which fields to include in a partial response.
1095
1325
  # @param [String] quota_user
@@ -1123,13 +1353,16 @@ module Google
1123
1353
  # REQUIRED: The resource for which the policy is being requested. See the
1124
1354
  # operation documentation for the appropriate value for this field.
1125
1355
  # @param [Fixnum] options_requested_policy_version
1126
- # Optional. The policy format version to be returned. Valid values are 0, 1, and
1127
- # 3. Requests specifying an invalid value will be rejected. Requests for
1128
- # policies with any conditional bindings must specify version 3. Policies
1129
- # without any conditional bindings may specify any valid value or leave the
1130
- # field unset. To learn which resources support conditions in their IAM policies,
1131
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
1132
- # resource-policies).
1356
+ # Optional. The maximum policy version that will be used to format the policy.
1357
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
1358
+ # rejected. Requests for policies with any conditional role bindings must
1359
+ # specify version 3. Policies with no conditional role bindings may specify any
1360
+ # valid value or leave the field unset. The policy in the response might use the
1361
+ # policy version that you specified, or it might use a lower policy version. For
1362
+ # example, if you specify version 3, but the policy has no conditional role
1363
+ # bindings, the response uses version 1. To learn which resources support
1364
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
1365
+ # google.com/iam/help/conditions/resource-policies).
1133
1366
  # @param [String] fields
1134
1367
  # Selector specifying which fields to include in a partial response.
1135
1368
  # @param [String] quota_user
@@ -30,7 +30,7 @@ module Google
30
30
  # This is NOT the gem version.
31
31
  VERSION = 'V1alpha1'
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_v1alpha1
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-11-15 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_v1alpha1/CHANGELOG.md
62
- documentation_uri: https://googleapis.dev/ruby/google-apis-managedidentities_v1alpha1/v0.12.0
63
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-managedidentities_v1alpha1
61
+ changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-managedidentities_v1alpha1/CHANGELOG.md
62
+ documentation_uri: https://googleapis.dev/ruby/google-apis-managedidentities_v1alpha1/v0.16.0
63
+ source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-managedidentities_v1alpha1
64
64
  post_install_message:
65
65
  rdoc_options: []
66
66
  require_paths: