google-cloud-managed_identities-v1 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.yardopts +12 -0
- data/AUTHENTICATION.md +169 -0
- data/LICENSE.md +203 -0
- data/README.md +75 -0
- data/lib/google-cloud-managed_identities-v1.rb +21 -0
- data/lib/google/cloud/managed_identities/v1.rb +38 -0
- data/lib/google/cloud/managed_identities/v1/managed_identities_service.rb +81 -0
- data/lib/google/cloud/managed_identities/v1/managed_identities_service/client.rb +1160 -0
- data/lib/google/cloud/managed_identities/v1/managed_identities_service/credentials.rb +51 -0
- data/lib/google/cloud/managed_identities/v1/managed_identities_service/operations.rb +570 -0
- data/lib/google/cloud/managed_identities/v1/managed_identities_service/paths.rb +69 -0
- data/lib/google/cloud/managed_identities/v1/version.rb +28 -0
- data/lib/google/cloud/managedidentities/v1/managed_identities_service_pb.rb +97 -0
- data/lib/google/cloud/managedidentities/v1/managed_identities_service_services_pb.rb +96 -0
- data/lib/google/cloud/managedidentities/v1/resource_pb.rb +84 -0
- data/proto_docs/README.md +4 -0
- data/proto_docs/google/api/field_behavior.rb +59 -0
- data/proto_docs/google/api/resource.rb +283 -0
- data/proto_docs/google/cloud/managedidentities/v1/managed_identities_service.rb +253 -0
- data/proto_docs/google/cloud/managedidentities/v1/resource.rb +218 -0
- data/proto_docs/google/longrunning/operations.rb +150 -0
- data/proto_docs/google/protobuf/any.rb +138 -0
- data/proto_docs/google/protobuf/empty.rb +36 -0
- data/proto_docs/google/protobuf/field_mask.rb +229 -0
- data/proto_docs/google/protobuf/timestamp.rb +120 -0
- data/proto_docs/google/rpc/status.rb +46 -0
- metadata +210 -0
@@ -0,0 +1,253 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2020 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Cloud
|
22
|
+
module ManagedIdentities
|
23
|
+
module V1
|
24
|
+
# Represents the metadata of the long-running operation.
|
25
|
+
# @!attribute [r] create_time
|
26
|
+
# @return [::Google::Protobuf::Timestamp]
|
27
|
+
# Output only. The time the operation was created.
|
28
|
+
# @!attribute [r] end_time
|
29
|
+
# @return [::Google::Protobuf::Timestamp]
|
30
|
+
# Output only. The time the operation finished running.
|
31
|
+
# @!attribute [r] target
|
32
|
+
# @return [::String]
|
33
|
+
# Output only. Server-defined resource path for the target of the operation.
|
34
|
+
# @!attribute [r] verb
|
35
|
+
# @return [::String]
|
36
|
+
# Output only. Name of the verb executed by the operation.
|
37
|
+
# @!attribute [r] requested_cancellation
|
38
|
+
# @return [::Boolean]
|
39
|
+
# Output only. Identifies whether the user has requested cancellation
|
40
|
+
# of the operation. Operations that have successfully been cancelled
|
41
|
+
# have [Operation.error][] value with a {::Google::Rpc::Status#code google.rpc.Status.code} of 1,
|
42
|
+
# corresponding to `Code.CANCELLED`.
|
43
|
+
# @!attribute [r] api_version
|
44
|
+
# @return [::String]
|
45
|
+
# Output only. API version used to start the operation.
|
46
|
+
class OpMetadata
|
47
|
+
include ::Google::Protobuf::MessageExts
|
48
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
49
|
+
end
|
50
|
+
|
51
|
+
# Request message for
|
52
|
+
# [CreateMicrosoftAdDomain][google.cloud.managedidentities.v1.CreateMicrosoftAdDomain]
|
53
|
+
# @!attribute [rw] parent
|
54
|
+
# @return [::String]
|
55
|
+
# Required. The resource project name and location using the form:
|
56
|
+
# `projects/{project_id}/locations/global`
|
57
|
+
# @!attribute [rw] domain_name
|
58
|
+
# @return [::String]
|
59
|
+
# Required. The fully qualified domain name.
|
60
|
+
# e.g. mydomain.myorganization.com, with the following restrictions:
|
61
|
+
#
|
62
|
+
# * Must contain only lowercase letters, numbers, periods and hyphens.
|
63
|
+
# * Must start with a letter.
|
64
|
+
# * Must contain between 2-64 characters.
|
65
|
+
# * Must end with a number or a letter.
|
66
|
+
# * Must not start with period.
|
67
|
+
# * First segement length (mydomain form example above) shouldn't exceed
|
68
|
+
# 15 chars.
|
69
|
+
# * The last segment cannot be fully numeric.
|
70
|
+
# * Must be unique within the customer project.
|
71
|
+
# @!attribute [rw] domain
|
72
|
+
# @return [::Google::Cloud::ManagedIdentities::V1::Domain]
|
73
|
+
# Required. A Managed Identity domain resource.
|
74
|
+
class CreateMicrosoftAdDomainRequest
|
75
|
+
include ::Google::Protobuf::MessageExts
|
76
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
77
|
+
end
|
78
|
+
|
79
|
+
# Request message for
|
80
|
+
# [ResetAdminPassword][google.cloud.managedidentities.v1.ResetAdminPassword]
|
81
|
+
# @!attribute [rw] name
|
82
|
+
# @return [::String]
|
83
|
+
# Required. The domain resource name using the form:
|
84
|
+
# `projects/{project_id}/locations/global/domains/{domain_name}`
|
85
|
+
class ResetAdminPasswordRequest
|
86
|
+
include ::Google::Protobuf::MessageExts
|
87
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
88
|
+
end
|
89
|
+
|
90
|
+
# Response message for
|
91
|
+
# [ResetAdminPassword][google.cloud.managedidentities.v1.ResetAdminPassword]
|
92
|
+
# @!attribute [rw] password
|
93
|
+
# @return [::String]
|
94
|
+
# A random password. See {::Google::Cloud::ManagedIdentities::V1::Domain#admin admin} for more information.
|
95
|
+
class ResetAdminPasswordResponse
|
96
|
+
include ::Google::Protobuf::MessageExts
|
97
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
98
|
+
end
|
99
|
+
|
100
|
+
# Request message for
|
101
|
+
# [ListDomains][google.cloud.managedidentities.v1.ListDomains]
|
102
|
+
# @!attribute [rw] parent
|
103
|
+
# @return [::String]
|
104
|
+
# Required. The resource name of the domain location using the form:
|
105
|
+
# `projects/{project_id}/locations/global`
|
106
|
+
# @!attribute [rw] page_size
|
107
|
+
# @return [::Integer]
|
108
|
+
# Optional. The maximum number of items to return.
|
109
|
+
# If not specified, a default value of 1000 will be used.
|
110
|
+
# Regardless of the page_size value, the response may include a partial list.
|
111
|
+
# Callers should rely on a response's
|
112
|
+
# {::Google::Cloud::ManagedIdentities::V1::ListDomainsResponse#next_page_token next_page_token}
|
113
|
+
# to determine if there are additional results to list.
|
114
|
+
# @!attribute [rw] page_token
|
115
|
+
# @return [::String]
|
116
|
+
# Optional. The `next_page_token` value returned from a previous ListDomainsRequest
|
117
|
+
# request, if any.
|
118
|
+
# @!attribute [rw] filter
|
119
|
+
# @return [::String]
|
120
|
+
# Optional. A filter specifying constraints of a list operation.
|
121
|
+
# For example, `Domain.fqdn="mydomain.myorginization"`.
|
122
|
+
# @!attribute [rw] order_by
|
123
|
+
# @return [::String]
|
124
|
+
# Optional. Specifies the ordering of results. See
|
125
|
+
# [Sorting
|
126
|
+
# order](https://cloud.google.com/apis/design/design_patterns#sorting_order)
|
127
|
+
# for more information.
|
128
|
+
class ListDomainsRequest
|
129
|
+
include ::Google::Protobuf::MessageExts
|
130
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
131
|
+
end
|
132
|
+
|
133
|
+
# Response message for
|
134
|
+
# [ListDomains][google.cloud.managedidentities.v1.ListDomains]
|
135
|
+
# @!attribute [rw] domains
|
136
|
+
# @return [::Array<::Google::Cloud::ManagedIdentities::V1::Domain>]
|
137
|
+
# A list of Managed Identities Service domains in the project.
|
138
|
+
# @!attribute [rw] next_page_token
|
139
|
+
# @return [::String]
|
140
|
+
# A token to retrieve the next page of results, or empty if there are no more
|
141
|
+
# results in the list.
|
142
|
+
# @!attribute [rw] unreachable
|
143
|
+
# @return [::Array<::String>]
|
144
|
+
# A list of locations that could not be reached.
|
145
|
+
class ListDomainsResponse
|
146
|
+
include ::Google::Protobuf::MessageExts
|
147
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
148
|
+
end
|
149
|
+
|
150
|
+
# Request message for [GetDomain][google.cloud.managedidentities.v1.GetDomain]
|
151
|
+
# @!attribute [rw] name
|
152
|
+
# @return [::String]
|
153
|
+
# Required. The domain resource name using the form:
|
154
|
+
# `projects/{project_id}/locations/global/domains/{domain_name}`
|
155
|
+
class GetDomainRequest
|
156
|
+
include ::Google::Protobuf::MessageExts
|
157
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
158
|
+
end
|
159
|
+
|
160
|
+
# Request message for
|
161
|
+
# [UpdateDomain][google.cloud.managedidentities.v1.UpdateDomain]
|
162
|
+
# @!attribute [rw] update_mask
|
163
|
+
# @return [::Google::Protobuf::FieldMask]
|
164
|
+
# Required. Mask of fields to update. At least one path must be supplied in this
|
165
|
+
# field. The elements of the repeated paths field may only include
|
166
|
+
# fields from {::Google::Cloud::ManagedIdentities::V1::Domain Domain}:
|
167
|
+
# * `labels`
|
168
|
+
# * `locations`
|
169
|
+
# * `authorized_networks`
|
170
|
+
# @!attribute [rw] domain
|
171
|
+
# @return [::Google::Cloud::ManagedIdentities::V1::Domain]
|
172
|
+
# Required. Domain message with updated fields. Only supported fields specified in
|
173
|
+
# update_mask are updated.
|
174
|
+
class UpdateDomainRequest
|
175
|
+
include ::Google::Protobuf::MessageExts
|
176
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
177
|
+
end
|
178
|
+
|
179
|
+
# Request message for
|
180
|
+
# [DeleteDomain][google.cloud.managedidentities.v1.DeleteDomain]
|
181
|
+
# @!attribute [rw] name
|
182
|
+
# @return [::String]
|
183
|
+
# Required. The domain resource name using the form:
|
184
|
+
# `projects/{project_id}/locations/global/domains/{domain_name}`
|
185
|
+
class DeleteDomainRequest
|
186
|
+
include ::Google::Protobuf::MessageExts
|
187
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
188
|
+
end
|
189
|
+
|
190
|
+
# Request message for
|
191
|
+
# [AttachTrust][google.cloud.managedidentities.v1.AttachTrust]
|
192
|
+
# @!attribute [rw] name
|
193
|
+
# @return [::String]
|
194
|
+
# Required. The resource domain name, project name and location using the form:
|
195
|
+
# `projects/{project_id}/locations/global/domains/{domain_name}`
|
196
|
+
# @!attribute [rw] trust
|
197
|
+
# @return [::Google::Cloud::ManagedIdentities::V1::Trust]
|
198
|
+
# Required. The domain trust resource.
|
199
|
+
class AttachTrustRequest
|
200
|
+
include ::Google::Protobuf::MessageExts
|
201
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
202
|
+
end
|
203
|
+
|
204
|
+
# Request message for
|
205
|
+
# [ReconfigureTrust][google.cloud.managedidentities.v1.ReconfigureTrust]
|
206
|
+
# @!attribute [rw] name
|
207
|
+
# @return [::String]
|
208
|
+
# Required. The resource domain name, project name and location using the form:
|
209
|
+
# `projects/{project_id}/locations/global/domains/{domain_name}`
|
210
|
+
# @!attribute [rw] target_domain_name
|
211
|
+
# @return [::String]
|
212
|
+
# Required. The fully-qualified target domain name which will be in trust with current
|
213
|
+
# domain.
|
214
|
+
# @!attribute [rw] target_dns_ip_addresses
|
215
|
+
# @return [::Array<::String>]
|
216
|
+
# Required. The target DNS server IP addresses to resolve the remote domain involved
|
217
|
+
# in the trust.
|
218
|
+
class ReconfigureTrustRequest
|
219
|
+
include ::Google::Protobuf::MessageExts
|
220
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
221
|
+
end
|
222
|
+
|
223
|
+
# Request message for
|
224
|
+
# [DetachTrust][google.cloud.managedidentities.v1.DetachTrust]
|
225
|
+
# @!attribute [rw] name
|
226
|
+
# @return [::String]
|
227
|
+
# Required. The resource domain name, project name, and location using the form:
|
228
|
+
# `projects/{project_id}/locations/global/domains/{domain_name}`
|
229
|
+
# @!attribute [rw] trust
|
230
|
+
# @return [::Google::Cloud::ManagedIdentities::V1::Trust]
|
231
|
+
# Required. The domain trust resource to removed.
|
232
|
+
class DetachTrustRequest
|
233
|
+
include ::Google::Protobuf::MessageExts
|
234
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
235
|
+
end
|
236
|
+
|
237
|
+
# Request message for
|
238
|
+
# [ValidateTrust][google.cloud.managedidentities.v1.ValidateTrust]
|
239
|
+
# @!attribute [rw] name
|
240
|
+
# @return [::String]
|
241
|
+
# Required. The resource domain name, project name, and location using the form:
|
242
|
+
# `projects/{project_id}/locations/global/domains/{domain_name}`
|
243
|
+
# @!attribute [rw] trust
|
244
|
+
# @return [::Google::Cloud::ManagedIdentities::V1::Trust]
|
245
|
+
# Required. The domain trust to validate trust state for.
|
246
|
+
class ValidateTrustRequest
|
247
|
+
include ::Google::Protobuf::MessageExts
|
248
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
249
|
+
end
|
250
|
+
end
|
251
|
+
end
|
252
|
+
end
|
253
|
+
end
|
@@ -0,0 +1,218 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2020 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Cloud
|
22
|
+
module ManagedIdentities
|
23
|
+
module V1
|
24
|
+
# Represents a managed Microsoft Active Directory domain.
|
25
|
+
# @!attribute [rw] name
|
26
|
+
# @return [::String]
|
27
|
+
# Required. The unique name of the domain using the form:
|
28
|
+
# `projects/{project_id}/locations/global/domains/{domain_name}`.
|
29
|
+
# @!attribute [rw] labels
|
30
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
31
|
+
# Optional. Resource labels that can contain user-provided metadata.
|
32
|
+
# @!attribute [rw] authorized_networks
|
33
|
+
# @return [::Array<::String>]
|
34
|
+
# Optional. The full names of the Google Compute Engine
|
35
|
+
# [networks](/compute/docs/networks-and-firewalls#networks) the domain
|
36
|
+
# instance is connected to. Networks can be added using UpdateDomain.
|
37
|
+
# The domain is only available on networks listed in `authorized_networks`.
|
38
|
+
# If CIDR subnets overlap between networks, domain creation will fail.
|
39
|
+
# @!attribute [rw] reserved_ip_range
|
40
|
+
# @return [::String]
|
41
|
+
# Required. The CIDR range of internal addresses that are reserved for this
|
42
|
+
# domain. Reserved networks must be /24 or larger. Ranges must be
|
43
|
+
# unique and non-overlapping with existing subnets in
|
44
|
+
# [Domain].[authorized_networks].
|
45
|
+
# @!attribute [rw] locations
|
46
|
+
# @return [::Array<::String>]
|
47
|
+
# Required. Locations where domain needs to be provisioned.
|
48
|
+
# [regions][compute/docs/regions-zones/]
|
49
|
+
# e.g. us-west1 or us-east4
|
50
|
+
# Service supports up to 4 locations at once. Each location will use a /26
|
51
|
+
# block.
|
52
|
+
# @!attribute [rw] admin
|
53
|
+
# @return [::String]
|
54
|
+
# Optional. The name of delegated administrator account used to perform
|
55
|
+
# Active Directory operations. If not specified, `setupadmin` will be used.
|
56
|
+
# @!attribute [r] fqdn
|
57
|
+
# @return [::String]
|
58
|
+
# Output only. The fully-qualified domain name of the exposed domain used by
|
59
|
+
# clients to connect to the service. Similar to what would be chosen for an
|
60
|
+
# Active Directory set up on an internal network.
|
61
|
+
# @!attribute [r] create_time
|
62
|
+
# @return [::Google::Protobuf::Timestamp]
|
63
|
+
# Output only. The time the instance was created.
|
64
|
+
# @!attribute [r] update_time
|
65
|
+
# @return [::Google::Protobuf::Timestamp]
|
66
|
+
# Output only. The last update time.
|
67
|
+
# @!attribute [r] state
|
68
|
+
# @return [::Google::Cloud::ManagedIdentities::V1::Domain::State]
|
69
|
+
# Output only. The current state of this domain.
|
70
|
+
# @!attribute [r] status_message
|
71
|
+
# @return [::String]
|
72
|
+
# Output only. Additional information about the current status of this
|
73
|
+
# domain, if available.
|
74
|
+
# @!attribute [r] trusts
|
75
|
+
# @return [::Array<::Google::Cloud::ManagedIdentities::V1::Trust>]
|
76
|
+
# Output only. The current trusts associated with the domain.
|
77
|
+
class Domain
|
78
|
+
include ::Google::Protobuf::MessageExts
|
79
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
80
|
+
|
81
|
+
# @!attribute [rw] key
|
82
|
+
# @return [::String]
|
83
|
+
# @!attribute [rw] value
|
84
|
+
# @return [::String]
|
85
|
+
class LabelsEntry
|
86
|
+
include ::Google::Protobuf::MessageExts
|
87
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
88
|
+
end
|
89
|
+
|
90
|
+
# Represents the different states of a managed domain.
|
91
|
+
module State
|
92
|
+
# Not set.
|
93
|
+
STATE_UNSPECIFIED = 0
|
94
|
+
|
95
|
+
# The domain is being created.
|
96
|
+
CREATING = 1
|
97
|
+
|
98
|
+
# The domain has been created and is fully usable.
|
99
|
+
READY = 2
|
100
|
+
|
101
|
+
# The domain's configuration is being updated.
|
102
|
+
UPDATING = 3
|
103
|
+
|
104
|
+
# The domain is being deleted.
|
105
|
+
DELETING = 4
|
106
|
+
|
107
|
+
# The domain is being repaired and may be unusable. Details
|
108
|
+
# can be found in the `status_message` field.
|
109
|
+
REPAIRING = 5
|
110
|
+
|
111
|
+
# The domain is undergoing maintenance.
|
112
|
+
PERFORMING_MAINTENANCE = 6
|
113
|
+
|
114
|
+
# The domain is not serving requests.
|
115
|
+
UNAVAILABLE = 7
|
116
|
+
end
|
117
|
+
end
|
118
|
+
|
119
|
+
# Represents a relationship between two domains. This allows a controller in
|
120
|
+
# one domain to authenticate a user in another domain.
|
121
|
+
# @!attribute [rw] target_domain_name
|
122
|
+
# @return [::String]
|
123
|
+
# Required. The fully qualified target domain name which will be in trust with the
|
124
|
+
# current domain.
|
125
|
+
# @!attribute [rw] trust_type
|
126
|
+
# @return [::Google::Cloud::ManagedIdentities::V1::Trust::TrustType]
|
127
|
+
# Required. The type of trust represented by the trust resource.
|
128
|
+
# @!attribute [rw] trust_direction
|
129
|
+
# @return [::Google::Cloud::ManagedIdentities::V1::Trust::TrustDirection]
|
130
|
+
# Required. The trust direction, which decides if the current domain is trusted,
|
131
|
+
# trusting, or both.
|
132
|
+
# @!attribute [rw] selective_authentication
|
133
|
+
# @return [::Boolean]
|
134
|
+
# Optional. The trust authentication type, which decides whether the trusted side has
|
135
|
+
# forest/domain wide access or selective access to an approved set of
|
136
|
+
# resources.
|
137
|
+
# @!attribute [rw] target_dns_ip_addresses
|
138
|
+
# @return [::Array<::String>]
|
139
|
+
# Required. The target DNS server IP addresses which can resolve the remote domain
|
140
|
+
# involved in the trust.
|
141
|
+
# @!attribute [rw] trust_handshake_secret
|
142
|
+
# @return [::String]
|
143
|
+
# Required. The trust secret used for the handshake with the target domain. This will
|
144
|
+
# not be stored.
|
145
|
+
# @!attribute [r] create_time
|
146
|
+
# @return [::Google::Protobuf::Timestamp]
|
147
|
+
# Output only. The time the instance was created.
|
148
|
+
# @!attribute [r] update_time
|
149
|
+
# @return [::Google::Protobuf::Timestamp]
|
150
|
+
# Output only. The last update time.
|
151
|
+
# @!attribute [r] state
|
152
|
+
# @return [::Google::Cloud::ManagedIdentities::V1::Trust::State]
|
153
|
+
# Output only. The current state of the trust.
|
154
|
+
# @!attribute [r] state_description
|
155
|
+
# @return [::String]
|
156
|
+
# Output only. Additional information about the current state of the trust, if available.
|
157
|
+
# @!attribute [r] last_trust_heartbeat_time
|
158
|
+
# @return [::Google::Protobuf::Timestamp]
|
159
|
+
# Output only. The last heartbeat time when the trust was known to be connected.
|
160
|
+
class Trust
|
161
|
+
include ::Google::Protobuf::MessageExts
|
162
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
163
|
+
|
164
|
+
# Represents the different states of a domain trust.
|
165
|
+
module State
|
166
|
+
# Not set.
|
167
|
+
STATE_UNSPECIFIED = 0
|
168
|
+
|
169
|
+
# The domain trust is being created.
|
170
|
+
CREATING = 1
|
171
|
+
|
172
|
+
# The domain trust is being updated.
|
173
|
+
UPDATING = 2
|
174
|
+
|
175
|
+
# The domain trust is being deleted.
|
176
|
+
DELETING = 3
|
177
|
+
|
178
|
+
# The domain trust is connected.
|
179
|
+
CONNECTED = 4
|
180
|
+
|
181
|
+
# The domain trust is disconnected.
|
182
|
+
DISCONNECTED = 5
|
183
|
+
end
|
184
|
+
|
185
|
+
# Represents the different inter-forest trust types.
|
186
|
+
module TrustType
|
187
|
+
# Not set.
|
188
|
+
TRUST_TYPE_UNSPECIFIED = 0
|
189
|
+
|
190
|
+
# The forest trust.
|
191
|
+
FOREST = 1
|
192
|
+
|
193
|
+
# The external domain trust.
|
194
|
+
EXTERNAL = 2
|
195
|
+
end
|
196
|
+
|
197
|
+
# Represents the direction of trust.
|
198
|
+
# See
|
199
|
+
# [System.DirectoryServices.ActiveDirectory.TrustDirection](https://docs.microsoft.com/en-us/dotnet/api/system.directoryservices.activedirectory.trustdirection?view=netframework-4.7.2)
|
200
|
+
# for more information.
|
201
|
+
module TrustDirection
|
202
|
+
# Not set.
|
203
|
+
TRUST_DIRECTION_UNSPECIFIED = 0
|
204
|
+
|
205
|
+
# The inbound direction represents the trusting side.
|
206
|
+
INBOUND = 1
|
207
|
+
|
208
|
+
# The outboud direction represents the trusted side.
|
209
|
+
OUTBOUND = 2
|
210
|
+
|
211
|
+
# The bidirectional direction represents the trusted / trusting side.
|
212
|
+
BIDIRECTIONAL = 3
|
213
|
+
end
|
214
|
+
end
|
215
|
+
end
|
216
|
+
end
|
217
|
+
end
|
218
|
+
end
|