google-cloud-service_directory-v1beta1 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (26) hide show
  1. checksums.yaml +4 -4
  2. data/AUTHENTICATION.md +6 -6
  3. data/README.md +1 -1
  4. data/lib/google/cloud/service_directory/v1beta1.rb +1 -1
  5. data/lib/google/cloud/service_directory/v1beta1/lookup_service.rb +1 -1
  6. data/lib/google/cloud/service_directory/v1beta1/lookup_service/client.rb +55 -55
  7. data/lib/google/cloud/service_directory/v1beta1/lookup_service/credentials.rb +1 -1
  8. data/lib/google/cloud/service_directory/v1beta1/lookup_service/paths.rb +4 -4
  9. data/lib/google/cloud/service_directory/v1beta1/registration_service.rb +4 -4
  10. data/lib/google/cloud/service_directory/v1beta1/registration_service/client.rb +354 -354
  11. data/lib/google/cloud/service_directory/v1beta1/registration_service/credentials.rb +1 -1
  12. data/lib/google/cloud/service_directory/v1beta1/registration_service/paths.rb +14 -14
  13. data/lib/google/cloud/service_directory/v1beta1/version.rb +1 -1
  14. data/proto_docs/google/api/resource.rb +12 -12
  15. data/proto_docs/google/cloud/servicedirectory/v1beta1/endpoint.rb +11 -11
  16. data/proto_docs/google/cloud/servicedirectory/v1beta1/lookup_service.rb +10 -10
  17. data/proto_docs/google/cloud/servicedirectory/v1beta1/namespace.rb +9 -9
  18. data/proto_docs/google/cloud/servicedirectory/v1beta1/registration_service.rb +96 -96
  19. data/proto_docs/google/cloud/servicedirectory/v1beta1/service.rb +10 -10
  20. data/proto_docs/google/iam/v1/iam_policy.rb +15 -15
  21. data/proto_docs/google/iam/v1/options.rb +3 -3
  22. data/proto_docs/google/iam/v1/policy.rb +26 -26
  23. data/proto_docs/google/protobuf/empty.rb +2 -2
  24. data/proto_docs/google/protobuf/field_mask.rb +3 -3
  25. data/proto_docs/google/type/expr.rb +6 -6
  26. metadata +2 -2
@@ -24,7 +24,7 @@ module Google
24
24
  module V1beta1
25
25
  module RegistrationService
26
26
  # Credentials for the RegistrationService API.
27
- class Credentials < Google::Auth::Credentials
27
+ class Credentials < ::Google::Auth::Credentials
28
28
  self.scope = [
29
29
  "https://www.googleapis.com/auth/cloud-platform"
30
30
  ]
@@ -37,12 +37,12 @@ module Google
37
37
  # @param service [String]
38
38
  # @param endpoint [String]
39
39
  #
40
- # @return [String]
40
+ # @return [::String]
41
41
  def endpoint_path project:, location:, namespace:, service:, endpoint:
42
- raise ArgumentError, "project cannot contain /" if project.to_s.include? "/"
43
- raise ArgumentError, "location cannot contain /" if location.to_s.include? "/"
44
- raise ArgumentError, "namespace cannot contain /" if namespace.to_s.include? "/"
45
- raise ArgumentError, "service cannot contain /" if service.to_s.include? "/"
42
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
43
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
44
+ raise ::ArgumentError, "namespace cannot contain /" if namespace.to_s.include? "/"
45
+ raise ::ArgumentError, "service cannot contain /" if service.to_s.include? "/"
46
46
 
47
47
  "projects/#{project}/locations/#{location}/namespaces/#{namespace}/services/#{service}/endpoints/#{endpoint}"
48
48
  end
@@ -57,9 +57,9 @@ module Google
57
57
  # @param project [String]
58
58
  # @param location [String]
59
59
  #
60
- # @return [String]
60
+ # @return [::String]
61
61
  def location_path project:, location:
62
- raise ArgumentError, "project cannot contain /" if project.to_s.include? "/"
62
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
63
63
 
64
64
  "projects/#{project}/locations/#{location}"
65
65
  end
@@ -75,10 +75,10 @@ module Google
75
75
  # @param location [String]
76
76
  # @param namespace [String]
77
77
  #
78
- # @return [String]
78
+ # @return [::String]
79
79
  def namespace_path project:, location:, namespace:
80
- raise ArgumentError, "project cannot contain /" if project.to_s.include? "/"
81
- raise ArgumentError, "location cannot contain /" if location.to_s.include? "/"
80
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
81
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
82
82
 
