google-cloud-network_connectivity-v1 0.2.0 → 0.4.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: 1e36ba6fa4ca0d179fd8ea83a7efdc1ab0ac13f8108450baa6c776e06bb1dfd8
4
- data.tar.gz: f0bb6a5b699ed084ed312c7a27dca0caee43e0768122a9ee67c373bf4b7f632d
3
+ metadata.gz: ac65ba21d146846211922f6ddccc1b69d29f6e21954d583de0f52e11bb953c42
4
+ data.tar.gz: 02cb841e6fd7dd5a5248f512c921af6274904152486539077145f400bace8aa9
5
5
  SHA512:
6
- metadata.gz: 371c878493e56df8167f8e27d6218be4f889e744131456f181f1e5386a1f31e0505359b158ac650451803a1ce80e37b50a3bbdbe7d100d3c3d433314424cc9a2
7
- data.tar.gz: 7de5e072aaa356a6481c522914debc9fc7ac2f7806dd58b78adf2a5f68728d5ac068a0b861f90f529c1895d8e47e7fe9d0384b3f31f96a3ac9a64a752fb9cf1a
6
+ metadata.gz: 67274c7135ad244a00749f9d62afba8c84b46d760a2f2fc106f1dea7b5af80cb551c5715e3c21db2140ffdfa794edc84a895a52bc7a028d757f7c181a9456e49
7
+ data.tar.gz: d55e49f5c1ab92cc8023d39be2086c40948129e6c82bb3821c73d075bc9e51bffd85eedfe16fb5b128b9edc1a56655f5cc0e818571af88b673e4401df9a98391
data/AUTHENTICATION.md CHANGED
@@ -114,7 +114,7 @@ credentials are discovered.
114
114
  To configure your system for this, simply:
115
115
 
