google-apis-servicedirectory_v1 0.1.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a91c854685844c2c9e03b59587c5138946b7c633cb2c87dcd611c7edd6249610
|
4
|
+
data.tar.gz: 149f9ce54d1f7feff37e33deb614a68a6b46e99f1e7f75c2541e8c4c7eba7cd0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bd0c3255277d86f96f92cb17316ec5ccfe815f745be7a1d0d3d64d211217c65a3716bae6bd7bded9a795e30103bb6694f28e7c6e7a01906a1625a9fabf7f46c1
|
7
|
+
data.tar.gz: 235f817d2830bb6ac0bd4e79c113613a5c4f7ad1b81f0671b9d7289be8c112deb29601cf021ff4bf78b0f5899868b2f8bfabf0543975d61a5df98ec6fd83cb47
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,27 @@
|
|
1
1
|
# Release history for google-apis-servicedirectory_v1
|
2
2
|
|
3
|
+
### v0.6.0 (2021-04-03)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210324
|
6
|
+
|
7
|
+
### v0.5.0 (2021-03-21)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210310
|
10
|
+
* Regenerated using generator version 0.2.0
|
11
|
+
|
12
|
+
### v0.4.0 (2021-03-04)
|
13
|
+
|
14
|
+
* Unspecified changes
|
15
|
+
|
16
|
+
### v0.3.0 (2021-02-15)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20210203
|
19
|
+
|
20
|
+
### v0.2.0 (2021-02-06)
|
21
|
+
|
22
|
+
* Regenerated from discovery document revision 20210127
|
23
|
+
* Regenerated using generator version 0.1.2
|
24
|
+
|
3
25
|
### v0.1.0 (2021-01-07)
|
4
26
|
|
5
27
|
* Regenerated using generator version 0.1.1
|
@@ -30,7 +30,7 @@ module Google
|
|
30
30
|
# This is NOT the gem version.
|
31
31
|
VERSION = 'V1'
|
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,40 +115,40 @@ 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. Annotations for the endpoint. This data can be consumed by service
|
126
|
-
# clients. Restrictions:
|
127
|
-
# 512 characters, spread accoss all key-value pairs. Annotations that
|
128
|
-
#
|
129
|
-
#
|
130
|
-
#
|
131
|
-
#
|
132
|
-
#
|
133
|
-
#
|
134
|
-
#
|
135
|
-
#
|
136
|
-
#
|
137
|
-
#
|
138
|
-
#
|
139
|
-
#
|
140
|
-
#
|
126
|
+
# clients. Restrictions: * The entire annotations dictionary may contain up to
|
127
|
+
# 512 characters, spread accoss all key-value pairs. Annotations that go beyond
|
128
|
+
# this limit are rejected * Valid annotation keys have two segments: an optional
|
129
|
+
# prefix and name, separated by a slash (/). The name segment is required and
|
130
|
+
# must be 63 characters or less, beginning and ending with an alphanumeric
|
131
|
+
# character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and
|
132
|
+
# alphanumerics between. The prefix is optional. If specified, the prefix must
|
133
|
+
# be a DNS subdomain: a series of DNS labels separated by dots (.), not longer
|
134
|
+
# than 253 characters in total, followed by a slash (/) Annotations that fails
|
135
|
+
# to meet these requirements are rejected. * The `(*.)google.com/` and `(*.)
|
136
|
+
# googleapis.com/` prefixes are reserved for system annotations managed by
|
137
|
+
# Service Directory. If the user tries to write to these keyspaces, those
|
138
|
+
# entries are silently ignored by the system Note: This field is equivalent to
|
139
|
+
# the `metadata` field in the v1beta1 API. They have the same syntax and read/
|
140
|
+
# write to the same location in Service Directory.
|
141
141
|
# Corresponds to the JSON property `annotations`
|
142
142
|
# @return [Hash<String,String>]
|
143
143
|
attr_accessor :annotations
|
144
144
|
|
145
|
-
# Immutable. The resource name for the endpoint in the format
|
146
|
-
# locations/*/namespaces/*/services/*/endpoints
|
145
|
+
# Immutable. The resource name for the endpoint in the format `projects/*/
|
146
|
+
# locations/*/namespaces/*/services/*/endpoints/*`.
|
147
147
|
# Corresponds to the JSON property `name`
|
148
148
|
# @return [String]
|
149
149
|
attr_accessor :name
|
150
150
|
|
151
|
-
# Optional. Service Directory
|
151
|
+
# Optional. Service Directory rejects values outside of `[0, 65535]`.
|
152
152
|
# Corresponds to the JSON property `port`
|
153
153
|
# @return [Fixnum]
|
154
154
|
attr_accessor :port
|
@@ -419,15 +419,15 @@ module Google
|
|
419
419
|
class Namespace
|
420
420
|
include Google::Apis::Core::Hashable
|
421
421
|
|
422
|
-
# Optional. Resource labels associated with this
|
422
|
+
# Optional. Resource labels associated with this namespace. No more than 64 user
|
423
423
|
# labels can be associated with a given resource. Label keys and values can be
|
424
424
|
# no longer than 63 characters.
|
425
425
|
# Corresponds to the JSON property `labels`
|
426
426
|
# @return [Hash<String,String>]
|
427
427
|
attr_accessor :labels
|
428
428
|
|
429
|
-
# Immutable. The resource name for the namespace in the format
|
430
|
-
# locations/*/namespaces
|
429
|
+
# Immutable. The resource name for the namespace in the format `projects/*/
|
430
|
+
# locations/*/namespaces/*`.
|
431
431
|
# Corresponds to the JSON property `name`
|
432
432
|
# @return [String]
|
433
433
|
attr_accessor :name
|
@@ -533,14 +533,24 @@ module Google
|
|
533
533
|
include Google::Apis::Core::Hashable
|
534
534
|
|
535
535
|
# Optional. The filter applied to the endpoints of the resolved service. General
|
536
|
-
# filter string syntax: () can be
|
537
|
-
#
|
538
|
-
#
|
539
|
-
#
|
540
|
-
#
|
541
|
-
#
|
542
|
-
#
|
543
|
-
#
|
536
|
+
# `filter` string syntax: ` ()` * `` can be `name`, `address`, `port`, or `
|
537
|
+
# annotations.` for map field * `` can be `<`, `>`, `<=`, `>=`, `!=`, `=`, `:`.
|
538
|
+
# Of which `:` means `HAS`, and is roughly the same as `=` * `` must be the same
|
539
|
+
# data type as field * `` can be `AND`, `OR`, `NOT` Examples of valid filters: *
|
540
|
+
# `annotations.owner` returns endpoints that have a annotation with the key `
|
541
|
+
# owner`, this is the same as `annotations:owner` * `annotations.protocol=gRPC`
|
542
|
+
# returns endpoints that have key/value `protocol=gRPC` * `address=192.108.1.105`
|
543
|
+
# returns endpoints that have this address * `port>8080` returns endpoints that
|
544
|
+
# have port number larger than 8080 * `name>projects/my-project/locations/us-
|
545
|
+
# east1/namespaces/my-namespace/services/my-service/endpoints/endpoint-c`
|
546
|
+
# returns endpoints that have name that is alphabetically later than the string,
|
547
|
+
# so "endpoint-e" is returned but "endpoint-a" is not * `annotations.owner!=sd
|
548
|
+
# AND annotations.foo=bar` returns endpoints that have `owner` in annotation key
|
549
|
+
# but value is not `sd` AND have key/value `foo=bar` * `doesnotexist.foo=bar`
|
550
|
+
# returns an empty list. Note that endpoint doesn't have a field called "
|
551
|
+
# doesnotexist". Since the filter does not match any endpoint, it returns no
|
552
|
+
# results For more information about filtering, see [API Filtering](https://aip.
|
553
|
+
# dev/160).
|
544
554
|
# Corresponds to the JSON property `endpointFilter`
|
545
555
|
# @return [String]
|
546
556
|
attr_accessor :endpoint_filter
|
@@ -589,33 +599,34 @@ module Google
|
|
589
599
|
include Google::Apis::Core::Hashable
|
590
600
|
|
591
601
|
# Optional. Annotations for the service. This data can be consumed by service
|
592
|
-
# clients. Restrictions:
|
593
|
-
# 2000 characters, spread accoss all key-value pairs. Annotations that
|
594
|
-
#
|
595
|
-
#
|
596
|
-
#
|
597
|
-
#
|
598
|
-
#
|
599
|
-
#
|
600
|
-
#
|
601
|
-
#
|
602
|
-
#
|
603
|
-
#
|
604
|
-
#
|
605
|
-
#
|
606
|
-
#
|
602
|
+
# clients. Restrictions: * The entire annotations dictionary may contain up to
|
603
|
+
# 2000 characters, spread accoss all key-value pairs. Annotations that go beyond
|
604
|
+
# this limit are rejected * Valid annotation keys have two segments: an optional
|
605
|
+
# prefix and name, separated by a slash (/). The name segment is required and
|
606
|
+
# must be 63 characters or less, beginning and ending with an alphanumeric
|
607
|
+
# character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and
|
608
|
+
# alphanumerics between. The prefix is optional. If specified, the prefix must
|
609
|
+
# be a DNS subdomain: a series of DNS labels separated by dots (.), not longer
|
610
|
+
# than 253 characters in total, followed by a slash (/). Annotations that fails
|
611
|
+
# to meet these requirements are rejected * The `(*.)google.com/` and `(*.)
|
612
|
+
# googleapis.com/` prefixes are reserved for system annotations managed by
|
613
|
+
# Service Directory. If the user tries to write to these keyspaces, those
|
614
|
+
# entries are silently ignored by the system Note: This field is equivalent to
|
615
|
+
# the `metadata` field in the v1beta1 API. They have the same syntax and read/
|
616
|
+
# write to the same location in Service Directory.
|
607
617
|
# Corresponds to the JSON property `annotations`
|
608
618
|
# @return [Hash<String,String>]
|
609
619
|
attr_accessor :annotations
|
610
620
|
|
611
621
|
# Output only. Endpoints associated with this service. Returned on LookupService.
|
612
|
-
#
|
622
|
+
# ResolveService. Control plane clients should use RegistrationService.
|
623
|
+
# ListEndpoints.
|
613
624
|
# Corresponds to the JSON property `endpoints`
|
614
625
|
# @return [Array<Google::Apis::ServicedirectoryV1::Endpoint>]
|
615
626
|
attr_accessor :endpoints
|
616
627
|
|
617
|
-
# Immutable. The resource name for the service in the format
|
618
|
-
# locations/*/namespaces/*/services
|
628
|
+
# Immutable. The resource name for the service in the format `projects/*/
|
629
|
+
# locations/*/namespaces/*/services/*`.
|
619
630
|
# Corresponds to the JSON property `name`
|
620
631
|
# @return [String]
|
621
632
|
attr_accessor :name
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ServicedirectoryV1
|
18
18
|
# Version of the google-apis-servicedirectory_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.6.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 = "20210324"
|
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 will select 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::ServicedirectoryV1::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::ServicedirectoryV1::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/
|
571
|
-
#
|
572
|
-
# but "service-a"
|
573
|
-
#
|
574
|
-
# key
|
575
|
-
#
|
576
|
-
# match any
|
568
|
+
# Optional. The filter to list results by. General `filter` string syntax: ` ()`
|
569
|
+
# * `` can be `name` or `annotations.` 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`
|
572
|
+
# Examples of valid filters: * `annotations.owner` returns services that have a
|
573
|
+
# annotation with the key `owner`, this is the same as `annotations:owner` * `
|
574
|
+
# annotations.protocol=gRPC` returns services that have key/value `protocol=gRPC`
|
575
|
+
# * `name>projects/my-project/locations/us-east1/namespaces/my-namespace/
|
576
|
+
# services/service-c` returns services that have name that is alphabetically
|
577
|
+
# later than the string, so "service-e" is returned but "service-a" is not * `
|
578
|
+
# annotations.owner!=sd AND annotations.foo=bar` returns services that have `
|
579
|
+
# owner` in annotation key but value is not `sd` AND have key/value `foo=bar` * `
|
580
|
+
# doesnotexist.foo=bar` returns an empty list. Note that service doesn't have a
|
581
|
+
# field called "doesnotexist". Since the filter does not match any services, it
|
582
|
+
# returns no results For more information about filtering, see [API Filtering](
|
583
|
+
# https://aip.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::ServicedirectoryV1::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::ServicedirectoryV1::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
|
868
|
-
#
|
869
|
-
#
|
870
|
-
#
|
871
|
-
#
|
872
|
-
#
|
873
|
-
#
|
874
|
-
#
|
869
|
+
# Optional. The filter to list results by. General `filter` string syntax: ` ()`
|
870
|
+
# * `` can be `name`, `address`, `port`, or `annotations.` for map field * ``
|
871
|
+
# can 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: * `annotations.owner` returns
|
874
|
+
# endpoints that have a annotation with the key `owner`, this is the same as `
|
875
|
+
# annotations:owner` * `annotations.protocol=gRPC` returns endpoints that have
|
876
|
+
# key/value `protocol=gRPC` * `address=192.108.1.105` returns endpoints that
|
877
|
+
# have this address * `port>8080` returns endpoints that have port number larger
|
878
|
+
# than 8080 * `name>projects/my-project/locations/us-east1/namespaces/my-
|
879
|
+
# namespace/services/my-service/endpoints/endpoint-c` returns endpoints that
|
880
|
+
# have name that is alphabetically later than the string, so "endpoint-e" is
|
881
|
+
# returned but "endpoint-a" is not * `annotations.owner!=sd AND annotations.foo=
|
882
|
+
# bar` returns endpoints that have `owner` in annotation key but value is not `
|
883
|
+
# sd` AND have key/value `foo=bar` * `doesnotexist.foo=bar` returns an empty
|
884
|
+
# list. Note that endpoint doesn't have a field called "doesnotexist". Since the
|
885
|
+
# filter does not match any endpoints, it returns no results For more
|
886
|
+
# information about 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::ServicedirectoryV1::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_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.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-04-05 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_v1/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-servicedirectory_v1/v0.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-servicedirectory_v1/v0.6.0
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-servicedirectory_v1
|
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.
|
72
|
+
rubygems_version: 3.2.13
|
73
73
|
signing_key:
|
74
74
|
specification_version: 4
|
75
75
|
summary: Simple REST client for Service Directory API V1
|