83
83
  "projects/#{project}/locations/#{location}/namespaces/#{namespace}"
84
84
  end
@@ -95,11 +95,11 @@ module Google
95
95
  # @param namespace [String]
96
96
  # @param service [String]
97
97
  #
98
- # @return [String]
98
+ # @return [::String]
99
99
  def service_path project:, location:, namespace:, service:
100
- raise ArgumentError, "project cannot contain /" if project.to_s.include? "/"
101
- raise ArgumentError, "location cannot contain /" if location.to_s.include? "/"
102
- raise ArgumentError, "namespace cannot contain /" if namespace.to_s.include? "/"
100
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
101
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
102
+ raise ::ArgumentError, "namespace cannot contain /" if namespace.to_s.include? "/"
103
103
 
104
104
  "projects/#{project}/locations/#{location}/namespaces/#{namespace}/services/#{service}"
105
105
  end
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module ServiceDirectory
23
23
  module V1beta1
24
- VERSION = "0.3.0"
24
+ VERSION = "0.3.1"
25
25
  end
26
26
  end
27
27
  end
@@ -128,7 +128,7 @@ module Google
128
128
  # - pattern: "shelves/{shelf}"
129
129
  # parent_type: "cloudresourcemanager.googleapis.com/Folder"
130
130
  # @!attribute [rw] type
131
- # @return [String]
131
+ # @return [::String]
132
132
  # The resource type. It must be in the format of
133
133
  # \\{service_name}/\\{resource_type_kind}. The `resource_type_kind` must be
134
134
  # singular and must not include version numbers.
@@ -140,7 +140,7 @@ module Google
140
140
  # should use PascalCase (UpperCamelCase). The maximum number of
141
141
  # characters allowed for the `resource_type_kind` is 100.
142
142
  # @!attribute [rw] pattern
143
- # @return [Array<String>]
143
+ # @return [::Array<::String>]
144
144
  # Optional. The relative resource name pattern associated with this resource
145
145
  # type. The DNS prefix of the full resource name shouldn't be specified here.
146
146
  #
@@ -161,11 +161,11 @@ module Google
161
161
  # the same component name (e.g. "project") refers to IDs of the same
162
162
  # type of resource.
163
163
  # @!attribute [rw] name_field
164
- # @return [String]
164
+ # @return [::String]
165
165
  # Optional. The field on the resource that designates the resource name
166
166
  # field. If omitted, this is assumed to be "name".
167
167
  # @!attribute [rw] history
168
- # @return [Google::Api::ResourceDescriptor::History]
168
+ # @return [::Google::Api::ResourceDescriptor::History]
169
169
  # Optional. The historical or future-looking state of the resource pattern.
170
170
  #
171
171
  # Example:
@@ -182,19 +182,19 @@ module Google
182
182
  # };
183
183
  # }
184
184
  # @!attribute [rw] plural
185
- # @return [String]
185
+ # @return [::String]
186
186
  # The plural name used in the resource name, such as 'projects' for
187
187
  # the name of 'projects/\\{project}'. It is the same concept of the `plural`
188
188
  # field in k8s CRD spec
189
189
  # https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
190
190
  # @!attribute [rw] singular
191
- # @return [String]
191
+ # @return [::String]
192
192
  # The same concept of the `singular` field in k8s CRD spec
193
193
  # https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
194
194
  # Such as "project" for the `resourcemanager.googleapis.com/Project` type.
195
195
  class ResourceDescriptor
196
- include Google::Protobuf::MessageExts
197
- extend Google::Protobuf::MessageExts::ClassMethods
196
+ include ::Google::Protobuf::MessageExts
197
+ extend ::Google::Protobuf::MessageExts::ClassMethods
198
198
 
199
199
  # A description of the historical or future-looking state of the
200
200
  # resource pattern.
@@ -216,7 +216,7 @@ module Google
216
216
  # Defines a proto annotation that describes a string field that refers to
217
217
  # an API resource.
218
218
  # @!attribute [rw] type
219
- # @return [String]
219
+ # @return [::String]
220
220
  # The resource type that the annotated field references.
221
221
  #
222
222
  # Example:
@@ -227,7 +227,7 @@ module Google
227
227
  # }];
228
228
  # }
229
229
  # @!attribute [rw] child_type
230
- # @return [String]
230
+ # @return [::String]
231
231
  # The resource type of a child collection that the annotated field
