google-cloud-service_directory-v1beta1 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +6 -6
- data/README.md +1 -1
- data/lib/google/cloud/service_directory/v1beta1.rb +1 -1
- data/lib/google/cloud/service_directory/v1beta1/lookup_service.rb +1 -1
- data/lib/google/cloud/service_directory/v1beta1/lookup_service/client.rb +55 -55
- data/lib/google/cloud/service_directory/v1beta1/lookup_service/credentials.rb +1 -1
- data/lib/google/cloud/service_directory/v1beta1/lookup_service/paths.rb +4 -4
- data/lib/google/cloud/service_directory/v1beta1/registration_service.rb +4 -4
- data/lib/google/cloud/service_directory/v1beta1/registration_service/client.rb +354 -354
- data/lib/google/cloud/service_directory/v1beta1/registration_service/credentials.rb +1 -1
- data/lib/google/cloud/service_directory/v1beta1/registration_service/paths.rb +14 -14
- data/lib/google/cloud/service_directory/v1beta1/version.rb +1 -1
- data/proto_docs/google/api/resource.rb +12 -12
- data/proto_docs/google/cloud/servicedirectory/v1beta1/endpoint.rb +11 -11
- data/proto_docs/google/cloud/servicedirectory/v1beta1/lookup_service.rb +10 -10
- data/proto_docs/google/cloud/servicedirectory/v1beta1/namespace.rb +9 -9
- data/proto_docs/google/cloud/servicedirectory/v1beta1/registration_service.rb +96 -96
- data/proto_docs/google/cloud/servicedirectory/v1beta1/service.rb +10 -10
- data/proto_docs/google/iam/v1/iam_policy.rb +15 -15
- data/proto_docs/google/iam/v1/options.rb +3 -3
- data/proto_docs/google/iam/v1/policy.rb +26 -26
- data/proto_docs/google/protobuf/empty.rb +2 -2
- data/proto_docs/google/protobuf/field_mask.rb +3 -3
- data/proto_docs/google/type/expr.rb +6 -6
- metadata +2 -2
@@ -23,33 +23,33 @@ module Google
|
|
23
23
|
module V1beta1
|
24
24
|
# An individual service. A service contains a name and optional metadata.
|
25
25
|
# A service must exist before
|
26
|
-
# {Google::Cloud::ServiceDirectory::V1beta1::Endpoint endpoints} can be
|
26
|
+
# {::Google::Cloud::ServiceDirectory::V1beta1::Endpoint endpoints} can be
|
27
27
|
# added to it.
|
28
28
|
# @!attribute [rw] name
|
29
|
-
# @return [String]
|
29
|
+
# @return [::String]
|
30
30
|
# Immutable. The resource name for the service in the format
|
31
31
|
# 'projects/*/locations/*/namespaces/*/services/*'.
|
32
32
|
# @!attribute [rw] metadata
|
33
|
-
# @return [Google::Protobuf::Map{String => String}]
|
33
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
34
34
|
# Optional. Metadata for the service. This data can be consumed by service
|
35
35
|
# clients. The entire metadata dictionary may contain up to 2000 characters,
|
36
36
|
# spread across all key-value pairs. Metadata that goes beyond any these
|
37
37
|
# limits will be rejected.
|
38
38
|
# @!attribute [r] endpoints
|
39
|
-
# @return [Array
|
39
|
+
# @return [::Array<::Google::Cloud::ServiceDirectory::V1beta1::Endpoint>]
|
40
40
|
# Output only. Endpoints associated with this service. Returned on LookupService.Resolve.
|
41
41
|
# Control plane clients should use RegistrationService.ListEndpoints.
|
42
42
|
class Service
|
43
|
-
include Google::Protobuf::MessageExts
|
44
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
43
|
+
include ::Google::Protobuf::MessageExts
|
44
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
45
45
|
|
46
46
|
# @!attribute [rw] key
|
47
|
-
# @return [String]
|
47
|
+
# @return [::String]
|
48
48
|
# @!attribute [rw] value
|
49
|
-
# @return [String]
|
49
|
+
# @return [::String]
|
50
50
|
class MetadataEntry
|
51
|
-
include Google::Protobuf::MessageExts
|
52
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
51
|
+
include ::Google::Protobuf::MessageExts
|
52
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
53
53
|
end
|
54
54
|
end
|
55
55
|
end
|
@@ -22,58 +22,58 @@ module Google
|
|
22
22
|
module V1
|
23
23
|
# Request message for `SetIamPolicy` method.
|
24
24
|
# @!attribute [rw] resource
|
25
|
-
# @return [String]
|
25
|
+
# @return [::String]
|
26
26
|
# REQUIRED: The resource for which the policy is being specified.
|
27
27
|
# See the operation documentation for the appropriate value for this field.
|
28
28
|
# @!attribute [rw] policy
|
29
|
-
# @return [Google::Iam::V1::Policy]
|
29
|
+
# @return [::Google::Iam::V1::Policy]
|
30
30
|
# REQUIRED: The complete policy to be applied to the `resource`. The size of
|
31
31
|
# the policy is limited to a few 10s of KB. An empty policy is a
|
32
32
|
# valid policy but certain Cloud Platform services (such as Projects)
|
33
33
|
# might reject them.
|
34
34
|
class SetIamPolicyRequest
|
35
|
-
include Google::Protobuf::MessageExts
|
36
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
35
|
+
include ::Google::Protobuf::MessageExts
|
36
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
37
37
|
end
|
38
38
|
|
39
39
|
# Request message for `GetIamPolicy` method.
|
40
40
|
# @!attribute [rw] resource
|
41
|
-
# @return [String]
|
41
|
+
# @return [::String]
|
42
42
|
# REQUIRED: The resource for which the policy is being requested.
|
43
43
|
# See the operation documentation for the appropriate value for this field.
|
44
44
|
# @!attribute [rw] options
|
45
|
-
# @return [Google::Iam::V1::GetPolicyOptions]
|
45
|
+
# @return [::Google::Iam::V1::GetPolicyOptions]
|
46
46
|
# OPTIONAL: A `GetPolicyOptions` object for specifying options to
|
47
47
|
# `GetIamPolicy`. This field is only used by Cloud IAM.
|
48
48
|
class GetIamPolicyRequest
|
49
|
-
include Google::Protobuf::MessageExts
|
50
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
49
|
+
include ::Google::Protobuf::MessageExts
|
50
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
51
51
|
end
|
52
52
|
|
53
53
|
# Request message for `TestIamPermissions` method.
|
54
54
|
# @!attribute [rw] resource
|
55
|
-
# @return [String]
|
55
|
+
# @return [::String]
|
56
56
|
# REQUIRED: The resource for which the policy detail is being requested.
|
57
57
|
# See the operation documentation for the appropriate value for this field.
|
58
58
|
# @!attribute [rw] permissions
|
59
|
-
# @return [Array
|
59
|
+
# @return [::Array<::String>]
|
60
60
|
# The set of permissions to check for the `resource`. Permissions with
|
61
61
|
# wildcards (such as '*' or 'storage.*') are not allowed. For more
|
62
62
|
# information see
|
63
63
|
# [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
64
64
|
class TestIamPermissionsRequest
|
65
|
-
include Google::Protobuf::MessageExts
|
66
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
65
|
+
include ::Google::Protobuf::MessageExts
|
66
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
67
67
|
end
|
68
68
|
|
69
69
|
# Response message for `TestIamPermissions` method.
|
70
70
|
# @!attribute [rw] permissions
|
71
|
-
# @return [Array
|
71
|
+
# @return [::Array<::String>]
|
72
72
|
# A subset of `TestPermissionsRequest.permissions` that the caller is
|
73
73
|
# allowed.
|
74
74
|
class TestIamPermissionsResponse
|
75
|
-
include Google::Protobuf::MessageExts
|
76
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
75
|
+
include ::Google::Protobuf::MessageExts
|
76
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
77
77
|
end
|
78
78
|
end
|
79
79
|
end
|
@@ -22,7 +22,7 @@ module Google
|
|
22
22
|
module V1
|
23
23
|
# Encapsulates settings provided to GetIamPolicy.
|
24
24
|
# @!attribute [rw] requested_policy_version
|
25
|
-
# @return [Integer]
|
25
|
+
# @return [::Integer]
|
26
26
|
# Optional. The policy format version to be returned.
|
27
27
|
#
|
28
28
|
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
@@ -32,8 +32,8 @@ module Google
|
|
32
32
|
# Policies without any conditional bindings may specify any valid value or
|
33
33
|
# leave the field unset.
|
34
34
|
class GetPolicyOptions
|
35
|
-
include Google::Protobuf::MessageExts
|
36
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
35
|
+
include ::Google::Protobuf::MessageExts
|
36
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
37
37
|
end
|
38
38
|
end
|
39
39
|
end
|
@@ -78,7 +78,7 @@ module Google
|
|
78
78
|
# For a description of IAM and its features, see the
|
79
79
|
# [IAM developer's guide](https://cloud.google.com/iam/docs).
|
80
80
|
# @!attribute [rw] version
|
81
|
-
# @return [Integer]
|
81
|
+
# @return [::Integer]
|
82
82
|
# Specifies the format of the policy.
|
83
83
|
#
|
84
84
|
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
@@ -94,12 +94,12 @@ module Google
|
|
94
94
|
# If no etag is provided in the call to `setIamPolicy`, version compliance
|
95
95
|
# checks against the stored policy is skipped.
|
96
96
|
# @!attribute [rw] bindings
|
97
|
-
# @return [Array
|
97
|
+
# @return [::Array<::Google::Iam::V1::Binding>]
|
98
98
|
# Associates a list of `members` to a `role`. Optionally may specify a
|
99
99
|
# `condition` that determines when binding is in effect.
|
100
100
|
# `bindings` with no members will result in an error.
|
101
101
|
# @!attribute [rw] etag
|
102
|
-
# @return [String]
|
102
|
+
# @return [::String]
|
103
103
|
# `etag` is used for optimistic concurrency control as a way to help
|
104
104
|
# prevent simultaneous updates of a policy from overwriting each other.
|
105
105
|
# It is strongly suggested that systems make use of the `etag` in the
|
@@ -113,17 +113,17 @@ module Google
|
|
113
113
|
# 'setIamPolicy' will not fail even if the incoming policy version does not
|
114
114
|
# meet the requirements for modifying the stored policy.
|
115
115
|
class Policy
|
116
|
-
include Google::Protobuf::MessageExts
|
117
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
116
|
+
include ::Google::Protobuf::MessageExts
|
117
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
118
118
|
end
|
119
119
|
|
120
120
|
# Associates `members` with a `role`.
|
121
121
|
# @!attribute [rw] role
|
122
|
-
# @return [String]
|
122
|
+
# @return [::String]
|
123
123
|
# Role that is assigned to `members`.
|
124
124
|
# For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
|
125
125
|
# @!attribute [rw] members
|
126
|
-
# @return [Array
|
126
|
+
# @return [::Array<::String>]
|
127
127
|
# Specifies the identities requesting access for a Cloud Platform resource.
|
128
128
|
# `members` can have the following values:
|
129
129
|
#
|
@@ -147,50 +147,50 @@ module Google
|
|
147
147
|
# * `domain:{domain}`: The G Suite domain (primary) that represents all the
|
148
148
|
# users of that domain. For example, `google.com` or `example.com`.
|
149
149
|
# @!attribute [rw] condition
|
150
|
-
# @return [Google::Type::Expr]
|
150
|
+
# @return [::Google::Type::Expr]
|
151
151
|
# The condition that is associated with this binding.
|
152
152
|
# NOTE: An unsatisfied condition will not allow user access via current
|
153
153
|
# binding. Different bindings, including their conditions, are examined
|
154
154
|
# independently.
|
155
155
|
class Binding
|
156
|
-
include Google::Protobuf::MessageExts
|
157
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
156
|
+
include ::Google::Protobuf::MessageExts
|
157
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
158
158
|
end
|
159
159
|
|
160
160
|
# The difference delta between two policies.
|
161
161
|
# @!attribute [rw] binding_deltas
|
162
|
-
# @return [Array
|
162
|
+
# @return [::Array<::Google::Iam::V1::BindingDelta>]
|
163
163
|
# The delta for Bindings between two policies.
|
164
164
|
# @!attribute [rw] audit_config_deltas
|
165
|
-
# @return [Array
|
165
|
+
# @return [::Array<::Google::Iam::V1::AuditConfigDelta>]
|
166
166
|
# The delta for AuditConfigs between two policies.
|
167
167
|
class PolicyDelta
|
168
|
-
include Google::Protobuf::MessageExts
|
169
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
168
|
+
include ::Google::Protobuf::MessageExts
|
169
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
170
170
|
end
|
171
171
|
|
172
172
|
# One delta entry for Binding. Each individual change (only one member in each
|
173
173
|
# entry) to a binding will be a separate entry.
|
174
174
|
# @!attribute [rw] action
|
175
|
-
# @return [Google::Iam::V1::BindingDelta::Action]
|
175
|
+
# @return [::Google::Iam::V1::BindingDelta::Action]
|
176
176
|
# The action that was performed on a Binding.
|
177
177
|
# Required
|
178
178
|
# @!attribute [rw] role
|
179
|
-
# @return [String]
|
179
|
+
# @return [::String]
|
180
180
|
# Role that is assigned to `members`.
|
181
181
|
# For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
|
182
182
|
# Required
|
183
183
|
# @!attribute [rw] member
|
184
|
-
# @return [String]
|
184
|
+
# @return [::String]
|
185
185
|
# A single identity requesting access for a Cloud Platform resource.
|
186
186
|
# Follows the same format of Binding.members.
|
187
187
|
# Required
|
188
188
|
# @!attribute [rw] condition
|
189
|
-
# @return [Google::Type::Expr]
|
189
|
+
# @return [::Google::Type::Expr]
|
190
190
|
# The condition that is associated with this binding.
|
191
191
|
class BindingDelta
|
192
|
-
include Google::Protobuf::MessageExts
|
193
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
192
|
+
include ::Google::Protobuf::MessageExts
|
193
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
194
194
|
|
195
195
|
# The type of action performed on a Binding in a policy.
|
196
196
|
module Action
|
@@ -208,28 +208,28 @@ module Google
|
|
208
208
|
# One delta entry for AuditConfig. Each individual change (only one
|
209
209
|
# exempted_member in each entry) to a AuditConfig will be a separate entry.
|
210
210
|
# @!attribute [rw] action
|
211
|
-
# @return [Google::Iam::V1::AuditConfigDelta::Action]
|
211
|
+
# @return [::Google::Iam::V1::AuditConfigDelta::Action]
|
212
212
|
# The action that was performed on an audit configuration in a policy.
|
213
213
|
# Required
|
214
214
|
# @!attribute [rw] service
|
215
|
-
# @return [String]
|
215
|
+
# @return [::String]
|
216
216
|
# Specifies a service that was configured for Cloud Audit Logging.
|
217
217
|
# For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
|
218
218
|
# `allServices` is a special value that covers all services.
|
219
219
|
# Required
|
220
220
|
# @!attribute [rw] exempted_member
|
221
|
-
# @return [String]
|
221
|
+
# @return [::String]
|
222
222
|
# A single identity that is exempted from "data access" audit
|
223
223
|
# logging for the `service` specified above.
|
224
224
|
# Follows the same format of Binding.members.
|
225
225
|
# @!attribute [rw] log_type
|
226
|
-
# @return [String]
|
226
|
+
# @return [::String]
|
227
227
|
# Specifies the log_type that was be enabled. ADMIN_ACTIVITY is always
|
228
228
|
# enabled, and cannot be configured.
|
229
229
|
# Required
|
230
230
|
class AuditConfigDelta
|
231
|
-
include Google::Protobuf::MessageExts
|
232
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
231
|
+
include ::Google::Protobuf::MessageExts
|
232
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
233
233
|
|
234
234
|
# The type of action performed on an audit configuration in a policy.
|
235
235
|
module Action
|
@@ -29,8 +29,8 @@ module Google
|
|
29
29
|
#
|
30
30
|
# The JSON representation for `Empty` is empty JSON object `{}`.
|
31
31
|
class Empty
|
32
|
-
include Google::Protobuf::MessageExts
|
33
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
32
|
+
include ::Google::Protobuf::MessageExts
|
33
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
34
34
|
end
|
35
35
|
end
|
36
36
|
end
|
@@ -219,11 +219,11 @@ module Google
|
|
219
219
|
# request should verify the included field paths, and return an
|
220
220
|
# `INVALID_ARGUMENT` error if any path is unmappable.
|
221
221
|
# @!attribute [rw] paths
|
222
|
-
# @return [Array
|
222
|
+
# @return [::Array<::String>]
|
223
223
|
# The set of field mask paths.
|
224
224
|
class FieldMask
|
225
|
-
include Google::Protobuf::MessageExts
|
226
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
225
|
+
include ::Google::Protobuf::MessageExts
|
226
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
227
227
|
end
|
228
228
|
end
|
229
229
|
end
|
@@ -25,28 +25,28 @@ module Google
|
|
25
25
|
# description: "Determines whether the request has a user account"
|
26
26
|
# expression: "size(request.user) > 0"
|
27
27
|
# @!attribute [rw] expression
|
28
|
-
# @return [String]
|
28
|
+
# @return [::String]
|
29
29
|
# Textual representation of an expression in
|
30
30
|
# Common Expression Language syntax.
|
31
31
|
#
|
32
32
|
# The application context of the containing message determines which
|
33
33
|
# well-known feature set of CEL is supported.
|
34
34
|
# @!attribute [rw] title
|
35
|
-
# @return [String]
|
35
|
+
# @return [::String]
|
36
36
|
# An optional title for the expression, i.e. a short string describing
|
37
37
|
# its purpose. This can be used e.g. in UIs which allow to enter the
|
38
38
|
# expression.
|
39
39
|
# @!attribute [rw] description
|
40
|
-
# @return [String]
|
40
|
+
# @return [::String]
|
41
41
|
# An optional description of the expression. This is a longer text which
|
42
42
|
# describes the expression, e.g. when hovered over it in a UI.
|
43
43
|
# @!attribute [rw] location
|
44
|
-
# @return [String]
|
44
|
+
# @return [::String]
|
45
45
|
# An optional string indicating the location of the expression for error
|
46
46
|
# reporting, e.g. a file name and a position in the file.
|
47
47
|
class Expr
|
48
|
-
include Google::Protobuf::MessageExts
|
49
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
48
|
+
include ::Google::Protobuf::MessageExts
|
49
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
50
50
|
end
|
51
51
|
end
|
52
52
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-service_directory-v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-05-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|