google-apis-apigee_v1 0.77.0 → 0.78.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: 9744bf4f661f797d240121b82be2e51ef2780aaee0c4822ab9dbcd88aba5b81c
4
- data.tar.gz: 257ed6c2f264c1ab51ba9c1252d34e4113eb62b2a50e5805919848adff324e7f
3
+ metadata.gz: 2e5d33d25363685c646543bc27482f02eeb8a0e77338320d19f9c125fd54dbcc
4
+ data.tar.gz: 476aa230f36b2677a11c85ee79426f50b11a2d0e349095b86551e36fb41a6363
5
5
  SHA512:
6
- metadata.gz: ae19561d3125bb6a3ff2948df32dad2d8cd6192dd5454930c75b64b9103d986c97df49af7455abc901a33bb3a2562aaca511667508e8a5983f84487abb6d187d
7
- data.tar.gz: 36a87261903804f3d1228d5abc454e0b686e209ed285d24822fc8ab71a2d4bf424e6e9d065218d13d86e5f4f67e8608a7e09e746ac6aa8fe8cf52bda958e17b3
6
+ metadata.gz: 3a7762de94b04a717f70a03b98a9fe23bed33900b9604bcde6cb2b07b36e90d2216482823b1dbac8104a4e9ca69aff574eb5ca00a2dcac88e50cfa21eb82bf41
7
+ data.tar.gz: 894946ffd8abee7a8d50087721f9913a4beeb8668e7d6c6317dcb2583a486a8139241fd98c816036ce7c1c1cb0a5157a2000b8e96d9e544f24eeab63567fd1de
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-apigee_v1
2
2
 
3
+ ### v0.78.0 (2023-11-05)
4
+
5
+ * Regenerated from discovery document revision 20231030
6
+
3
7
  ### v0.77.0 (2023-10-22)
4
8
 
5
9
  * Regenerated from discovery document revision 20231016
@@ -467,15 +467,56 @@ module Google
467
467
  end
468
468
  end
469
469
 
470
- # The API category resource wrapped with response status, error_code, etc.
470
+ # `ApiCategory` represents an API category. [Catalog items](/apigee/docs/
471
+ # reference/apis/apigee/rest/v1/organizations.sites.apidocs) can be tagged with
472
+ # API categories; users viewing the API catalog in the portal will have the
473
+ # option to browse the catalog by category.
471
474
  class GoogleCloudApigeeV1ApiCategory
472
475
  include Google::Apis::Core::Hashable
473
476
 
474
- # `ApiCategoryData` represents an API category. Catalog items can be tagged with
477
+ # ID of the category (a UUID).
478
+ # Corresponds to the JSON property `id`
479
+ # @return [String]
480
+ attr_accessor :id
481
+
482
+ # Name of the category.
483
+ # Corresponds to the JSON property `name`
484
+ # @return [String]
485
+ attr_accessor :name
486
+
487
+ # Name of the portal.
488
+ # Corresponds to the JSON property `siteId`
489
+ # @return [String]
490
+ attr_accessor :site_id
491
+
492
+ # Time the category was last modified in milliseconds since epoch.
493
+ # Corresponds to the JSON property `updateTime`
494
+ # @return [Fixnum]
495
+ attr_accessor :update_time
496
+
497
+ def initialize(**args)
498
+ update!(**args)
499
+ end
500
+
501
+ # Update properties of this object
502
+ def update!(**args)
503
+ @id = args[:id] if args.key?(:id)
504
+ @name = args[:name] if args.key?(:name)
505
+ @site_id = args[:site_id] if args.key?(:site_id)
506
+ @update_time = args[:update_time] if args.key?(:update_time)
507
+ end
508
+ end
509
+
510
+ # The API category resource wrapped with response status, error_code, etc.
511
+ class GoogleCloudApigeeV1ApiCategoryResponse
512
+ include Google::Apis::Core::Hashable
513
+
514
+ # `ApiCategory` represents an API category. [Catalog items](/apigee/docs/
515
+ # reference/apis/apigee/rest/v1/organizations.sites.apidocs) can be tagged with
475
516
  # API categories; users viewing the API catalog in the portal will have the
476
517
  # option to browse the catalog by category.
477
518
  # Corresponds to the JSON property `data`
478
- # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiCategoryData]
519
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiCategory]
479
520
  attr_accessor :data
480
521
 
481
522
  # Unique error code for the request, if any.
@@ -512,45 +553,6 @@ module Google
512
553
  end
513
554
  end
514
555
 
515
- # `ApiCategoryData` represents an API category. Catalog items can be tagged with
516
- # API categories; users viewing the API catalog in the portal will have the
517
- # option to browse the catalog by category.
518
- class GoogleCloudApigeeV1ApiCategoryData
519
- include Google::Apis::Core::Hashable
520
-
521
- # ID of the category (a UUID).
522
- # Corresponds to the JSON property `id`
523
- # @return [String]
524
- attr_accessor :id
525
-
526
- # Name of the category.
527
- # Corresponds to the JSON property `name`
528
- # @return [String]
529
- attr_accessor :name
530
-
531
- # Name of the portal.
532
- # Corresponds to the JSON property `siteId`
533
- # @return [String]
534
- attr_accessor :site_id
535
-
536
- # Time the category was last modified in milliseconds since epoch.
537
- # Corresponds to the JSON property `updateTime`
538
- # @return [Fixnum]
539
- attr_accessor :update_time
540
-
541
- def initialize(**args)
542
- update!(**args)
543
- end
544
-
545
- # Update properties of this object
546
- def update!(**args)
547
- @id = args[:id] if args.key?(:id)
548
- @name = args[:name] if args.key?(:name)
549
- @site_id = args[:site_id] if args.key?(:site_id)
550
- @update_time = args[:update_time] if args.key?(:update_time)
551
- end
552
- end
553
-
554
556
  #
555
557
  class GoogleCloudApigeeV1ApiProduct
556
558
  include Google::Apis::Core::Hashable
@@ -5103,9 +5105,9 @@ module Google
5103
5105
  class GoogleCloudApigeeV1ListApiCategoriesResponse
5104
5106
  include Google::Apis::Core::Hashable
5105
5107
 
5106
- # Details of the categories.
5108
+ # The API category resources.
5107
5109
  # Corresponds to the JSON property `data`
5108
- # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiCategoryData>]
5110
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiCategory>]
5109
5111
  attr_accessor :data
5110
5112
 
5111
5113
  # Unique error code for the request, if any.
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ApigeeV1
18
18
  # Version of the google-apis-apigee_v1 gem
19
- GEM_VERSION = "0.77.0"
19
+ GEM_VERSION = "0.78.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 = "20231016"
25
+ REVISION = "20231030"
26
26
  end
27
27
  end
28
28
  end
@@ -118,7 +118,7 @@ module Google
118
118
  include Google::Apis::Core::JsonObjectSupport
119
119
  end
120
120
 
121
- class GoogleCloudApigeeV1ApiCategoryData
121
+ class GoogleCloudApigeeV1ApiCategoryResponse
122
122
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
123
 
124
124
  include Google::Apis::Core::JsonObjectSupport
@@ -1783,22 +1783,22 @@ module Google
1783
1783
  class GoogleCloudApigeeV1ApiCategory
1784
1784
  # @private
1785
1785
  class Representation < Google::Apis::Core::JsonRepresentation
1786
- property :data, as: 'data', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiCategoryData, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiCategoryData::Representation
1787
-
1788
- property :error_code, as: 'errorCode'
1789
- property :message, as: 'message'
1790
- property :request_id, as: 'requestId'
1791
- property :status, as: 'status'
1786
+ property :id, as: 'id'
1787
+ property :name, as: 'name'
1788
+ property :site_id, as: 'siteId'
1789
+ property :update_time, :numeric_string => true, as: 'updateTime'
1792
1790
  end
1793
1791
  end
1794
1792
 
1795
- class GoogleCloudApigeeV1ApiCategoryData
1793
+ class GoogleCloudApigeeV1ApiCategoryResponse
1796
1794
  # @private
1797
1795
  class Representation < Google::Apis::Core::JsonRepresentation
1798
- property :id, as: 'id'
1799
- property :name, as: 'name'
1800
- property :site_id, as: 'siteId'
1801
- property :update_time, :numeric_string => true, as: 'updateTime'
1796
+ property :data, as: 'data', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiCategory, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiCategory::Representation
1797
+
1798
+ property :error_code, as: 'errorCode'
1799
+ property :message, as: 'message'
1800
+ property :request_id, as: 'requestId'
1801
+ property :status, as: 'status'
1802
1802
  end
1803
1803
  end
1804
1804
 
@@ -2931,7 +2931,7 @@ module Google
2931
2931
  class GoogleCloudApigeeV1ListApiCategoriesResponse
2932
2932
  # @private
2933
2933
  class Representation < Google::Apis::Core::JsonRepresentation
2934
- collection :data, as: 'data', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiCategoryData, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiCategoryData::Representation
2934
+ collection :data, as: 'data', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiCategory, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiCategory::Representation
2935
2935
 
2936
2936
  property :error_code, as: 'errorCode'
2937
2937
  property :message, as: 'message'
@@ -11110,7 +11110,7 @@ module Google
11110
11110
  # @param [String] parent
11111
11111
  # Required. Name of the portal. Use the following structure in your request: `
11112
11112
  # organizations/`org`/sites/`site``
11113
- # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiCategoryData] google_cloud_apigee_v1_api_category_data_object
11113
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiCategory] google_cloud_apigee_v1_api_category_object
11114
11114
  # @param [String] fields
11115
11115
  # Selector specifying which fields to include in a partial response.
11116
11116
  # @param [String] quota_user