232
232
  # references. This is useful for annotating the `parent` field that
233
233
  # doesn't have a fixed resource type.
@@ -240,8 +240,8 @@ module Google
240
240
  # };
241
241
  # }
242
242
  class ResourceReference
243
- include Google::Protobuf::MessageExts
244
- extend Google::Protobuf::MessageExts::ClassMethods
243
+ include ::Google::Protobuf::MessageExts
244
+ extend ::Google::Protobuf::MessageExts::ClassMethods
245
245
  end
246
246
  end
247
247
  end
@@ -22,14 +22,14 @@ module Google
22
22
  module ServiceDirectory
23
23
  module V1beta1
24
24
  # An individual endpoint that provides a
25
- # {Google::Cloud::ServiceDirectory::V1beta1::Service service}. The service must
25
+ # {::Google::Cloud::ServiceDirectory::V1beta1::Service service}. The service must
26
26
  # already exist to create an endpoint.
27
27
  # @!attribute [rw] name
28
- # @return [String]
28
+ # @return [::String]
29
29
  # Immutable. The resource name for the endpoint in the format
30
30
  # 'projects/*/locations/*/namespaces/*/services/*/endpoints/*'.
31
31
  # @!attribute [rw] address
32
- # @return [String]
32
+ # @return [::String]
33
33
  # Optional. An IPv4 or IPv6 address. Service Directory will reject bad
34
34
  # addresses like:
35
35
  # "8.8.8"
@@ -39,25 +39,25 @@ module Google
39
39
  # "[::1]:8080"
40
40
  # Limited to 45 characters.
41
41
  # @!attribute [rw] port
42
- # @return [Integer]
42
+ # @return [::Integer]
43
43
  # Optional. Service Directory will reject values outside of [0, 65535].
44
44
  # @!attribute [rw] metadata
45
- # @return [Google::Protobuf::Map{String => String}]
45
+ # @return [::Google::Protobuf::Map{::String => ::String}]
46
46
  # Optional. Metadata for the endpoint. This data can be consumed by service
47
47
  # clients. The entire metadata dictionary may contain up to 512 characters,
48
48
  # spread accoss all key-value pairs. Metadata that goes beyond any these
49
49
  # limits will be rejected.
50
50
  class Endpoint
51
- include Google::Protobuf::MessageExts
52
- extend Google::Protobuf::MessageExts::ClassMethods
51
+ include ::Google::Protobuf::MessageExts
52
+ extend ::Google::Protobuf::MessageExts::ClassMethods
53
53
 
54
54
  # @!attribute [rw] key
55
- # @return [String]
55
+ # @return [::String]
56
56
  # @!attribute [rw] value
57
- # @return [String]
57
+ # @return [::String]
58
58
  class MetadataEntry
59
- include Google::Protobuf::MessageExts
60
- extend Google::Protobuf::MessageExts::ClassMethods
59
+ include ::Google::Protobuf::MessageExts
60
+ extend ::Google::Protobuf::MessageExts::ClassMethods
61
61
  end
62
62
  end
63
63
  end
@@ -21,18 +21,18 @@ module Google
21
21
  module Cloud
22
22
  module ServiceDirectory
23
23
  module V1beta1
24
- # The request message for {Google::Cloud::ServiceDirectory::V1beta1::LookupService::Client#resolve_service LookupService.ResolveService}.
24
+ # The request message for {::Google::Cloud::ServiceDirectory::V1beta1::LookupService::Client#resolve_service LookupService.ResolveService}.
25
25
  # Looks up a service by its name, returns the service and its endpoints.
26
26
  # @!attribute [rw] name
27
- # @return [String]
27
+ # @return [::String]
28
28
  # Required. The name of the service to resolve.
29
29
  # @!attribute [rw] max_endpoints
30
- # @return [Integer]
30
+ # @return [::Integer]
31
31
  # Optional. The maximum number of endpoints to return. Defaults to 25. Maximum is 100.
32
32
  # If a value less than one is specified, the Default is used.
33
33
  # If a value greater than the Maximum is specified, the Maximum is used.
34
34
  # @!attribute [rw] endpoint_filter
35
- # @return [String]
35
+ # @return [::String]
36
36
  # Optional. The filter applied to the endpoints of the resolved service.
37
37
  #
38
38
  # General filter string syntax:
@@ -52,16 +52,16 @@ module Google
52
52
  # Endpoints that have "owner" field in metadata with a value that is not
53
53
  # "sd" AND have the key/value foo=bar.
