google-apis-apim_v1alpha 0.4.0 → 0.5.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: 9ffdfe7d0d87319d96fc943e8bc1ce9d01f903a2d962cdc98e9ba5173f439e92
4
- data.tar.gz: 85537c0925b63c99a8872cf2471d4055fed60527b789cfb57f7c5f6b610548bf
3
+ metadata.gz: 69d91bdb161d22c8294edd0543a4021be145aa4f9c546868c369142f01aee83c
4
+ data.tar.gz: 138ef84bf5b1faddc7845d996f32a78a311048dd910aceb8ed28480a66f13d8c
5
5
  SHA512:
6
- metadata.gz: 29f75580b65438ef2a672a363e925351e23864212376edf153dc643c285a391c536cc258b827d98a762678b38b899a730ae506066f3fcfd8ac6d08202a39828c
7
- data.tar.gz: f5a3f60b892503f6e2bb86872983df3c827581bbf40f63f54ffc84d2700e16e36c35fc660a676ff382490dc58c36ef5a076322a5a064188395fa6c7907153ce5
6
+ metadata.gz: 43eeac5a0e0890c36e4902e380bc8cb8ffdb9e3ee0136891e2f00e1003225aa43cad256829c3913550a815c3e4fe58f66ae59cf5fa22722e0528baf160909ac2
7
+ data.tar.gz: 8fcc9b720afcd7d3c95b5aba817c4216185b085a801cd2f90111291d6925076df67915aad9b0c34f1e7ab0906e35e96c88e9836a47d78a6a6bf457d74b7e9908
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-apim_v1alpha
2
2
 
3
+ ### v0.5.0 (2025-08-10)
4
+
5
+ * Regenerated from discovery document revision 20250730
6
+
3
7
  ### v0.4.0 (2025-05-25)
4
8
 
5
9
  * Regenerated from discovery document revision 20250521
@@ -261,6 +261,53 @@ module Google
261
261
  end
262
262
  end
263
263
 
264
+ # Entitlement stores data related to API Observation entitlement for a given
265
+ # project
266
+ class Entitlement
267
+ include Google::Apis::Core::Hashable
268
+
269
+ # Whether API Observation is entitled.
270
+ # Corresponds to the JSON property `apiObservationEntitled`
271
+ # @return [Boolean]
272
+ attr_accessor :api_observation_entitled
273
+ alias_method :api_observation_entitled?, :api_observation_entitled
274
+
275
+ # Project number of associated billing project that has Apigee and Advanced API
276
+ # Security entitled.
277
+ # Corresponds to the JSON property `billingProjectNumber`
278
+ # @return [Fixnum]
279
+ attr_accessor :billing_project_number
280
+
281
+ # Output only. The time of the entitlement creation.
282
+ # Corresponds to the JSON property `createTime`
283
+ # @return [String]
284
+ attr_accessor :create_time
285
+
286
+ # Identifier. The entitlement resource name `projects/`project`/locations/`
287
+ # location`/entitlement`
288
+ # Corresponds to the JSON property `name`
289
+ # @return [String]
290
+ attr_accessor :name
291
+
292
+ # Output only. The time of the entitlement update.
293
+ # Corresponds to the JSON property `updateTime`
294
+ # @return [String]
295
+ attr_accessor :update_time
296
+
297
+ def initialize(**args)
298
+ update!(**args)
299
+ end
300
+
301
+ # Update properties of this object
302
+ def update!(**args)
303
+ @api_observation_entitled = args[:api_observation_entitled] if args.key?(:api_observation_entitled)
304
+ @billing_project_number = args[:billing_project_number] if args.key?(:billing_project_number)
305
+ @create_time = args[:create_time] if args.key?(:create_time)
306
+ @name = args[:name] if args.key?(:name)
307
+ @update_time = args[:update_time] if args.key?(:update_time)
308
+ end
309
+ end
310
+
264
311
  # The GCLB observation source.
265
312
  class GclbObservationSource
266
313
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ApimV1alpha
18
18
  # Version of the google-apis-apim_v1alpha gem
19
- GEM_VERSION = "0.4.0"
19
+ GEM_VERSION = "0.5.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250521"
25
+ REVISION = "20250730"
26
26
  end
27
27
  end
28
28
  end
@@ -76,6 +76,12 @@ module Google
76
76
  include Google::Apis::Core::JsonObjectSupport
77
77
  end
78
78
 
79
+ class Entitlement
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
79
85
  class GclbObservationSource
80
86
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
87
 
@@ -285,6 +291,17 @@ module Google
285
291
  end
286
292
  end
287
293
 
294
+ class Entitlement
295
+ # @private
296
+ class Representation < Google::Apis::Core::JsonRepresentation
297
+ property :api_observation_entitled, as: 'apiObservationEntitled'
298
+ property :billing_project_number, :numeric_string => true, as: 'billingProjectNumber'
299
+ property :create_time, as: 'createTime'
300
+ property :name, as: 'name'
301
+ property :update_time, as: 'updateTime'
302
+ end
303
+ end
304
+
288
305
  class GclbObservationSource
289
306
  # @private
290
307
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -81,6 +81,37 @@ module Google
81
81
  execute_or_queue_command(command, &block)
82
82
  end
83
83
 
84
+ # GetEntitlement returns the entitlement for the provided project.
85
+ # @param [String] name
86
+ # Required. The entitlement resource name Format: projects/`project`/locations/`
87
+ # location`/entitlement
88
+ # @param [String] fields
89
+ # Selector specifying which fields to include in a partial response.
90
+ # @param [String] quota_user
91
+ # Available to use for quota purposes for server-side applications. Can be any
92
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
93
+ # @param [Google::Apis::RequestOptions] options
94
+ # Request-specific options
95
+ #
96
+ # @yield [result, err] Result & error if block supplied
97
+ # @yieldparam result [Google::Apis::ApimV1alpha::Entitlement] parsed result object
98
+ # @yieldparam err [StandardError] error object if request failed
99
+ #
100
+ # @return [Google::Apis::ApimV1alpha::Entitlement]
101
+ #
102
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
103
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
104
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
105
+ def get_project_location_entitlement(name, fields: nil, quota_user: nil, options: nil, &block)
106
+ command = make_simple_command(:get, 'v1alpha/{+name}', options)
107
+ command.response_representation = Google::Apis::ApimV1alpha::Entitlement::Representation
108
+ command.response_class = Google::Apis::ApimV1alpha::Entitlement
109
+ command.params['name'] = name unless name.nil?
110
+ command.query['fields'] = fields unless fields.nil?
111
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
112
+ execute_or_queue_command(command, &block)
113
+ end
114
+
84
115
  # Lists information about the supported locations for this service.
85
116
  # @param [String] name
86
117
  # The resource that owns the locations collection, if applicable.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-apim_v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-apim_v1alpha/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-apim_v1alpha/v0.4.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-apim_v1alpha/v0.5.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-apim_v1alpha
62
62
  rdoc_options: []
63
63
  require_paths: