google-apis-apigeeregistry_v1 0.11.0 → 0.12.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: 64bab6194e9bf680ae3e79da79582005f7fe784a17fcd49378f5a3ca5f4323e0
4
- data.tar.gz: 91e1d6bbf1293799893766e5a27e2c5084558f4b690faf8b65462f852c0ea87e
3
+ metadata.gz: f68299697f17cbeec0ddd9c08d6dc1d98c588e4dba35ec7ac6a542722abea4ab
4
+ data.tar.gz: b19a4fdce2bb2d2ca6834ccb8f20f72189ac8c6a3ca62f07ca1f707d45d55b82
5
5
  SHA512:
6
- metadata.gz: b722486624b8f1d196c6ca3fc829fb37a3359f2e0a1a13eacf1584155643de3c579eaee804482edba1c2c267975a8b76a266315ffe351dac85711ec7e558fe1c
7
- data.tar.gz: 10c4dd35f77835ab4aa41ce8767de53b1be9d743dc366b067457b432ceda0102efe626ea13f124a95b3f95ee1430ee356cdae0c83dd4ab616f288bc0917d61df
6
+ metadata.gz: a086f3c21666de74b49613d6188a1aee0ef5f7308b3ae9ddb2426fccde159b73dbe5f788647fdf3c0dfcb4001d0d3b11613a1be7efa28c1b42371fcf3c3f0bba
7
+ data.tar.gz: e8f3073bba9296e46549560bdbb8b9b40378f38af637b9732d792f85f1332ddc632dafb0e38850705bc7f104df471e265b02d4d567b40c1138bc8bc2d63d059b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-apigeeregistry_v1
2
2
 
3
+ ### v0.12.0 (2023-01-29)
4
+
5
+ * Regenerated from discovery document revision 20230118
6
+ * Regenerated using generator version 0.11.1
7
+
3
8
  ### v0.11.0 (2022-11-01)
4
9
 
5
10
  * Regenerated using generator version 0.11.0
@@ -133,7 +133,8 @@ module Google
133
133
 
134
134
  # The full resource name (including revision ID) of the spec of the API being
135
135
  # served by the deployment. Changes to this value will update the revision.
136
- # Format: `apis/`api`/deployments/`deployment``
136
+ # Format: `projects/`project`/locations/`location`/apis/`api`/versions/`version`/
137
+ # specs/`spec@revision``
137
138
  # Corresponds to the JSON property `apiSpecRevision`
138
139
  # @return [String]
139
140
  attr_accessor :api_spec_revision
@@ -406,6 +407,12 @@ module Google
406
407
  # @return [String]
407
408
  attr_accessor :name
408
409
 
410
+ # The primary spec for this version. Format: projects/`project`/locations/`
411
+ # location`/apis/`api`/versions/`version`/specs/`spec`
412
+ # Corresponds to the JSON property `primarySpec`
413
+ # @return [String]
414
+ attr_accessor :primary_spec
415
+
409
416
  # A user-definable description of the lifecycle phase of this API version.
410
417
  # Format: free-form, but we expect single words that describe API maturity, e.g.,
411
418
  # "CONCEPT", "DESIGN", "DEVELOPMENT", "STAGING", "PRODUCTION", "DEPRECATED", "
@@ -431,6 +438,7 @@ module Google
431
438
  @display_name = args[:display_name] if args.key?(:display_name)
432
439
  @labels = args[:labels] if args.key?(:labels)
433
440
  @name = args[:name] if args.key?(:name)
441
+ @primary_spec = args[:primary_spec] if args.key?(:primary_spec)
434
442
  @state = args[:state] if args.key?(:state)
435
443
  @update_time = args[:update_time] if args.key?(:update_time)
436
444
  end
@@ -447,6 +455,14 @@ module Google
447
455
  class Artifact
448
456
  include Google::Apis::Core::Hashable
449
457
 
458
+ # Annotations attach non-identifying metadata to resources. Annotation keys and
459
+ # values are less restricted than those of labels, but should be generally used
460
+ # for small values of broad interest. Larger, topic- specific metadata should be
461
+ # stored in Artifacts.
462
+ # Corresponds to the JSON property `annotations`
463
+ # @return [Hash<String,String>]
464
+ attr_accessor :annotations
465
+
450
466
  # Input only. The contents of the artifact. Provided by API callers when
451
467
  # artifacts are created or replaced. To access the contents of an artifact, use
452
468
  # GetArtifactContents.
@@ -466,6 +482,18 @@ module Google
466
482
  # @return [String]
467
483
  attr_accessor :hash_prop
468
484
 
485
+ # Labels attach identifying metadata to resources. Identifying metadata can be
486
+ # used to filter list operations. Label keys and values can be no longer than 64
487
+ # characters (Unicode codepoints), can only contain lowercase letters, numeric
488
+ # characters, underscores and dashes. International characters are allowed. No
489
+ # more than 64 user labels can be associated with one resource (System labels
490
+ # are excluded). See https://goo.gl/xmQnxf for more information and examples of
491
+ # labels. System reserved label keys are prefixed with "registry.googleapis.com/"
492
+ # and cannot be changed.
493
+ # Corresponds to the JSON property `labels`
494
+ # @return [Hash<String,String>]
495
+ attr_accessor :labels
496
+
469
497
  # A content type specifier for the artifact. Content type specifiers are Media