54
54
  class ResolveServiceRequest
55
- include Google::Protobuf::MessageExts
56
- extend Google::Protobuf::MessageExts::ClassMethods
55
+ include ::Google::Protobuf::MessageExts
56
+ extend ::Google::Protobuf::MessageExts::ClassMethods
57
57
  end
58
58
 
59
- # The response message for {Google::Cloud::ServiceDirectory::V1beta1::LookupService::Client#resolve_service LookupService.ResolveService}.
59
+ # The response message for {::Google::Cloud::ServiceDirectory::V1beta1::LookupService::Client#resolve_service LookupService.ResolveService}.
60
60
  # @!attribute [rw] service
61
- # @return [Google::Cloud::ServiceDirectory::V1beta1::Service]
61
+ # @return [::Google::Cloud::ServiceDirectory::V1beta1::Service]
62
62
  class ResolveServiceResponse
63
- include Google::Protobuf::MessageExts
64
- extend Google::Protobuf::MessageExts::ClassMethods
63
+ include ::Google::Protobuf::MessageExts
64
+ extend ::Google::Protobuf::MessageExts::ClassMethods
65
65
  end
66
66
  end
67
67
  end
@@ -21,29 +21,29 @@ module Google
21
21
  module Cloud
22
22
  module ServiceDirectory
23
23
  module V1beta1
24
- # A container for {Google::Cloud::ServiceDirectory::V1beta1::Service services}.
24
+ # A container for {::Google::Cloud::ServiceDirectory::V1beta1::Service services}.
25
25
  # Namespaces allow administrators to group services together and define
26
26
  # permissions for a collection of services.
27
27
  # @!attribute [rw] name
28
- # @return [String]
28
+ # @return [::String]
29
29
  # Immutable. The resource name for the namespace in the format
30
30
  # 'projects/*/locations/*/namespaces/*'.
31
31
  # @!attribute [rw] labels
32
- # @return [Google::Protobuf::Map{String => String}]
32
+ # @return [::Google::Protobuf::Map{::String => ::String}]
33
33
  # Optional. Resource labels associated with this Namespace.
34
34
  # No more than 64 user labels can be associated with a given resource. Label
35
35
  # keys and values can be no longer than 63 characters.
36
36
  class Namespace
37
- include Google::Protobuf::MessageExts
38
- extend Google::Protobuf::MessageExts::ClassMethods
37
+ include ::Google::Protobuf::MessageExts
38
+ extend ::Google::Protobuf::MessageExts::ClassMethods
39
39
 
40
40
  # @!attribute [rw] key
41
- # @return [String]
41
+ # @return [::String]
42
42
  # @!attribute [rw] value
43
- # @return [String]
43
+ # @return [::String]
44
44
  class LabelsEntry
45
- include Google::Protobuf::MessageExts
46
- extend Google::Protobuf::MessageExts::ClassMethods
45
+ include ::Google::Protobuf::MessageExts
46
+ extend ::Google::Protobuf::MessageExts::ClassMethods
47
47
  end
48
48
  end
49
49
  end
@@ -21,13 +21,13 @@ module Google
21
21
  module Cloud
22
22
  module ServiceDirectory
23
23
  module V1beta1
24
- # The request message for {Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client#create_namespace RegistrationService.CreateNamespace}.
24
+ # The request message for {::Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client#create_namespace RegistrationService.CreateNamespace}.
25
25
  # @!attribute [rw] parent
26
- # @return [String]
26
+ # @return [::String]
27
27
  # Required. The resource name of the project and location the namespace
28
28
  # will be created in.
29
29
  # @!attribute [rw] namespace_id
30
- # @return [String]
30
+ # @return [::String]
31
31
  # Required. The Resource ID must be 1-63 characters long, and comply with
32
32
  # <a href="https://www.ietf.org/rfc/rfc1035.txt" target="_blank">RFC1035</a>.
33
33
  # Specifically, the name must be 1-63 characters long and match the regular
@@ -36,26 +36,26 @@ module Google
36
36
  # be a dash, lowercase letter, or digit, except the last character, which
37
37
  # cannot be a dash.
38
38
  # @!attribute [rw] namespace
39
- # @return [Google::Cloud::ServiceDirectory::V1beta1::Namespace]
39
+ # @return [::Google::Cloud::ServiceDirectory::V1beta1::Namespace]
40
40
  # Required. A namespace with initial fields set.
41
41
  class CreateNamespaceRequest
