google-apis-networkconnectivity_v1 0.34.0 → 0.35.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: f9b428e6645653dbb89ca15a11ed5f5b7a8d91f0014f0a2ea3c25a8a9cea2c74
4
- data.tar.gz: 60e8701de75f462b3424ac2a6922550f2485014233361b7d136cfcd7440eadd6
3
+ metadata.gz: ebaa7bcc57a12bdad309142637ec74d0f3816e54d9cfea6934ff42f5b065c9f1
4
+ data.tar.gz: 6b9178fca53bfd04822f8885162e4ebe0151425d6cb6e707a189416233797e78
5
5
  SHA512:
6
- metadata.gz: d4a7c5391ffb364b85f8ed71d04af4885044f20ed904c6ea600ff218a01dcb37dc06b0f337a18bcc89b296519602715cf83f7e7caf5b2c6695ef677c4c28c183
7
- data.tar.gz: fe0142adc5b584f6ff16aec5aaf984b838b21db5896761bb760d2e0a769eed07f5fe761f4c0100f9a19f1b86fedcaf04a5cd6f686a0d421b85c8fa9e43dacbd9
6
+ metadata.gz: 8aa68c62fcf7392169f9497c2d130d9662fe91870530092bdebcd84bde0f52639035051123e6bd6043643605eb8021d2aef779de1f2500d098648ad91bee8eb6
7
+ data.tar.gz: 458f87defec7c66d6bab4dcd5303e9a48b39e16de76ce73cd8a20f2e8aeee80861be9c4464dcf3955462b5beb5ce44215375a15d86ecf279ad3b691b68d4c8f5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-networkconnectivity_v1
2
2
 
3
+ ### v0.35.0 (2023-11-05)
4
+
5
+ * Regenerated from discovery document revision 20231030
6
+
3
7
  ### v0.34.0 (2023-10-01)
4
8
 
5
9
  * Regenerated from discovery document revision 20230921
@@ -80,35 +80,6 @@ module Google
80
80
  end
81
81
  end
82
82
 
83
- # The request for HubService.AcceptSpoke.
84
- class AcceptSpokeRequest
85
- include Google::Apis::Core::Hashable
86
-
87
- # Optional. A request ID to identify requests. Specify a unique request ID so
88
- # that if you must retry your request, the server knows to ignore the request if
89
- # it has already been completed. The server guarantees that a request doesn't
90
- # result in creation of duplicate commitments for at least 60 minutes. For
91
- # example, consider a situation where you make an initial request and the
92
- # request times out. If you make the request again with the same request ID, the
93
- # server can check to see whether the original operation was received. If it was,
94
- # the server ignores the second request. This behavior prevents clients from
95
- # mistakenly creating duplicate commitments. The request ID must be a valid UUID,
96
- # with the exception that zero UUID is not supported (00000000-0000-0000-0000-
97
- # 000000000000).
98
- # Corresponds to the JSON property `requestId`
99
- # @return [String]
100
- attr_accessor :request_id
101
-
102
- def initialize(**args)
103
- update!(**args)
104
- end
105
-
106
- # Update properties of this object
107
- def update!(**args)
108
- @request_id = args[:request_id] if args.key?(:request_id)
109
- end
110
- end
111
-
112
83
  # Specifies the audit configuration for a service. The configuration determines
113
84
  # which permission types are logged, and what identities, if any, are exempted
114
85
  # from logging. An AuditConfig must have one or more AuditLogConfigs. If there
@@ -2086,42 +2057,6 @@ module Google
2086
2057
  end
2087
2058
  end
2088
2059
 
