google-apis-servicedirectory_v1beta1 0.2.0 → 0.7.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: cc5263cfe746bcfbd1d8c2601302a7b902446e7ba016082a8f65dbe15a084b85
4
- data.tar.gz: '098247ceb1a1cc86fa254fb185600a862571ee0b91a98f14222fa7362b3b286e'
3
+ metadata.gz: 8a33bc897c659b2392bee9951b2de72ef6928a9e3953e989aee2440c8a6847fa
4
+ data.tar.gz: a02e7f74dbd0fa09b9e6130b83356e6aef180dbd1cd81eddc705f48f3f0bcecc
5
5
  SHA512:
6
- metadata.gz: 909acce0cb25facf02d829650da9135fa879540cf73ec565530e95ce90c56562305ff0e05735ed3e033c033a8ce49ec7ae29d38022f571bd58c7400a10479f08
7
- data.tar.gz: bf06b3713aa1ab5b1e73d75d1b74e8af706436db5ff321f099c81de90a80f08a8130954e334d97a573fe1c97e6ca91e3aac756501176c261b7cec281822d2e83
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
- # View and manage your data across Google Cloud Platform services
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 will reject bad addresses
119
- # like: "8.8.8" "8.8.8.8:53" "test:bad:address" "[::1]" "[::1]:8080" Limited to
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: - The entire metadata dictionary may contain up to 512
127
- # characters, spread accoss all key-value pairs. Metadata that goes beyond any
128
- # these limits will be rejected. - Valid metadata keys have two segments: an
129
- # optional prefix and name, separated by a slash (/). The name segment is
130
- # required and must be 63 characters or less, beginning and ending with an
131
- # alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.)
132
- # , and alphanumerics between. The prefix is optional. If specified, the prefix
133
- # must be a DNS subdomain: a series of DNS labels separated by dots (.), not
134
- # longer than 253 characters in total, followed by a slash (/). Metadata that
135
- # fails to meet these requirements will be rejected. - The '(*.)google.com/' and
136
- # '(*.)googleapis.com/' prefixes are reserved for system metadata managed by
137
- # Service Directory. If the user tries to write to these keyspaces, those
138
- # entries will be silently ignored by the system.
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 'projects/*/
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
- # Optional. Service Directory will reject values outside of [0, 65535].
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 Namespace. No more than 64 user
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 'projects/*/
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: *`field operator value`* (*`logical connector`*) *`field`
535
- # * can be `name` or `metadata.`*`key`* for map field. *`operator`* can be `\<`,
536
- # `>`, `\<=`, `>=`, `!=`, `=`, `:`. Of which `:` means `HAS` and is roughly the
537
- # same as `=`. *`value`* must be the same data type as the field. *`logical
538
- # connector*` can be `AND`, `OR`, `NOT`. Examples of valid filters: * `metadata.
539
- # owner` returns endpoints that have a label with the key `owner`, this is the
540
- # same as `metadata:owner` * `metadata.protocol=gRPC` returns endpoints that
541
- # have key/value `protocol=gRPC` * `metadata.owner!=sd AND metadata.foo=bar`
542
- # returns endpoints that have `owner` field in metadata with a value that is not
543
- # `sd` and have the key/value `foo=bar`.
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
- # Resolve. Control plane clients should use RegistrationService.ListEndpoints.
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: - The entire metadata dictionary may contain up to 2000
599
- # characters, spread accoss all key-value pairs. Metadata that goes beyond any
600
- # these limits will be rejected. - Valid metadata keys have two segments: an
601
- # optional prefix and name, separated by a slash (/). The name segment is
602
- # required and must be 63 characters or less, beginning and ending with an
603
- # alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.)
604
- # , and alphanumerics between. The prefix is optional. If specified, the prefix
605
- # must be a DNS subdomain: a series of DNS labels separated by dots (.), not
606
- # longer than 253 characters in total, followed by a slash (/). Metadata that
607
- # fails to meet these requirements will be rejected. - The '(*.)google.com/' and
608
- # '(*.)googleapis.com/' prefixes are reserved for system metadata managed by
609
- # Service Directory. If the user tries to write to these keyspaces, those
610
- # entries will be silently ignored by the system.
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 'projects/*/
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.2.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.1.2"
22
+ GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210127"
25
+ REVISION = "20210422"
26
26
  end
27
27
  end
28
28
  end
@@ -158,6 +158,7 @@ module Google
158
158
  property :address, as: 'address'
159
159
  hash :metadata, as: 'metadata'
160
160
  property :name, as: 'name'
