google-cloud-parameter_manager-v1 1.0.0 → 1.1.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 +4 -4
- data/README.md +0 -1
- data/lib/google/cloud/parameter_manager/v1/bindings_override.rb +1 -1
- data/lib/google/cloud/parameter_manager/v1/parameter_manager/client.rb +1329 -151
- data/lib/google/cloud/parameter_manager/v1/parameter_manager/credentials.rb +1 -1
- data/lib/google/cloud/parameter_manager/v1/parameter_manager/paths.rb +41 -1
- data/lib/google/cloud/parameter_manager/v1/parameter_manager/rest/client.rb +1244 -143
- data/lib/google/cloud/parameter_manager/v1/parameter_manager/rest/service_stub.rb +676 -1
- data/lib/google/cloud/parameter_manager/v1/parameter_manager/rest.rb +1 -1
- data/lib/google/cloud/parameter_manager/v1/parameter_manager.rb +1 -1
- data/lib/google/cloud/parameter_manager/v1/rest.rb +1 -1
- data/lib/google/cloud/parameter_manager/v1/version.rb +1 -1
- data/lib/google/cloud/parameter_manager/v1.rb +1 -1
- data/lib/google/cloud/parametermanager/v1/service_pb.rb +20 -1
- data/lib/google/cloud/parametermanager/v1/service_services_pb.rb +23 -1
- data/lib/google-cloud-parameter_manager-v1.rb +1 -1
- data/proto_docs/google/api/client.rb +1 -1
- data/proto_docs/google/api/field_behavior.rb +1 -1
- data/proto_docs/google/api/field_info.rb +1 -1
- data/proto_docs/google/api/launch_stage.rb +1 -1
- data/proto_docs/google/api/resource.rb +1 -1
- data/proto_docs/google/cloud/parametermanager/v1/service.rb +458 -5
- data/proto_docs/google/iam/v1/resource_policy_member.rb +1 -1
- data/proto_docs/google/protobuf/duration.rb +1 -1
- data/proto_docs/google/protobuf/empty.rb +1 -1
- data/proto_docs/google/protobuf/field_mask.rb +1 -1
- data/proto_docs/google/protobuf/timestamp.rb +8 -7
- metadata +1 -2
- data/proto_docs/google/protobuf/any.rb +0 -145
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# Copyright
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
4
|
#
|
|
5
5
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
6
|
# you may not use this file except in compliance with the License.
|
|
@@ -49,6 +49,20 @@ module Google
|
|
|
49
49
|
# will be used. Cloud KMS CryptoKeys must reside in the same location as the
|
|
50
50
|
# Parameter. The expected format is
|
|
51
51
|
# `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
|
|
52
|
+
# @!attribute [rw] tags
|
|
53
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
|
54
|
+
# Optional. Input only. Immutable. Tag keys and tag values that are bound to
|
|
55
|
+
# this Parameter. You must represent each item in the map as:
|
|
56
|
+
# `"<tag-key-namespaced-name>" : "<tag-value-short-name>"`.
|
|
57
|
+
#
|
|
58
|
+
# For example, a single resource can have the following tags:
|
|
59
|
+
# ```
|
|
60
|
+
# "123/environment": "production",
|
|
61
|
+
# "123/costCenter": "marketing",
|
|
62
|
+
# ```
|
|
63
|
+
# Tags are used to organize and group resources.
|
|
64
|
+
#
|
|
65
|
+
# Tags can be used to control policy evaluation for the resource.
|
|
52
66
|
class Parameter
|
|
53
67
|
include ::Google::Protobuf::MessageExts
|
|
54
68
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -61,6 +75,15 @@ module Google
|
|
|
61
75
|
include ::Google::Protobuf::MessageExts
|
|
62
76
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
63
77
|
end
|
|
78
|
+
|
|
79
|
+
# @!attribute [rw] key
|
|
80
|
+
# @return [::String]
|
|
81
|
+
# @!attribute [rw] value
|
|
82
|
+
# @return [::String]
|
|
83
|
+
class TagsEntry
|
|
84
|
+
include ::Google::Protobuf::MessageExts
|
|
85
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
86
|
+
end
|
|
64
87
|
end
|
|
65
88
|
|
|
66
89
|
# Message for requesting list of Parameters
|
|
@@ -74,7 +97,11 @@ module Google
|
|
|
74
97
|
# requested. If unspecified, server will pick an appropriate default.
|
|
75
98
|
# @!attribute [rw] page_token
|
|
76
99
|
# @return [::String]
|
|
77
|
-
# Optional. A token
|
|
100
|
+
# Optional. A page token, received from a previous `ListParameters` call.
|
|
101
|
+
# Provide this to retrieve the subsequent page.
|
|
102
|
+
#
|
|
103
|
+
# When paginating, all other parameters provided to `ListParameters` must
|
|
104
|
+
# match the call that provided the page token.
|
|
78
105
|
# @!attribute [rw] filter
|
|
79
106
|
# @return [::String]
|
|
80
107
|
# Optional. Filtering results
|
|
@@ -228,15 +255,35 @@ module Google
|
|
|
228
255
|
# version used to encrypt the ParameterVersion payload. This field is
|
|
229
256
|
# populated only if the Parameter resource has customer managed encryption
|
|
230
257
|
# key (CMEK) configured.
|
|
258
|
+
# @!attribute [r] checksum_source
|
|
259
|
+
# @return [::Google::Cloud::ParameterManager::V1::ParameterVersion::ChecksumSource]
|
|
260
|
+
# Optional. Output only. [Output only] The source of the checksum.
|
|
231
261
|
class ParameterVersion
|
|
232
262
|
include ::Google::Protobuf::MessageExts
|
|
233
263
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
264
|
+
|
|
265
|
+
# The source of the checksum.
|
|
266
|
+
module ChecksumSource
|
|
267
|
+
# The default / unset value.
|
|
268
|
+
CHECKSUM_SOURCE_UNSPECIFIED = 0
|
|
269
|
+
|
|
270
|
+
# The checksum was generated by the server.
|
|
271
|
+
SERVER_GENERATED = 1
|
|
272
|
+
|
|
273
|
+
# The checksum was provided by the user.
|
|
274
|
+
USER_SPECIFIED = 2
|
|
275
|
+
end
|
|
234
276
|
end
|
|
235
277
|
|
|
236
278
|
# Message for storing a ParameterVersion resource's payload data
|
|
237
279
|
# @!attribute [rw] data
|
|
238
280
|
# @return [::String]
|
|
239
281
|
# Required. bytes data for storing payload.
|
|
282
|
+
# @!attribute [rw] data_crc32c
|
|
283
|
+
# @return [::Integer]
|
|
284
|
+
# Optional. [Optional] The integrity checksum of the payload.
|
|
285
|
+
# If provided, the server will verify that the checksum matches the payload.
|
|
286
|
+
# If not provided, the server will generate the checksum.
|
|
240
287
|
class ParameterVersionPayload
|
|
241
288
|
include ::Google::Protobuf::MessageExts
|
|
242
289
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -253,7 +300,11 @@ module Google
|
|
|
253
300
|
# requested. If unspecified, server will pick an appropriate default.
|
|
254
301
|
# @!attribute [rw] page_token
|
|
255
302
|
# @return [::String]
|
|
256
|
-
# Optional. A
|
|
303
|
+
# Optional. A page token, received from a previous `ListParameterVersions`
|
|
304
|
+
# call. Provide this to retrieve the subsequent page.
|
|
305
|
+
#
|
|
306
|
+
# When paginating, all other parameters provided to `ListParameterVersions`
|
|
307
|
+
# must match the call that provided the page token.
|
|
257
308
|
# @!attribute [rw] filter
|
|
258
309
|
# @return [::String]
|
|
259
310
|
# Optional. Filtering results
|
|
@@ -411,6 +462,392 @@ module Google
|
|
|
411
462
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
412
463
|
end
|
|
413
464
|
|
|
465
|
+
# Message describing Template resource
|
|
466
|
+
# @!attribute [rw] name
|
|
467
|
+
# @return [::String]
|
|
468
|
+
# Identifier. The resource name of the Template in the format
|
|
469
|
+
# `projects/*/locations/*/templates/*`.
|
|
470
|
+
# @!attribute [r] create_time
|
|
471
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
472
|
+
# Output only. Create time stamp
|
|
473
|
+
# @!attribute [r] update_time
|
|
474
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
475
|
+
# Output only. Update time stamp
|
|
476
|
+
# @!attribute [rw] labels
|
|
477
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
|
478
|
+
# Optional. Labels as key value pairs
|
|
479
|
+
# @!attribute [rw] format
|
|
480
|
+
# @return [::Google::Cloud::ParameterManager::V1::TemplateFormat]
|
|
481
|
+
# Optional. Specifies the format of a Template.
|
|
482
|
+
class Template
|
|
483
|
+
include ::Google::Protobuf::MessageExts
|
|
484
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
485
|
+
|
|
486
|
+
# @!attribute [rw] key
|
|
487
|
+
# @return [::String]
|
|
488
|
+
# @!attribute [rw] value
|
|
489
|
+
# @return [::String]
|
|
490
|
+
class LabelsEntry
|
|
491
|
+
include ::Google::Protobuf::MessageExts
|
|
492
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
493
|
+
end
|
|
494
|
+
end
|
|
495
|
+
|
|
496
|
+
# Message for requesting list of Templates
|
|
497
|
+
# @!attribute [rw] parent
|
|
498
|
+
# @return [::String]
|
|
499
|
+
# Required. Parent value for ListTemplatesRequest in the format
|
|
500
|
+
# `projects/*/locations/*`.
|
|
501
|
+
# @!attribute [rw] page_size
|
|
502
|
+
# @return [::Integer]
|
|
503
|
+
# Optional. Requested page size. Server may return fewer items than
|
|
504
|
+
# requested. If unspecified, server will pick an appropriate default.
|
|
505
|
+
# @!attribute [rw] page_token
|
|
506
|
+
# @return [::String]
|
|
507
|
+
# Optional. A page token, received from a previous `ListTemplates` call.
|
|
508
|
+
# Provide this to retrieve the subsequent page.
|
|
509
|
+
#
|
|
510
|
+
# When paginating, all other parameters provided to `ListTemplates` must
|
|
511
|
+
# match the call that provided the page token.
|
|
512
|
+
# @!attribute [rw] filter
|
|
513
|
+
# @return [::String]
|
|
514
|
+
# Optional. Filtering results
|
|
515
|
+
# @!attribute [rw] order_by
|
|
516
|
+
# @return [::String]
|
|
517
|
+
# Optional. Hint for how to order the results
|
|
518
|
+
class ListTemplatesRequest
|
|
519
|
+
include ::Google::Protobuf::MessageExts
|
|
520
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
521
|
+
end
|
|
522
|
+
|
|
523
|
+
# Message for response to listing Templates
|
|
524
|
+
# @!attribute [rw] templates
|
|
525
|
+
# @return [::Array<::Google::Cloud::ParameterManager::V1::Template>]
|
|
526
|
+
# The list of Templates
|
|
527
|
+
# @!attribute [rw] next_page_token
|
|
528
|
+
# @return [::String]
|
|
529
|
+
# A token identifying a page of results the server should return.
|
|
530
|
+
# @!attribute [rw] unreachable
|
|
531
|
+
# @return [::Array<::String>]
|
|
532
|
+
# Unordered list. Locations that could not be reached.
|
|
533
|
+
class ListTemplatesResponse
|
|
534
|
+
include ::Google::Protobuf::MessageExts
|
|
535
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
536
|
+
end
|
|
537
|
+
|
|
538
|
+
# Message for getting a Template
|
|
539
|
+
# @!attribute [rw] name
|
|
540
|
+
# @return [::String]
|
|
541
|
+
# Required. Name of the resource in the format
|
|
542
|
+
# `projects/*/locations/*/templates/*`.
|
|
543
|
+
class GetTemplateRequest
|
|
544
|
+
include ::Google::Protobuf::MessageExts
|
|
545
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
546
|
+
end
|
|
547
|
+
|
|
548
|
+
# Message for creating a Template
|
|
549
|
+
# @!attribute [rw] parent
|
|
550
|
+
# @return [::String]
|
|
551
|
+
# Required. Value for parent in the format
|
|
552
|
+
# `projects/*/locations/*`.
|
|
553
|
+
# @!attribute [rw] template_id
|
|
554
|
+
# @return [::String]
|
|
555
|
+
# Required. Id of the Template resource
|
|
556
|
+
# @!attribute [rw] template
|
|
557
|
+
# @return [::Google::Cloud::ParameterManager::V1::Template]
|
|
558
|
+
# Required. The Template resource being created
|
|
559
|
+
# @!attribute [rw] request_id
|
|
560
|
+
# @return [::String]
|
|
561
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
|
562
|
+
# request ID so that if you must retry your request, the server will know to
|
|
563
|
+
# ignore the request if it has already been completed. The server will
|
|
564
|
+
# guarantee that for at least 60 minutes since the first request.
|
|
565
|
+
#
|
|
566
|
+
# For example, consider a situation where you make an initial request and the
|
|
567
|
+
# request times out. If you make the request again with the same request
|
|
568
|
+
# ID, the server can check if original operation with the same request ID
|
|
569
|
+
# was received, and if so, will ignore the second request. This prevents
|
|
570
|
+
# clients from accidentally creating duplicate commitments.
|
|
571
|
+
#
|
|
572
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
|
573
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
|
574
|
+
class CreateTemplateRequest
|
|
575
|
+
include ::Google::Protobuf::MessageExts
|
|
576
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
577
|
+
end
|
|
578
|
+
|
|
579
|
+
# Message for updating a Template
|
|
580
|
+
# @!attribute [rw] update_mask
|
|
581
|
+
# @return [::Google::Protobuf::FieldMask]
|
|
582
|
+
# Optional. Field mask is used to specify the fields to be overwritten in the
|
|
583
|
+
# Template resource by the update.
|
|
584
|
+
# The fields specified in the update_mask are relative to the resource, not
|
|
585
|
+
# the full request. A mutable field will be overwritten if it is in the
|
|
586
|
+
# mask. If the user does not provide a mask then all mutable fields present
|
|
587
|
+
# in the request will be overwritten.
|
|
588
|
+
# @!attribute [rw] template
|
|
589
|
+
# @return [::Google::Cloud::ParameterManager::V1::Template]
|
|
590
|
+
# Required. The Template resource being updated
|
|
591
|
+
# @!attribute [rw] request_id
|
|
592
|
+
# @return [::String]
|
|
593
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
|
594
|
+
# request ID so that if you must retry your request, the server will know to
|
|
595
|
+
# ignore the request if it has already been completed. The server will
|
|
596
|
+
# guarantee that for at least 60 minutes since the first request.
|
|
597
|
+
#
|
|
598
|
+
# For example, consider a situation where you make an initial request and the
|
|
599
|
+
# request times out. If you make the request again with the same request
|
|
600
|
+
# ID, the server can check if original operation with the same request ID
|
|
601
|
+
# was received, and if so, will ignore the second request. This prevents
|
|
602
|
+
# clients from accidentally creating duplicate commitments.
|
|
603
|
+
#
|
|
604
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
|
605
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
|
606
|
+
class UpdateTemplateRequest
|
|
607
|
+
include ::Google::Protobuf::MessageExts
|
|
608
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
609
|
+
end
|
|
610
|
+
|
|
611
|
+
# Message for deleting a Template
|
|
612
|
+
# @!attribute [rw] name
|
|
613
|
+
# @return [::String]
|
|
614
|
+
# Required. Name of the resource in the format
|
|
615
|
+
# `projects/*/locations/*/templates/*`.
|
|
616
|
+
# @!attribute [rw] request_id
|
|
617
|
+
# @return [::String]
|
|
618
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
|
619
|
+
# request ID so that if you must retry your request, the server will know to
|
|
620
|
+
# ignore the request if it has already been completed. The server will
|
|
621
|
+
# guarantee that for at least 60 minutes after the first request.
|
|
622
|
+
#
|
|
623
|
+
# For example, consider a situation where you make an initial request and the
|
|
624
|
+
# request times out. If you make the request again with the same request
|
|
625
|
+
# ID, the server can check if original operation with the same request ID
|
|
626
|
+
# was received, and if so, will ignore the second request. This prevents
|
|
627
|
+
# clients from accidentally creating duplicate commitments.
|
|
628
|
+
#
|
|
629
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
|
630
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
|
631
|
+
class DeleteTemplateRequest
|
|
632
|
+
include ::Google::Protobuf::MessageExts
|
|
633
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
634
|
+
end
|
|
635
|
+
|
|
636
|
+
# Message describing TemplateVersion resource
|
|
637
|
+
# @!attribute [rw] name
|
|
638
|
+
# @return [::String]
|
|
639
|
+
# Identifier. The resource name of the TemplateVersion in the format
|
|
640
|
+
# `projects/*/locations/*/templates/*/versions/*`.
|
|
641
|
+
# @!attribute [r] create_time
|
|
642
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
643
|
+
# Output only. Create time stamp
|
|
644
|
+
# @!attribute [r] update_time
|
|
645
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
646
|
+
# Output only. Update time stamp
|
|
647
|
+
# @!attribute [rw] disabled
|
|
648
|
+
# @return [::Boolean]
|
|
649
|
+
# Optional. Disabled boolean to determine if a TemplateVersion acts as a
|
|
650
|
+
# metadata only resource (payload is never returned if disabled is true).
|
|
651
|
+
# @!attribute [rw] payload
|
|
652
|
+
# @return [::Google::Cloud::ParameterManager::V1::TemplateVersionPayload]
|
|
653
|
+
# Required. Immutable. Payload content of a TemplateVersion resource.
|
|
654
|
+
class TemplateVersion
|
|
655
|
+
include ::Google::Protobuf::MessageExts
|
|
656
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
657
|
+
end
|
|
658
|
+
|
|
659
|
+
# Message for storing a TemplateVersion resource's payload data
|
|
660
|
+
# @!attribute [rw] data
|
|
661
|
+
# @return [::String]
|
|
662
|
+
# Required. bytes data for storing payload.
|
|
663
|
+
class TemplateVersionPayload
|
|
664
|
+
include ::Google::Protobuf::MessageExts
|
|
665
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
666
|
+
end
|
|
667
|
+
|
|
668
|
+
# Message for requesting list of TemplateVersions
|
|
669
|
+
# @!attribute [rw] parent
|
|
670
|
+
# @return [::String]
|
|
671
|
+
# Required. Parent value for ListTemplateVersionsRequest in the format
|
|
672
|
+
# `projects/*/locations/*/templates/*`.
|
|
673
|
+
# @!attribute [rw] page_size
|
|
674
|
+
# @return [::Integer]
|
|
675
|
+
# Optional. Requested page size. Server may return fewer items than
|
|
676
|
+
# requested. If unspecified, server will pick an appropriate default.
|
|
677
|
+
# @!attribute [rw] page_token
|
|
678
|
+
# @return [::String]
|
|
679
|
+
# Optional. A page token, received from a previous `ListTemplateVersions`
|
|
680
|
+
# call. Provide this to retrieve the subsequent page.
|
|
681
|
+
#
|
|
682
|
+
# When paginating, all other parameters provided to `ListTemplateVersions`
|
|
683
|
+
# must match the call that provided the page token.
|
|
684
|
+
# @!attribute [rw] filter
|
|
685
|
+
# @return [::String]
|
|
686
|
+
# Optional. Filtering results
|
|
687
|
+
# @!attribute [rw] order_by
|
|
688
|
+
# @return [::String]
|
|
689
|
+
# Optional. Hint for how to order the results
|
|
690
|
+
class ListTemplateVersionsRequest
|
|
691
|
+
include ::Google::Protobuf::MessageExts
|
|
692
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
693
|
+
end
|
|
694
|
+
|
|
695
|
+
# Message for response to listing TemplateVersions
|
|
696
|
+
# @!attribute [rw] template_versions
|
|
697
|
+
# @return [::Array<::Google::Cloud::ParameterManager::V1::TemplateVersion>]
|
|
698
|
+
# The list of TemplateVersions
|
|
699
|
+
# @!attribute [rw] next_page_token
|
|
700
|
+
# @return [::String]
|
|
701
|
+
# A token identifying a page of results the server should return.
|
|
702
|
+
# @!attribute [rw] unreachable
|
|
703
|
+
# @return [::Array<::String>]
|
|
704
|
+
# Unordered list. Locations that could not be reached.
|
|
705
|
+
class ListTemplateVersionsResponse
|
|
706
|
+
include ::Google::Protobuf::MessageExts
|
|
707
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
708
|
+
end
|
|
709
|
+
|
|
710
|
+
# Message for getting a TemplateVersion
|
|
711
|
+
# @!attribute [rw] name
|
|
712
|
+
# @return [::String]
|
|
713
|
+
# Required. Name of the resource in the format
|
|
714
|
+
# `projects/*/locations/*/templates/*/versions/*`.
|
|
715
|
+
# @!attribute [rw] view
|
|
716
|
+
# @return [::Google::Cloud::ParameterManager::V1::View]
|
|
717
|
+
# Optional. Specifies the view of the TemplateVersion to return.
|
|
718
|
+
# In the default FULL view, all metadata & payload associated with the
|
|
719
|
+
# TemplateVersion will be returned.
|
|
720
|
+
class GetTemplateVersionRequest
|
|
721
|
+
include ::Google::Protobuf::MessageExts
|
|
722
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
723
|
+
end
|
|
724
|
+
|
|
725
|
+
# Message for creating a TemplateVersion
|
|
726
|
+
# @!attribute [rw] parent
|
|
727
|
+
# @return [::String]
|
|
728
|
+
# Required. Value for parent in the format
|
|
729
|
+
# `projects/*/locations/*/templates/*`.
|
|
730
|
+
# @!attribute [rw] template_version_id
|
|
731
|
+
# @return [::String]
|
|
732
|
+
# Required. Id of the TemplateVersion resource
|
|
733
|
+
# @!attribute [rw] template_version
|
|
734
|
+
# @return [::Google::Cloud::ParameterManager::V1::TemplateVersion]
|
|
735
|
+
# Required. The TemplateVersion resource being created
|
|
736
|
+
# @!attribute [rw] request_id
|
|
737
|
+
# @return [::String]
|
|
738
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
|
739
|
+
# request ID so that if you must retry your request, the server will know to
|
|
740
|
+
# ignore the request if it has already been completed. The server will
|
|
741
|
+
# guarantee that for at least 60 minutes since the first request.
|
|
742
|
+
#
|
|
743
|
+
# For example, consider a situation where you make an initial request and the
|
|
744
|
+
# request times out. If you make the request again with the same request
|
|
745
|
+
# ID, the server can check if original operation with the same request ID
|
|
746
|
+
# was received, and if so, will ignore the second request. This prevents
|
|
747
|
+
# clients from accidentally creating duplicate commitments.
|
|
748
|
+
#
|
|
749
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
|
750
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
|
751
|
+
class CreateTemplateVersionRequest
|
|
752
|
+
include ::Google::Protobuf::MessageExts
|
|
753
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
754
|
+
end
|
|
755
|
+
|
|
756
|
+
# Message for updating a TemplateVersion
|
|
757
|
+
# @!attribute [rw] update_mask
|
|
758
|
+
# @return [::Google::Protobuf::FieldMask]
|
|
759
|
+
# Optional. Field mask is used to specify the fields to be overwritten in the
|
|
760
|
+
# TemplateVersion resource by the update.
|
|
761
|
+
# The fields specified in the update_mask are relative to the resource, not
|
|
762
|
+
# the full request. A mutable field will be overwritten if it is in the
|
|
763
|
+
# mask. If the user does not provide a mask then all mutable fields present
|
|
764
|
+
# in the request will be overwritten.
|
|
765
|
+
# @!attribute [rw] template_version
|
|
766
|
+
# @return [::Google::Cloud::ParameterManager::V1::TemplateVersion]
|
|
767
|
+
# Required. The TemplateVersion resource being updated
|
|
768
|
+
# @!attribute [rw] request_id
|
|
769
|
+
# @return [::String]
|
|
770
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
|
771
|
+
# request ID so that if you must retry your request, the server will know to
|
|
772
|
+
# ignore the request if it has already been completed. The server will
|
|
773
|
+
# guarantee that for at least 60 minutes since the first request.
|
|
774
|
+
#
|
|
775
|
+
# For example, consider a situation where you make an initial request and the
|
|
776
|
+
# request times out. If you make the request again with the same request
|
|
777
|
+
# ID, the server can check if original operation with the same request ID
|
|
778
|
+
# was received, and if so, will ignore the second request. This prevents
|
|
779
|
+
# clients from accidentally creating duplicate commitments.
|
|
780
|
+
#
|
|
781
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
|
782
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
|
783
|
+
class UpdateTemplateVersionRequest
|
|
784
|
+
include ::Google::Protobuf::MessageExts
|
|
785
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
786
|
+
end
|
|
787
|
+
|
|
788
|
+
# Message for deleting a TemplateVersion
|
|
789
|
+
# @!attribute [rw] name
|
|
790
|
+
# @return [::String]
|
|
791
|
+
# Required. Name of the resource in the format
|
|
792
|
+
# `projects/*/locations/*/templates/*/versions/*`.
|
|
793
|
+
# @!attribute [rw] request_id
|
|
794
|
+
# @return [::String]
|
|
795
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
|
796
|
+
# request ID so that if you must retry your request, the server will know to
|
|
797
|
+
# ignore the request if it has already been completed. The server will
|
|
798
|
+
# guarantee that for at least 60 minutes after the first request.
|
|
799
|
+
#
|
|
800
|
+
# For example, consider a situation where you make an initial request and the
|
|
801
|
+
# request times out. If you make the request again with the same request
|
|
802
|
+
# ID, the server can check if original operation with the same request ID
|
|
803
|
+
# was received, and if so, will ignore the second request. This prevents
|
|
804
|
+
# clients from accidentally creating duplicate commitments.
|
|
805
|
+
#
|
|
806
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
|
807
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
|
808
|
+
class DeleteTemplateVersionRequest
|
|
809
|
+
include ::Google::Protobuf::MessageExts
|
|
810
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
811
|
+
end
|
|
812
|
+
|
|
813
|
+
# Message describing RenderTemplateVersionRequest resource
|
|
814
|
+
# @!attribute [rw] name
|
|
815
|
+
# @return [::String]
|
|
816
|
+
# Required. Name of the resource
|
|
817
|
+
# @!attribute [rw] parameter_version
|
|
818
|
+
# @return [::String]
|
|
819
|
+
# Required. Parameter version used to render the template version.
|
|
820
|
+
class RenderTemplateVersionRequest
|
|
821
|
+
include ::Google::Protobuf::MessageExts
|
|
822
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
823
|
+
end
|
|
824
|
+
|
|
825
|
+
# Message describing RenderTemplateVersionResponse resource
|
|
826
|
+
# @!attribute [rw] template_version
|
|
827
|
+
# @return [::String]
|
|
828
|
+
# Resource identifier of a TemplateVersion in the format
|
|
829
|
+
# `projects/*/locations/*/templates/*/versions/*`.
|
|
830
|
+
# @!attribute [rw] payload
|
|
831
|
+
# @return [::Google::Cloud::ParameterManager::V1::TemplateVersionPayload]
|
|
832
|
+
# Payload content of a TemplateVersion resource.
|
|
833
|
+
# @!attribute [r] rendered_payload
|
|
834
|
+
# @return [::String]
|
|
835
|
+
# Output only. Server generated rendered version of the user provided payload
|
|
836
|
+
# data (TemplateVersionPayload) which has all the variables resolved using
|
|
837
|
+
# the provided parameter version.
|
|
838
|
+
# @!attribute [r] template_format
|
|
839
|
+
# @return [::Google::Cloud::ParameterManager::V1::TemplateFormat]
|
|
840
|
+
# Output only. Format of the template version.
|
|
841
|
+
# @!attribute [r] parameter_version
|
|
842
|
+
# @return [::String]
|
|
843
|
+
# Output only. The resource name of the ParameterVersion used to render the
|
|
844
|
+
# template version in the format
|
|
845
|
+
# `projects/*/locations/*/parameters/*/versions/*`.
|
|
846
|
+
class RenderTemplateVersionResponse
|
|
847
|
+
include ::Google::Protobuf::MessageExts
|
|
848
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
849
|
+
end
|
|
850
|
+
|
|
414
851
|
# Option to specify the format of a Parameter resource (UNFORMATTED / YAML /
|
|
415
852
|
# JSON). This option is user specified at the time of creation of the resource
|
|
416
853
|
# and is immutable.
|
|
@@ -429,11 +866,27 @@ module Google
|
|
|
429
866
|
JSON = 3
|
|
430
867
|
end
|
|
431
868
|
|
|
869
|
+
# Option to specify the format of a Template resource (YAML /
|
|
870
|
+
# JSON). This option is user specified at the time of creation of the resource
|
|
871
|
+
# and is immutable. Templates do not support the UNFORMATTED format.
|
|
872
|
+
# Additional values may be added in the future.
|
|
873
|
+
module TemplateFormat
|
|
874
|
+
# The default / unset value.
|
|
875
|
+
# The API will default to the YAML format.
|
|
876
|
+
TEMPLATE_FORMAT_UNSPECIFIED = 0
|
|
877
|
+
|
|
878
|
+
# YAML format.
|
|
879
|
+
TEMPLATE_FORMAT_YAML = 1
|
|
880
|
+
|
|
881
|
+
# JSON format.
|
|
882
|
+
TEMPLATE_FORMAT_JSON = 2
|
|
883
|
+
end
|
|
884
|
+
|
|
432
885
|
# Option for requesting only metadata, or user provided payload
|
|
433
|
-
# of a ParameterVersion resource.
|
|
886
|
+
# of a ParameterVersion or TemplateVersion resource.
|
|
434
887
|
module View
|
|
435
888
|
# The default / unset value.
|
|
436
|
-
# The API will default to the FULL view
|
|
889
|
+
# The API will default to the FULL view.
|
|
437
890
|
VIEW_UNSPECIFIED = 0
|
|
438
891
|
|
|
439
892
|
# Include only the metadata for the resource.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# Copyright
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
4
|
#
|
|
5
5
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
6
|
# you may not use this file except in compliance with the License.
|
|
@@ -110,14 +110,15 @@ module Google
|
|
|
110
110
|
# ) to obtain a formatter capable of generating timestamps in this format.
|
|
111
111
|
# @!attribute [rw] seconds
|
|
112
112
|
# @return [::Integer]
|
|
113
|
-
# Represents seconds of UTC time since Unix epoch
|
|
114
|
-
#
|
|
115
|
-
# 9999-12-31T23:59:59Z
|
|
113
|
+
# Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must
|
|
114
|
+
# be between -315576000000 and 315576000000 inclusive (which corresponds to
|
|
115
|
+
# 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z).
|
|
116
116
|
# @!attribute [rw] nanos
|
|
117
117
|
# @return [::Integer]
|
|
118
|
-
# Non-negative fractions of a second at nanosecond resolution.
|
|
119
|
-
#
|
|
120
|
-
#
|
|
118
|
+
# Non-negative fractions of a second at nanosecond resolution. This field is
|
|
119
|
+
# the nanosecond portion of the duration, not an alternative to seconds.
|
|
120
|
+
# Negative second values with fractions must still have non-negative nanos
|
|
121
|
+
# values that count forward in time. Must be between 0 and 999,999,999
|
|
121
122
|
# inclusive.
|
|
122
123
|
class Timestamp
|
|
123
124
|
include ::Google::Protobuf::MessageExts
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-parameter_manager-v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -102,7 +102,6 @@ files:
|
|
|
102
102
|
- proto_docs/google/api/resource.rb
|
|
103
103
|
- proto_docs/google/cloud/parametermanager/v1/service.rb
|
|
104
104
|
- proto_docs/google/iam/v1/resource_policy_member.rb
|
|
105
|
-
- proto_docs/google/protobuf/any.rb
|
|
106
105
|
- proto_docs/google/protobuf/duration.rb
|
|
107
106
|
- proto_docs/google/protobuf/empty.rb
|
|
108
107
|
- proto_docs/google/protobuf/field_mask.rb
|