42
- include Google::Protobuf::MessageExts
43
- extend Google::Protobuf::MessageExts::ClassMethods
42
+ include ::Google::Protobuf::MessageExts
43
+ extend ::Google::Protobuf::MessageExts::ClassMethods
44
44
  end
45
45
 
46
- # The request message for {Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client#list_namespaces RegistrationService.ListNamespaces}.
46
+ # The request message for {::Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client#list_namespaces RegistrationService.ListNamespaces}.
47
47
  # @!attribute [rw] parent
48
- # @return [String]
48
+ # @return [::String]
49
49
  # Required. The resource name of the project and location whose namespaces we'd like to
50
50
  # list.
51
51
  # @!attribute [rw] page_size
52
- # @return [Integer]
52
+ # @return [::Integer]
53
53
  # Optional. The maximum number of items to return.
54
54
  # @!attribute [rw] page_token
55
- # @return [String]
55
+ # @return [::String]
56
56
  # Optional. The next_page_token value returned from a previous List request, if any.
57
57
  # @!attribute [rw] filter
58
- # @return [String]
58
+ # @return [::String]
59
59
  # Optional. The filter to list result by.
60
60
  #
61
61
  # General filter string syntax:
@@ -80,7 +80,7 @@ module Google
80
80
  # have a field called "doesnotexist". Since the filter does not match any
81
81
  # Namespaces, it returns no results.
82
82
  # @!attribute [rw] order_by
83
- # @return [String]
83
+ # @return [::String]
84
84
  # Optional. The order to list result by.
85
85
  #
86
86
  # General order by string syntax:
@@ -91,59 +91,59 @@ module Google
91
91
  # Note that an empty order_by string result in default order, which is order
92
92
  # by name in ascending order.
93
93
  class ListNamespacesRequest
94
- include Google::Protobuf::MessageExts
95
- extend Google::Protobuf::MessageExts::ClassMethods
94
+ include ::Google::Protobuf::MessageExts
95
+ extend ::Google::Protobuf::MessageExts::ClassMethods
96
96
  end
97
97
 
98
- # The response message for {Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client#list_namespaces RegistrationService.ListNamespaces}.
98
+ # The response message for {::Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client#list_namespaces RegistrationService.ListNamespaces}.
99
99
  # @!attribute [rw] namespaces
100
- # @return [Array<Google::Cloud::ServiceDirectory::V1beta1::Namespace>]
100
+ # @return [::Array<::Google::Cloud::ServiceDirectory::V1beta1::Namespace>]
101
101
  # The list of namespaces.
102
102
  # @!attribute [rw] next_page_token
103
- # @return [String]
103
+ # @return [::String]
104
104
  # Token to retrieve the next page of results, or empty if there are no
105
105
  # more results in the list.
106
106
  class ListNamespacesResponse
107
- include Google::Protobuf::MessageExts
108
- extend Google::Protobuf::MessageExts::ClassMethods
107
+ include ::Google::Protobuf::MessageExts
108
+ extend ::Google::Protobuf::MessageExts::ClassMethods
109
109
  end
110
110
 
111
- # The request message for {Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client#get_namespace RegistrationService.GetNamespace}.
111
+ # The request message for {::Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client#get_namespace RegistrationService.GetNamespace}.
112
112
  # @!attribute [rw] name
113
- # @return [String]
113
+ # @return [::String]
114
114
  # Required. The name of the namespace to retrieve.
115
115
  class GetNamespaceRequest
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
- # The request message for {Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client#update_namespace RegistrationService.UpdateNamespace}.
120
+ # The request message for {::Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client#update_namespace RegistrationService.UpdateNamespace}.
121
121
  # @!attribute [rw] namespace
122
- # @return [Google::Cloud::ServiceDirectory::V1beta1::Namespace]
122
+ # @return [::Google::Cloud::ServiceDirectory::V1beta1::Namespace]
123
123
  # Required. The updated namespace.
124
124
  # @!attribute [rw] update_mask
125
- # @return [Google::Protobuf::FieldMask]
125
+ # @return [::Google::Protobuf::FieldMask]
126
126
  # Required. List of fields to be updated in this request.
127
127
  class UpdateNamespaceRequest
128
- include Google::Protobuf::MessageExts
129
- extend Google::Protobuf::MessageExts::ClassMethods
128
+ include ::Google::Protobuf::MessageExts
129
+ extend ::Google::Protobuf::MessageExts::ClassMethods
130
130
  end
131
131
 