@@ -11120,20 +11120,20 @@ module Google
11120
11120
  # Request-specific options
11121
11121
  #
11122
11122
  # @yield [result, err] Result & error if block supplied
11123
- # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiCategory] parsed result object
11123
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiCategoryResponse] parsed result object
11124
11124
  # @yieldparam err [StandardError] error object if request failed
11125
11125
  #
11126
- # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiCategory]
11126
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiCategoryResponse]
11127
11127
  #
11128
11128
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
11129
11129
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
11130
11130
  # @raise [Google::Apis::AuthorizationError] Authorization is required
11131
- def create_organization_site_apicategory(parent, google_cloud_apigee_v1_api_category_data_object = nil, fields: nil, quota_user: nil, options: nil, &block)
11131
+ def create_organization_site_apicategory(parent, google_cloud_apigee_v1_api_category_object = nil, fields: nil, quota_user: nil, options: nil, &block)
11132
11132
  command = make_simple_command(:post, 'v1/{+parent}/apicategories', options)
11133
- command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiCategoryData::Representation
11134
- command.request_object = google_cloud_apigee_v1_api_category_data_object
11135
- command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiCategory::Representation
11136
- command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiCategory
11133
+ command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiCategory::Representation
11134
+ command.request_object = google_cloud_apigee_v1_api_category_object
11135
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiCategoryResponse::Representation
11136
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiCategoryResponse
11137
11137
  command.params['parent'] = parent unless parent.nil?
11138
11138
  command.query['fields'] = fields unless fields.nil?
11139
11139
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -11184,18 +11184,18 @@ module Google
11184
11184
  # Request-specific options
11185
11185
  #
11186
11186
  # @yield [result, err] Result & error if block supplied
11187
- # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiCategory] parsed result object
11187
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiCategoryResponse] parsed result object
11188
11188
  # @yieldparam err [StandardError] error object if request failed
11189
11189
  #
11190
- # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiCategory]
11190
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiCategoryResponse]
11191
11191
  #
11192
11192
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
11193
11193
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
11194
11194
  # @raise [Google::Apis::AuthorizationError] Authorization is required
11195
11195
  def get_organization_site_apicategory(name, fields: nil, quota_user: nil, options: nil, &block)
11196
11196
  command = make_simple_command(:get, 'v1/{+name}', options)
11197
- command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiCategory::Representation
11198
- command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiCategory
11197
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiCategoryResponse::Representation
11198
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiCategoryResponse
11199
11199
  command.params['name'] = name unless name.nil?
11200
11200
  command.query['fields'] = fields unless fields.nil?
11201
11201
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -11237,7 +11237,7 @@ module Google
11237
11237
  # @param [String] name
11238
11238
  # Required. Name of the category. Use the following structure in your request: `
11239
11239
  # organizations/`org`/sites/`site`/apicategories/`apicategory``
11240
- # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiCategoryData] google_cloud_apigee_v1_api_category_data_object
11240
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiCategory] google_cloud_apigee_v1_api_category_object
11241
11241
  # @param [String] fields
11242
11242
  # Selector specifying which fields to include in a partial response.
11243
11243
  # @param [String] quota_user
@@ -11247,20 +11247,20 @@ module Google
11247
11247
  # Request-specific options
11248
11248
  #
11249
11249
  # @yield [result, err] Result & error if block supplied
11250
- # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiCategory] parsed result object
11250
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiCategoryResponse] parsed result object
11251
11251
  # @yieldparam err [StandardError] error object if request failed
11252
11252
  #
11253
- # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiCategory]
11253
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiCategoryResponse]
11254
11254
  #
11255
11255
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
11256
11256
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
11257
11257
  # @raise [Google::Apis::AuthorizationError] Authorization is required
11258
- def patch_organization_site_apicategory(name, google_cloud_apigee_v1_api_category_data_object = nil, fields: nil, quota_user: nil, options: nil, &block)
11258
+ def patch_organization_site_apicategory(name, google_cloud_apigee_v1_api_category_object = nil, fields: nil, quota_user: nil, options: nil, &block)
11259
11259
  command = make_simple_command(:patch, 'v1/{+name}', options)
11260
- command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiCategoryData::Representation
11261
- command.request_object = google_cloud_apigee_v1_api_category_data_object
11262
- command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiCategory::Representation
11263
- command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiCategory
11260
+ command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiCategory::Representation
11261
+ command.request_object = google_cloud_apigee_v1_api_category_object
11262
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiCategoryResponse::Representation
11263
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiCategoryResponse
11264
11264
  command.params['name'] = name unless name.nil?
11265
11265
  command.query['fields'] = fields unless fields.nil?
11266
11266
  command.query['quotaUser'] = quota_user unless quota_user.nil?
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-apigee_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.77.0
4
+ version: 0.78.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-29 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-apigee_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-apigee_v1/v0.77.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-apigee_v1/v0.78.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-apigee_v1
63
63
  post_install_message:
64
64
  rdoc_options: []