google-apis-blockchainnodeengine_v1 0.4.0 → 0.6.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a3c294a389630e05eb306988b7d32f38b857d1a0f6ecea748339429a0ab0cc6f
4
- data.tar.gz: 8626be47f39f35c70676a4424563a4d5076377bb4e86e8c7ea30842e32c29b86
3
+ metadata.gz: 8c4042925419d069d971efd157e2c92ffe54c73536a795cf7687df3a0ed65ac8
4
+ data.tar.gz: 21e24a80f947f9e5cc8fc7ee38cd90be28d153e81a9e0f37d6b3c1077be07eca
5
5
  SHA512:
6
- metadata.gz: 18f25da5f3dc8628e5dfd982bece8a35b5b44053c4584f5987fdd61be526d2c6669fd9a95509897b4f60c9b3bc568673654f05e8fee9616753fc192fbf645479
7
- data.tar.gz: 6f3eb1bb39f43bd15f0fc28668f97028b5d2848261b2bd813e9147fd0b2eed4d1fa99d13321feea40ae030cc00c772fb3935e0f547f32ecc17269b1cc6bb64ab
6
+ metadata.gz: 037ce6f73d9a83ec97bfaa030164b7a966d4a1d01b7a06148888af8e55deb6baf5adfbe83bd8dafdc0ba31c88458bf75aacc2bc43cc4cee74c21515270dd41d7
7
+ data.tar.gz: 62a72e8b676c1d144c2293b29d671acb9b611d8d05b21bb97bf4e8477b41a6a5573c271ea00e848abe336908dcf1bf70d12a202d2481e66d0126d918c9841a6d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-blockchainnodeengine_v1
2
2
 
3
+ ### v0.6.0 (2024-01-22)
4
+
5
+ * Regenerated from discovery document revision 20240103
6
+ * Regenerated using generator version 0.13.0
7
+
8
+ ### v0.5.0 (2023-12-10)
9
+
10
+ * Regenerated from discovery document revision 20231129
11
+
3
12
  ### v0.4.0 (2023-11-19)
4
13
 
5
14
  * Regenerated from discovery document revision 20231108
@@ -57,15 +57,6 @@ module Google
57
57
  # @return [String]
58
58
  attr_accessor :name
59
59
 
60
- # Optional. When true, the node is only accessible via Private Service Connect;
61
- # no public endpoints are exposed. Otherwise, the node is only accessible via
62
- # public endpoints. See https://cloud.google.com/vpc/docs/private-service-
63
- # connect.
64
- # Corresponds to the JSON property `privateServiceConnectEnabled`
65
- # @return [Boolean]
66
- attr_accessor :private_service_connect_enabled
67
- alias_method :private_service_connect_enabled?, :private_service_connect_enabled
68
-
69
60
  # Output only. A status representing the state of the node.
70
61
  # Corresponds to the JSON property `state`
71
62
  # @return [String]
@@ -88,7 +79,6 @@ module Google
88
79
  @ethereum_details = args[:ethereum_details] if args.key?(:ethereum_details)
89
80
  @labels = args[:labels] if args.key?(:labels)
90
81
  @name = args[:name] if args.key?(:name)
91
- @private_service_connect_enabled = args[:private_service_connect_enabled] if args.key?(:private_service_connect_enabled)
92
82
  @state = args[:state] if args.key?(:state)
93
83
  @update_time = args[:update_time] if args.key?(:update_time)
94
84
  end
@@ -182,16 +172,6 @@ module Google
182
172
  attr_accessor :api_enable_debug
183
173
  alias_method :api_enable_debug?, :api_enable_debug
184
174
 
185
- # An Ethereum address which the beacon client will send fee rewards to if no
186
- # recipient is configured in the validator client. See https://lighthouse-book.
187
- # sigmaprime.io/suggested-fee-recipient.html or https://docs.prylabs.network/
188
- # docs/execution-node/fee-recipient for examples of how this is used. Note that
189
- # while this is often described as "suggested", as we run the execution node we
190
- # can trust the execution node, and therefore this is considered enforced.
191
- # Corresponds to the JSON property `beaconFeeRecipient`
192
- # @return [String]
193
- attr_accessor :beacon_fee_recipient
194
-
195
175
  # Immutable. The consensus client.
196
176
  # Corresponds to the JSON property `consensusClient`
197
177
  # @return [String]
@@ -218,6 +198,12 @@ module Google
218
198
  # @return [String]
219
199
  attr_accessor :node_type
220
200
 
201
+ # Configuration for validator-related parameters on the beacon client, and for
202
+ # any GCP-managed validator client.
203
+ # Corresponds to the JSON property `validatorConfig`
204
+ # @return [Google::Apis::BlockchainnodeengineV1::ValidatorConfig]
205
+ attr_accessor :validator_config
206
+
221
207
  def initialize(**args)
222
208
  update!(**args)
223
209
  end
@@ -227,12 +213,12 @@ module Google
227
213
  @additional_endpoints = args[:additional_endpoints] if args.key?(:additional_endpoints)
228
214
  @api_enable_admin = args[:api_enable_admin] if args.key?(:api_enable_admin)
229
215
  @api_enable_debug = args[:api_enable_debug] if args.key?(:api_enable_debug)
230
- @beacon_fee_recipient = args[:beacon_fee_recipient] if args.key?(:beacon_fee_recipient)
231
216
  @consensus_client = args[:consensus_client] if args.key?(:consensus_client)