2089
- # The request for HubService.RejectSpoke.
2090
- class RejectSpokeRequest
2091
- include Google::Apis::Core::Hashable
2092
-
2093
- # Optional. Additional information provided by the hub administrator in the `
2094
- # RejectSpoke` call.
2095
- # Corresponds to the JSON property `details`
2096
- # @return [String]
2097
- attr_accessor :details
2098
-
2099
- # Optional. A request ID to identify requests. Specify a unique request ID so
2100
- # that if you must retry your request, the server knows to ignore the request if
2101
- # it has already been completed. The server guarantees that a request doesn't
2102
- # result in creation of duplicate commitments for at least 60 minutes. For
2103
- # example, consider a situation where you make an initial request and the
2104
- # request times out. If you make the request again with the same request ID, the
2105
- # server can check to see whether the original operation was received. If it was,
2106
- # the server ignores the second request. This behavior prevents clients from
2107
- # mistakenly creating duplicate commitments. The request ID must be a valid UUID,
2108
- # with the exception that zero UUID is not supported (00000000-0000-0000-0000-
2109
- # 000000000000).
2110
- # Corresponds to the JSON property `requestId`
2111
- # @return [String]
2112
- attr_accessor :request_id
2113
-
2114
- def initialize(**args)
2115
- update!(**args)
2116
- end
2117
-
2118
- # Update properties of this object
2119
- def update!(**args)
2120
- @details = args[:details] if args.key?(:details)
2121
- @request_id = args[:request_id] if args.key?(:request_id)
2122
- end
2123
- end
2124
-
2125
2060
  # A route defines a path from VM instances within a spoke to a specific
2126
2061
  # destination resource. Only VPC spokes have routes.
2127
2062
  class Route
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module NetworkconnectivityV1
18
18
  # Version of the google-apis-networkconnectivity_v1 gem
19
- GEM_VERSION = "0.34.0"
19
+ GEM_VERSION = "0.35.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230921"
25
+ REVISION = "20231030"
26
26
  end
27
27
  end
28
28
  end
@@ -34,12 +34,6 @@ module Google
34
34
  include Google::Apis::Core::JsonObjectSupport
35
35
  end
36
36
 
37
- class AcceptSpokeRequest
38
- class Representation < Google::Apis::Core::JsonRepresentation; end
39
-
40
- include Google::Apis::Core::JsonObjectSupport
41
- end
42
-
43
37
  class AuditConfig
44
38
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
39
 
@@ -310,12 +304,6 @@ module Google
310
304
  include Google::Apis::Core::JsonObjectSupport
311
305
  end
312
306
 
313
- class RejectSpokeRequest
314
- class Representation < Google::Apis::Core::JsonRepresentation; end
315
-
316
- include Google::Apis::Core::JsonObjectSupport
317
- end
318
-
319
307
  class Route
320
308
  class Representation < Google::Apis::Core::JsonRepresentation; end
321
309
 
@@ -446,13 +434,6 @@ module Google
446
434
  end
447
435
  end
448
436
 
449
- class AcceptSpokeRequest
450
- # @private
451
- class Representation < Google::Apis::Core::JsonRepresentation
452
- property :request_id, as: 'requestId'
453
- end
454
- end
455
-
456
437
  class AuditConfig
457
438
  # @private
458
439
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -926,14 +907,6 @@ module Google
926
907
  end
927
908
  end
928
909
 
929
- class RejectSpokeRequest
930
- # @private
931
- class Representation < Google::Apis::Core::JsonRepresentation
932
- property :details, as: 'details'
933
- property :request_id, as: 'requestId'
934
- end
935
- end
936
-
937
910
  class Route
938
911
  # @private
939
912
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2718,39 +2718,6 @@ module Google
2718
2718
  execute_or_queue_command(command, &block)
2719
2719
  end
2720
2720
 