470
498
  # Types (https://en.wikipedia.org/wiki/Media_type) with a possible "schema"
471
499
  # parameter that specifies a schema for the stored information. Content types
@@ -497,9 +525,11 @@ module Google
497
525
 
498
526
  # Update properties of this object
499
527
  def update!(**args)
528
+ @annotations = args[:annotations] if args.key?(:annotations)
500
529
  @contents = args[:contents] if args.key?(:contents)
501
530
  @create_time = args[:create_time] if args.key?(:create_time)
502
531
  @hash_prop = args[:hash_prop] if args.key?(:hash_prop)
532
+ @labels = args[:labels] if args.key?(:labels)
503
533
  @mime_type = args[:mime_type] if args.key?(:mime_type)
504
534
  @name = args[:name] if args.key?(:name)
505
535
  @size_bytes = args[:size_bytes] if args.key?(:size_bytes)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ApigeeregistryV1
18
18
  # Version of the google-apis-apigeeregistry_v1 gem
19
- GEM_VERSION = "0.11.0"
19
+ GEM_VERSION = "0.12.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.11.0"
22
+ GENERATOR_VERSION = "0.11.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220929"
25
+ REVISION = "20230118"
26
26
  end
27
27
  end
28
28
  end
@@ -285,6 +285,7 @@ module Google
285
285
  property :display_name, as: 'displayName'
286
286
  hash :labels, as: 'labels'
287
287
  property :name, as: 'name'
288
+ property :primary_spec, as: 'primarySpec'
288
289
  property :state, as: 'state'
289
290
  property :update_time, as: 'updateTime'
290
291
  end
@@ -293,9 +294,11 @@ module Google
293
294
  class Artifact
294
295
  # @private
295
296
  class Representation < Google::Apis::Core::JsonRepresentation
297
+ hash :annotations, as: 'annotations'
296
298
  property :contents, :base64 => true, as: 'contents'
297
299
  property :create_time, as: 'createTime'
298
300
  property :hash_prop, as: 'hash'
301
+ hash :labels, as: 'labels'
299
302
  property :mime_type, as: 'mimeType'
300
303
  property :name, as: 'name'
301
304
  property :size_bytes, as: 'sizeBytes'
@@ -1014,6 +1014,9 @@ module Google
1014
1014
  # order of revision creation time.
1015
1015
  # @param [String] name
1016
1016
  # Required. The name of the deployment to list revisions for.
1017
+ # @param [String] filter
1018
+ # An expression that can be used to filter the list. Filters use the Common
1019
+ # Expression Language and can refer to all message fields.
1017
1020
  # @param [Fixnum] page_size
1018
1021
  # The maximum number of revisions to return per page.
1019
1022
  # @param [String] page_token
@@ -1036,11 +1039,12 @@ module Google
1036
1039
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1037
1040
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1038
1041
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1039
- def list_project_location_api_deployment_revisions(name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1042
+ def list_project_location_api_deployment_revisions(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1040
1043
  command = make_simple_command(:get, 'v1/{+name}:listRevisions', options)
1041
1044
  command.response_representation = Google::Apis::ApigeeregistryV1::ListApiDeploymentRevisionsResponse::Representation
1042
1045
  command.response_class = Google::Apis::ApigeeregistryV1::ListApiDeploymentRevisionsResponse
1043
1046
  command.params['name'] = name unless name.nil?
1047
+ command.query['filter'] = filter unless filter.nil?
1044
1048
  command.query['pageSize'] = page_size unless page_size.nil?
1045
1049
  command.query['pageToken'] = page_token unless page_token.nil?
1046
1050
  command.query['fields'] = fields unless fields.nil?
@@ -2373,6 +2377,9 @@ module Google
2373
2377
  # revision creation time.
2374
2378
  # @param [String] name
2375
2379
  # Required. The name of the spec to list revisions for.
2380
+ # @param [String] filter
2381
+ # An expression that can be used to filter the list. Filters use the Common
2382
+ # Expression Language and can refer to all message fields.
2376
2383
  # @param [Fixnum] page_size
2377
2384
  # The maximum number of revisions to return per page.
2378
2385
  # @param [String] page_token
@@ -2395,11 +2402,12 @@ module Google
2395
2402
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2396
2403
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2397
2404
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2398
- def list_project_location_api_version_spec_revisions(name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2405
+ def list_project_location_api_version_spec_revisions(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2399
2406
  command = make_simple_command(:get, 'v1/{+name}:listRevisions', options)
2400
2407
  command.response_representation = Google::Apis::ApigeeregistryV1::ListApiSpecRevisionsResponse::Representation
2401
2408
  command.response_class = Google::Apis::ApigeeregistryV1::ListApiSpecRevisionsResponse
2402
2409
  command.params['name'] = name unless name.nil?
2410
+ command.query['filter'] = filter unless filter.nil?
2403
2411
  command.query['pageSize'] = page_size unless page_size.nil?
2404
2412
  command.query['pageToken'] = page_token unless page_token.nil?
2405
2413
  command.query['fields'] = fields unless fields.nil?
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-apigeeregistry_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.12.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: 2022-11-07 00:00:00.000000000 Z
11
+ date: 2023-01-29 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-apigeeregistry_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-apigeeregistry_v1/v0.11.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-apigeeregistry_v1/v0.12.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-apigeeregistry_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.3.14
78
+ rubygems_version: 3.4.2
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Apigee Registry API V1