232
217
  @execution_client = args[:execution_client] if args.key?(:execution_client)
233
218
  @geth_details = args[:geth_details] if args.key?(:geth_details)
234
219
  @network = args[:network] if args.key?(:network)
235
220
  @node_type = args[:node_type] if args.key?(:node_type)
221
+ @validator_config = args[:validator_config] if args.key?(:validator_config)
236
222
  end
237
223
  end
238
224
 
@@ -593,6 +579,27 @@ module Google
593
579
  @message = args[:message] if args.key?(:message)
594
580
  end
595
581
  end
582
+
583
+ # Configuration for validator-related parameters on the beacon client, and for
584
+ # any GCP-managed validator client.
585
+ class ValidatorConfig
586
+ include Google::Apis::Core::Hashable
587
+
588
+ # URLs for MEV-relay services to use for block building. When set, a GCP-managed
589
+ # MEV-boost service is configured on the beacon client.
590
+ # Corresponds to the JSON property `mevRelayUrls`
591
+ # @return [Array<String>]
592
+ attr_accessor :mev_relay_urls
593
+
594
+ def initialize(**args)
595
+ update!(**args)
596
+ end
597
+
598
+ # Update properties of this object
599
+ def update!(**args)
600
+ @mev_relay_urls = args[:mev_relay_urls] if args.key?(:mev_relay_urls)
601
+ end
602
+ end
596
603
  end
597
604
  end
598
605
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module BlockchainnodeengineV1
18
18
  # Version of the google-apis-blockchainnodeengine_v1 gem
19
- GEM_VERSION = "0.4.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.12.0"
22
+ GENERATOR_VERSION = "0.13.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231108"
25
+ REVISION = "20240103"
26
26
  end
27
27
  end
28
28
  end
@@ -112,6 +112,12 @@ module Google
112
112
  include Google::Apis::Core::JsonObjectSupport
113
113
  end
114
114
 
115
+ class ValidatorConfig
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
115
121
  class BlockchainNode
116
122
  # @private
117
123
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -123,7 +129,6 @@ module Google
123
129
 
124
130
  hash :labels, as: 'labels'
125
131
  property :name, as: 'name'
126
- property :private_service_connect_enabled, as: 'privateServiceConnectEnabled'
127
132
  property :state, as: 'state'
128
133
  property :update_time, as: 'updateTime'
129
134
  end
@@ -159,13 +164,14 @@ module Google
159
164
 
160
165
  property :api_enable_admin, as: 'apiEnableAdmin'
161
166
  property :api_enable_debug, as: 'apiEnableDebug'
162
- property :beacon_fee_recipient, as: 'beaconFeeRecipient'
163
167
  property :consensus_client, as: 'consensusClient'
164
168
  property :execution_client, as: 'executionClient'
165
169
  property :geth_details, as: 'gethDetails', class: Google::Apis::BlockchainnodeengineV1::GethDetails, decorator: Google::Apis::BlockchainnodeengineV1::GethDetails::Representation
166
170
 
167
171
  property :network, as: 'network'
168
172
  property :node_type, as: 'nodeType'
173
+ property :validator_config, as: 'validatorConfig', class: Google::Apis::BlockchainnodeengineV1::ValidatorConfig, decorator: Google::Apis::BlockchainnodeengineV1::ValidatorConfig::Representation
174
+
169
175
  end
170
176
  end
171
177
 
@@ -263,6 +269,13 @@ module Google
263
269
  property :message, as: 'message'
264
270
  end
265
271
  end
272
+
273
+ class ValidatorConfig
274
+ # @private
275
+ class Representation < Google::Apis::Core::JsonRepresentation
276
+ collection :mev_relay_urls, as: 'mevRelayUrls'
277
+ end
278
+ end
266
279
  end
267
280
  end
268
281
  end
@@ -32,6 +32,8 @@ module Google
32
32
  #
33
33
  # @see https://cloud.google.com/blockchain-node-engine
34
34
  class BlockchainNodeEngineService < Google::Apis::Core::BaseService
35
+ DEFAULT_ENDPOINT_TEMPLATE = "https://blockchainnodeengine.$UNIVERSE_DOMAIN$/"
36
+
35
37
  # @return [String]
36
38
  # API key. Your API key identifies your project and provides you with API access,
37
39
  # quota, and reports. Required unless you provide an OAuth 2.0 token.
@@ -43,7 +45,7 @@ module Google
43
45
  attr_accessor :quota_user
44
46
 
45
47
  def initialize
46
- super('https://blockchainnodeengine.googleapis.com/', '',
48
+ super(DEFAULT_ENDPOINT_TEMPLATE, '',
47
49
  client_name: 'google-apis-blockchainnodeengine_v1',
48
50
  client_version: Google::Apis::BlockchainnodeengineV1::GEM_VERSION)
49
51
  @batch_path = 'batch'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-blockchainnodeengine_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.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: 2023-11-19 00:00:00.000000000 Z
11
+ date: 2024-01-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.11.0
19
+ version: 0.12.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.11.0
29
+ version: 0.12.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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-blockchainnodeengine_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-blockchainnodeengine_v1/v0.4.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-blockchainnodeengine_v1/v0.6.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-blockchainnodeengine_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.4.19
78
+ rubygems_version: 3.5.3
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Blockchain Node Engine API V1