google-apis-managedidentities_v1beta1 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 375b9d389a00057bd9680cbcafd7f21bb86fb02209d2ab9ee920d513b9d41ced
4
+ data.tar.gz: 0b8ff014396b16dbe4b9b2a842d38c7ed278766a15d9137be7a17ac811f752cc
5
+ SHA512:
6
+ metadata.gz: d8cbc2e0b8c0db4cf81bda409c36ef81bf894055d78b81da76e1136bc98dfd0551620bd489be2b9d18879c2fce4cb5a95c4c5ffb3e99ebbee97dfb23720bf84f
7
+ data.tar.gz: d8e69905ffca8f77da5e2dd89f7a3fd828fa047f919104fb9c7bcf66e034c1de9e6af6abd9d73542714545e0446d5fbeb516753fa2b9201d73d3868ee6fb5e79
@@ -0,0 +1,13 @@
1
+ --hide-void-return
2
+ --no-private
3
+ --verbose
4
+ --title=google-apis-managedidentities_v1beta1
5
+ --markup-provider=redcarpet
6
+ --markup=markdown
7
+ --main OVERVIEW.md
8
+ lib/google/apis/managedidentities_v1beta1/*.rb
9
+ lib/google/apis/managedidentities_v1beta1.rb
10
+ -
11
+ OVERVIEW.md
12
+ CHANGELOG.md
13
+ LICENSE.md
@@ -0,0 +1,7 @@
1
+ # Release history for google-apis-managedidentities_v1beta1
2
+
3
+ ### v0.1.0 (2021-01-07)
4
+
5
+ * Regenerated using generator version 0.1.1
6
+ * Regenerated from discovery document revision 20201113
7
+
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
@@ -0,0 +1,96 @@
1
+ # Simple REST client for version V1beta1 of the Managed Service for Microsoft Active Directory API
2
+
3
+ This is a simple client library for version V1beta1 of the Managed Service for Microsoft Active Directory API. It provides:
4
+
5
+ * A client object that connects to the HTTP/JSON REST endpoint for the service.
6
+ * Ruby objects for data structures related to the service.
7
+ * Integration with the googleauth gem for authentication using OAuth, API keys, and service accounts.
8
+ * Control of retry, pagination, and timeouts.
9
+
10
+ Note that although this client library is supported and will continue to be updated to track changes to the service, it is otherwise considered complete and not under active development. Many Google services, especially Google Cloud Platform services, may provide a more modern client that is under more active development and improvement. See the section below titled *Which client should I use?* for more information.
11
+
12
+ ## Getting started
13
+
14
+ ### Before you begin
15
+
16
+ There are a few setup steps you need to complete before you can use this library:
17
+
18
+ 1. If you don't already have a Google account, [sign up](https://www.google.com/accounts).
19
+ 2. If you have never created a Google APIs Console project, read about [Managing Projects](https://cloud.google.com/resource-manager/docs/creating-managing-projects) and create a project in the [Google API Console](https://console.cloud.google.com/).
20
+ 3. Most APIs need to be enabled for your project. [Enable it](https://console.cloud.google.com/apis/library/managedidentities.googleapis.com) in the console.
21
+
22
+ ### Installation
23
+
24
+ Add this line to your application's Gemfile:
25
+
26
+ ```ruby
27
+ gem 'google-apis-managedidentities_v1beta1', '~> 0.1'
28
+ ```
29
+
30
+ And then execute:
31
+
32
+ ```
33
+ $ bundle
34
+ ```
35
+
36
+ Or install it yourself as:
37
+
38
+ ```
39
+ $ gem install google-apis-managedidentities_v1beta1
40
+ ```
41
+
42
+ ### Creating a client object
43
+
44
+ Once the gem is installed, you can load the client code and instantiate a client.
45
+
46
+ ```ruby
47
+ # Load the client
48
+ require "google/apis/managedidentities_v1beta1"
49
+
50
+ # Create a client object
51
+ client = Google::Apis::ManagedidentitiesV1beta1::ManagedServiceforMicrosoftActiveDirectoryConsumerAPIService.new
52
+
53
+ # Authenticate calls
54
+ client.authentication = # ... use the googleauth gem to create credentials
55
+ ```
56
+
57
+ See the class reference docs for information on the methods you can call from a client.
58
+
59
+ ## Documentation
60
+
61
+ More detailed descriptions of the Google simple REST clients are available in two documents.
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.
65
+
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
+
68
+ For reference information on specific calls in the Managed Service for Microsoft Active Directory API, see the {Google::Apis::ManagedidentitiesV1beta1::ManagedServiceforMicrosoftActiveDirectoryConsumerAPIService class reference docs}.
69
+
70
+ ## Which client should I use?
71
+
72
+ Google provides two types of Ruby API client libraries: **simple REST clients** and **modern clients**.
73
+
74
+ This library, `google-apis-managedidentities_v1beta1`, is a simple REST client. You can identify these clients by their gem names, which are always in the form `google-apis-<servicename>_<serviceversion>`. The simple REST clients connect to HTTP/JSON REST endpoints and are automatically generated from service discovery documents. They support most API functionality, but their class interfaces are sometimes awkward.
75
+
76
+ Modern clients are produced by a modern code generator, sometimes combined with hand-crafted functionality. Most modern clients connect to high-performance gRPC endpoints, although a few are backed by REST services. Modern clients are available for many Google services, especially Google Cloud Platform services, but do not yet support all the services covered by the simple clients.
77
+
78
+ Gem names for modern clients are often of the form `google-cloud-<service_name>`. (For example, [google-cloud-pubsub](https://rubygems.org/gems/google-cloud-pubsub).) Note that most modern clients also have corresponding "versioned" gems with names like `google-cloud-<service_name>-<version>`. (For example, [google-cloud-pubsub-v1](https://rubygems.org/gems/google-cloud-pubsub-v1).) The "versioned" gems can be used directly, but often provide lower-level interfaces. In most cases, the main gem is recommended.
79
+
80
+ **For most users, we recommend the modern client, if one is available.** Compared with simple clients, modern clients are generally much easier to use and more Ruby-like, support more advanced features such as streaming and long-running operations, and often provide much better performance. You may consider using a simple client instead, if a modern client is not yet available for the service you want to use, or if you are not able to use gRPC on your infrastructure.
81
+
82
+ The [product documentation](https://cloud.google.com/managed-microsoft-ad/) may provide guidance regarding the preferred client library to use.
83
+
84
+ ## Supported Ruby versions
85
+
86
+ This library is supported on Ruby 2.5+.
87
+
88
+ Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Currently, this means Ruby 2.5 and later. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
+
90
+ ## License
91
+
92
+ This library is licensed under Apache 2.0. Full license text is available in the {file:LICENSE.md LICENSE}.
93
+
94
+ ## Support
95
+
96
+ Please [report bugs at the project on Github](https://github.com/google/google-api-ruby-client/issues). Don't hesitate to [ask questions](http://stackoverflow.com/questions/tagged/google-api-ruby-client) about the client or APIs on [StackOverflow](http://stackoverflow.com).
@@ -0,0 +1,15 @@
1
+ # Copyright 2020 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require "google/apis/managedidentities_v1beta1"
@@ -0,0 +1,37 @@
1
+ # Copyright 2020 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'google/apis/managedidentities_v1beta1/service.rb'
16
+ require 'google/apis/managedidentities_v1beta1/classes.rb'
17
+ require 'google/apis/managedidentities_v1beta1/representations.rb'
18
+ require 'google/apis/managedidentities_v1beta1/gem_version.rb'
19
+
20
+ module Google
21
+ module Apis
22
+ # Managed Service for Microsoft Active Directory API
23
+ #
24
+ # The Managed Service for Microsoft Active Directory API is used for managing a
25
+ # highly available, hardened service running Microsoft Active Directory (AD).
26
+ #
27
+ # @see https://cloud.google.com/managed-microsoft-ad/
28
+ module ManagedidentitiesV1beta1
29
+ # Version of the Managed Service for Microsoft Active Directory API this client connects to.
30
+ # This is NOT the gem version.
31
+ VERSION = 'V1beta1'
32
+
33
+ # View and manage your data across Google Cloud Platform services
34
+ AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
35
+ end
36
+ end
37
+ end
@@ -0,0 +1,1912 @@
1
+ # Copyright 2020 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'date'
16
+ require 'google/apis/core/base_service'
17
+ require 'google/apis/core/json_representation'
18
+ require 'google/apis/core/hashable'
19
+ require 'google/apis/errors'
20
+
21
+ module Google
22
+ module Apis
23
+ module ManagedidentitiesV1beta1
24
+
25
+ # Request message for AttachTrust
26
+ class AttachTrustRequest
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # Represents a relationship between two domains. This allows a controller in one
30
+ # domain to authenticate a user in another domain.
31
+ # Corresponds to the JSON property `trust`
32
+ # @return [Google::Apis::ManagedidentitiesV1beta1::TrustProp]
33
+ attr_accessor :trust_prop
34
+
35
+ def initialize(**args)
36
+ update!(**args)
37
+ end
38
+
39
+ # Update properties of this object
40
+ def update!(**args)
41
+ @trust_prop = args[:trust_prop] if args.key?(:trust_prop)
42
+ end
43
+ end
44
+
45
+ # Associates `members` with a `role`.
46
+ class Binding
47
+ include Google::Apis::Core::Hashable
48
+
49
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
50
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
51
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
52
+ # "Summary size limit" description: "Determines if a summary is less than 100
53
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
54
+ # Requestor is owner" description: "Determines if requestor is the document
55
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
56
+ # Logic): title: "Public documents" description: "Determine whether the document
57
+ # should be publicly visible" expression: "document.type != 'private' &&
58
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
59
+ # string" description: "Create a notification string with a timestamp."
60
+ # expression: "'New message received at ' + string(document.create_time)" The
61
+ # exact variables and functions that may be referenced within an expression are
62
+ # determined by the service that evaluates it. See the service documentation for
63
+ # additional information.
64
+ # Corresponds to the JSON property `condition`
65
+ # @return [Google::Apis::ManagedidentitiesV1beta1::Expr]
66
+ attr_accessor :condition
67
+
68
+ # Specifies the identities requesting access for a Cloud Platform resource. `
69
+ # members` can have the following values: * `allUsers`: A special identifier
70
+ # that represents anyone who is on the internet; with or without a Google
71
+ # account. * `allAuthenticatedUsers`: A special identifier that represents
72
+ # anyone who is authenticated with a Google account or a service account. * `
73
+ # user:`emailid``: An email address that represents a specific Google account.
74
+ # For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
75
+ # address that represents a service account. For example, `my-other-app@appspot.
76
+ # gserviceaccount.com`. * `group:`emailid``: An email address that represents a
77
+ # Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid=
78
+ # `uniqueid``: An email address (plus unique identifier) representing a user
79
+ # that has been recently deleted. For example, `alice@example.com?uid=
80
+ # 123456789012345678901`. If the user is recovered, this value reverts to `user:`
81
+ # emailid`` and the recovered user retains the role in the binding. * `deleted:
82
+ # serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique
83
+ # identifier) representing a service account that has been recently deleted. For
84
+ # example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
85
+ # If the service account is undeleted, this value reverts to `serviceAccount:`
86
+ # emailid`` and the undeleted service account retains the role in the binding. *
87
+ # `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
88
+ # identifier) representing a Google group that has been recently deleted. For
89
+ # example, `admins@example.com?uid=123456789012345678901`. If the group is
90
+ # recovered, this value reverts to `group:`emailid`` and the recovered group
91
+ # retains the role in the binding. * `domain:`domain``: The G Suite domain (
92
+ # primary) that represents all the users of that domain. For example, `google.
93
+ # com` or `example.com`.
94
+ # Corresponds to the JSON property `members`
95
+ # @return [Array<String>]
96
+ attr_accessor :members
97
+
98
+ # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
99
+ # , or `roles/owner`.
100
+ # Corresponds to the JSON property `role`
101
+ # @return [String]
102
+ attr_accessor :role
103
+
104
+ def initialize(**args)
105
+ update!(**args)
106
+ end
107
+
108
+ # Update properties of this object
109
+ def update!(**args)
110
+ @condition = args[:condition] if args.key?(:condition)
111
+ @members = args[:members] if args.key?(:members)
112
+ @role = args[:role] if args.key?(:role)
113
+ end
114
+ end
115
+
116
+ # The request message for Operations.CancelOperation.
117
+ class CancelOperationRequest
118
+ include Google::Apis::Core::Hashable
119
+
120
+ def initialize(**args)
121
+ update!(**args)
122
+ end
123
+
124
+ # Update properties of this object
125
+ def update!(**args)
126
+ end
127
+ end
128
+
129
+ # Time window specified for daily operations.
130
+ class DailyCycle
131
+ include Google::Apis::Core::Hashable
132
+
133
+ # Output only. Duration of the time window, set by service producer.
134
+ # Corresponds to the JSON property `duration`
135
+ # @return [String]
136
+ attr_accessor :duration
137
+
138
+ # Represents a time of day. The date and time zone are either not significant or
139
+ # are specified elsewhere. An API may choose to allow leap seconds. Related
140
+ # types are google.type.Date and `google.protobuf.Timestamp`.
141
+ # Corresponds to the JSON property `startTime`
142
+ # @return [Google::Apis::ManagedidentitiesV1beta1::TimeOfDay]
143
+ attr_accessor :start_time
144
+
145
+ def initialize(**args)
146
+ update!(**args)
147
+ end
148
+
149
+ # Update properties of this object
150
+ def update!(**args)
151
+ @duration = args[:duration] if args.key?(:duration)
152
+ @start_time = args[:start_time] if args.key?(:start_time)
153
+ end
154
+ end
155
+
156
+ # Represents a whole or partial calendar date, such as a birthday. The time of
157
+ # day and time zone are either specified elsewhere or are insignificant. The
158
+ # date is relative to the Gregorian Calendar. This can represent one of the
159
+ # following: * A full date, with non-zero year, month, and day values * A month
160
+ # and day value, with a zero year, such as an anniversary * A year on its own,
161
+ # with zero month and day values * A year and month value, with a zero day, such
162
+ # as a credit card expiration date Related types are google.type.TimeOfDay and `
163
+ # google.protobuf.Timestamp`.
164
+ class Date
165
+ include Google::Apis::Core::Hashable
166
+
167
+ # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to
168
+ # specify a year by itself or a year and month where the day isn't significant.
169
+ # Corresponds to the JSON property `day`
170
+ # @return [Fixnum]
171
+ attr_accessor :day
172
+
173
+ # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month
174
+ # and day.
175
+ # Corresponds to the JSON property `month`
176
+ # @return [Fixnum]
177
+ attr_accessor :month
178
+
179
+ # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
180
+ # year.
181
+ # Corresponds to the JSON property `year`
182
+ # @return [Fixnum]
183
+ attr_accessor :year
184
+
185
+ def initialize(**args)
186
+ update!(**args)
187
+ end
188
+
189
+ # Update properties of this object
190
+ def update!(**args)
191
+ @day = args[:day] if args.key?(:day)
192
+ @month = args[:month] if args.key?(:month)
193
+ @year = args[:year] if args.key?(:year)
194
+ end
195
+ end
196
+
197
+ # DenyMaintenancePeriod definition. Maintenance is forbidden within the deny
198
+ # period. The start_date must be less than the end_date.
199
+ class DenyMaintenancePeriod
200
+ include Google::Apis::Core::Hashable
201
+
202
+ # Represents a whole or partial calendar date, such as a birthday. The time of
203
+ # day and time zone are either specified elsewhere or are insignificant. The
204
+ # date is relative to the Gregorian Calendar. This can represent one of the
205
+ # following: * A full date, with non-zero year, month, and day values * A month
206
+ # and day value, with a zero year, such as an anniversary * A year on its own,
207
+ # with zero month and day values * A year and month value, with a zero day, such
208
+ # as a credit card expiration date Related types are google.type.TimeOfDay and `
209
+ # google.protobuf.Timestamp`.
210
+ # Corresponds to the JSON property `endDate`
211
+ # @return [Google::Apis::ManagedidentitiesV1beta1::Date]
212
+ attr_accessor :end_date
213
+
214
+ # Represents a whole or partial calendar date, such as a birthday. The time of
215
+ # day and time zone are either specified elsewhere or are insignificant. The
216
+ # date is relative to the Gregorian Calendar. This can represent one of the
217
+ # following: * A full date, with non-zero year, month, and day values * A month
218
+ # and day value, with a zero year, such as an anniversary * A year on its own,
219
+ # with zero month and day values * A year and month value, with a zero day, such
220
+ # as a credit card expiration date Related types are google.type.TimeOfDay and `
221
+ # google.protobuf.Timestamp`.
222
+ # Corresponds to the JSON property `startDate`
223
+ # @return [Google::Apis::ManagedidentitiesV1beta1::Date]
224
+ attr_accessor :start_date
225
+
226
+ # Represents a time of day. The date and time zone are either not significant or
227
+ # are specified elsewhere. An API may choose to allow leap seconds. Related
228
+ # types are google.type.Date and `google.protobuf.Timestamp`.
229
+ # Corresponds to the JSON property `time`
230
+ # @return [Google::Apis::ManagedidentitiesV1beta1::TimeOfDay]
231
+ attr_accessor :time
232
+
233
+ def initialize(**args)
234
+ update!(**args)
235
+ end
236
+
237
+ # Update properties of this object
238
+ def update!(**args)
239
+ @end_date = args[:end_date] if args.key?(:end_date)
240
+ @start_date = args[:start_date] if args.key?(:start_date)
241
+ @time = args[:time] if args.key?(:time)
242
+ end
243
+ end
244
+
245
+ # Request message for DetachTrust
246
+ class DetachTrustRequest
247
+ include Google::Apis::Core::Hashable
248
+
249
+ # Represents a relationship between two domains. This allows a controller in one
250
+ # domain to authenticate a user in another domain.
251
+ # Corresponds to the JSON property `trust`
252
+ # @return [Google::Apis::ManagedidentitiesV1beta1::TrustProp]
253
+ attr_accessor :trust_prop
254
+
255
+ def initialize(**args)
256
+ update!(**args)
257
+ end
258
+
259
+ # Update properties of this object
260
+ def update!(**args)
261
+ @trust_prop = args[:trust_prop] if args.key?(:trust_prop)
262
+ end
263
+ end
264
+
265
+ # If the domain is being changed, it will be placed into the UPDATING state,
266
+ # which indicates that the resource is being reconciled. At this point, Get will
267
+ # reflect an intermediate state. Represents a managed Microsoft Active Directory
268
+ # domain.
269
+ class Domain
270
+ include Google::Apis::Core::Hashable
271
+
272
+ # Optional. The name of delegated administrator account used to perform Active
273
+ # Directory operations. If not specified, `setupadmin` will be used.
274
+ # Corresponds to the JSON property `admin`
275
+ # @return [String]
276
+ attr_accessor :admin
277
+
278
+ # Optional. The full names of the Google Compute Engine [networks](/compute/docs/
279
+ # networks-and-firewalls#networks) the domain instance is connected to. Networks
280
+ # can be added using UpdateDomain. The domain is only available on networks
281
+ # listed in `authorized_networks`. If CIDR subnets overlap between networks,
282
+ # domain creation will fail.
283
+ # Corresponds to the JSON property `authorizedNetworks`
284
+ # @return [Array<String>]
285
+ attr_accessor :authorized_networks
286
+
287
+ # Output only. The time the instance was created.
288
+ # Corresponds to the JSON property `createTime`
289
+ # @return [String]
290
+ attr_accessor :create_time
291
+
292
+ # Output only. The fully-qualified domain name of the exposed domain used by
293
+ # clients to connect to the service. Similar to what would be chosen for an
294
+ # Active Directory set up on an internal network.
295
+ # Corresponds to the JSON property `fqdn`
296
+ # @return [String]
297
+ attr_accessor :fqdn
298
+
299
+ # Optional. Resource labels that can contain user-provided metadata.
300
+ # Corresponds to the JSON property `labels`
301
+ # @return [Hash<String,String>]
302
+ attr_accessor :labels
303
+
304
+ # Required. Locations where domain needs to be provisioned. regions e.g. us-
305
+ # west1 or us-east4 Service supports up to 4 locations at once. Each location
306
+ # will use a /26 block.
307
+ # Corresponds to the JSON property `locations`
308
+ # @return [Array<String>]
309
+ attr_accessor :locations
310
+
311
+ # Output only. The unique name of the domain using the form: `projects/`
312
+ # project_id`/locations/global/domains/`domain_name``.
313
+ # Corresponds to the JSON property `name`
314
+ # @return [String]
315
+ attr_accessor :name
316
+
317
+ # Required. The CIDR range of internal addresses that are reserved for this
318
+ # domain. Reserved networks must be /24 or larger. Ranges must be unique and non-
319
+ # overlapping with existing subnets in [Domain].[authorized_networks].
320
+ # Corresponds to the JSON property `reservedIpRange`
321
+ # @return [String]
322
+ attr_accessor :reserved_ip_range
323
+
324
+ # Output only. The current state of this domain.
325
+ # Corresponds to the JSON property `state`
326
+ # @return [String]
327
+ attr_accessor :state
328
+
329
+ # Output only. Additional information about the current status of this domain,
330
+ # if available.
331
+ # Corresponds to the JSON property `statusMessage`
332
+ # @return [String]
333
+ attr_accessor :status_message
334
+
335
+ # Output only. The current trusts associated with the domain.
336
+ # Corresponds to the JSON property `trusts`
337
+ # @return [Array<Google::Apis::ManagedidentitiesV1beta1::TrustProp>]
338
+ attr_accessor :trusts
339
+
340
+ # Output only. The last update time.
341
+ # Corresponds to the JSON property `updateTime`
342
+ # @return [String]
343
+ attr_accessor :update_time
344
+
345
+ def initialize(**args)
346
+ update!(**args)
347
+ end
348
+
349
+ # Update properties of this object
350
+ def update!(**args)
351
+ @admin = args[:admin] if args.key?(:admin)
352
+ @authorized_networks = args[:authorized_networks] if args.key?(:authorized_networks)
353
+ @create_time = args[:create_time] if args.key?(:create_time)
354
+ @fqdn = args[:fqdn] if args.key?(:fqdn)
355
+ @labels = args[:labels] if args.key?(:labels)
356
+ @locations = args[:locations] if args.key?(:locations)
357
+ @name = args[:name] if args.key?(:name)
358
+ @reserved_ip_range = args[:reserved_ip_range] if args.key?(:reserved_ip_range)
359
+ @state = args[:state] if args.key?(:state)
360
+ @status_message = args[:status_message] if args.key?(:status_message)
361
+ @trusts = args[:trusts] if args.key?(:trusts)
362
+ @update_time = args[:update_time] if args.key?(:update_time)
363
+ end
364
+ end
365
+
366
+ # A generic empty message that you can re-use to avoid defining duplicated empty
367
+ # messages in your APIs. A typical example is to use it as the request or the
368
+ # response type of an API method. For instance: service Foo ` rpc Bar(google.
369
+ # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
370
+ # `Empty` is empty JSON object ````.
371
+ class Empty
372
+ include Google::Apis::Core::Hashable
373
+
374
+ def initialize(**args)
375
+ update!(**args)
376
+ end
377
+
378
+ # Update properties of this object
379
+ def update!(**args)
380
+ end
381
+ end
382
+
383
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
384
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
385
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
386
+ # "Summary size limit" description: "Determines if a summary is less than 100
387
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
388
+ # Requestor is owner" description: "Determines if requestor is the document
389
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
390
+ # Logic): title: "Public documents" description: "Determine whether the document
391
+ # should be publicly visible" expression: "document.type != 'private' &&
392
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
393
+ # string" description: "Create a notification string with a timestamp."
394
+ # expression: "'New message received at ' + string(document.create_time)" The
395
+ # exact variables and functions that may be referenced within an expression are
396
+ # determined by the service that evaluates it. See the service documentation for
397
+ # additional information.
398
+ class Expr
399
+ include Google::Apis::Core::Hashable
400
+
401
+ # Optional. Description of the expression. This is a longer text which describes
402
+ # the expression, e.g. when hovered over it in a UI.
403
+ # Corresponds to the JSON property `description`
404
+ # @return [String]
405
+ attr_accessor :description
406
+
407
+ # Textual representation of an expression in Common Expression Language syntax.
408
+ # Corresponds to the JSON property `expression`
409
+ # @return [String]
410
+ attr_accessor :expression
411
+
412
+ # Optional. String indicating the location of the expression for error reporting,
413
+ # e.g. a file name and a position in the file.
414
+ # Corresponds to the JSON property `location`
415
+ # @return [String]
416
+ attr_accessor :location
417
+
418
+ # Optional. Title for the expression, i.e. a short string describing its purpose.
419
+ # This can be used e.g. in UIs which allow to enter the expression.
420
+ # Corresponds to the JSON property `title`
421
+ # @return [String]
422
+ attr_accessor :title
423
+
424
+ def initialize(**args)
425
+ update!(**args)
426
+ end
427
+
428
+ # Update properties of this object
429
+ def update!(**args)
430
+ @description = args[:description] if args.key?(:description)
431
+ @expression = args[:expression] if args.key?(:expression)
432
+ @location = args[:location] if args.key?(:location)
433
+ @title = args[:title] if args.key?(:title)
434
+ end
435
+ end
436
+
437
+ # Represents the metadata of the long-running operation.
438
+ class GoogleCloudManagedidentitiesV1OpMetadata
439
+ include Google::Apis::Core::Hashable
440
+
441
+ # Output only. API version used to start the operation.
442
+ # Corresponds to the JSON property `apiVersion`
443
+ # @return [String]
444
+ attr_accessor :api_version
445
+
446
+ # Output only. The time the operation was created.
447
+ # Corresponds to the JSON property `createTime`
448
+ # @return [String]
449
+ attr_accessor :create_time
450
+
451
+ # Output only. The time the operation finished running.
452
+ # Corresponds to the JSON property `endTime`
453
+ # @return [String]
454
+ attr_accessor :end_time
455
+
456
+ # Output only. Identifies whether the user has requested cancellation of the
457
+ # operation. Operations that have successfully been cancelled have Operation.
458
+ # error value with a google.rpc.Status.code of 1, corresponding to `Code.
459
+ # CANCELLED`.
460
+ # Corresponds to the JSON property `requestedCancellation`
461
+ # @return [Boolean]
462
+ attr_accessor :requested_cancellation
463
+ alias_method :requested_cancellation?, :requested_cancellation
464
+
465
+ # Output only. Server-defined resource path for the target of the operation.
466
+ # Corresponds to the JSON property `target`
467
+ # @return [String]
468
+ attr_accessor :target
469
+
470
+ # Output only. Name of the verb executed by the operation.
471
+ # Corresponds to the JSON property `verb`
472
+ # @return [String]
473
+ attr_accessor :verb
474
+
475
+ def initialize(**args)
476
+ update!(**args)
477
+ end
478
+
479
+ # Update properties of this object
480
+ def update!(**args)
481
+ @api_version = args[:api_version] if args.key?(:api_version)
482
+ @create_time = args[:create_time] if args.key?(:create_time)
483
+ @end_time = args[:end_time] if args.key?(:end_time)
484
+ @requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation)
485
+ @target = args[:target] if args.key?(:target)
486
+ @verb = args[:verb] if args.key?(:verb)
487
+ end
488
+ end
489
+
490
+ # Represents the metadata of the long-running operation.
491
+ class GoogleCloudManagedidentitiesV1alpha1OpMetadata
492
+ include Google::Apis::Core::Hashable
493
+
494
+ # Output only. API version used to start the operation.
495
+ # Corresponds to the JSON property `apiVersion`
496
+ # @return [String]
497
+ attr_accessor :api_version
498
+
499
+ # Output only. The time the operation was created.
500
+ # Corresponds to the JSON property `createTime`
501
+ # @return [String]
502
+ attr_accessor :create_time
503
+
504
+ # Output only. The time the operation finished running.
505
+ # Corresponds to the JSON property `endTime`
506
+ # @return [String]
507
+ attr_accessor :end_time
508
+
509
+ # Output only. Identifies whether the user has requested cancellation of the
510
+ # operation. Operations that have successfully been cancelled have Operation.
511
+ # error value with a google.rpc.Status.code of 1, corresponding to `Code.
512
+ # CANCELLED`.
513
+ # Corresponds to the JSON property `requestedCancellation`
514
+ # @return [Boolean]
515
+ attr_accessor :requested_cancellation
516
+ alias_method :requested_cancellation?, :requested_cancellation
517
+
518
+ # Output only. Server-defined resource path for the target of the operation.
519
+ # Corresponds to the JSON property `target`
520
+ # @return [String]
521
+ attr_accessor :target
522
+
523
+ # Output only. Name of the verb executed by the operation.
524
+ # Corresponds to the JSON property `verb`
525
+ # @return [String]
526
+ attr_accessor :verb
527
+
528
+ def initialize(**args)
529
+ update!(**args)
530
+ end
531
+
532
+ # Update properties of this object
533
+ def update!(**args)
534
+ @api_version = args[:api_version] if args.key?(:api_version)
535
+ @create_time = args[:create_time] if args.key?(:create_time)
536
+ @end_time = args[:end_time] if args.key?(:end_time)
537
+ @requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation)
538
+ @target = args[:target] if args.key?(:target)
539
+ @verb = args[:verb] if args.key?(:verb)
540
+ end
541
+ end
542
+
543
+ # Represents the metadata of the long-running operation.
544
+ class GoogleCloudManagedidentitiesV1beta1OpMetadata
545
+ include Google::Apis::Core::Hashable
546
+
547
+ # Output only. API version used to start the operation.
548
+ # Corresponds to the JSON property `apiVersion`
549
+ # @return [String]
550
+ attr_accessor :api_version
551
+
552
+ # Output only. The time the operation was created.
553
+ # Corresponds to the JSON property `createTime`
554
+ # @return [String]
555
+ attr_accessor :create_time
556
+
557
+ # Output only. The time the operation finished running.
558
+ # Corresponds to the JSON property `endTime`
559
+ # @return [String]
560
+ attr_accessor :end_time
561
+
562
+ # Output only. Identifies whether the user has requested cancellation of the
563
+ # operation. Operations that have successfully been cancelled have Operation.
564
+ # error value with a google.rpc.Status.code of 1, corresponding to `Code.
565
+ # CANCELLED`.
566
+ # Corresponds to the JSON property `requestedCancellation`
567
+ # @return [Boolean]
568
+ attr_accessor :requested_cancellation
569
+ alias_method :requested_cancellation?, :requested_cancellation
570
+
571
+ # Output only. Server-defined resource path for the target of the operation.
572
+ # Corresponds to the JSON property `target`
573
+ # @return [String]
574
+ attr_accessor :target
575
+
576
+ # Output only. Name of the verb executed by the operation.
577
+ # Corresponds to the JSON property `verb`
578
+ # @return [String]
579
+ attr_accessor :verb
580
+
581
+ def initialize(**args)
582
+ update!(**args)
583
+ end
584
+
585
+ # Update properties of this object
586
+ def update!(**args)
587
+ @api_version = args[:api_version] if args.key?(:api_version)
588
+ @create_time = args[:create_time] if args.key?(:create_time)
589
+ @end_time = args[:end_time] if args.key?(:end_time)
590
+ @requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation)
591
+ @target = args[:target] if args.key?(:target)
592
+ @verb = args[:verb] if args.key?(:verb)
593
+ end
594
+ end
595
+
596
+ #
597
+ class GoogleCloudSaasacceleratorManagementProvidersV1Instance
598
+ include Google::Apis::Core::Hashable
599
+
600
+ # consumer_defined_name is the name that is set by the consumer. On the other
601
+ # hand Name field represents system-assigned id of an instance so consumers are
602
+ # not necessarily aware of it. consumer_defined_name is used for notification/UI
603
+ # purposes for consumer to recognize their instances.
604
+ # Corresponds to the JSON property `consumerDefinedName`
605
+ # @return [String]
606
+ attr_accessor :consumer_defined_name
607
+
608
+ # Output only. Timestamp when the resource was created.
609
+ # Corresponds to the JSON property `createTime`
610
+ # @return [String]
611
+ attr_accessor :create_time
612
+
613
+ # Optional. Resource labels to represent user provided metadata. Each label is a
614
+ # key-value pair, where both the key and the value are arbitrary strings
615
+ # provided by the user.
616
+ # Corresponds to the JSON property `labels`
617
+ # @return [Hash<String,String>]
618
+ attr_accessor :labels
619
+
620
+ # Deprecated. The MaintenancePolicies that have been attached to the instance.
621
+ # The key must be of the type name of the oneof policy name defined in
622
+ # MaintenancePolicy, and the referenced policy must define the same policy type.
623
+ # For complete details of MaintenancePolicy, please refer to go/cloud-saas-mw-ug.
624
+ # Corresponds to the JSON property `maintenancePolicyNames`
625
+ # @return [Hash<String,String>]
626
+ attr_accessor :maintenance_policy_names
627
+
628
+ # The MaintenanceSchedule contains the scheduling information of published
629
+ # maintenance schedule with same key as software_versions.
630
+ # Corresponds to the JSON property `maintenanceSchedules`
631
+ # @return [Hash<String,Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule>]
632
+ attr_accessor :maintenance_schedules
633
+
634
+ # Maintenance settings associated with instance. Allows service producers and
635
+ # end users to assign settings that controls maintenance on this instance.
636
+ # Corresponds to the JSON property `maintenanceSettings`
637
+ # @return [Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings]
638
+ attr_accessor :maintenance_settings
639
+
640
+ # Unique name of the resource. It uses the form: `projects/`project_id`/
641
+ # locations/`location_id`/instances/`instance_id``
642
+ # Corresponds to the JSON property `name`
643
+ # @return [String]
644
+ attr_accessor :name
645
+
646
+ # Output only. Custom string attributes used primarily to expose producer-
647
+ # specific information in monitoring dashboards. See go/get-instance-metadata.
648
+ # Corresponds to the JSON property `producerMetadata`
649
+ # @return [Hash<String,String>]
650
+ attr_accessor :producer_metadata
651
+
652
+ # Output only. The list of data plane resources provisioned for this instance, e.
653
+ # g. compute VMs. See go/get-instance-metadata.
654
+ # Corresponds to the JSON property `provisionedResources`
655
+ # @return [Array<Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource>]
656
+ attr_accessor :provisioned_resources
657
+
658
+ # Link to the SLM instance template. Only populated when updating SLM instances
659
+ # via SSA's Actuation service adaptor. Service producers with custom control
660
+ # plane (e.g. Cloud SQL) doesn't need to populate this field. Instead they
661
+ # should use software_versions.
662
+ # Corresponds to the JSON property `slmInstanceTemplate`
663
+ # @return [String]
664
+ attr_accessor :slm_instance_template
665
+
666
+ # SloMetadata contains resources required for proper SLO classification of the
667
+ # instance.
668
+ # Corresponds to the JSON property `sloMetadata`
669
+ # @return [Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata]
670
+ attr_accessor :slo_metadata
671
+
672
+ # Software versions that are used to deploy this instance. This can be mutated
673
+ # by rollout services.
674
+ # Corresponds to the JSON property `softwareVersions`
675
+ # @return [Hash<String,String>]
676
+ attr_accessor :software_versions
677
+
678
+ # Output only. Current lifecycle state of the resource (e.g. if it's being
679
+ # created or ready to use).
680
+ # Corresponds to the JSON property `state`
681
+ # @return [String]
682
+ attr_accessor :state
683
+
684
+ # Output only. ID of the associated GCP tenant project. See go/get-instance-
685
+ # metadata.
686
+ # Corresponds to the JSON property `tenantProjectId`
687
+ # @return [String]
688
+ attr_accessor :tenant_project_id
689
+
690
+ # Output only. Timestamp when the resource was last modified.
691
+ # Corresponds to the JSON property `updateTime`
692
+ # @return [String]
693
+ attr_accessor :update_time
694
+
695
+ def initialize(**args)
696
+ update!(**args)
697
+ end
698
+
699
+ # Update properties of this object
700
+ def update!(**args)
701
+ @consumer_defined_name = args[:consumer_defined_name] if args.key?(:consumer_defined_name)
702
+ @create_time = args[:create_time] if args.key?(:create_time)
703
+ @labels = args[:labels] if args.key?(:labels)
704
+ @maintenance_policy_names = args[:maintenance_policy_names] if args.key?(:maintenance_policy_names)
705
+ @maintenance_schedules = args[:maintenance_schedules] if args.key?(:maintenance_schedules)
706
+ @maintenance_settings = args[:maintenance_settings] if args.key?(:maintenance_settings)
707
+ @name = args[:name] if args.key?(:name)
708
+ @producer_metadata = args[:producer_metadata] if args.key?(:producer_metadata)
709
+ @provisioned_resources = args[:provisioned_resources] if args.key?(:provisioned_resources)
710
+ @slm_instance_template = args[:slm_instance_template] if args.key?(:slm_instance_template)
711
+ @slo_metadata = args[:slo_metadata] if args.key?(:slo_metadata)
712
+ @software_versions = args[:software_versions] if args.key?(:software_versions)
713
+ @state = args[:state] if args.key?(:state)
714
+ @tenant_project_id = args[:tenant_project_id] if args.key?(:tenant_project_id)
715
+ @update_time = args[:update_time] if args.key?(:update_time)
716
+ end
717
+ end
718
+
719
+ # Maintenance schedule which is exposed to customer and potentially end user,
720
+ # indicating published upcoming future maintenance schedule
721
+ class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule
722
+ include Google::Apis::Core::Hashable
723
+
724
+ # Can this scheduled update be rescheduled? By default, it's true and API needs
725
+ # to do explicitly check whether it's set, if it's set as false explicitly, it's
726
+ # false
727
+ # Corresponds to the JSON property `canReschedule`
728
+ # @return [Boolean]
729
+ attr_accessor :can_reschedule
730
+ alias_method :can_reschedule?, :can_reschedule
731
+
732
+ # The scheduled end time for the maintenance.
733
+ # Corresponds to the JSON property `endTime`
734
+ # @return [String]
735
+ attr_accessor :end_time
736
+
737
+ # The rollout management policy this maintenance schedule is associated with.
738
+ # When doing reschedule update request, the reschedule should be against this
739
+ # given policy.
740
+ # Corresponds to the JSON property `rolloutManagementPolicy`
741
+ # @return [String]
742
+ attr_accessor :rollout_management_policy
743
+
744
+ # The scheduled start time for the maintenance.
745
+ # Corresponds to the JSON property `startTime`
746
+ # @return [String]
747
+ attr_accessor :start_time
748
+
749
+ def initialize(**args)
750
+ update!(**args)
751
+ end
752
+
753
+ # Update properties of this object
754
+ def update!(**args)
755
+ @can_reschedule = args[:can_reschedule] if args.key?(:can_reschedule)
756
+ @end_time = args[:end_time] if args.key?(:end_time)
757
+ @rollout_management_policy = args[:rollout_management_policy] if args.key?(:rollout_management_policy)
758
+ @start_time = args[:start_time] if args.key?(:start_time)
759
+ end
760
+ end
761
+
762
+ # Maintenance settings associated with instance. Allows service producers and
763
+ # end users to assign settings that controls maintenance on this instance.
764
+ class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings
765
+ include Google::Apis::Core::Hashable
766
+
767
+ # Optional. Exclude instance from maintenance. When true, rollout service will
768
+ # not attempt maintenance on the instance. Rollout service will include the
769
+ # instance in reported rollout progress as not attempted.
770
+ # Corresponds to the JSON property `exclude`
771
+ # @return [Boolean]
772
+ attr_accessor :exclude
773
+ alias_method :exclude?, :exclude
774
+
775
+ # Optional. The MaintenancePolicies that have been attached to the instance. The
776
+ # key must be of the type name of the oneof policy name defined in
777
+ # MaintenancePolicy, and the embedded policy must define the same policy type.
778
+ # For complete details of MaintenancePolicy, please refer to go/cloud-saas-mw-ug.
779
+ # If only the name is needed (like in the deprecated Instance.
780
+ # maintenance_policy_names field) then only populate MaintenancePolicy.name.
781
+ # Corresponds to the JSON property `maintenancePolicies`
782
+ # @return [Hash<String,Google::Apis::ManagedidentitiesV1beta1::MaintenancePolicy>]
783
+ attr_accessor :maintenance_policies
784
+
785
+ def initialize(**args)
786
+ update!(**args)
787
+ end
788
+
789
+ # Update properties of this object
790
+ def update!(**args)
791
+ @exclude = args[:exclude] if args.key?(:exclude)
792
+ @maintenance_policies = args[:maintenance_policies] if args.key?(:maintenance_policies)
793
+ end
794
+ end
795
+
796
+ # Node information for custom per-node SLO implementations. SSA does not support
797
+ # per-node SLO, but producers can populate per-node information in SloMetadata
798
+ # for custom precomputations. SSA Eligibility Exporter will emit per-node metric
799
+ # based on this information.
800
+ class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata
801
+ include Google::Apis::Core::Hashable
802
+
803
+ # By default node is eligible if instance is eligible. But individual node might
804
+ # be excluded from SLO by adding entry here. For semantic see SloMetadata.
805
+ # exclusions. If both instance and node level exclusions are present for time
806
+ # period, the node level's reason will be reported by Eligibility Exporter.
807
+ # Corresponds to the JSON property `exclusions`
808
+ # @return [Array<Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion>]
809
+ attr_accessor :exclusions
810
+
811
+ # The location of the node, if different from instance location.
812
+ # Corresponds to the JSON property `location`
813
+ # @return [String]
814
+ attr_accessor :location
815
+
816
+ # The id of the node. This should be equal to SaasInstanceNode.node_id.
817
+ # Corresponds to the JSON property `nodeId`
818
+ # @return [String]
819
+ attr_accessor :node_id
820
+
821
+ def initialize(**args)
822
+ update!(**args)
823
+ end
824
+
825
+ # Update properties of this object
826
+ def update!(**args)
827
+ @exclusions = args[:exclusions] if args.key?(:exclusions)
828
+ @location = args[:location] if args.key?(:location)
829
+ @node_id = args[:node_id] if args.key?(:node_id)
830
+ end
831
+ end
832
+
833
+ # Describes provisioned dataplane resources.
834
+ class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource
835
+ include Google::Apis::Core::Hashable
836
+
837
+ # Type of the resource. This can be either a GCP resource or a custom one (e.g.
838
+ # another cloud provider's VM). For GCP compute resources use singular form of
839
+ # the names listed in GCP compute API documentation (https://cloud.google.com/
840
+ # compute/docs/reference/rest/v1/), prefixed with 'compute-', for example: '
841
+ # compute-instance', 'compute-disk', 'compute-autoscaler'.
842
+ # Corresponds to the JSON property `resourceType`
843
+ # @return [String]
844
+ attr_accessor :resource_type
845
+
846
+ # URL identifying the resource, e.g. "https://www.googleapis.com/compute/v1/
847
+ # projects/...)".
848
+ # Corresponds to the JSON property `resourceUrl`
849
+ # @return [String]
850
+ attr_accessor :resource_url
851
+
852
+ def initialize(**args)
853
+ update!(**args)
854
+ end
855
+
856
+ # Update properties of this object
857
+ def update!(**args)
858
+ @resource_type = args[:resource_type] if args.key?(:resource_type)
859
+ @resource_url = args[:resource_url] if args.key?(:resource_url)
860
+ end
861
+ end
862
+
863
+ # SloEligibility is a tuple containing eligibility value: true if an instance is
864
+ # eligible for SLO calculation or false if it should be excluded from all SLO-
865
+ # related calculations along with a user-defined reason.
866
+ class GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility
867
+ include Google::Apis::Core::Hashable
868
+
869
+ # Whether an instance is eligible or ineligible.
870
+ # Corresponds to the JSON property `eligible`
871
+ # @return [Boolean]
872
+ attr_accessor :eligible
873
+ alias_method :eligible?, :eligible
874
+
875
+ # User-defined reason for the current value of instance eligibility. Usually,
876
+ # this can be directly mapped to the internal state. An empty reason is allowed.
877
+ # Corresponds to the JSON property `reason`
878
+ # @return [String]
879
+ attr_accessor :reason
880
+
881
+ def initialize(**args)
882
+ update!(**args)
883
+ end
884
+
885
+ # Update properties of this object
886
+ def update!(**args)
887
+ @eligible = args[:eligible] if args.key?(:eligible)
888
+ @reason = args[:reason] if args.key?(:reason)
889
+ end
890
+ end
891
+
892
+ # SloExclusion represents an exclusion in SLI calculation applies to all SLOs.
893
+ class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion
894
+ include Google::Apis::Core::Hashable
895
+
896
+ # Exclusion duration. No restrictions on the possible values. When an ongoing
897
+ # operation is taking longer than initially expected, an existing entry in the
898
+ # exclusion list can be updated by extending the duration. This is supported by
899
+ # the subsystem exporting eligibility data as long as such extension is
900
+ # committed at least 10 minutes before the original exclusion expiration -
901
+ # otherwise it is possible that there will be "gaps" in the exclusion
902
+ # application in the exported timeseries.
903
+ # Corresponds to the JSON property `duration`
904
+ # @return [String]
905
+ attr_accessor :duration
906
+
907
+ # Human-readable reason for the exclusion. This should be a static string (e.g. "
908
+ # Disruptive update in progress") and should not contain dynamically generated
909
+ # data (e.g. instance name). Can be left empty.
910
+ # Corresponds to the JSON property `reason`
911
+ # @return [String]
912
+ attr_accessor :reason
913
+
914
+ # Name of an SLI that this exclusion applies to. Can be left empty, signaling
915
+ # that the instance should be excluded from all SLIs defined in the service SLO
916
+ # configuration.
917
+ # Corresponds to the JSON property `sliName`
918
+ # @return [String]
919
+ attr_accessor :sli_name
920
+
921
+ # Start time of the exclusion. No alignment (e.g. to a full minute) needed.
922
+ # Corresponds to the JSON property `startTime`
923
+ # @return [String]
924
+ attr_accessor :start_time
925
+
926
+ def initialize(**args)
927
+ update!(**args)
928
+ end
929
+
930
+ # Update properties of this object
931
+ def update!(**args)
932
+ @duration = args[:duration] if args.key?(:duration)
933
+ @reason = args[:reason] if args.key?(:reason)
934
+ @sli_name = args[:sli_name] if args.key?(:sli_name)
935
+ @start_time = args[:start_time] if args.key?(:start_time)
936
+ end
937
+ end
938
+
939
+ # SloMetadata contains resources required for proper SLO classification of the
940
+ # instance.
941
+ class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
942
+ include Google::Apis::Core::Hashable
943
+
944
+ # SloEligibility is a tuple containing eligibility value: true if an instance is
945
+ # eligible for SLO calculation or false if it should be excluded from all SLO-
946
+ # related calculations along with a user-defined reason.
947
+ # Corresponds to the JSON property `eligibility`
948
+ # @return [Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility]
949
+ attr_accessor :eligibility
950
+
951
+ # List of SLO exclusion windows. When multiple entries in the list match (
952
+ # matching the exclusion time-window against current time point) the exclusion
953
+ # reason used in the first matching entry will be published. It is not needed to
954
+ # include expired exclusion in this list, as only the currently applicable
955
+ # exclusions are taken into account by the eligibility exporting subsystem (the
956
+ # historical state of exclusions will be reflected in the historically produced
957
+ # timeseries regardless of the current state). This field can be used to mark
958
+ # the instance as temporary ineligible for the purpose of SLO calculation. For
959
+ # permanent instance SLO exclusion, use of custom instance eligibility is
960
+ # recommended. See 'eligibility' field below.
961
+ # Corresponds to the JSON property `exclusions`
962
+ # @return [Array<Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion>]
963
+ attr_accessor :exclusions
964
+
965
+ # Optional. List of nodes. Some producers need to use per-node metadata to
966
+ # calculate SLO. This field allows such producers to publish per-node SLO meta
967
+ # data, which will be consumed by SSA Eligibility Exporter and published in the
968
+ # form of per node metric to Monarch.
969
+ # Corresponds to the JSON property `nodes`
970
+ # @return [Array<Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata>]
971
+ attr_accessor :nodes
972
+
973
+ # Name of the SLO tier the Instance belongs to. This name will be expected to
974
+ # match the tiers specified in the service SLO configuration. Field is mandatory
975
+ # and must not be empty.
976
+ # Corresponds to the JSON property `tier`
977
+ # @return [String]
978
+ attr_accessor :tier
979
+
980
+ def initialize(**args)
981
+ update!(**args)
982
+ end
983
+
984
+ # Update properties of this object
985
+ def update!(**args)
986
+ @eligibility = args[:eligibility] if args.key?(:eligibility)
987
+ @exclusions = args[:exclusions] if args.key?(:exclusions)
988
+ @nodes = args[:nodes] if args.key?(:nodes)
989
+ @tier = args[:tier] if args.key?(:tier)
990
+ end
991
+ end
992
+
993
+ # Response message for ListDomains
994
+ class ListDomainsResponse
995
+ include Google::Apis::Core::Hashable
996
+
997
+ # A list of Managed Identities Service domains in the project.
998
+ # Corresponds to the JSON property `domains`
999
+ # @return [Array<Google::Apis::ManagedidentitiesV1beta1::Domain>]
1000
+ attr_accessor :domains
1001
+
1002
+ # A token to retrieve the next page of results, or empty if there are no more
1003
+ # results in the list.
1004
+ # Corresponds to the JSON property `nextPageToken`
1005
+ # @return [String]
1006
+ attr_accessor :next_page_token
1007
+
1008
+ # A list of locations that could not be reached.
1009
+ # Corresponds to the JSON property `unreachable`
1010
+ # @return [Array<String>]
1011
+ attr_accessor :unreachable
1012
+
1013
+ def initialize(**args)
1014
+ update!(**args)
1015
+ end
1016
+
1017
+ # Update properties of this object
1018
+ def update!(**args)
1019
+ @domains = args[:domains] if args.key?(:domains)
1020
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1021
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
1022
+ end
1023
+ end
1024
+
1025
+ # The response message for Locations.ListLocations.
1026
+ class ListLocationsResponse
1027
+ include Google::Apis::Core::Hashable
1028
+
1029
+ # A list of locations that matches the specified filter in the request.
1030
+ # Corresponds to the JSON property `locations`
1031
+ # @return [Array<Google::Apis::ManagedidentitiesV1beta1::Location>]
1032
+ attr_accessor :locations
1033
+
1034
+ # The standard List next-page token.
1035
+ # Corresponds to the JSON property `nextPageToken`
1036
+ # @return [String]
1037
+ attr_accessor :next_page_token
1038
+
1039
+ def initialize(**args)
1040
+ update!(**args)
1041
+ end
1042
+
1043
+ # Update properties of this object
1044
+ def update!(**args)
1045
+ @locations = args[:locations] if args.key?(:locations)
1046
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1047
+ end
1048
+ end
1049
+
1050
+ # The response message for Operations.ListOperations.
1051
+ class ListOperationsResponse
1052
+ include Google::Apis::Core::Hashable
1053
+
1054
+ # The standard List next-page token.
1055
+ # Corresponds to the JSON property `nextPageToken`
1056
+ # @return [String]
1057
+ attr_accessor :next_page_token
1058
+
1059
+ # A list of operations that matches the specified filter in the request.
1060
+ # Corresponds to the JSON property `operations`
1061
+ # @return [Array<Google::Apis::ManagedidentitiesV1beta1::Operation>]
1062
+ attr_accessor :operations
1063
+
1064
+ def initialize(**args)
1065
+ update!(**args)
1066
+ end
1067
+
1068
+ # Update properties of this object
1069
+ def update!(**args)
1070
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1071
+ @operations = args[:operations] if args.key?(:operations)
1072
+ end
1073
+ end
1074
+
1075
+ # ListSQLIntegrationsResponse is the response message for ListSQLIntegrations
1076
+ # method.
1077
+ class ListSqlIntegrationsResponse
1078
+ include Google::Apis::Core::Hashable
1079
+
1080
+ # Token to retrieve the next page of results, or empty if there are no more
1081
+ # results in the list.
1082
+ # Corresponds to the JSON property `nextPageToken`
1083
+ # @return [String]
1084
+ attr_accessor :next_page_token
1085
+
1086
+ # A list of SQLIntegrations of a domain.
1087
+ # Corresponds to the JSON property `sqlIntegrations`
1088
+ # @return [Array<Google::Apis::ManagedidentitiesV1beta1::SqlIntegration>]
1089
+ attr_accessor :sql_integrations
1090
+
1091
+ # A list of locations that could not be reached.
1092
+ # Corresponds to the JSON property `unreachable`
1093
+ # @return [Array<String>]
1094
+ attr_accessor :unreachable
1095
+
1096
+ def initialize(**args)
1097
+ update!(**args)
1098
+ end
1099
+
1100
+ # Update properties of this object
1101
+ def update!(**args)
1102
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1103
+ @sql_integrations = args[:sql_integrations] if args.key?(:sql_integrations)
1104
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
1105
+ end
1106
+ end
1107
+
1108
+ # A resource that represents Google Cloud Platform location.
1109
+ class Location
1110
+ include Google::Apis::Core::Hashable
1111
+
1112
+ # The friendly name for this location, typically a nearby city name. For example,
1113
+ # "Tokyo".
1114
+ # Corresponds to the JSON property `displayName`
1115
+ # @return [String]
1116
+ attr_accessor :display_name
1117
+
1118
+ # Cross-service attributes for the location. For example `"cloud.googleapis.com/
1119
+ # region": "us-east1"`
1120
+ # Corresponds to the JSON property `labels`
1121
+ # @return [Hash<String,String>]
1122
+ attr_accessor :labels
1123
+
1124
+ # The canonical id for this location. For example: `"us-east1"`.
1125
+ # Corresponds to the JSON property `locationId`
1126
+ # @return [String]
1127
+ attr_accessor :location_id
1128
+
1129
+ # Service-specific metadata. For example the available capacity at the given
1130
+ # location.
1131
+ # Corresponds to the JSON property `metadata`
1132
+ # @return [Hash<String,Object>]
1133
+ attr_accessor :metadata
1134
+
1135
+ # Resource name for the location, which may vary between implementations. For
1136
+ # example: `"projects/example-project/locations/us-east1"`
1137
+ # Corresponds to the JSON property `name`
1138
+ # @return [String]
1139
+ attr_accessor :name
1140
+
1141
+ def initialize(**args)
1142
+ update!(**args)
1143
+ end
1144
+
1145
+ # Update properties of this object
1146
+ def update!(**args)
1147
+ @display_name = args[:display_name] if args.key?(:display_name)
1148
+ @labels = args[:labels] if args.key?(:labels)
1149
+ @location_id = args[:location_id] if args.key?(:location_id)
1150
+ @metadata = args[:metadata] if args.key?(:metadata)
1151
+ @name = args[:name] if args.key?(:name)
1152
+ end
1153
+ end
1154
+
1155
+ # Defines policies to service maintenance events.
1156
+ class MaintenancePolicy
1157
+ include Google::Apis::Core::Hashable
1158
+
1159
+ # Output only. The time when the resource was created.
1160
+ # Corresponds to the JSON property `createTime`
1161
+ # @return [String]
1162
+ attr_accessor :create_time
1163
+
1164
+ # Optional. Description of what this policy is for. Create/Update methods return
1165
+ # INVALID_ARGUMENT if the length is greater than 512.
1166
+ # Corresponds to the JSON property `description`
1167
+ # @return [String]
1168
+ attr_accessor :description
1169
+
1170
+ # Optional. Resource labels to represent user provided metadata. Each label is a
1171
+ # key-value pair, where both the key and the value are arbitrary strings
1172
+ # provided by the user.
1173
+ # Corresponds to the JSON property `labels`
1174
+ # @return [Hash<String,String>]
1175
+ attr_accessor :labels
1176
+
1177
+ # Required. MaintenancePolicy name using the form: `projects/`project_id`/
1178
+ # locations/`location_id`/maintenancePolicies/`maintenance_policy_id`` where `
1179
+ # project_id` refers to a GCP consumer project ID, `location_id` refers to a GCP
1180
+ # region/zone, `maintenance_policy_id` must be 1-63 characters long and match
1181
+ # the regular expression `[a-z0-9]([-a-z0-9]*[a-z0-9])?`.
1182
+ # Corresponds to the JSON property `name`
1183
+ # @return [String]
1184
+ attr_accessor :name
1185
+
1186
+ # Optional. The state of the policy.
1187
+ # Corresponds to the JSON property `state`
1188
+ # @return [String]
1189
+ attr_accessor :state
1190
+
1191
+ # Maintenance policy applicable to instance updates.
1192
+ # Corresponds to the JSON property `updatePolicy`
1193
+ # @return [Google::Apis::ManagedidentitiesV1beta1::UpdatePolicy]
1194
+ attr_accessor :update_policy
1195
+
1196
+ # Output only. The time when the resource was updated.
1197
+ # Corresponds to the JSON property `updateTime`
1198
+ # @return [String]
1199
+ attr_accessor :update_time
1200
+
1201
+ def initialize(**args)
1202
+ update!(**args)
1203
+ end
1204
+
1205
+ # Update properties of this object
1206
+ def update!(**args)
1207
+ @create_time = args[:create_time] if args.key?(:create_time)
1208
+ @description = args[:description] if args.key?(:description)
1209
+ @labels = args[:labels] if args.key?(:labels)
1210
+ @name = args[:name] if args.key?(:name)
1211
+ @state = args[:state] if args.key?(:state)
1212
+ @update_policy = args[:update_policy] if args.key?(:update_policy)
1213
+ @update_time = args[:update_time] if args.key?(:update_time)
1214
+ end
1215
+ end
1216
+
1217
+ # MaintenanceWindow definition.
1218
+ class MaintenanceWindow
1219
+ include Google::Apis::Core::Hashable
1220
+
1221
+ # Time window specified for daily operations.
1222
+ # Corresponds to the JSON property `dailyCycle`
1223
+ # @return [Google::Apis::ManagedidentitiesV1beta1::DailyCycle]
1224
+ attr_accessor :daily_cycle
1225
+
1226
+ # Time window specified for weekly operations.
1227
+ # Corresponds to the JSON property `weeklyCycle`
1228
+ # @return [Google::Apis::ManagedidentitiesV1beta1::WeeklyCycle]
1229
+ attr_accessor :weekly_cycle
1230
+
1231
+ def initialize(**args)
1232
+ update!(**args)
1233
+ end
1234
+
1235
+ # Update properties of this object
1236
+ def update!(**args)
1237
+ @daily_cycle = args[:daily_cycle] if args.key?(:daily_cycle)
1238
+ @weekly_cycle = args[:weekly_cycle] if args.key?(:weekly_cycle)
1239
+ end
1240
+ end
1241
+
1242
+ # This resource represents a long-running operation that is the result of a
1243
+ # network API call.
1244
+ class Operation
1245
+ include Google::Apis::Core::Hashable
1246
+
1247
+ # If the value is `false`, it means the operation is still in progress. If `true`
1248
+ # , the operation is completed, and either `error` or `response` is available.
1249
+ # Corresponds to the JSON property `done`
1250
+ # @return [Boolean]
1251
+ attr_accessor :done
1252
+ alias_method :done?, :done
1253
+
1254
+ # The `Status` type defines a logical error model that is suitable for different
1255
+ # programming environments, including REST APIs and RPC APIs. It is used by [
1256
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
1257
+ # data: error code, error message, and error details. You can find out more
1258
+ # about this error model and how to work with it in the [API Design Guide](https:
1259
+ # //cloud.google.com/apis/design/errors).
1260
+ # Corresponds to the JSON property `error`
1261
+ # @return [Google::Apis::ManagedidentitiesV1beta1::Status]
1262
+ attr_accessor :error
1263
+
1264
+ # Service-specific metadata associated with the operation. It typically contains
1265
+ # progress information and common metadata such as create time. Some services
1266
+ # might not provide such metadata. Any method that returns a long-running
1267
+ # operation should document the metadata type, if any.
1268
+ # Corresponds to the JSON property `metadata`
1269
+ # @return [Hash<String,Object>]
1270
+ attr_accessor :metadata
1271
+
1272
+ # The server-assigned name, which is only unique within the same service that
1273
+ # originally returns it. If you use the default HTTP mapping, the `name` should
1274
+ # be a resource name ending with `operations/`unique_id``.
1275
+ # Corresponds to the JSON property `name`
1276
+ # @return [String]
1277
+ attr_accessor :name
1278
+
1279
+ # The normal response of the operation in case of success. If the original
1280
+ # method returns no data on success, such as `Delete`, the response is `google.
1281
+ # protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
1282
+ # the response should be the resource. For other methods, the response should
1283
+ # have the type `XxxResponse`, where `Xxx` is the original method name. For
1284
+ # example, if the original method name is `TakeSnapshot()`, the inferred
1285
+ # response type is `TakeSnapshotResponse`.
1286
+ # Corresponds to the JSON property `response`
1287
+ # @return [Hash<String,Object>]
1288
+ attr_accessor :response
1289
+
1290
+ def initialize(**args)
1291
+ update!(**args)
1292
+ end
1293
+
1294
+ # Update properties of this object
1295
+ def update!(**args)
1296
+ @done = args[:done] if args.key?(:done)
1297
+ @error = args[:error] if args.key?(:error)
1298
+ @metadata = args[:metadata] if args.key?(:metadata)
1299
+ @name = args[:name] if args.key?(:name)
1300
+ @response = args[:response] if args.key?(:response)
1301
+ end
1302
+ end
1303
+
1304
+ # Represents the metadata of the long-running operation.
1305
+ class OperationMetadata
1306
+ include Google::Apis::Core::Hashable
1307
+
1308
+ # [Output only] API version used to start the operation.
1309
+ # Corresponds to the JSON property `apiVersion`
1310
+ # @return [String]
1311
+ attr_accessor :api_version
1312
+
1313
+ # [Output only] Identifies whether the user has requested cancellation of the
1314
+ # operation. Operations that have successfully been cancelled have Operation.
1315
+ # error value with a google.rpc.Status.code of 1, corresponding to `Code.
1316
+ # CANCELLED`.
1317
+ # Corresponds to the JSON property `cancelRequested`
1318
+ # @return [Boolean]
1319
+ attr_accessor :cancel_requested
1320
+ alias_method :cancel_requested?, :cancel_requested
1321
+
1322
+ # [Output only] The time the operation was created.
1323
+ # Corresponds to the JSON property `createTime`
1324
+ # @return [String]
1325
+ attr_accessor :create_time
1326
+
1327
+ # [Output only] The time the operation finished running.
1328
+ # Corresponds to the JSON property `endTime`
1329
+ # @return [String]
1330
+ attr_accessor :end_time
1331
+
1332
+ # [Output only] Human-readable status of the operation, if any.
1333
+ # Corresponds to the JSON property `statusDetail`
1334
+ # @return [String]
1335
+ attr_accessor :status_detail
1336
+
1337
+ # [Output only] Server-defined resource path for the target of the operation.
1338
+ # Corresponds to the JSON property `target`
1339
+ # @return [String]
1340
+ attr_accessor :target
1341
+
1342
+ # [Output only] Name of the verb executed by the operation.
1343
+ # Corresponds to the JSON property `verb`
1344
+ # @return [String]
1345
+ attr_accessor :verb
1346
+
1347
+ def initialize(**args)
1348
+ update!(**args)
1349
+ end
1350
+
1351
+ # Update properties of this object
1352
+ def update!(**args)
1353
+ @api_version = args[:api_version] if args.key?(:api_version)
1354
+ @cancel_requested = args[:cancel_requested] if args.key?(:cancel_requested)
1355
+ @create_time = args[:create_time] if args.key?(:create_time)
1356
+ @end_time = args[:end_time] if args.key?(:end_time)
1357
+ @status_detail = args[:status_detail] if args.key?(:status_detail)
1358
+ @target = args[:target] if args.key?(:target)
1359
+ @verb = args[:verb] if args.key?(:verb)
1360
+ end
1361
+ end
1362
+
1363
+ # An Identity and Access Management (IAM) policy, which specifies access
1364
+ # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
1365
+ # A `binding` binds one or more `members` to a single `role`. Members can be
1366
+ # user accounts, service accounts, Google groups, and domains (such as G Suite).
1367
+ # A `role` is a named list of permissions; each `role` can be an IAM predefined
1368
+ # role or a user-created custom role. For some types of Google Cloud resources,
1369
+ # a `binding` can also specify a `condition`, which is a logical expression that
1370
+ # allows access to a resource only if the expression evaluates to `true`. A
1371
+ # condition can add constraints based on attributes of the request, the resource,
1372
+ # or both. To learn which resources support conditions in their IAM policies,
1373
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
1374
+ # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
1375
+ # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
1376
+ # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
1377
+ # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
1378
+ # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
1379
+ # title": "expirable access", "description": "Does not grant access after Sep
1380
+ # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
1381
+ # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
1382
+ # members: - user:mike@example.com - group:admins@example.com - domain:google.
1383
+ # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
1384
+ # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
1385
+ # roles/resourcemanager.organizationViewer condition: title: expirable access
1386
+ # description: Does not grant access after Sep 2020 expression: request.time <
1387
+ # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
1388
+ # description of IAM and its features, see the [IAM documentation](https://cloud.
1389
+ # google.com/iam/docs/).
1390
+ class Policy
1391
+ include Google::Apis::Core::Hashable
1392
+
1393
+ # Associates a list of `members` to a `role`. Optionally, may specify a `
1394
+ # condition` that determines how and when the `bindings` are applied. Each of
1395
+ # the `bindings` must contain at least one member.
1396
+ # Corresponds to the JSON property `bindings`
1397
+ # @return [Array<Google::Apis::ManagedidentitiesV1beta1::Binding>]
1398
+ attr_accessor :bindings
1399
+
1400
+ # `etag` is used for optimistic concurrency control as a way to help prevent
1401
+ # simultaneous updates of a policy from overwriting each other. It is strongly
1402
+ # suggested that systems make use of the `etag` in the read-modify-write cycle
1403
+ # to perform policy updates in order to avoid race conditions: An `etag` is
1404
+ # returned in the response to `getIamPolicy`, and systems are expected to put
1405
+ # that etag in the request to `setIamPolicy` to ensure that their change will be
1406
+ # applied to the same version of the policy. **Important:** If you use IAM
1407
+ # Conditions, you must include the `etag` field whenever you call `setIamPolicy`.
1408
+ # If you omit this field, then IAM allows you to overwrite a version `3` policy
1409
+ # with a version `1` policy, and all of the conditions in the version `3` policy
1410
+ # are lost.
1411
+ # Corresponds to the JSON property `etag`
1412
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
1413
+ # @return [String]
1414
+ attr_accessor :etag
1415
+
1416
+ # Specifies the format of the policy. Valid values are `0`, `1`, and `3`.
1417
+ # Requests that specify an invalid value are rejected. Any operation that
1418
+ # affects conditional role bindings must specify version `3`. This requirement
1419
+ # applies to the following operations: * Getting a policy that includes a
1420
+ # conditional role binding * Adding a conditional role binding to a policy *
1421
+ # Changing a conditional role binding in a policy * Removing any role binding,
1422
+ # with or without a condition, from a policy that includes conditions **
1423
+ # Important:** If you use IAM Conditions, you must include the `etag` field
1424
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
1425
+ # to overwrite a version `3` policy with a version `1` policy, and all of the
1426
+ # conditions in the version `3` policy are lost. If a policy does not include
1427
+ # any conditions, operations on that policy may specify any valid version or
1428
+ # leave the field unset. To learn which resources support conditions in their
1429
+ # IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/
1430
+ # conditions/resource-policies).
1431
+ # Corresponds to the JSON property `version`
1432
+ # @return [Fixnum]
1433
+ attr_accessor :version
1434
+
1435
+ def initialize(**args)
1436
+ update!(**args)
1437
+ end
1438
+
1439
+ # Update properties of this object
1440
+ def update!(**args)
1441
+ @bindings = args[:bindings] if args.key?(:bindings)
1442
+ @etag = args[:etag] if args.key?(:etag)
1443
+ @version = args[:version] if args.key?(:version)
1444
+ end
1445
+ end
1446
+
1447
+ # Request message for ReconfigureTrust
1448
+ class ReconfigureTrustRequest
1449
+ include Google::Apis::Core::Hashable
1450
+
1451
+ # Required. The target DNS server IP addresses to resolve the remote domain
1452
+ # involved in the trust.
1453
+ # Corresponds to the JSON property `targetDnsIpAddresses`
1454
+ # @return [Array<String>]
1455
+ attr_accessor :target_dns_ip_addresses
1456
+
1457
+ # Required. The fully-qualified target domain name which will be in trust with
1458
+ # current domain.
1459
+ # Corresponds to the JSON property `targetDomainName`
1460
+ # @return [String]
1461
+ attr_accessor :target_domain_name
1462
+
1463
+ def initialize(**args)
1464
+ update!(**args)
1465
+ end
1466
+
1467
+ # Update properties of this object
1468
+ def update!(**args)
1469
+ @target_dns_ip_addresses = args[:target_dns_ip_addresses] if args.key?(:target_dns_ip_addresses)
1470
+ @target_domain_name = args[:target_domain_name] if args.key?(:target_domain_name)
1471
+ end
1472
+ end
1473
+
1474
+ # Request message for ResetAdminPassword
1475
+ class ResetAdminPasswordRequest
1476
+ include Google::Apis::Core::Hashable
1477
+
1478
+ def initialize(**args)
1479
+ update!(**args)
1480
+ end
1481
+
1482
+ # Update properties of this object
1483
+ def update!(**args)
1484
+ end
1485
+ end
1486
+
1487
+ # Response message for ResetAdminPassword
1488
+ class ResetAdminPasswordResponse
1489
+ include Google::Apis::Core::Hashable
1490
+
1491
+ # A random password. See admin for more information.
1492
+ # Corresponds to the JSON property `password`
1493
+ # @return [String]
1494
+ attr_accessor :password
1495
+
1496
+ def initialize(**args)
1497
+ update!(**args)
1498
+ end
1499
+
1500
+ # Update properties of this object
1501
+ def update!(**args)
1502
+ @password = args[:password] if args.key?(:password)
1503
+ end
1504
+ end
1505
+
1506
+ # Represents the SQL instance integrated with AD.
1507
+ class SqlIntegration
1508
+ include Google::Apis::Core::Hashable
1509
+
1510
+ # Output only. The time sql integration was created. Synthetic field is
1511
+ # populated automatically by CCFE.
1512
+ # Corresponds to the JSON property `createTime`
1513
+ # @return [String]
1514
+ attr_accessor :create_time
1515
+
1516
+ # The unique name of the sql integration in the form of `projects/`project_id`/
1517
+ # locations/global/domains/`domain_name`/sqlIntegrations/`sql_integration``
1518
+ # Corresponds to the JSON property `name`
1519
+ # @return [String]
1520
+ attr_accessor :name
1521
+
1522
+ # The full resource name of an integrated sql instance TODO(b/161918255) Add
1523
+ # resource type annotation post CloudSQL API fix.
1524
+ # Corresponds to the JSON property `sqlInstance`
1525
+ # @return [String]
1526
+ attr_accessor :sql_instance
1527
+
1528
+ # Output only. The current state of the sql integration.
1529
+ # Corresponds to the JSON property `state`
1530
+ # @return [String]
1531
+ attr_accessor :state
1532
+
1533
+ # Output only. The time sql integration was updated. Synthetic field is
1534
+ # populated automatically by CCFE.
1535
+ # Corresponds to the JSON property `updateTime`
1536
+ # @return [String]
1537
+ attr_accessor :update_time
1538
+
1539
+ def initialize(**args)
1540
+ update!(**args)
1541
+ end
1542
+
1543
+ # Update properties of this object
1544
+ def update!(**args)
1545
+ @create_time = args[:create_time] if args.key?(:create_time)
1546
+ @name = args[:name] if args.key?(:name)
1547
+ @sql_instance = args[:sql_instance] if args.key?(:sql_instance)
1548
+ @state = args[:state] if args.key?(:state)
1549
+ @update_time = args[:update_time] if args.key?(:update_time)
1550
+ end
1551
+ end
1552
+
1553
+ # Configure the schedule.
1554
+ class Schedule
1555
+ include Google::Apis::Core::Hashable
1556
+
1557
+ # Allows to define schedule that runs specified day of the week.
1558
+ # Corresponds to the JSON property `day`
1559
+ # @return [String]
1560
+ attr_accessor :day
1561
+
1562
+ # Output only. Duration of the time window, set by service producer.
1563
+ # Corresponds to the JSON property `duration`
1564
+ # @return [String]
1565
+ attr_accessor :duration
1566
+
1567
+ # Represents a time of day. The date and time zone are either not significant or
1568
+ # are specified elsewhere. An API may choose to allow leap seconds. Related
1569
+ # types are google.type.Date and `google.protobuf.Timestamp`.
1570
+ # Corresponds to the JSON property `startTime`
1571
+ # @return [Google::Apis::ManagedidentitiesV1beta1::TimeOfDay]
1572
+ attr_accessor :start_time
1573
+
1574
+ def initialize(**args)
1575
+ update!(**args)
1576
+ end
1577
+
1578
+ # Update properties of this object
1579
+ def update!(**args)
1580
+ @day = args[:day] if args.key?(:day)
1581
+ @duration = args[:duration] if args.key?(:duration)
1582
+ @start_time = args[:start_time] if args.key?(:start_time)
1583
+ end
1584
+ end
1585
+
1586
+ # Request message for `SetIamPolicy` method.
1587
+ class SetIamPolicyRequest
1588
+ include Google::Apis::Core::Hashable
1589
+
1590
+ # An Identity and Access Management (IAM) policy, which specifies access
1591
+ # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
1592
+ # A `binding` binds one or more `members` to a single `role`. Members can be
1593
+ # user accounts, service accounts, Google groups, and domains (such as G Suite).
1594
+ # A `role` is a named list of permissions; each `role` can be an IAM predefined
1595
+ # role or a user-created custom role. For some types of Google Cloud resources,
1596
+ # a `binding` can also specify a `condition`, which is a logical expression that
1597
+ # allows access to a resource only if the expression evaluates to `true`. A
1598
+ # condition can add constraints based on attributes of the request, the resource,
1599
+ # or both. To learn which resources support conditions in their IAM policies,
1600
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
1601
+ # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
1602
+ # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
1603
+ # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
1604
+ # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
1605
+ # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
1606
+ # title": "expirable access", "description": "Does not grant access after Sep
1607
+ # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
1608
+ # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
1609
+ # members: - user:mike@example.com - group:admins@example.com - domain:google.
1610
+ # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
1611
+ # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
1612
+ # roles/resourcemanager.organizationViewer condition: title: expirable access
1613
+ # description: Does not grant access after Sep 2020 expression: request.time <
1614
+ # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
1615
+ # description of IAM and its features, see the [IAM documentation](https://cloud.
1616
+ # google.com/iam/docs/).
1617
+ # Corresponds to the JSON property `policy`
1618
+ # @return [Google::Apis::ManagedidentitiesV1beta1::Policy]
1619
+ attr_accessor :policy
1620
+
1621
+ def initialize(**args)
1622
+ update!(**args)
1623
+ end
1624
+
1625
+ # Update properties of this object
1626
+ def update!(**args)
1627
+ @policy = args[:policy] if args.key?(:policy)
1628
+ end
1629
+ end
1630
+
1631
+ # The `Status` type defines a logical error model that is suitable for different
1632
+ # programming environments, including REST APIs and RPC APIs. It is used by [
1633
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
1634
+ # data: error code, error message, and error details. You can find out more
1635
+ # about this error model and how to work with it in the [API Design Guide](https:
1636
+ # //cloud.google.com/apis/design/errors).
1637
+ class Status
1638
+ include Google::Apis::Core::Hashable
1639
+
1640
+ # The status code, which should be an enum value of google.rpc.Code.
1641
+ # Corresponds to the JSON property `code`
1642
+ # @return [Fixnum]
1643
+ attr_accessor :code
1644
+
1645
+ # A list of messages that carry the error details. There is a common set of
1646
+ # message types for APIs to use.
1647
+ # Corresponds to the JSON property `details`
1648
+ # @return [Array<Hash<String,Object>>]
1649
+ attr_accessor :details
1650
+
1651
+ # A developer-facing error message, which should be in English. Any user-facing
1652
+ # error message should be localized and sent in the google.rpc.Status.details
1653
+ # field, or localized by the client.
1654
+ # Corresponds to the JSON property `message`
1655
+ # @return [String]
1656
+ attr_accessor :message
1657
+
1658
+ def initialize(**args)
1659
+ update!(**args)
1660
+ end
1661
+
1662
+ # Update properties of this object
1663
+ def update!(**args)
1664
+ @code = args[:code] if args.key?(:code)
1665
+ @details = args[:details] if args.key?(:details)
1666
+ @message = args[:message] if args.key?(:message)
1667
+ end
1668
+ end
1669
+
1670
+ # Request message for `TestIamPermissions` method.
1671
+ class TestIamPermissionsRequest
1672
+ include Google::Apis::Core::Hashable
1673
+
1674
+ # The set of permissions to check for the `resource`. Permissions with wildcards
1675
+ # (such as '*' or 'storage.*') are not allowed. For more information see [IAM
1676
+ # Overview](https://cloud.google.com/iam/docs/overview#permissions).
1677
+ # Corresponds to the JSON property `permissions`
1678
+ # @return [Array<String>]
1679
+ attr_accessor :permissions
1680
+
1681
+ def initialize(**args)
1682
+ update!(**args)
1683
+ end
1684
+
1685
+ # Update properties of this object
1686
+ def update!(**args)
1687
+ @permissions = args[:permissions] if args.key?(:permissions)
1688
+ end
1689
+ end
1690
+
1691
+ # Response message for `TestIamPermissions` method.
1692
+ class TestIamPermissionsResponse
1693
+ include Google::Apis::Core::Hashable
1694
+
1695
+ # A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
1696
+ # Corresponds to the JSON property `permissions`
1697
+ # @return [Array<String>]
1698
+ attr_accessor :permissions
1699
+
1700
+ def initialize(**args)
1701
+ update!(**args)
1702
+ end
1703
+
1704
+ # Update properties of this object
1705
+ def update!(**args)
1706
+ @permissions = args[:permissions] if args.key?(:permissions)
1707
+ end
1708
+ end
1709
+
1710
+ # Represents a time of day. The date and time zone are either not significant or
1711
+ # are specified elsewhere. An API may choose to allow leap seconds. Related
1712
+ # types are google.type.Date and `google.protobuf.Timestamp`.
1713
+ class TimeOfDay
1714
+ include Google::Apis::Core::Hashable
1715
+
1716
+ # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to
1717
+ # allow the value "24:00:00" for scenarios like business closing time.
1718
+ # Corresponds to the JSON property `hours`
1719
+ # @return [Fixnum]
1720
+ attr_accessor :hours
1721
+
1722
+ # Minutes of hour of day. Must be from 0 to 59.
1723
+ # Corresponds to the JSON property `minutes`
1724
+ # @return [Fixnum]
1725
+ attr_accessor :minutes
1726
+
1727
+ # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
1728
+ # Corresponds to the JSON property `nanos`
1729
+ # @return [Fixnum]
1730
+ attr_accessor :nanos
1731
+
1732
+ # Seconds of minutes of the time. Must normally be from 0 to 59. An API may
1733
+ # allow the value 60 if it allows leap-seconds.
1734
+ # Corresponds to the JSON property `seconds`
1735
+ # @return [Fixnum]
1736
+ attr_accessor :seconds
1737
+
1738
+ def initialize(**args)
1739
+ update!(**args)
1740
+ end
1741
+
1742
+ # Update properties of this object
1743
+ def update!(**args)
1744
+ @hours = args[:hours] if args.key?(:hours)
1745
+ @minutes = args[:minutes] if args.key?(:minutes)
1746
+ @nanos = args[:nanos] if args.key?(:nanos)
1747
+ @seconds = args[:seconds] if args.key?(:seconds)
1748
+ end
1749
+ end
1750
+
1751
+ # Represents a relationship between two domains. This allows a controller in one
1752
+ # domain to authenticate a user in another domain.
1753
+ class TrustProp
1754
+ include Google::Apis::Core::Hashable
1755
+
1756
+ # Output only. The time the instance was created.
1757
+ # Corresponds to the JSON property `createTime`
1758
+ # @return [String]
1759
+ attr_accessor :create_time
1760
+
1761
+ # Output only. The last heartbeat time when the trust was known to be connected.
1762
+ # Corresponds to the JSON property `lastTrustHeartbeatTime`
1763
+ # @return [String]
1764
+ attr_accessor :last_trust_heartbeat_time
1765
+
1766
+ # The trust authentication type, which decides whether the trusted side has
1767
+ # forest/domain wide access or selective access to an approved set of resources.
1768
+ # Corresponds to the JSON property `selectiveAuthentication`
1769
+ # @return [Boolean]
1770
+ attr_accessor :selective_authentication
1771
+ alias_method :selective_authentication?, :selective_authentication
1772
+
1773
+ # Output only. The current state of the trust.
1774
+ # Corresponds to the JSON property `state`
1775
+ # @return [String]
1776
+ attr_accessor :state
1777
+
1778
+ # Output only. Additional information about the current state of the trust, if
1779
+ # available.
1780
+ # Corresponds to the JSON property `stateDescription`
1781
+ # @return [String]
1782
+ attr_accessor :state_description
1783
+
1784
+ # The target DNS server IP addresses which can resolve the remote domain
1785
+ # involved in the trust.
1786
+ # Corresponds to the JSON property `targetDnsIpAddresses`
1787
+ # @return [Array<String>]
1788
+ attr_accessor :target_dns_ip_addresses
1789
+
1790
+ # The fully qualified target domain name which will be in trust with the current
1791
+ # domain.
1792
+ # Corresponds to the JSON property `targetDomainName`
1793
+ # @return [String]
1794
+ attr_accessor :target_domain_name
1795
+
1796
+ # The trust direction, which decides if the current domain is trusted, trusting,
1797
+ # or both.
1798
+ # Corresponds to the JSON property `trustDirection`
1799
+ # @return [String]
1800
+ attr_accessor :trust_direction
1801
+
1802
+ # Input only. The trust secret used for the handshake with the target domain. It
1803
+ # will not be stored.
1804
+ # Corresponds to the JSON property `trustHandshakeSecret`
1805
+ # @return [String]
1806
+ attr_accessor :trust_handshake_secret
1807
+
1808
+ # The type of trust represented by the trust resource.
1809
+ # Corresponds to the JSON property `trustType`
1810
+ # @return [String]
1811
+ attr_accessor :trust_type
1812
+
1813
+ # Output only. The last update time.
1814
+ # Corresponds to the JSON property `updateTime`
1815
+ # @return [String]
1816
+ attr_accessor :update_time
1817
+
1818
+ def initialize(**args)
1819
+ update!(**args)
1820
+ end
1821
+
1822
+ # Update properties of this object
1823
+ def update!(**args)
1824
+ @create_time = args[:create_time] if args.key?(:create_time)
1825
+ @last_trust_heartbeat_time = args[:last_trust_heartbeat_time] if args.key?(:last_trust_heartbeat_time)
1826
+ @selective_authentication = args[:selective_authentication] if args.key?(:selective_authentication)
1827
+ @state = args[:state] if args.key?(:state)
1828
+ @state_description = args[:state_description] if args.key?(:state_description)
1829
+ @target_dns_ip_addresses = args[:target_dns_ip_addresses] if args.key?(:target_dns_ip_addresses)
1830
+ @target_domain_name = args[:target_domain_name] if args.key?(:target_domain_name)
1831
+ @trust_direction = args[:trust_direction] if args.key?(:trust_direction)
1832
+ @trust_handshake_secret = args[:trust_handshake_secret] if args.key?(:trust_handshake_secret)
1833
+ @trust_type = args[:trust_type] if args.key?(:trust_type)
1834
+ @update_time = args[:update_time] if args.key?(:update_time)
1835
+ end
1836
+ end
1837
+
1838
+ # Maintenance policy applicable to instance updates.
1839
+ class UpdatePolicy
1840
+ include Google::Apis::Core::Hashable
1841
+
1842
+ # Optional. Relative scheduling channel applied to resource.
1843
+ # Corresponds to the JSON property `channel`
1844
+ # @return [String]
1845
+ attr_accessor :channel
1846
+
1847
+ # Deny Maintenance Period that is applied to resource to indicate when
1848
+ # maintenance is forbidden. User can specify zero or more non-overlapping deny
1849
+ # periods. For V1, Maximum number of deny_maintenance_periods is expected to be
1850
+ # one.
1851
+ # Corresponds to the JSON property `denyMaintenancePeriods`
1852
+ # @return [Array<Google::Apis::ManagedidentitiesV1beta1::DenyMaintenancePeriod>]
1853
+ attr_accessor :deny_maintenance_periods
1854
+
1855
+ # MaintenanceWindow definition.
1856
+ # Corresponds to the JSON property `window`
1857
+ # @return [Google::Apis::ManagedidentitiesV1beta1::MaintenanceWindow]
1858
+ attr_accessor :window
1859
+
1860
+ def initialize(**args)
1861
+ update!(**args)
1862
+ end
1863
+
1864
+ # Update properties of this object
1865
+ def update!(**args)
1866
+ @channel = args[:channel] if args.key?(:channel)
1867
+ @deny_maintenance_periods = args[:deny_maintenance_periods] if args.key?(:deny_maintenance_periods)
1868
+ @window = args[:window] if args.key?(:window)
1869
+ end
1870
+ end
1871
+
1872
+ # Request message for ValidateTrust
1873
+ class ValidateTrustRequest
1874
+ include Google::Apis::Core::Hashable
1875
+
1876
+ # Represents a relationship between two domains. This allows a controller in one
1877
+ # domain to authenticate a user in another domain.
1878
+ # Corresponds to the JSON property `trust`
1879
+ # @return [Google::Apis::ManagedidentitiesV1beta1::TrustProp]
1880
+ attr_accessor :trust_prop
1881
+
1882
+ def initialize(**args)
1883
+ update!(**args)
1884
+ end
1885
+
1886
+ # Update properties of this object
1887
+ def update!(**args)
1888
+ @trust_prop = args[:trust_prop] if args.key?(:trust_prop)
1889
+ end
1890
+ end
1891
+
1892
+ # Time window specified for weekly operations.
1893
+ class WeeklyCycle
1894
+ include Google::Apis::Core::Hashable
1895
+
1896
+ # User can specify multiple windows in a week. Minimum of 1 window.
1897
+ # Corresponds to the JSON property `schedule`
1898
+ # @return [Array<Google::Apis::ManagedidentitiesV1beta1::Schedule>]
1899
+ attr_accessor :schedule
1900
+
1901
+ def initialize(**args)
1902
+ update!(**args)
1903
+ end
1904
+
1905
+ # Update properties of this object
1906
+ def update!(**args)
1907
+ @schedule = args[:schedule] if args.key?(:schedule)
1908
+ end
1909
+ end
1910
+ end
1911
+ end
1912
+ end