132
- # The request message for {Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client#delete_namespace RegistrationService.DeleteNamespace}.
132
+ # The request message for {::Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client#delete_namespace RegistrationService.DeleteNamespace}.
133
133
  # @!attribute [rw] name
134
- # @return [String]
134
+ # @return [::String]
135
135
  # Required. The name of the namespace to delete.
136
136
  class DeleteNamespaceRequest
137
- include Google::Protobuf::MessageExts
138
- extend Google::Protobuf::MessageExts::ClassMethods
137
+ include ::Google::Protobuf::MessageExts
138
+ extend ::Google::Protobuf::MessageExts::ClassMethods
139
139
  end
140
140
 
141
- # The request message for {Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client#create_service RegistrationService.CreateService}.
141
+ # The request message for {::Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client#create_service RegistrationService.CreateService}.
142
142
  # @!attribute [rw] parent
143
- # @return [String]
143
+ # @return [::String]
144
144
  # Required. The resource name of the namespace this service will belong to.
145
145
  # @!attribute [rw] service_id
146
- # @return [String]
146
+ # @return [::String]
147
147
  # Required. The Resource ID must be 1-63 characters long, and comply with
148
148
  # <a href="https://www.ietf.org/rfc/rfc1035.txt" target="_blank">RFC1035</a>.
149
149
  # Specifically, the name must be 1-63 characters long and match the regular
@@ -152,27 +152,27 @@ module Google
152
152
  # be a dash, lowercase letter, or digit, except the last character, which
153
153
  # cannot be a dash.
154
154
  # @!attribute [rw] service
155
- # @return [Google::Cloud::ServiceDirectory::V1beta1::Service]
155
+ # @return [::Google::Cloud::ServiceDirectory::V1beta1::Service]
156
156
  # Required. A service with initial fields set.
157
157
  class CreateServiceRequest
158
- include Google::Protobuf::MessageExts
159
- extend Google::Protobuf::MessageExts::ClassMethods
158
+ include ::Google::Protobuf::MessageExts
159
+ extend ::Google::Protobuf::MessageExts::ClassMethods
160
160
  end
161
161
 
162
- # The request message for {Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client#list_services RegistrationService.ListServices}.
162
+ # The request message for {::Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client#list_services RegistrationService.ListServices}.
163
163
  # @!attribute [rw] parent
164
- # @return [String]
164
+ # @return [::String]
165
165
  # Required. The resource name of the namespace whose services we'd
166
166
  # like to list.
167
167
  # @!attribute [rw] page_size
168
- # @return [Integer]
168
+ # @return [::Integer]
169
169
  # Optional. The maximum number of items to return.
170
170
  # @!attribute [rw] page_token
171
- # @return [String]
171
+ # @return [::String]
172
172
  # Optional. The next_page_token value returned from a previous List request,
173
173
  # if any.
174
174
  # @!attribute [rw] filter
175
- # @return [String]
175
+ # @return [::String]
176
176
  # Optional. The filter to list result by.
177
177
  #
178
178
  # General filter string syntax:
@@ -197,64 +197,64 @@ module Google
197
197
  # have a field called "doesnotexist". Since the filter does not match any
198
198
  # Services, it returns no results.
199
199
  # @!attribute [rw] order_by
200
- # @return [String]
200
+ # @return [::String]
201
201
  # Optional. The order to list result by.
202
202
  class ListServicesRequest
203
- include Google::Protobuf::MessageExts
204
- extend Google::Protobuf::MessageExts::ClassMethods
203
+ include ::Google::Protobuf::MessageExts
204
+ extend ::Google::Protobuf::MessageExts::ClassMethods
205
205
  end
206
206
 
207
- # The response message for {Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client#list_services RegistrationService.ListServices}.
207
+ # The response message for {::Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client#list_services RegistrationService.ListServices}.
208
208
  # @!attribute [rw] services
209
- # @return [Array<Google::Cloud::ServiceDirectory::V1beta1::Service>]
209
+ # @return [::Array<::Google::Cloud::ServiceDirectory::V1beta1::Service>]
210
210
  # The list of services.
211
211
  # @!attribute [rw] next_page_token
212
- # @return [String]
212
+ # @return [::String]
213
213
  # Token to retrieve the next page of results, or empty if there are no
214
214
  # more results in the list.
215
215
  class ListServicesResponse
216
- include Google::Protobuf::MessageExts
217
- extend Google::Protobuf::MessageExts::ClassMethods
216
+ include ::Google::Protobuf::MessageExts
217
+ extend ::Google::Protobuf::MessageExts::ClassMethods
218
218
  end