2721
- # Accepts a proposal to attach a Network Connectivity Center spoke to the hub.
2722
- # @param [String] name
2723
- # Required. The name of the spoke to accept.
2724
- # @param [Google::Apis::NetworkconnectivityV1::AcceptSpokeRequest] accept_spoke_request_object
2725
- # @param [String] fields
2726
- # Selector specifying which fields to include in a partial response.
2727
- # @param [String] quota_user
2728
- # Available to use for quota purposes for server-side applications. Can be any
2729
- # arbitrary string assigned to a user, but should not exceed 40 characters.
2730
- # @param [Google::Apis::RequestOptions] options
2731
- # Request-specific options
2732
- #
2733
- # @yield [result, err] Result & error if block supplied
2734
- # @yieldparam result [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation] parsed result object
2735
- # @yieldparam err [StandardError] error object if request failed
2736
- #
2737
- # @return [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation]
2738
- #
2739
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2740
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2741
- # @raise [Google::Apis::AuthorizationError] Authorization is required
2742
- def accept_spoke(name, accept_spoke_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2743
- command = make_simple_command(:post, 'v1/{+name}:accept', options)
2744
- command.request_representation = Google::Apis::NetworkconnectivityV1::AcceptSpokeRequest::Representation
2745
- command.request_object = accept_spoke_request_object
2746
- command.response_representation = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation::Representation
2747
- command.response_class = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation
2748
- command.params['name'] = name unless name.nil?
2749
- command.query['fields'] = fields unless fields.nil?
2750
- command.query['quotaUser'] = quota_user unless quota_user.nil?
2751
- execute_or_queue_command(command, &block)
2752
- end
2753
-
2754
2721
  # Creates a Network Connectivity Center spoke.
2755
2722
  # @param [String] parent
2756
2723
  # Required. The parent resource.
@@ -3016,42 +2983,6 @@ module Google
3016
2983
  execute_or_queue_command(command, &block)
3017
2984
  end
3018
2985
 
3019
- # Rejects a Network Connectivity Center spoke from being attached to the hub. If
3020
- # the spoke was previously in the `ACTIVE` state, it transitions to the `
3021
- # INACTIVE` state and is no longer able to connect to other spokes that are
3022
- # attached to the hub.
3023
- # @param [String] name
3024
- # Required. The name of the spoke to reject.
3025
- # @param [Google::Apis::NetworkconnectivityV1::RejectSpokeRequest] reject_spoke_request_object
3026
- # @param [String] fields
3027
- # Selector specifying which fields to include in a partial response.
3028
- # @param [String] quota_user
3029
- # Available to use for quota purposes for server-side applications. Can be any
3030
- # arbitrary string assigned to a user, but should not exceed 40 characters.
3031
- # @param [Google::Apis::RequestOptions] options
3032
- # Request-specific options
3033
- #
3034
- # @yield [result, err] Result & error if block supplied
3035
- # @yieldparam result [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation] parsed result object
3036
- # @yieldparam err [StandardError] error object if request failed
3037
- #
3038
- # @return [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation]
3039
- #
3040
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3041
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3042
- # @raise [Google::Apis::AuthorizationError] Authorization is required
3043
- def reject_spoke(name, reject_spoke_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3044
- command = make_simple_command(:post, 'v1/{+name}:reject', options)
3045
- command.request_representation = Google::Apis::NetworkconnectivityV1::RejectSpokeRequest::Representation
3046
- command.request_object = reject_spoke_request_object
3047
- command.response_representation = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation::Representation
3048
- command.response_class = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation
3049
- command.params['name'] = name unless name.nil?
3050
- command.query['fields'] = fields unless fields.nil?
3051
- command.query['quotaUser'] = quota_user unless quota_user.nil?
3052
- execute_or_queue_command(command, &block)
3053
- end
3054
-
3055
2986
  # Sets the access control policy on the specified resource. Replaces any
3056
2987
  # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
3057
2988
  # PERMISSION_DENIED` errors.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-networkconnectivity_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.34.0
4
+ version: 0.35.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: 2023-10-01 00:00:00.000000000 Z
11
+ date: 2023-11-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networkconnectivity_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-networkconnectivity_v1/v0.34.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-networkconnectivity_v1/v0.35.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networkconnectivity_v1
63
63
  post_install_message:
64
64
  rdoc_options: []