161
+ property :network, as: 'network'
161
162
  property :port, as: 'port'
162
163
  end
163
164
  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
- # The standard list filter.
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 standard list page size.
91
+ # The maximum number of results to return. If not set, the service selects a
92
+ # default.
90
93
  # @param [String] page_token
91
- # The standard list page token.
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 Namespace.
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 we'd
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 result by. General filter string syntax: () can
265
- # be "name", or "labels." for map field. can be "<, >, <=, >=, !=, =, :". Of
266
- # which ":" means HAS, and is roughly the same as "=". must be the same data
267
- # type as field. can be "AND, OR, NOT". Examples of valid filters: * "labels.
268
- # owner" returns Namespaces that have a label with the key "owner" this is the
269
- # same as "labels:owner". * "labels.protocol=gRPC" returns Namespaces that have
270
- # key/value "protocol=gRPC". * "name>projects/my-project/locations/us-east/
271
- # namespaces/namespace-c" returns Namespaces that have name that is
272
- # alphabetically later than the string, so "namespace-e" will be returned but "
273
- # namespace-a" will not be. * "labels.owner!=sd AND labels.foo=bar" returns
274
- # Namespaces that have "owner" in label key but value is not "sd" AND have key/
275
- # value foo=bar. * "doesnotexist.foo=bar" returns an empty list. Note that
276
- # Namespace doesn't have a field called "doesnotexist". Since the filter does
277
- # not match any Namespaces, it returns no results.
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 result by. General order by string syntax: () (,)
280
- # allows values `"name"` ascending or descending order by . If this is left
281
- # blank, "asc" is used. Note that an empty order_by string result in default
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 'projects/*/
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 Service.
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 we'd like to list.
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 result by. General filter string syntax: () can
564
- # be "name", or "metadata." for map field. can be "<, >, <=, >=, !=, =, :". Of
565
- # which ":" means HAS, and is roughly the same as "=". must be the same data
566
- # type as field. can be "AND, OR, NOT". Examples of valid filters: * "metadata.
567
- # owner" returns Services that have a label with the key "owner" this is the
568
- # same as "metadata:owner". * "metadata.protocol=gRPC" returns Services that
569
- # have key/value "protocol=gRPC". * "name>projects/my-project/locations/us-east/
570
- # namespaces/my-namespace/services/service-c" returns Services that have name
571
- # that is alphabetically later than the string, so "service-e" will be returned
572
- # but "service-a" will not be. * "metadata.owner!=sd AND metadata.foo=bar"
573
- # returns Services that have "owner" in label key but value is not "sd" AND have
574
- # key/value foo=bar. * "doesnotexist.foo=bar" returns an empty list. Note that
575
- # Service doesn't have a field called "doesnotexist". Since the filter does not
576
- # match any Services, it returns no results.
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 result by.
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 'projects/*/
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 a endpoint, and returns the new Endpoint.
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 a endpoint.
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 a endpoint.
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 we'd like to list.
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 result by. General filter string syntax: () can
860
- # be "name", "address", "port" or "metadata." for map field. can be "<, >, <=, >=
861
- # , !=, =, :". Of which ":" means HAS, and is roughly the same as "=". must be
862
- # the same data type as field. can be "AND, OR, NOT". Examples of valid filters:
863
- # * "metadata.owner" returns Endpoints that have a label with the key "owner"
864
- # this is the same as "metadata:owner". * "metadata.protocol=gRPC" returns
865
- # Endpoints that have key/value "protocol=gRPC". * "address=192.108.1.105"
866
- # returns Endpoints that have this address. * "port>8080" returns Endpoints that
867
- # have port number larger than 8080. * "name>projects/my-project/locations/us-
868
- # east/namespaces/my-namespace/services/my-service/endpoints/endpoint-c" returns
869
- # Endpoints that have name that is alphabetically later than the string, so "
870
- # endpoint-e" will be returned but "endpoint-a" will not be. * "metadata.owner!=
871
- # sd AND metadata.foo=bar" returns Endpoints that have "owner" in label key but
872
- # value is not "sd" AND have key/value foo=bar. * "doesnotexist.foo=bar" returns
873
- # an empty list. Note that Endpoint doesn't have a field called "doesnotexist".
874
- # Since the filter does not match any Endpoints, it returns no results.
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 result by.
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 a endpoint.
929
+ # Updates an endpoint.
914
930
  # @param [String] name
915
- # Immutable. The resource name for the endpoint in the format 'projects/*/
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.2.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-02-08 00:00:00.000000000 Z
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.2.0
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.4'
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.6
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