google-apis-servicedirectory_v1beta1 0.2.0 → 0.7.0
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/CHANGELOG.md +21 -0
- data/lib/google/apis/servicedirectory_v1beta1.rb +1 -1
- data/lib/google/apis/servicedirectory_v1beta1/classes.rb +71 -48
- data/lib/google/apis/servicedirectory_v1beta1/gem_version.rb +3 -3
- data/lib/google/apis/servicedirectory_v1beta1/representations.rb +1 -0
- data/lib/google/apis/servicedirectory_v1beta1/service.rb +84 -68
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8a33bc897c659b2392bee9951b2de72ef6928a9e3953e989aee2440c8a6847fa
|
4
|
+
data.tar.gz: a02e7f74dbd0fa09b9e6130b83356e6aef180dbd1cd81eddc705f48f3f0bcecc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4409a77a6a27cc0ea0e3c875b83bdc8a15d201b642e3e747dd753a1897fbf3777a6adfe3d69e2da3494e8f475a3c030cd6d4da4639f78135932b432c15094b89
|
7
|
+
data.tar.gz: 3c916f8663e74b2378ee2d137ea422ba88d95ab16a31e7d147e2f66b1f1ed085e12210d1afe3cecaede95d538d2dc403d3c961cf3019c65180d9d607ba7fab8c
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,26 @@
|
|
1
1
|
# Release history for google-apis-servicedirectory_v1beta1
|
2
2
|
|
3
|
+
### v0.7.0 (2021-05-01)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210422
|
6
|
+
|
7
|
+
### v0.6.0 (2021-04-03)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210324
|
10
|
+
|
11
|
+
### v0.5.0 (2021-03-21)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210310
|
14
|
+
* Regenerated using generator version 0.2.0
|
15
|
+
|
16
|
+
### v0.4.0 (2021-03-04)
|
17
|
+
|
18
|
+
* Unspecified changes
|
19
|
+
|
20
|
+
### v0.3.0 (2021-02-15)
|
21
|
+
|
22
|
+
* Regenerated from discovery document revision 20210203
|
23
|
+
|
3
24
|
### v0.2.0 (2021-02-06)
|
4
25
|
|
5
26
|
* Regenerated from discovery document revision 20210127
|
@@ -30,7 +30,7 @@ module Google
|
|
30
30
|
# This is NOT the gem version.
|
31
31
|
VERSION = 'V1beta1'
|
32
32
|
|
33
|
-
#
|
33
|
+
# See, edit, configure, and delete your Google Cloud Platform data
|
34
34
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
35
35
|
end
|
36
36
|
end
|
@@ -115,38 +115,49 @@ module Google
|
|
115
115
|
class Endpoint
|
116
116
|
include Google::Apis::Core::Hashable
|
117
117
|
|
118
|
-
# Optional. An IPv4 or IPv6 address. Service Directory
|
119
|
-
# like:
|
120
|
-
# 45 characters.
|
118
|
+
# Optional. An IPv4 or IPv6 address. Service Directory rejects bad addresses
|
119
|
+
# like: * `8.8.8` * `8.8.8.8:53` * `test:bad:address` * `[::1]` * `[::1]:8080`
|
120
|
+
# Limited to 45 characters.
|
121
121
|
# Corresponds to the JSON property `address`
|
122
122
|
# @return [String]
|
123
123
|
attr_accessor :address
|
124
124
|
|
125
125
|
# Optional. Metadata for the endpoint. This data can be consumed by service
|
126
|
-
# clients. Restrictions:
|
127
|
-
# characters, spread accoss all key-value pairs. Metadata that goes beyond
|
128
|
-
#
|
129
|
-
#
|
130
|
-
#
|
131
|
-
#
|
132
|
-
#
|
133
|
-
#
|
134
|
-
#
|
135
|
-
#
|
136
|
-
#
|
137
|
-
#
|
138
|
-
#
|
126
|
+
# clients. Restrictions: * The entire metadata dictionary may contain up to 512
|
127
|
+
# characters, spread accoss all key-value pairs. Metadata that goes beyond this
|
128
|
+
# limit are rejected * Valid metadata keys have two segments: an optional prefix
|
129
|
+
# and name, separated by a slash (/). The name segment is required and must be
|
130
|
+
# 63 characters or less, beginning and ending with an alphanumeric character ([a-
|
131
|
+
# z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics
|
132
|
+
# between. The prefix is optional. If specified, the prefix must be a DNS
|
133
|
+
# subdomain: a series of DNS labels separated by dots (.), not longer than 253
|
134
|
+
# characters in total, followed by a slash (/). Metadata that fails to meet
|
135
|
+
# these requirements are rejected * The `(*.)google.com/` and `(*.)googleapis.
|
136
|
+
# com/` prefixes are reserved for system metadata managed by Service Directory.
|
137
|
+
# If the user tries to write to these keyspaces, those entries are silently
|
138
|
+
# ignored by the system Note: This field is equivalent to the `annotations`
|
139
|
+
# field in the v1 API. They have the same syntax and read/write to the same
|
140
|
+
# location in Service Directory.
|
139
141
|
# Corresponds to the JSON property `metadata`
|
140
142
|
# @return [Hash<String,String>]
|
141
143
|
attr_accessor :metadata
|
142
144
|
|
143
|
-
# Immutable. The resource name for the endpoint in the format
|
144
|
-
# locations/*/namespaces/*/services/*/endpoints
|
145
|
+
# Immutable. The resource name for the endpoint in the format `projects/*/
|
146
|
+
# locations/*/namespaces/*/services/*/endpoints/*`.
|
145
147
|
# Corresponds to the JSON property `name`
|
146
148
|
# @return [String]
|
147
149
|
attr_accessor :name
|
148
150
|
|
149
|
-
#
|
151
|
+
# Immutable. The Google Compute Engine network (VPC) of the endpoint in the
|
152
|
+
# format `projects//locations/global/networks/*`. The project must be specified
|
153
|
+
# by project number (project id is rejected). Incorrectly formatted networks are
|
154
|
+
# rejected, but no other validation is performed on this field (ex. network or
|
155
|
+
# project existence, reachability, or permissions).
|
156
|
+
# Corresponds to the JSON property `network`
|
157
|
+
# @return [String]
|
158
|
+
attr_accessor :network
|
159
|
+
|
160
|
+
# Optional. Service Directory rejects values outside of `[0, 65535]`.
|
150
161
|
# Corresponds to the JSON property `port`
|
151
162
|
# @return [Fixnum]
|
152
163
|
attr_accessor :port
|
@@ -160,6 +171,7 @@ module Google
|
|
160
171
|
@address = args[:address] if args.key?(:address)
|
161
172
|
@metadata = args[:metadata] if args.key?(:metadata)
|
162
173
|
@name = args[:name] if args.key?(:name)
|
174
|
+
@network = args[:network] if args.key?(:network)
|
163
175
|
@port = args[:port] if args.key?(:port)
|
164
176
|
end
|
165
177
|
end
|
@@ -417,15 +429,15 @@ module Google
|
|
417
429
|
class Namespace
|
418
430
|
include Google::Apis::Core::Hashable
|
419
431
|
|
420
|
-
# Optional. Resource labels associated with this
|
432
|
+
# Optional. Resource labels associated with this namespace. No more than 64 user
|
421
433
|
# labels can be associated with a given resource. Label keys and values can be
|
422
434
|
# no longer than 63 characters.
|
423
435
|
# Corresponds to the JSON property `labels`
|
424
436
|
# @return [Hash<String,String>]
|
425
437
|
attr_accessor :labels
|
426
438
|
|
427
|
-
# Immutable. The resource name for the namespace in the format
|
428
|
-
# locations/*/namespaces
|
439
|
+
# Immutable. The resource name for the namespace in the format `projects/*/
|
440
|
+
# locations/*/namespaces/*`.
|
429
441
|
# Corresponds to the JSON property `name`
|
430
442
|
# @return [String]
|
431
443
|
attr_accessor :name
|
@@ -531,16 +543,24 @@ module Google
|
|
531
543
|
include Google::Apis::Core::Hashable
|
532
544
|
|
533
545
|
# Optional. The filter applied to the endpoints of the resolved service. General
|
534
|
-
# filter string syntax:
|
535
|
-
# * can be
|
536
|
-
#
|
537
|
-
#
|
538
|
-
#
|
539
|
-
#
|
540
|
-
#
|
541
|
-
# have
|
542
|
-
#
|
543
|
-
#
|
546
|
+
# `filter` string syntax: ` ()` * `` can be `name`, `address`, `port`, or `
|
547
|
+
# metadata.` for map field * `` can be `<`, `>`, `<=`, `>=`, `!=`, `=`, `:`. Of
|
548
|
+
# which `:` means `HAS`, and is roughly the same as `=` * `` must be the same
|
549
|
+
# data type as field * `` can be `AND`, `OR`, `NOT` Examples of valid filters: *
|
550
|
+
# `metadata.owner` returns endpoints that have a annotation with the key `owner`,
|
551
|
+
# this is the same as `metadata:owner` * `metadata.protocol=gRPC` returns
|
552
|
+
# endpoints that have key/value `protocol=gRPC` * `address=192.108.1.105`
|
553
|
+
# returns endpoints that have this address * `port>8080` returns endpoints that
|
554
|
+
# have port number larger than 8080 * `name>projects/my-project/locations/us-
|
555
|
+
# east1/namespaces/my-namespace/services/my-service/endpoints/endpoint-c`
|
556
|
+
# returns endpoints that have name that is alphabetically later than the string,
|
557
|
+
# so "endpoint-e" is returned but "endpoint-a" is not * `metadata.owner!=sd AND
|
558
|
+
# metadata.foo=bar` returns endpoints that have `owner` in annotation key but
|
559
|
+
# value is not `sd` AND have key/value `foo=bar` * `doesnotexist.foo=bar`
|
560
|
+
# returns an empty list. Note that endpoint doesn't have a field called "
|
561
|
+
# doesnotexist". Since the filter does not match any endpoint, it returns no
|
562
|
+
# results For more information about filtering, see [API Filtering](https://aip.
|
563
|
+
# dev/160).
|
544
564
|
# Corresponds to the JSON property `endpointFilter`
|
545
565
|
# @return [String]
|
546
566
|
attr_accessor :endpoint_filter
|
@@ -589,31 +609,34 @@ module Google
|
|
589
609
|
include Google::Apis::Core::Hashable
|
590
610
|
|
591
611
|
# Output only. Endpoints associated with this service. Returned on LookupService.
|
592
|
-
#
|
612
|
+
# ResolveService. Control plane clients should use RegistrationService.
|
613
|
+
# ListEndpoints.
|
593
614
|
# Corresponds to the JSON property `endpoints`
|
594
615
|
# @return [Array<Google::Apis::ServicedirectoryV1beta1::Endpoint>]
|
595
616
|
attr_accessor :endpoints
|
596
617
|
|
597
618
|
# Optional. Metadata for the service. This data can be consumed by service
|
598
|
-
# clients. Restrictions:
|
599
|
-
# characters, spread accoss all key-value pairs. Metadata that goes beyond
|
600
|
-
#
|
601
|
-
#
|
602
|
-
#
|
603
|
-
#
|
604
|
-
#
|
605
|
-
#
|
606
|
-
#
|
607
|
-
#
|
608
|
-
#
|
609
|
-
#
|
610
|
-
#
|
619
|
+
# clients. Restrictions: * The entire metadata dictionary may contain up to 2000
|
620
|
+
# characters, spread accoss all key-value pairs. Metadata that goes beyond this
|
621
|
+
# limit are rejected * Valid metadata keys have two segments: an optional prefix
|
622
|
+
# and name, separated by a slash (/). The name segment is required and must be
|
623
|
+
# 63 characters or less, beginning and ending with an alphanumeric character ([a-
|
624
|
+
# z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics
|
625
|
+
# between. The prefix is optional. If specified, the prefix must be a DNS
|
626
|
+
# subdomain: a series of DNS labels separated by dots (.), not longer than 253
|
627
|
+
# characters in total, followed by a slash (/). Metadata that fails to meet
|
628
|
+
# these requirements are rejected * The `(*.)google.com/` and `(*.)googleapis.
|
629
|
+
# com/` prefixes are reserved for system metadata managed by Service Directory.
|
630
|
+
# If the user tries to write to these keyspaces, those entries are silently
|
631
|
+
# ignored by the system Note: This field is equivalent to the `annotations`
|
632
|
+
# field in the v1 API. They have the same syntax and read/write to the same
|
633
|
+
# location in Service Directory.
|
611
634
|
# Corresponds to the JSON property `metadata`
|
612
635
|
# @return [Hash<String,String>]
|
613
636
|
attr_accessor :metadata
|
614
637
|
|
615
|
-
# Immutable. The resource name for the service in the format
|
616
|
-
# locations/*/namespaces/*/services
|
638
|
+
# Immutable. The resource name for the service in the format `projects/*/
|
639
|
+
# locations/*/namespaces/*/services/*`.
|
617
640
|
# Corresponds to the JSON property `name`
|
618
641
|
# @return [String]
|
619
642
|
attr_accessor :name
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ServicedirectoryV1beta1
|
18
18
|
# Version of the google-apis-servicedirectory_v1beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.7.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.2.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210422"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -84,11 +84,15 @@ module Google
|
|
84
84
|
# @param [String] name
|
85
85
|
# The resource that owns the locations collection, if applicable.
|
86
86
|
# @param [String] filter
|
87
|
-
#
|
87
|
+
# A filter to narrow down results to a preferred subset. The filtering language
|
88
|
+
# accepts strings like "displayName=tokyo", and is documented in more detail in [
|
89
|
+
# AIP-160](https://google.aip.dev/160).
|
88
90
|
# @param [Fixnum] page_size
|
89
|
-
# The
|
91
|
+
# The maximum number of results to return. If not set, the service selects a
|
92
|
+
# default.
|
90
93
|
# @param [String] page_token
|
91
|
-
#
|
94
|
+
# A page token received from the `next_page_token` field in the response. Send
|
95
|
+
# that page token to receive the subsequent page.
|
92
96
|
# @param [String] fields
|
93
97
|
# Selector specifying which fields to include in a partial response.
|
94
98
|
# @param [String] quota_user
|
@@ -119,7 +123,7 @@ module Google
|
|
119
123
|
execute_or_queue_command(command, &block)
|
120
124
|
end
|
121
125
|
|
122
|
-
# Creates a namespace, and returns the new
|
126
|
+
# Creates a namespace, and returns the new namespace.
|
123
127
|
# @param [String] parent
|
124
128
|
# Required. The resource name of the project and location the namespace will be
|
125
129
|
# created in.
|
@@ -258,28 +262,29 @@ module Google
|
|
258
262
|
|
259
263
|
# Lists all namespaces.
|
260
264
|
# @param [String] parent
|
261
|
-
# Required. The resource name of the project and location whose namespaces
|
265
|
+
# Required. The resource name of the project and location whose namespaces you'd
|
262
266
|
# like to list.
|
263
267
|
# @param [String] filter
|
264
|
-
# Optional. The filter to list
|
265
|
-
# be
|
266
|
-
# which
|
267
|
-
# type as field
|
268
|
-
# owner
|
269
|
-
# same as
|
270
|
-
# key/value
|
271
|
-
# namespaces/namespace-c
|
272
|
-
# alphabetically later than the string, so "namespace-e"
|
273
|
-
# namespace-a"
|
274
|
-
#
|
275
|
-
# value foo=bar
|
276
|
-
#
|
277
|
-
# not match any
|
268
|
+
# Optional. The filter to list results by. General `filter` string syntax: ` ()`
|
269
|
+
# * `` can be `name` or `labels.` for map field * `` can be `<`, `>`, `<=`, `>=`,
|
270
|
+
# `!=`, `=`, `:`. Of which `:` means `HAS`, and is roughly the same as `=` * ``
|
271
|
+
# must be the same data type as field * `` can be `AND`, `OR`, `NOT` Examples of
|
272
|
+
# valid filters: * `labels.owner` returns namespaces that have a label with the
|
273
|
+
# key `owner`, this is the same as `labels:owner` * `labels.owner=sd` returns
|
274
|
+
# namespaces that have key/value `owner=sd` * `name>projects/my-project/
|
275
|
+
# locations/us-east1/namespaces/namespace-c` returns namespaces that have name
|
276
|
+
# that is alphabetically later than the string, so "namespace-e" is returned but
|
277
|
+
# "namespace-a" is not * `labels.owner!=sd AND labels.foo=bar` returns
|
278
|
+
# namespaces that have `owner` in label key but value is not `sd` AND have key/
|
279
|
+
# value `foo=bar` * `doesnotexist.foo=bar` returns an empty list. Note that
|
280
|
+
# namespace doesn't have a field called "doesnotexist". Since the filter does
|
281
|
+
# not match any namespaces, it returns no results For more information about
|
282
|
+
# filtering, see [API Filtering](https://aip.dev/160).
|
278
283
|
# @param [String] order_by
|
279
|
-
# Optional. The order to list
|
280
|
-
# allows
|
281
|
-
# blank,
|
282
|
-
# order, which is order by name in ascending order.
|
284
|
+
# Optional. The order to list results by. General `order_by` string syntax: ` ()
|
285
|
+
# (,)` * `` allows value: `name` * `` ascending or descending order by ``. If
|
286
|
+
# this is left blank, `asc` is used Note that an empty `order_by` string results
|
287
|
+
# in default order, which is order by `name` in ascending order.
|
283
288
|
# @param [Fixnum] page_size
|
284
289
|
# Optional. The maximum number of items to return.
|
285
290
|
# @param [String] page_token
|
@@ -318,8 +323,8 @@ module Google
|
|
318
323
|
|
319
324
|
# Updates a namespace.
|
320
325
|
# @param [String] name
|
321
|
-
# Immutable. The resource name for the namespace in the format
|
322
|
-
# locations/*/namespaces
|
326
|
+
# Immutable. The resource name for the namespace in the format `projects/*/
|
327
|
+
# locations/*/namespaces/*`.
|
323
328
|
# @param [Google::Apis::ServicedirectoryV1beta1::Namespace] namespace_object
|
324
329
|
# @param [String] update_mask
|
325
330
|
# Required. List of fields to be updated in this request.
|
@@ -421,7 +426,7 @@ module Google
|
|
421
426
|
execute_or_queue_command(command, &block)
|
422
427
|
end
|
423
428
|
|
424
|
-
# Creates a service, and returns the new
|
429
|
+
# Creates a service, and returns the new service.
|
425
430
|
# @param [String] parent
|
426
431
|
# Required. The resource name of the namespace this service will belong to.
|
427
432
|
# @param [Google::Apis::ServicedirectoryV1beta1::Service] service_object
|
@@ -558,24 +563,29 @@ module Google
|
|
558
563
|
|
559
564
|
# Lists all services belonging to a namespace.
|
560
565
|
# @param [String] parent
|
561
|
-
# Required. The resource name of the namespace whose services
|
566
|
+
# Required. The resource name of the namespace whose services you'd like to list.
|
562
567
|
# @param [String] filter
|
563
|
-
# Optional. The filter to list
|
564
|
-
# be
|
565
|
-
# which
|
566
|
-
# type as field
|
567
|
-
# owner
|
568
|
-
# same as
|
569
|
-
# have key/value
|
570
|
-
# namespaces/my-namespace/services/
|
571
|
-
#
|
572
|
-
# but "service-a"
|
573
|
-
# returns
|
574
|
-
# key/value foo=bar
|
575
|
-
#
|
576
|
-
# match any
|
568
|
+
# Optional. The filter to list results by. General `filter` string syntax: ` ()`
|
569
|
+
# * `` can be `name` or `metadata.` for map field * `` can be `<`, `>`, `<=`, `>=
|
570
|
+
# `, `!=`, `=`, `:`. Of which `:` means `HAS`, and is roughly the same as `=` * `
|
571
|
+
# ` must be the same data type as field * `` can be `AND`, `OR`, `NOT` Examples
|
572
|
+
# of valid filters: * `metadata.owner` returns services that have a metadata
|
573
|
+
# with the key `owner`, this is the same as `metadata:owner` * `metadata.
|
574
|
+
# protocol=gRPC` returns services that have key/value `protocol=gRPC` * `name>
|
575
|
+
# projects/my-project/locations/us-east1/namespaces/my-namespace/services/
|
576
|
+
# service-c` returns services that have name that is alphabetically later than
|
577
|
+
# the string, so "service-e" is returned but "service-a" is not * `metadata.
|
578
|
+
# owner!=sd AND metadata.foo=bar` returns services that have `owner` in metadata
|
579
|
+
# key but value is not `sd` AND have key/value `foo=bar` * `doesnotexist.foo=bar`
|
580
|
+
# returns an empty list. Note that service doesn't have a field called "
|
581
|
+
# doesnotexist". Since the filter does not match any services, it returns no
|
582
|
+
# results For more information about filtering, see [API Filtering](https://aip.
|
583
|
+
# dev/160).
|
577
584
|
# @param [String] order_by
|
578
|
-
# Optional. The order to list
|
585
|
+
# Optional. The order to list results by. General `order_by` string syntax: ` ()
|
586
|
+
# (,)` * `` allows value: `name` * `` ascending or descending order by ``. If
|
587
|
+
# this is left blank, `asc` is used Note that an empty `order_by` string results
|
588
|
+
# in default order, which is order by `name` in ascending order.
|
579
589
|
# @param [Fixnum] page_size
|
580
590
|
# Optional. The maximum number of items to return.
|
581
591
|
# @param [String] page_token
|
@@ -614,8 +624,8 @@ module Google
|
|
614
624
|
|
615
625
|
# Updates a service.
|
616
626
|
# @param [String] name
|
617
|
-
# Immutable. The resource name for the service in the format
|
618
|
-
# locations/*/namespaces/*/services
|
627
|
+
# Immutable. The resource name for the service in the format `projects/*/
|
628
|
+
# locations/*/namespaces/*/services/*`.
|
619
629
|
# @param [Google::Apis::ServicedirectoryV1beta1::Service] service_object
|
620
630
|
# @param [String] update_mask
|
621
631
|
# Required. List of fields to be updated in this request.
|
@@ -751,7 +761,7 @@ module Google
|
|
751
761
|
execute_or_queue_command(command, &block)
|
752
762
|
end
|
753
763
|
|
754
|
-
# Creates
|
764
|
+
# Creates an endpoint, and returns the new endpoint.
|
755
765
|
# @param [String] parent
|
756
766
|
# Required. The resource name of the service that this endpoint provides.
|
757
767
|
# @param [Google::Apis::ServicedirectoryV1beta1::Endpoint] endpoint_object
|
@@ -792,7 +802,7 @@ module Google
|
|
792
802
|
execute_or_queue_command(command, &block)
|
793
803
|
end
|
794
804
|
|
795
|
-
# Deletes
|
805
|
+
# Deletes an endpoint.
|
796
806
|
# @param [String] name
|
797
807
|
# Required. The name of the endpoint to delete.
|
798
808
|
# @param [String] fields
|
@@ -822,7 +832,7 @@ module Google
|
|
822
832
|
execute_or_queue_command(command, &block)
|
823
833
|
end
|
824
834
|
|
825
|
-
# Gets
|
835
|
+
# Gets an endpoint.
|
826
836
|
# @param [String] name
|
827
837
|
# Required. The name of the endpoint to get.
|
828
838
|
# @param [String] fields
|
@@ -854,26 +864,32 @@ module Google
|
|
854
864
|
|
855
865
|
# Lists all endpoints.
|
856
866
|
# @param [String] parent
|
857
|
-
# Required. The resource name of the service whose endpoints
|
867
|
+
# Required. The resource name of the service whose endpoints you'd like to list.
|
858
868
|
# @param [String] filter
|
859
|
-
# Optional. The filter to list
|
860
|
-
# be
|
861
|
-
#
|
862
|
-
# the same
|
863
|
-
#
|
864
|
-
# this is the same as
|
865
|
-
#
|
866
|
-
#
|
867
|
-
# have port number larger than
|
868
|
-
#
|
869
|
-
#
|
870
|
-
#
|
871
|
-
# sd AND metadata.foo=bar
|
872
|
-
# value is not
|
873
|
-
# an empty list. Note that
|
874
|
-
#
|
869
|
+
# Optional. The filter to list results by. General `filter` string syntax: ` ()`
|
870
|
+
# * `` can be `name`, `address`, `port`, or `metadata.` for map field * `` can
|
871
|
+
# be `<`, `>`, `<=`, `>=`, `!=`, `=`, `:`. Of which `:` means `HAS`, and is
|
872
|
+
# roughly the same as `=` * `` must be the same data type as field * `` can be `
|
873
|
+
# AND`, `OR`, `NOT` Examples of valid filters: * `metadata.owner` returns
|
874
|
+
# endpoints that have a metadata with the key `owner`, this is the same as `
|
875
|
+
# metadata:owner` * `metadata.protocol=gRPC` returns endpoints that have key/
|
876
|
+
# value `protocol=gRPC` * `address=192.108.1.105` returns endpoints that have
|
877
|
+
# this address * `port>8080` returns endpoints that have port number larger than
|
878
|
+
# 8080 * `name>projects/my-project/locations/us-east1/namespaces/my-namespace/
|
879
|
+
# services/my-service/endpoints/endpoint-c` returns endpoints that have name
|
880
|
+
# that is alphabetically later than the string, so "endpoint-e" is returned but "
|
881
|
+
# endpoint-a" is not * `metadata.owner!=sd AND metadata.foo=bar` returns
|
882
|
+
# endpoints that have `owner` in metadata key but value is not `sd` AND have key/
|
883
|
+
# value `foo=bar` * `doesnotexist.foo=bar` returns an empty list. Note that
|
884
|
+
# endpoint doesn't have a field called "doesnotexist". Since the filter does not
|
885
|
+
# match any endpoints, it returns no results For more information about
|
886
|
+
# filtering, see [API Filtering](https://aip.dev/160).
|
875
887
|
# @param [String] order_by
|
876
|
-
# Optional. The order to list
|
888
|
+
# Optional. The order to list results by. General `order_by` string syntax: ` ()
|
889
|
+
# (,)` * `` allows values: `name`, `address`, `port` * `` ascending or
|
890
|
+
# descending order by ``. If this is left blank, `asc` is used Note that an
|
891
|
+
# empty `order_by` string results in default order, which is order by `name` in
|
892
|
+
# ascending order.
|
877
893
|
# @param [Fixnum] page_size
|
878
894
|
# Optional. The maximum number of items to return.
|
879
895
|
# @param [String] page_token
|
@@ -910,10 +926,10 @@ module Google
|
|
910
926
|
execute_or_queue_command(command, &block)
|
911
927
|
end
|
912
928
|
|
913
|
-
# Updates
|
929
|
+
# Updates an endpoint.
|
914
930
|
# @param [String] name
|
915
|
-
# Immutable. The resource name for the endpoint in the format
|
916
|
-
# locations/*/namespaces/*/services/*/endpoints
|
931
|
+
# Immutable. The resource name for the endpoint in the format `projects/*/
|
932
|
+
# locations/*/namespaces/*/services/*/endpoints/*`.
|
917
933
|
# @param [Google::Apis::ServicedirectoryV1beta1::Endpoint] endpoint_object
|
918
934
|
# @param [String] update_mask
|
919
935
|
# Required. List of fields to be updated in this request.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-servicedirectory_v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-05-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -52,7 +52,7 @@ licenses:
|
|
52
52
|
metadata:
|
53
53
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
54
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-servicedirectory_v1beta1/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-servicedirectory_v1beta1/v0.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-servicedirectory_v1beta1/v0.7.0
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-servicedirectory_v1beta1
|
57
57
|
post_install_message:
|
58
58
|
rdoc_options: []
|
@@ -62,14 +62,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
62
62
|
requirements:
|
63
63
|
- - ">="
|
64
64
|
- !ruby/object:Gem::Version
|
65
|
-
version: '2.
|
65
|
+
version: '2.5'
|
66
66
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
67
67
|
requirements:
|
68
68
|
- - ">="
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: '0'
|
71
71
|
requirements: []
|
72
|
-
rubygems_version: 3.2.
|
72
|
+
rubygems_version: 3.2.17
|
73
73
|
signing_key:
|
74
74
|
specification_version: 4
|
75
75
|
summary: Simple REST client for Service Directory API V1beta1
|