219
219
 
220
- # The request message for {Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client#get_service RegistrationService.GetService}.
220
+ # The request message for {::Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client#get_service RegistrationService.GetService}.
221
221
  # This should not be used for looking up a service. Insead, use the `resolve`
222
222
  # method as it will contain all endpoints and associated metadata.
223
223
  # @!attribute [rw] name
224
- # @return [String]
224
+ # @return [::String]
225
225
  # Required. The name of the service to get.
226
226
  class GetServiceRequest
227
- include Google::Protobuf::MessageExts
228
- extend Google::Protobuf::MessageExts::ClassMethods
227
+ include ::Google::Protobuf::MessageExts
228
+ extend ::Google::Protobuf::MessageExts::ClassMethods
229
229
  end
230
230
 
231
- # The request message for {Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client#update_service RegistrationService.UpdateService}.
231
+ # The request message for {::Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client#update_service RegistrationService.UpdateService}.
232
232
  # @!attribute [rw] service
233
- # @return [Google::Cloud::ServiceDirectory::V1beta1::Service]
233
+ # @return [::Google::Cloud::ServiceDirectory::V1beta1::Service]
234
234
  # Required. The updated service.
235
235
  # @!attribute [rw] update_mask
236
- # @return [Google::Protobuf::FieldMask]
236
+ # @return [::Google::Protobuf::FieldMask]
237
237
  # Required. List of fields to be updated in this request.
238
238
  class UpdateServiceRequest
239
- include Google::Protobuf::MessageExts
240
- extend Google::Protobuf::MessageExts::ClassMethods
239
+ include ::Google::Protobuf::MessageExts
240
+ extend ::Google::Protobuf::MessageExts::ClassMethods
241
241
  end
242
242
 
243
- # The request message for {Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client#delete_service RegistrationService.DeleteService}.
243
+ # The request message for {::Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client#delete_service RegistrationService.DeleteService}.
244
244
  # @!attribute [rw] name
245
- # @return [String]
245
+ # @return [::String]
246
246
  # Required. The name of the service to delete.
247
247
  class DeleteServiceRequest
248
- include Google::Protobuf::MessageExts
249
- extend Google::Protobuf::MessageExts::ClassMethods
248
+ include ::Google::Protobuf::MessageExts
249
+ extend ::Google::Protobuf::MessageExts::ClassMethods
250
250
  end
251
251
 
252
- # The request message for {Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client#create_endpoint RegistrationService.CreateEndpoint}.
252
+ # The request message for {::Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client#create_endpoint RegistrationService.CreateEndpoint}.
253
253
  # @!attribute [rw] parent
254
- # @return [String]
254
+ # @return [::String]
255
255
  # Required. The resource name of the service that this endpoint provides.
256
256
  # @!attribute [rw] endpoint_id
257
- # @return [String]
257
+ # @return [::String]
258
258
  # Required. The Resource ID must be 1-63 characters long, and comply with
259
259
  # <a href="https://www.ietf.org/rfc/rfc1035.txt" target="_blank">RFC1035</a>.
260
260
  # Specifically, the name must be 1-63 characters long and match the regular
@@ -263,27 +263,27 @@ module Google
263
263
  # be a dash, lowercase letter, or digit, except the last character, which
264
264
  # cannot be a dash.
265
265
  # @!attribute [rw] endpoint
266
- # @return [Google::Cloud::ServiceDirectory::V1beta1::Endpoint]
266
+ # @return [::Google::Cloud::ServiceDirectory::V1beta1::Endpoint]
267
267
  # Required. A endpoint with initial fields set.
268
268
  class CreateEndpointRequest
269
- include Google::Protobuf::MessageExts
270
- extend Google::Protobuf::MessageExts::ClassMethods
269
+ include ::Google::Protobuf::MessageExts
270
+ extend ::Google::Protobuf::MessageExts::ClassMethods
271
271
  end
272
272
 
273
- # The request message for {Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client#list_endpoints RegistrationService.ListEndpoints}.
273
+ # The request message for {::Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client#list_endpoints RegistrationService.ListEndpoints}.
274
274
  # @!attribute [rw] parent
275
- # @return [String]
275
+ # @return [::String]
276
276
  # Required. The resource name of the service whose endpoints we'd like to
277
277
  # list.
278
278
  # @!attribute [rw] page_size
279
- # @return [Integer]
279
+ # @return [::Integer]
280
280
  # Optional. The maximum number of items to return.
281
281
  # @!attribute [rw] page_token