116
116
  1. [Download and install the Cloud SDK](https://cloud.google.com/sdk)
117
- 2. Authenticate using OAuth 2.0 `$ gcloud auth login`
117
+ 2. Authenticate using OAuth 2.0 `$ gcloud auth application-default login`
118
118
  3. Write code as if already authenticated.
119
119
 
120
120
  **NOTE:** This is _not_ recommended for running in production. The Cloud SDK
data/README.md CHANGED
@@ -69,16 +69,21 @@ module GRPC
69
69
  end
70
70
  ```
71
71
 
72
+
73
+ ## Google Cloud Samples
74
+
75
+ To browse ready to use code samples check [Google Cloud Samples](https://cloud.google.com/docs/samples).
76
+
72
77
  ## Supported Ruby Versions
73
78
 
74
- This library is supported on Ruby 2.5+.
79
+ This library is supported on Ruby 2.6+.
75
80
 
76
81
  Google provides official support for Ruby versions that are actively supported
77
82
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
78
- in security maintenance, and not end of life. Currently, this means Ruby 2.5
79
- and later. Older versions of Ruby _may_ still work, but are unsupported and not
80
- recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details
81
- about the Ruby support schedule.
83
+ in security maintenance, and not end of life. Older versions of Ruby _may_
84
+ still work, but are unsupported and not recommended. See
85
+ https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby
86
+ support schedule.
82
87
 
83
88
  ## Which client should I use?
84
89
 
@@ -177,7 +177,7 @@ module Google
177
177
  # Service calls
178
178
 
179
179
  ##
180
- # Lists hubs in a given project.
180
+ # Lists the Network Connectivity Center hubs associated with a given project.
181
181
  #
182
182
  # @overload list_hubs(request, options = nil)
183
183
  # Pass arguments to `list_hubs` via a request object, either of type
@@ -277,7 +277,7 @@ module Google
277
277
  end
278
278
 
279
279
  ##
280
- # Gets details about the specified hub.
280
+ # Gets details about a Network Connectivity Center hub.
281
281
  #
282
282
  # @overload get_hub(request, options = nil)
283
283
  # Pass arguments to `get_hub` via a request object, either of type
@@ -362,7 +362,7 @@ module Google
362
362
  end
363
363
 
364
364
  ##
365
- # Creates a new hub in the specified project.
365
+ # Creates a new Network Connectivity Center hub in the specified project.
366
366
  #
367
367
  # @overload create_hub(request, options = nil)
368
368
  # Pass arguments to `create_hub` via a request object, either of type
@@ -386,11 +386,11 @@ module Google
386
386
  # @param hub [::Google::Cloud::NetworkConnectivity::V1::Hub, ::Hash]
387
387
  # Required. The initial values for a new hub.
388
388
  # @param request_id [::String]
389
- # Optional. A unique request ID (optional). If you specify this ID, you can use it
390
- # in cases when you need to retry your request. When you need to retry, this
391
- # ID lets the server know that it can ignore the request if it has already
392
- # been completed. The server guarantees that for at least 60 minutes after
393
- # the first request.
389
+ # Optional. A unique request ID (optional). If you specify this ID, you can
390
+ # use it in cases when you need to retry your request. When you need to
391
+ # retry, this ID lets the server know that it can ignore the request if it
392
+ # has already been completed. The server guarantees that for at least 60
393
+ # minutes after the first request.
394
394
  #
395
395
  # For example, consider a situation where you make an initial request and
396
396
  # the request times out. If you make the request again with the same request
@@ -474,7 +474,8 @@ module Google
474
474
  end
475
475
 
476
476
  ##
477
- # Updates the description and/or labels of the specified hub.
477
+ # Updates the description and/or labels of a Network Connectivity Center
478
+ # hub.
478
479
  #
479
480
  # @overload update_hub(request, options = nil)
480
481
  # Pass arguments to `update_hub` via a request object, either of type
@@ -492,19 +493,19 @@ module Google
492
493
  # the default parameter values, pass an empty Hash as a request object (see above).
493
494
  #
494
495
  # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
495
- # Optional. In the case of an update to an existing hub, field mask is used to specify
496
- # the fields to be overwritten. The fields specified in the update_mask are
497
- # relative to the resource, not the full request. A field is overwritten if
498
- # it is in the mask. If the user does not provide a mask, then all fields are
499
- # overwritten.
496
+ # Optional. In the case of an update to an existing hub, field mask is used
497
+ # to specify the fields to be overwritten. The fields specified in the
498
+ # update_mask are relative to the resource, not the full request. A field is
499
+ # overwritten if it is in the mask. If the user does not provide a mask, then
500
+ # all fields are overwritten.
500
501
  # @param hub [::Google::Cloud::NetworkConnectivity::V1::Hub, ::Hash]
501
502
  # Required. The state that the hub should be in after the update.
502
503
  # @param request_id [::String]
503
- # Optional. A unique request ID (optional). If you specify this ID, you can use it
504
- # in cases when you need to retry your request. When you need to retry, this
505
- # ID lets the server know that it can ignore the request if it has already
506
- # been completed. The server guarantees that for at least 60 minutes after
507
- # the first request.
504
+ # Optional. A unique request ID (optional). If you specify this ID, you can
505
+ # use it in cases when you need to retry your request. When you need to
506
+ # retry, this ID lets the server know that it can ignore the request if it
507
+ # has already been completed. The server guarantees that for at least 60
508
+ # minutes after the first request.
508
509
  #
509
510
  # For example, consider a situation where you make an initial request and
510
511
  # the request times out. If you make the request again with the same request
@@ -588,7 +589,7 @@ module Google
588
589
  end
589
590
 
590
591
  ##
591
- # Deletes the specified hub.
592
+ # Deletes a Network Connectivity Center hub.
592
593
  #
593
594
  # @overload delete_hub(request, options = nil)
594
595
  # Pass arguments to `delete_hub` via a request object, either of type
@@ -608,11 +609,11 @@ module Google
608
609
  # @param name [::String]
609
610
  # Required. The name of the hub to delete.
610
611
  # @param request_id [::String]
611
- # Optional. A unique request ID (optional). If you specify this ID, you can use it
612
- # in cases when you need to retry your request. When you need to retry, this
613
- # ID lets the server know that it can ignore the request if it has already
614
- # been completed. The server guarantees that for at least 60 minutes after
615
- # the first request.
612
+ # Optional. A unique request ID (optional). If you specify this ID, you can
613
+ # use it in cases when you need to retry your request. When you need to
614
+ # retry, this ID lets the server know that it can ignore the request if it
615
+ # has already been completed. The server guarantees that for at least 60
616
+ # minutes after the first request.
616
617
  #
617
618
  # For example, consider a situation where you make an initial request and
618
619
  # the request times out. If you make the request again with the same request
@@ -696,7 +697,8 @@ module Google
696
697
  end
697
698
 
698
699
  ##
699
- # Lists the spokes in the specified project and location.
700
+ # Lists the Network Connectivity Center spokes in a specified project and
701
+ # location.
700
702
  #
701
703
  # @overload list_spokes(request, options = nil)
702
704
  # Pass arguments to `list_spokes` via a request object, either of type
@@ -796,7 +798,7 @@ module Google
796
798
  end
797
799
 
798
800
  ##
799
- # Gets details about the specified spoke.
801
+ # Gets details about a Network Connectivity Center spoke.
800
802
  #
801
803
  # @overload get_spoke(request, options = nil)
802
804
  # Pass arguments to `get_spoke` via a request object, either of type
@@ -881,7 +883,7 @@ module Google
881
883
  end
882
884
 
883
885
  ##
884
- # Creates a spoke in the specified project and location.
886
+ # Creates a Network Connectivity Center spoke.
885
887
  #
886
888
  # @overload create_spoke(request, options = nil)
887
889
  # Pass arguments to `create_spoke` via a request object, either of type
@@ -905,11 +907,11 @@ module Google
905
907
  # @param spoke [::Google::Cloud::NetworkConnectivity::V1::Spoke, ::Hash]
906
908
  # Required. The initial values for a new spoke.
907
909
  # @param request_id [::String]
908
- # Optional. A unique request ID (optional). If you specify this ID, you can use it
909
- # in cases when you need to retry your request. When you need to retry, this
910
- # ID lets the server know that it can ignore the request if it has already
911
- # been completed. The server guarantees that for at least 60 minutes after
912
- # the first request.
910
+ # Optional. A unique request ID (optional). If you specify this ID, you can
911
+ # use it in cases when you need to retry your request. When you need to
912
+ # retry, this ID lets the server know that it can ignore the request if it
913
+ # has already been completed. The server guarantees that for at least 60
914
+ # minutes after the first request.
913
915
  #
914
916
  # For example, consider a situation where you make an initial request and
915
917
  # the request times out. If you make the request again with the same request
@@ -993,7 +995,7 @@ module Google
993
995
  end
994
996
 
995
997
  ##
996
- # Updates the parameters of the specified spoke.
998
+ # Updates the parameters of a Network Connectivity Center spoke.
997
999
  #
998
1000
  # @overload update_spoke(request, options = nil)
999
1001
  # Pass arguments to `update_spoke` via a request object, either of type
@@ -1011,19 +1013,19 @@ module Google
1011
1013
  # the default parameter values, pass an empty Hash as a request object (see above).
1012
1014
  #
1013
1015
  # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
1014
- # Optional. In the case of an update to an existing spoke, field mask is used to
1015
- # specify the fields to be overwritten. The fields specified in the
1016
+ # Optional. In the case of an update to an existing spoke, field mask is used
1017
+ # to specify the fields to be overwritten. The fields specified in the
1016
1018
  # update_mask are relative to the resource, not the full request. A field is
1017
1019
  # overwritten if it is in the mask. If the user does not provide a mask, then
1018
1020
  # all fields are overwritten.
1019
1021
  # @param spoke [::Google::Cloud::NetworkConnectivity::V1::Spoke, ::Hash]
1020
1022
  # Required. The state that the spoke should be in after the update.
1021
1023
  # @param request_id [::String]
1022
- # Optional. A unique request ID (optional). If you specify this ID, you can use it
1023
- # in cases when you need to retry your request. When you need to retry, this
1024
- # ID lets the server know that it can ignore the request if it has already
1025
- # been completed. The server guarantees that for at least 60 minutes after
1026
- # the first request.
1024
+ # Optional. A unique request ID (optional). If you specify this ID, you can
1025
+ # use it in cases when you need to retry your request. When you need to
1026
+ # retry, this ID lets the server know that it can ignore the request if it
1027
+ # has already been completed. The server guarantees that for at least 60
1028
+ # minutes after the first request.
1027
1029
  #
1028
1030
  # For example, consider a situation where you make an initial request and
1029
1031
  # the request times out. If you make the request again with the same request
@@ -1107,7 +1109,7 @@ module Google
1107
1109
  end
1108
1110
 
1109
1111
  ##
1110
- # Deletes the specified spoke.
1112
+ # Deletes a Network Connectivity Center spoke.
1111
1113
  #
1112
1114
  # @overload delete_spoke(request, options = nil)
1113
1115
  # Pass arguments to `delete_spoke` via a request object, either of type
@@ -1127,11 +1129,11 @@ module Google
1127
1129
  # @param name [::String]
1128
1130
  # Required. The name of the spoke to delete.
1129
1131
  # @param request_id [::String]
1130
- # Optional. A unique request ID (optional). If you specify this ID, you can use it
1131
- # in cases when you need to retry your request. When you need to retry, this
1132
- # ID lets the server know that it can ignore the request if it has already
1133
- # been completed. The server guarantees that for at least 60 minutes after
1134
- # the first request.
1132
+ # Optional. A unique request ID (optional). If you specify this ID, you can
1133
+ # use it in cases when you need to retry your request. When you need to
1134
+ # retry, this ID lets the server know that it can ignore the request if it
1135
+ # has already been completed. The server guarantees that for at least 60
1136
+ # minutes after the first request.
1135
1137
  #
1136
1138
  # For example, consider a situation where you make an initial request and
1137
1139
  # the request times out. If you make the request again with the same request
@@ -95,6 +95,9 @@ module Google
95
95
  channel_args: @config.channel_args,
96
96
  interceptors: @config.interceptors
97
97
  )
98
+
99
+ # Used by an LRO wrapper for some methods of this service
100
+ @operations_client = self
98
101
  end
99
102
 
100
103
  # Service calls