google-apis-apigeeregistry_v1 0.11.0 → 0.13.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: 64bab6194e9bf680ae3e79da79582005f7fe784a17fcd49378f5a3ca5f4323e0
4
- data.tar.gz: 91e1d6bbf1293799893766e5a27e2c5084558f4b690faf8b65462f852c0ea87e
3
+ metadata.gz: 10b730d0f5d9b06f3c9d593f716b71ddc6f1e8150f23d4475ee095403892f3c7
4
+ data.tar.gz: 933002d0dfefe438cf980d792619cea9585a8e0a8e114688876f66f7ae60b672
5
5
  SHA512:
6
- metadata.gz: b722486624b8f1d196c6ca3fc829fb37a3359f2e0a1a13eacf1584155643de3c579eaee804482edba1c2c267975a8b76a266315ffe351dac85711ec7e558fe1c
7
- data.tar.gz: 10c4dd35f77835ab4aa41ce8767de53b1be9d743dc366b067457b432ceda0102efe626ea13f124a95b3f95ee1430ee356cdae0c83dd4ab616f288bc0917d61df
6
+ metadata.gz: 785e8832af0e9d43539571741846ddb3082c6241c471f6479cd4c11d0e3de65aed6906f9fbe1757ce5e0380942aa098b99f909bfcaa073d139d2553709cd34dd
7
+ data.tar.gz: bf0036a8df071f73842cc87471e0ec4acbfe81c3269ec73abe79b04af52809aa4ef7997607a798f01a9a6a590caaa18390635f01565988ecd0dd1b2ff5fe85f1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-apigeeregistry_v1
2
2
 
3
+ ### v0.13.0 (2023-02-05)
4
+
5
+ * Regenerated from discovery document revision 20230127
6
+
7
+ ### v0.12.0 (2023-01-29)
8
+
9
+ * Regenerated from discovery document revision 20230118
10
+ * Regenerated using generator version 0.11.1
11
+
3
12
  ### v0.11.0 (2022-11-01)
4
13
 
5
14
  * 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)
@@ -545,22 +575,22 @@ module Google
545
575
  # kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-
546
576
  # project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:`emailid``: An
547
577
  # email address that represents a Google group. For example, `admins@example.com`
548
- # . * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
549
- # identifier) representing a user that has been recently deleted. For example, `
550
- # alice@example.com?uid=123456789012345678901`. If the user is recovered, this
551
- # value reverts to `user:`emailid`` and the recovered user retains the role in
552
- # the binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email
553
- # address (plus unique identifier) representing a service account that has been
554
- # recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
578
+ # . * `domain:`domain``: The G Suite domain (primary) that represents all the
579
+ # users of that domain. For example, `google.com` or `example.com`. * `deleted:
580
+ # user:`emailid`?uid=`uniqueid``: An email address (plus unique identifier)
581
+ # representing a user that has been recently deleted. For example, `alice@
582
+ # example.com?uid=123456789012345678901`. If the user is recovered, this value
583
+ # reverts to `user:`emailid`` and the recovered user retains the role in the
584
+ # binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address
585
+ # (plus unique identifier) representing a service account that has been recently
586
+ # deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
555
587
  # 123456789012345678901`. If the service account is undeleted, this value
556
588
  # reverts to `serviceAccount:`emailid`` and the undeleted service account
557
589
  # retains the role in the binding. * `deleted:group:`emailid`?uid=`uniqueid``:
558
590
  # An email address (plus unique identifier) representing a Google group that has
559
591
  # been recently deleted. For example, `admins@example.com?uid=
560
592
  # 123456789012345678901`. If the group is recovered, this value reverts to `
561
- # group:`emailid`` and the recovered group retains the role in the binding. * `
562
- # domain:`domain``: The G Suite domain (primary) that represents all the users
563
- # of that domain. For example, `google.com` or `example.com`.
593
+ # group:`emailid`` and the recovered group retains the role in the binding.
564
594
  # Corresponds to the JSON property `members`
565
595
  # @return [Array<String>]
566
596
  attr_accessor :members
@@ -583,6 +613,37 @@ module Google
583
613
  end
584
614
  end
585
615
 