282
- # @return [String]
282
+ # @return [::String]
283
283
  # Optional. The next_page_token value returned from a previous List request,
284
284
  # if any.
285
285
  # @!attribute [rw] filter
286
- # @return [String]
286
+ # @return [::String]
287
287
  # Optional. The filter to list result by.
288
288
  #
289
289
  # General filter string syntax:
@@ -310,56 +310,56 @@ module Google
310
310
  # have a field called "doesnotexist". Since the filter does not match any
311
311
  # Endpoints, it returns no results.
312
312
  # @!attribute [rw] order_by
313
- # @return [String]
313
+ # @return [::String]
314
314
  # Optional. The order to list result by.
315
315
  class ListEndpointsRequest
316
- include Google::Protobuf::MessageExts
317
- extend Google::Protobuf::MessageExts::ClassMethods
316
+ include ::Google::Protobuf::MessageExts
317
+ extend ::Google::Protobuf::MessageExts::ClassMethods
318
318
  end
319
319
 
320
- # The response message for {Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client#list_endpoints RegistrationService.ListEndpoints}.
320
+ # The response message for {::Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client#list_endpoints RegistrationService.ListEndpoints}.
321
321
  # @!attribute [rw] endpoints
322
- # @return [Array<Google::Cloud::ServiceDirectory::V1beta1::Endpoint>]
322
+ # @return [::Array<::Google::Cloud::ServiceDirectory::V1beta1::Endpoint>]
323
323
  # The list of endpoints.
324
324
  # @!attribute [rw] next_page_token
325
- # @return [String]
325
+ # @return [::String]
326
326
  # Token to retrieve the next page of results, or empty if there are no
327
327
  # more results in the list.
328
328
  class ListEndpointsResponse
329
- include Google::Protobuf::MessageExts
330
- extend Google::Protobuf::MessageExts::ClassMethods
329
+ include ::Google::Protobuf::MessageExts
330
+ extend ::Google::Protobuf::MessageExts::ClassMethods
331
331
  end
332
332
 
333
- # The request message for {Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client#get_endpoint RegistrationService.GetEndpoint}.
333
+ # The request message for {::Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client#get_endpoint RegistrationService.GetEndpoint}.
334
334
  # This should not be used to lookup endpoints at runtime. Instead, use
335
335
  # the `resolve` method.
336
336
  # @!attribute [rw] name
337
- # @return [String]
337
+ # @return [::String]
338
338
  # Required. The name of the endpoint to get.
339
339
  class GetEndpointRequest
340
- include Google::Protobuf::MessageExts
341
- extend Google::Protobuf::MessageExts::ClassMethods
340
+ include ::Google::Protobuf::MessageExts
341
+ extend ::Google::Protobuf::MessageExts::ClassMethods
342
342
  end
343
343
 
344
- # The request message for {Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client#update_endpoint RegistrationService.UpdateEndpoint}.
344
+ # The request message for {::Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client#update_endpoint RegistrationService.UpdateEndpoint}.
345
345
  # @!attribute [rw] endpoint
346
- # @return [Google::Cloud::ServiceDirectory::V1beta1::Endpoint]
346
+ # @return [::Google::Cloud::ServiceDirectory::V1beta1::Endpoint]
347
347
  # Required. The updated endpoint.
348
348
  # @!attribute [rw] update_mask
349
- # @return [Google::Protobuf::FieldMask]
349
+ # @return [::Google::Protobuf::FieldMask]
350
350
  # Required. List of fields to be updated in this request.
351
351
  class UpdateEndpointRequest
352
- include Google::Protobuf::MessageExts
353
- extend Google::Protobuf::MessageExts::ClassMethods
352
+ include ::Google::Protobuf::MessageExts
353
+ extend ::Google::Protobuf::MessageExts::ClassMethods
354
354
  end
355
355
 
356
- # The request message for {Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client#delete_endpoint RegistrationService.DeleteEndpoint}.
356
+ # The request message for {::Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client#delete_endpoint RegistrationService.DeleteEndpoint}.
357
357
  # @!attribute [rw] name
358
- # @return [String]
358
+ # @return [::String]
359
359
  # Required. The name of the endpoint to delete.
360
360
  class DeleteEndpointRequest
361
- include Google::Protobuf::MessageExts
362
- extend Google::Protobuf::MessageExts::ClassMethods
361
+ include ::Google::Protobuf::MessageExts
362
+ extend ::Google::Protobuf::MessageExts::ClassMethods
363
363
  end
364
364
  end
365
365
  end