616
+ # Build information of the Instance if it's in `ACTIVE` state.
617
+ class Build
618
+ include Google::Apis::Core::Hashable
619
+
620
+ # Output only. Commit ID of the latest commit in the build.
621
+ # Corresponds to the JSON property `commitId`
622
+ # @return [String]
623
+ attr_accessor :commit_id
624
+
625
+ # Output only. Commit time of the latest commit in the build.
626
+ # Corresponds to the JSON property `commitTime`
627
+ # @return [String]
628
+ attr_accessor :commit_time
629
+
630
+ # Output only. Path of the open source repository: github.com/apigee/registry.
631
+ # Corresponds to the JSON property `repo`
632
+ # @return [String]
633
+ attr_accessor :repo
634
+
635
+ def initialize(**args)
636
+ update!(**args)
637
+ end
638
+
639
+ # Update properties of this object
640
+ def update!(**args)
641
+ @commit_id = args[:commit_id] if args.key?(:commit_id)
642
+ @commit_time = args[:commit_time] if args.key?(:commit_time)
643
+ @repo = args[:repo] if args.key?(:repo)
644
+ end
645
+ end
646
+
586
647
  # The request message for Operations.CancelOperation.
587
648
  class CancelOperationRequest
588
649
  include Google::Apis::Core::Hashable
@@ -747,6 +808,11 @@ module Google
747
808
  class Instance
748
809
  include Google::Apis::Core::Hashable
749
810
 
811
+ # Build information of the Instance if it's in `ACTIVE` state.
812
+ # Corresponds to the JSON property `build`
813
+ # @return [Google::Apis::ApigeeregistryV1::Build]
814
+ attr_accessor :build
815
+
750
816
  # Available configurations to provision an Instance.
751
817
  # Corresponds to the JSON property `config`
752
818
  # @return [Google::Apis::ApigeeregistryV1::Config]
@@ -784,6 +850,7 @@ module Google
784
850
 
785
851
  # Update properties of this object
786
852
  def update!(**args)
853
+ @build = args[:build] if args.key?(:build)
787
854
  @config = args[:config] if args.key?(:config)
788
855
  @create_time = args[:create_time] if args.key?(:create_time)
789
856
  @name = args[:name] if args.key?(:name)
@@ -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.13.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 = "20230127"
26
26
  end
27
27
  end
28
28
  end
@@ -58,6 +58,12 @@ module Google
58
58
  include Google::Apis::Core::JsonObjectSupport
59
59
  end
60
60
 
61
+ class Build
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
61
67
  class CancelOperationRequest
62
68
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
69
 
@@ -285,6 +291,7 @@ module Google
285
291
  property :display_name, as: 'displayName'
286
292
  hash :labels, as: 'labels'
287
293
  property :name, as: 'name'
294
+ property :primary_spec, as: 'primarySpec'
288
295
  property :state, as: 'state'
289
296
  property :update_time, as: 'updateTime'
290
297
  end
@@ -293,9 +300,11 @@ module Google
293
300
  class Artifact
294
301
  # @private
295
302
  class Representation < Google::Apis::Core::JsonRepresentation
303
+ hash :annotations, as: 'annotations'
296
304
  property :contents, :base64 => true, as: 'contents'
297
305
  property :create_time, as: 'createTime'
298
306
  property :hash_prop, as: 'hash'
307
+ hash :labels, as: 'labels'
299
308
  property :mime_type, as: 'mimeType'
300
309
  property :name, as: 'name'
301
310
  property :size_bytes, as: 'sizeBytes'
@@ -313,6 +322,15 @@ module Google
313
322
  end
314
323
  end
315
324
 
325
+ class Build
326
+ # @private
327
+ class Representation < Google::Apis::Core::JsonRepresentation
328
+ property :commit_id, as: 'commitId'
329
+ property :commit_time, as: 'commitTime'
330
+ property :repo, as: 'repo'
331
+ end
332
+ end
333
+
316
334
  class CancelOperationRequest
317
335
  # @private
318
336
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -355,6 +373,8 @@ module Google
355
373
  class Instance
356
374
  # @private
357
375
  class Representation < Google::Apis::Core::JsonRepresentation
376
+ property :build, as: 'build', class: Google::Apis::ApigeeregistryV1::Build, decorator: Google::Apis::ApigeeregistryV1::Build::Representation
377
+
358
378
  property :config, as: 'config', class: Google::Apis::ApigeeregistryV1::Config, decorator: Google::Apis::ApigeeregistryV1::Config::Representation
359
379
 
360
380
  property :create_time, as: 'createTime'
@@ -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.13.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-02-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-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.13.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