google-apis-parametermanager_v1 0.9.0 → 0.10.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: b23318769f17442aea43427b06710895eaf4724bab5b7749a8f95b871355ddbf
4
- data.tar.gz: 22ae29c39c2d986aec0a516a5a5322f8d0f2e7ac63d3d8c4c8a0a2957dbd159b
3
+ metadata.gz: e010be6ec1e7b7ead9b0aa2b2e567edcac84a5ace007be3a7f749fd9d2607ba8
4
+ data.tar.gz: d2eb698397536bcead996a09348e5f948e6a584f7c2d38dde5d443c7ffa1ff66
5
5
  SHA512:
6
- metadata.gz: ff9618b953d1da5584103385ee0fb94a54e82abdab6e5b847c8c4db3e4832757d20f2c4e9f4bf844655c9e30ad6c26f8af6008ad5a5edbf2f266d56c732518fc
7
- data.tar.gz: 2f1fe0e737f38aab359d493313c512e4136e8d6c1ede704907635ea20e1d9cb61206cb610ed933aab69c4d65e90a1612b2584bdf50d2304c075d66af0cb5a119
6
+ metadata.gz: a049d2b46741632c21e9d195e99297081ba966754f185f41d8bfcb1eef15a4ccec6b792c2334a6f28ea902b00cf38cd76646976c7bf32a39d29be12a6102f5f1
7
+ data.tar.gz: 9a0dae9a04081e128a853c02a925f0439a2ba5f2cae56cc1a46677ae8f4438f4be61ca680f87e76674a13fe73604f559a0dae4530ca8530aadaa4ec28c4c532c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-parametermanager_v1
2
2
 
3
+ ### v0.10.0 (2026-07-12)
4
+
5
+ * Regenerated from discovery document revision 20260629
6
+
3
7
  ### v0.9.0 (2026-06-14)
4
8
 
5
9
  * Regenerated using generator version 0.19.0
@@ -125,6 +125,68 @@ module Google
125
125
  end
126
126
  end
127
127
 
128
+ # Message for response to listing TemplateVersions
129
+ class ListTemplateVersionsResponse
130
+ include Google::Apis::Core::Hashable
131
+
132
+ # A token identifying a page of results the server should return.
133
+ # Corresponds to the JSON property `nextPageToken`
134
+ # @return [String]
135
+ attr_accessor :next_page_token
136
+
137
+ # The list of TemplateVersions
138
+ # Corresponds to the JSON property `templateVersions`
139
+ # @return [Array<Google::Apis::ParametermanagerV1::TemplateVersion>]
140
+ attr_accessor :template_versions
141
+
142
+ # Unordered list. Locations that could not be reached.
143
+ # Corresponds to the JSON property `unreachable`
144
+ # @return [Array<String>]
145
+ attr_accessor :unreachable
146
+
147
+ def initialize(**args)
148
+ update!(**args)
149
+ end
150
+
151
+ # Update properties of this object
152
+ def update!(**args)
153
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
154
+ @template_versions = args[:template_versions] if args.key?(:template_versions)
155
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
156
+ end
157
+ end
158
+
159
+ # Message for response to listing Templates
160
+ class ListTemplatesResponse
161
+ include Google::Apis::Core::Hashable
162
+
163
+ # A token identifying a page of results the server should return.
164
+ # Corresponds to the JSON property `nextPageToken`
165
+ # @return [String]
166
+ attr_accessor :next_page_token
167
+
168
+ # The list of Templates
169
+ # Corresponds to the JSON property `templates`
170
+ # @return [Array<Google::Apis::ParametermanagerV1::Template>]
171
+ attr_accessor :templates
172
+
173
+ # Unordered list. Locations that could not be reached.
174
+ # Corresponds to the JSON property `unreachable`
175
+ # @return [Array<String>]
176
+ attr_accessor :unreachable
177
+
178
+ def initialize(**args)
179
+ update!(**args)
180
+ end
181
+
182
+ # Update properties of this object
183
+ def update!(**args)
184
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
185
+ @templates = args[:templates] if args.key?(:templates)
186
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
187
+ end
188
+ end
189
+
128
190
  # A resource that represents a Google Cloud location.
129
191
  class Location
130
192
  include Google::Apis::Core::Hashable
@@ -346,6 +408,55 @@ module Google
346
408
  end
347
409
  end
348
410
 
411
+ # Message describing RenderTemplateVersionResponse resource
412
+ class RenderTemplateVersionResponse
413
+ include Google::Apis::Core::Hashable
414
+
415
+ # Output only. The resource name of the ParameterVersion used to render the
416
+ # template version in the format `projects/*/locations/*/parameters/*/versions/*`
417
+ # .
418
+ # Corresponds to the JSON property `parameterVersion`
419
+ # @return [String]
420
+ attr_accessor :parameter_version
421
+
422
+ # Message for storing a TemplateVersion resource's payload data
423
+ # Corresponds to the JSON property `payload`
424
+ # @return [Google::Apis::ParametermanagerV1::TemplateVersionPayload]
425
+ attr_accessor :payload
426
+
427
+ # Output only. Server generated rendered version of the user provided payload
428
+ # data (TemplateVersionPayload) which has all the variables resolved using the
429
+ # provided parameter version.
430
+ # Corresponds to the JSON property `renderedPayload`
431
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
432
+ # @return [String]
433
+ attr_accessor :rendered_payload
434
+
435
+ # Output only. Format of the template version.
436
+ # Corresponds to the JSON property `templateFormat`
437
+ # @return [String]
438
+ attr_accessor :template_format
439
+
440
+ # Resource identifier of a TemplateVersion in the format `projects/*/locations/*/
441
+ # templates/*/versions/*`.
442
+ # Corresponds to the JSON property `templateVersion`
443
+ # @return [String]
444
+ attr_accessor :template_version
445
+
446
+ def initialize(**args)
447
+ update!(**args)
448
+ end
449
+
450
+ # Update properties of this object
451
+ def update!(**args)
452
+ @parameter_version = args[:parameter_version] if args.key?(:parameter_version)
453
+ @payload = args[:payload] if args.key?(:payload)
454
+ @rendered_payload = args[:rendered_payload] if args.key?(:rendered_payload)
455
+ @template_format = args[:template_format] if args.key?(:template_format)
456
+ @template_version = args[:template_version] if args.key?(:template_version)
457
+ end
458
+ end
459
+
349
460
  # Output-only policy member strings of a Google Cloud resource's built-in
350
461
  # identity.
351
462
  class ResourcePolicyMember
@@ -379,6 +490,116 @@ module Google
379
490
  @iam_policy_uid_principal = args[:iam_policy_uid_principal] if args.key?(:iam_policy_uid_principal)
380
491
  end
381
492
  end
493
+
494
+ # Message describing Template resource
495
+ class Template
496
+ include Google::Apis::Core::Hashable
497
+
498
+ # Output only. Create time stamp
499
+ # Corresponds to the JSON property `createTime`
500
+ # @return [String]
501
+ attr_accessor :create_time
502
+
503
+ # Optional. Specifies the format of a Template.
504
+ # Corresponds to the JSON property `format`
505
+ # @return [String]
506
+ attr_accessor :format
507
+
508
+ # Optional. Labels as key value pairs
509
+ # Corresponds to the JSON property `labels`
510
+ # @return [Hash<String,String>]
511
+ attr_accessor :labels
512
+
513
+ # Identifier. The resource name of the Template in the format `projects/*/
514
+ # locations/*/templates/*`.
515
+ # Corresponds to the JSON property `name`
516
+ # @return [String]
517
+ attr_accessor :name
518
+
519
+ # Output only. Update time stamp
520
+ # Corresponds to the JSON property `updateTime`
521
+ # @return [String]
522
+ attr_accessor :update_time
523
+
524
+ def initialize(**args)
525
+ update!(**args)
526
+ end
527
+
528
+ # Update properties of this object
529
+ def update!(**args)
530
+ @create_time = args[:create_time] if args.key?(:create_time)
531
+ @format = args[:format] if args.key?(:format)
532
+ @labels = args[:labels] if args.key?(:labels)
533
+ @name = args[:name] if args.key?(:name)
534
+ @update_time = args[:update_time] if args.key?(:update_time)
535
+ end
536
+ end
537
+
538
+ # Message describing TemplateVersion resource
539
+ class TemplateVersion
540
+ include Google::Apis::Core::Hashable
541
+
542
+ # Output only. Create time stamp
543
+ # Corresponds to the JSON property `createTime`
544
+ # @return [String]
545
+ attr_accessor :create_time
546
+
547
+ # Optional. Disabled boolean to determine if a TemplateVersion acts as a
548
+ # metadata only resource (payload is never returned if disabled is true).
549
+ # Corresponds to the JSON property `disabled`
550
+ # @return [Boolean]
551
+ attr_accessor :disabled
552
+ alias_method :disabled?, :disabled
553
+
554
+ # Identifier. The resource name of the TemplateVersion in the format `projects/*/
555
+ # locations/*/templates/*/versions/*`.
556
+ # Corresponds to the JSON property `name`
557
+ # @return [String]
558
+ attr_accessor :name
559
+
560
+ # Message for storing a TemplateVersion resource's payload data
561
+ # Corresponds to the JSON property `payload`
562
+ # @return [Google::Apis::ParametermanagerV1::TemplateVersionPayload]
563
+ attr_accessor :payload
564
+
565
+ # Output only. Update time stamp
566
+ # Corresponds to the JSON property `updateTime`
567
+ # @return [String]
568
+ attr_accessor :update_time
569
+
570
+ def initialize(**args)
571
+ update!(**args)
572
+ end
573
+
574
+ # Update properties of this object
575
+ def update!(**args)
576
+ @create_time = args[:create_time] if args.key?(:create_time)
577
+ @disabled = args[:disabled] if args.key?(:disabled)
578
+ @name = args[:name] if args.key?(:name)
579
+ @payload = args[:payload] if args.key?(:payload)
580
+ @update_time = args[:update_time] if args.key?(:update_time)
581
+ end
582
+ end
583
+
584
+ # Message for storing a TemplateVersion resource's payload data
585
+ class TemplateVersionPayload
586
+ include Google::Apis::Core::Hashable
587
+
588
+ # Required. bytes data for storing payload.
589
+ # Corresponds to the JSON property `data`
590
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
591
+ # @return [String]
592
+ attr_accessor :data
593
+
594
+ def initialize(**args)
595
+ update!(**args)
596
+ end
597
+
598
+ # Update properties of this object
599
+ def update!(**args)
600
+ @data = args[:data] if args.key?(:data)
601
+ end
602
+ end
382
603
  end
383
604
  end
384
605
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ParametermanagerV1
18
18
  # Version of the google-apis-parametermanager_v1 gem
19
- GEM_VERSION = "0.9.0"
19
+ GEM_VERSION = "0.10.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.19.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260422"
25
+ REVISION = "20260629"
26
26
  end
27
27
  end
28
28
  end
@@ -46,6 +46,18 @@ module Google
46
46
  include Google::Apis::Core::JsonObjectSupport
47
47
  end
48
48
 
49
+ class ListTemplateVersionsResponse
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class ListTemplatesResponse
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
49
61
  class Location
50
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
63
 
@@ -76,12 +88,36 @@ module Google
76
88
  include Google::Apis::Core::JsonObjectSupport
77
89
  end
78
90
 
91
+ class RenderTemplateVersionResponse
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
79
97
  class ResourcePolicyMember
80
98
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
99
 
82
100
  include Google::Apis::Core::JsonObjectSupport
83
101
  end
84
102
 
103
+ class Template
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class TemplateVersion
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class TemplateVersionPayload
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
85
121
  class Empty
86
122
  # @private
87
123
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -117,6 +153,26 @@ module Google
117
153
  end
118
154
  end
119
155
 
156
+ class ListTemplateVersionsResponse
157
+ # @private
158
+ class Representation < Google::Apis::Core::JsonRepresentation
159
+ property :next_page_token, as: 'nextPageToken'
160
+ collection :template_versions, as: 'templateVersions', class: Google::Apis::ParametermanagerV1::TemplateVersion, decorator: Google::Apis::ParametermanagerV1::TemplateVersion::Representation
161
+
162
+ collection :unreachable, as: 'unreachable'
163
+ end
164
+ end
165
+
166
+ class ListTemplatesResponse
167
+ # @private
168
+ class Representation < Google::Apis::Core::JsonRepresentation
169
+ property :next_page_token, as: 'nextPageToken'
170
+ collection :templates, as: 'templates', class: Google::Apis::ParametermanagerV1::Template, decorator: Google::Apis::ParametermanagerV1::Template::Representation
171
+
172
+ collection :unreachable, as: 'unreachable'
173
+ end
174
+ end
175
+
120
176
  class Location
121
177
  # @private
122
178
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -172,6 +228,18 @@ module Google
172
228
  end
173
229
  end
174
230
 
231
+ class RenderTemplateVersionResponse
232
+ # @private
233
+ class Representation < Google::Apis::Core::JsonRepresentation
234
+ property :parameter_version, as: 'parameterVersion'
235
+ property :payload, as: 'payload', class: Google::Apis::ParametermanagerV1::TemplateVersionPayload, decorator: Google::Apis::ParametermanagerV1::TemplateVersionPayload::Representation
236
+
237
+ property :rendered_payload, :base64 => true, as: 'renderedPayload'
238
+ property :template_format, as: 'templateFormat'
239
+ property :template_version, as: 'templateVersion'
240
+ end
241
+ end
242
+
175
243
  class ResourcePolicyMember
176
244
  # @private
177
245
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -179,6 +247,36 @@ module Google
179
247
  property :iam_policy_uid_principal, as: 'iamPolicyUidPrincipal'
180
248
  end
181
249
  end
250
+
251
+ class Template
252
+ # @private
253
+ class Representation < Google::Apis::Core::JsonRepresentation
254
+ property :create_time, as: 'createTime'
255
+ property :format, as: 'format'
256
+ hash :labels, as: 'labels'
257
+ property :name, as: 'name'
258
+ property :update_time, as: 'updateTime'
259
+ end
260
+ end
261
+
262
+ class TemplateVersion
263
+ # @private
264
+ class Representation < Google::Apis::Core::JsonRepresentation
265
+ property :create_time, as: 'createTime'
266
+ property :disabled, as: 'disabled'
267
+ property :name, as: 'name'
268
+ property :payload, as: 'payload', class: Google::Apis::ParametermanagerV1::TemplateVersionPayload, decorator: Google::Apis::ParametermanagerV1::TemplateVersionPayload::Representation
269
+
270
+ property :update_time, as: 'updateTime'
271
+ end
272
+ end
273
+
274
+ class TemplateVersionPayload
275
+ # @private
276
+ class Representation < Google::Apis::Core::JsonRepresentation
277
+ property :data, :base64 => true, as: 'data'
278
+ end
279
+ end
182
280
  end
183
281
  end
184
282
  end
@@ -617,6 +617,487 @@ module Google
617
617
  command.query['quotaUser'] = quota_user unless quota_user.nil?
618
618
  execute_or_queue_command(command, &block)
619
619
  end
620
+
621
+ # Creates a new Template in a given project and location.
622
+ # @param [String] parent
623
+ # Required. Value for parent in the format `projects/*/locations/*`.
624
+ # @param [Google::Apis::ParametermanagerV1::Template] template_object
625
+ # @param [String] request_id
626
+ # Optional. An optional request ID to identify requests. Specify a unique
627
+ # request ID so that if you must retry your request, the server will know to
628
+ # ignore the request if it has already been completed. The server will guarantee
629
+ # that for at least 60 minutes since the first request. For example, consider a
630
+ # situation where you make an initial request and the request times out. If you
631
+ # make the request again with the same request ID, the server can check if
632
+ # original operation with the same request ID was received, and if so, will
633
+ # ignore the second request. This prevents clients from accidentally creating
634
+ # duplicate commitments. The request ID must be a valid UUID with the exception
635
+ # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
636
+ # @param [String] template_id
637
+ # Required. Id of the Template resource
638
+ # @param [String] fields
639
+ # Selector specifying which fields to include in a partial response.
640
+ # @param [String] quota_user
641
+ # Available to use for quota purposes for server-side applications. Can be any
642
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
643
+ # @param [Google::Apis::RequestOptions] options
644
+ # Request-specific options
645
+ #
646
+ # @yield [result, err] Result & error if block supplied
647
+ # @yieldparam result [Google::Apis::ParametermanagerV1::Template] parsed result object
648
+ # @yieldparam err [StandardError] error object if request failed
649
+ #
650
+ # @return [Google::Apis::ParametermanagerV1::Template]
651
+ #
652
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
653
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
654
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
655
+ def create_project_location_template(parent, template_object = nil, request_id: nil, template_id: nil, fields: nil, quota_user: nil, options: nil, &block)
656
+ command = make_simple_command(:post, 'v1/{+parent}/templates', options)
657
+ command.request_representation = Google::Apis::ParametermanagerV1::Template::Representation
658
+ command.request_object = template_object
659
+ command.response_representation = Google::Apis::ParametermanagerV1::Template::Representation
660
+ command.response_class = Google::Apis::ParametermanagerV1::Template
661
+ command.params['parent'] = parent unless parent.nil?
662
+ command.query['requestId'] = request_id unless request_id.nil?
663
+ command.query['templateId'] = template_id unless template_id.nil?
664
+ command.query['fields'] = fields unless fields.nil?
665
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
666
+ execute_or_queue_command(command, &block)
667
+ end
668
+
669
+ # Deletes a single Template.
670
+ # @param [String] name
671
+ # Required. Name of the resource in the format `projects/*/locations/*/templates/
672
+ # *`.
673
+ # @param [String] request_id
674
+ # Optional. An optional request ID to identify requests. Specify a unique
675
+ # request ID so that if you must retry your request, the server will know to
676
+ # ignore the request if it has already been completed. The server will guarantee
677
+ # that for at least 60 minutes after the first request. For example, consider a
678
+ # situation where you make an initial request and the request times out. If you
679
+ # make the request again with the same request ID, the server can check if
680
+ # original operation with the same request ID was received, and if so, will
681
+ # ignore the second request. This prevents clients from accidentally creating
682
+ # duplicate commitments. The request ID must be a valid UUID with the exception
683
+ # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
684
+ # @param [String] fields
685
+ # Selector specifying which fields to include in a partial response.
686
+ # @param [String] quota_user
687
+ # Available to use for quota purposes for server-side applications. Can be any
688
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
689
+ # @param [Google::Apis::RequestOptions] options
690
+ # Request-specific options
691
+ #
692
+ # @yield [result, err] Result & error if block supplied
693
+ # @yieldparam result [Google::Apis::ParametermanagerV1::Empty] parsed result object
694
+ # @yieldparam err [StandardError] error object if request failed
695
+ #
696
+ # @return [Google::Apis::ParametermanagerV1::Empty]
697
+ #
698
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
699
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
700
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
701
+ def delete_project_location_template(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
702
+ command = make_simple_command(:delete, 'v1/{+name}', options)
703
+ command.response_representation = Google::Apis::ParametermanagerV1::Empty::Representation
704
+ command.response_class = Google::Apis::ParametermanagerV1::Empty
705
+ command.params['name'] = name unless name.nil?
706
+ command.query['requestId'] = request_id unless request_id.nil?
707
+ command.query['fields'] = fields unless fields.nil?
708
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
709
+ execute_or_queue_command(command, &block)
710
+ end
711
+
712
+ # Gets details of a single Template.
713
+ # @param [String] name
714
+ # Required. Name of the resource in the format `projects/*/locations/*/templates/
715
+ # *`.
716
+ # @param [String] fields
717
+ # Selector specifying which fields to include in a partial response.
718
+ # @param [String] quota_user
719
+ # Available to use for quota purposes for server-side applications. Can be any
720
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
721
+ # @param [Google::Apis::RequestOptions] options
722
+ # Request-specific options
723
+ #
724
+ # @yield [result, err] Result & error if block supplied
725
+ # @yieldparam result [Google::Apis::ParametermanagerV1::Template] parsed result object
726
+ # @yieldparam err [StandardError] error object if request failed
727
+ #
728
+ # @return [Google::Apis::ParametermanagerV1::Template]
729
+ #
730
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
731
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
732
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
733
+ def get_project_location_template(name, fields: nil, quota_user: nil, options: nil, &block)
734
+ command = make_simple_command(:get, 'v1/{+name}', options)
735
+ command.response_representation = Google::Apis::ParametermanagerV1::Template::Representation
736
+ command.response_class = Google::Apis::ParametermanagerV1::Template
737
+ command.params['name'] = name unless name.nil?
738
+ command.query['fields'] = fields unless fields.nil?
739
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
740
+ execute_or_queue_command(command, &block)
741
+ end
742
+
743
+ # Lists Templates in a given project and location.
744
+ # @param [String] parent
745
+ # Required. Parent value for ListTemplatesRequest in the format `projects/*/
746
+ # locations/*`.
747
+ # @param [String] filter
748
+ # Optional. Filtering results
749
+ # @param [String] order_by
750
+ # Optional. Hint for how to order the results
751
+ # @param [Fixnum] page_size
752
+ # Optional. Requested page size. Server may return fewer items than requested.
753
+ # If unspecified, server will pick an appropriate default.
754
+ # @param [String] page_token
755
+ # Optional. A page token, received from a previous `ListTemplates` call. Provide
756
+ # this to retrieve the subsequent page. When paginating, all other parameters
757
+ # provided to `ListTemplates` must match the call that provided the page token.
758
+ # @param [String] fields
759
+ # Selector specifying which fields to include in a partial response.
760
+ # @param [String] quota_user
761
+ # Available to use for quota purposes for server-side applications. Can be any
762
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
763
+ # @param [Google::Apis::RequestOptions] options
764
+ # Request-specific options
765
+ #
766
+ # @yield [result, err] Result & error if block supplied
767
+ # @yieldparam result [Google::Apis::ParametermanagerV1::ListTemplatesResponse] parsed result object
768
+ # @yieldparam err [StandardError] error object if request failed
769
+ #
770
+ # @return [Google::Apis::ParametermanagerV1::ListTemplatesResponse]
771
+ #
772
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
773
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
774
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
775
+ def list_project_location_templates(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
776
+ command = make_simple_command(:get, 'v1/{+parent}/templates', options)
777
+ command.response_representation = Google::Apis::ParametermanagerV1::ListTemplatesResponse::Representation
778
+ command.response_class = Google::Apis::ParametermanagerV1::ListTemplatesResponse
779
+ command.params['parent'] = parent unless parent.nil?
780
+ command.query['filter'] = filter unless filter.nil?
781
+ command.query['orderBy'] = order_by unless order_by.nil?
782
+ command.query['pageSize'] = page_size unless page_size.nil?
783
+ command.query['pageToken'] = page_token unless page_token.nil?
784
+ command.query['fields'] = fields unless fields.nil?
785
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
786
+ execute_or_queue_command(command, &block)
787
+ end
788
+
789
+ # Updates a single Template.
790
+ # @param [String] name
791
+ # Identifier. The resource name of the Template in the format `projects/*/
792
+ # locations/*/templates/*`.
793
+ # @param [Google::Apis::ParametermanagerV1::Template] template_object
794
+ # @param [String] request_id
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 guarantee
798
+ # that for at least 60 minutes since the first request. For example, consider a
799
+ # situation where you make an initial request and the request times out. If you
800
+ # make the request again with the same request ID, the server can check if
801
+ # original operation with the same request ID was received, and if so, will
802
+ # ignore the second request. This prevents clients from accidentally creating
803
+ # duplicate commitments. The request ID must be a valid UUID with the exception
804
+ # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
805
+ # @param [String] update_mask
806
+ # Optional. Field mask is used to specify the fields to be overwritten in the
807
+ # Template resource by the update. The fields specified in the update_mask are
808
+ # relative to the resource, not the full request. A mutable field will be
809
+ # overwritten if it is in the mask. If the user does not provide a mask then all
810
+ # mutable fields present in the request will be overwritten.
811
+ # @param [String] fields
812
+ # Selector specifying which fields to include in a partial response.
813
+ # @param [String] quota_user
814
+ # Available to use for quota purposes for server-side applications. Can be any
815
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
816
+ # @param [Google::Apis::RequestOptions] options
817
+ # Request-specific options
818
+ #
819
+ # @yield [result, err] Result & error if block supplied
820
+ # @yieldparam result [Google::Apis::ParametermanagerV1::Template] parsed result object
821
+ # @yieldparam err [StandardError] error object if request failed
822
+ #
823
+ # @return [Google::Apis::ParametermanagerV1::Template]
824
+ #
825
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
826
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
827
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
828
+ def patch_project_location_template(name, template_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
829
+ command = make_simple_command(:patch, 'v1/{+name}', options)
830
+ command.request_representation = Google::Apis::ParametermanagerV1::Template::Representation
831
+ command.request_object = template_object
832
+ command.response_representation = Google::Apis::ParametermanagerV1::Template::Representation
833
+ command.response_class = Google::Apis::ParametermanagerV1::Template
834
+ command.params['name'] = name unless name.nil?
835
+ command.query['requestId'] = request_id unless request_id.nil?
836
+ command.query['updateMask'] = update_mask unless update_mask.nil?
837
+ command.query['fields'] = fields unless fields.nil?
838
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
839
+ execute_or_queue_command(command, &block)
840
+ end
841
+
842
+ # Creates a new TemplateVersion in a given project, location, and template.
843
+ # @param [String] parent
844
+ # Required. Value for parent in the format `projects/*/locations/*/templates/*`.
845
+ # @param [Google::Apis::ParametermanagerV1::TemplateVersion] template_version_object
846
+ # @param [String] request_id
847
+ # Optional. An optional request ID to identify requests. Specify a unique
848
+ # request ID so that if you must retry your request, the server will know to
849
+ # ignore the request if it has already been completed. The server will guarantee
850
+ # that for at least 60 minutes since the first request. For example, consider a
851
+ # situation where you make an initial request and the request times out. If you
852
+ # make the request again with the same request ID, the server can check if
853
+ # original operation with the same request ID was received, and if so, will
854
+ # ignore the second request. This prevents clients from accidentally creating
855
+ # duplicate commitments. The request ID must be a valid UUID with the exception
856
+ # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
857
+ # @param [String] template_version_id
858
+ # Required. Id of the TemplateVersion resource
859
+ # @param [String] fields
860
+ # Selector specifying which fields to include in a partial response.
861
+ # @param [String] quota_user
862
+ # Available to use for quota purposes for server-side applications. Can be any
863
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
864
+ # @param [Google::Apis::RequestOptions] options
865
+ # Request-specific options
866
+ #
867
+ # @yield [result, err] Result & error if block supplied
868
+ # @yieldparam result [Google::Apis::ParametermanagerV1::TemplateVersion] parsed result object
869
+ # @yieldparam err [StandardError] error object if request failed
870
+ #
871
+ # @return [Google::Apis::ParametermanagerV1::TemplateVersion]
872
+ #
873
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
874
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
875
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
876
+ def create_project_location_template_version(parent, template_version_object = nil, request_id: nil, template_version_id: nil, fields: nil, quota_user: nil, options: nil, &block)
877
+ command = make_simple_command(:post, 'v1/{+parent}/versions', options)
878
+ command.request_representation = Google::Apis::ParametermanagerV1::TemplateVersion::Representation
879
+ command.request_object = template_version_object
880
+ command.response_representation = Google::Apis::ParametermanagerV1::TemplateVersion::Representation
881
+ command.response_class = Google::Apis::ParametermanagerV1::TemplateVersion
882
+ command.params['parent'] = parent unless parent.nil?
883
+ command.query['requestId'] = request_id unless request_id.nil?
884
+ command.query['templateVersionId'] = template_version_id unless template_version_id.nil?
885
+ command.query['fields'] = fields unless fields.nil?
886
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
887
+ execute_or_queue_command(command, &block)
888
+ end
889
+
890
+ # Deletes a single TemplateVersion.
891
+ # @param [String] name
892
+ # Required. Name of the resource in the format `projects/*/locations/*/templates/
893
+ # */versions/*`.
894
+ # @param [String] request_id
895
+ # Optional. An optional request ID to identify requests. Specify a unique
896
+ # request ID so that if you must retry your request, the server will know to
897
+ # ignore the request if it has already been completed. The server will guarantee
898
+ # that for at least 60 minutes after the first request. For example, consider a
899
+ # situation where you make an initial request and the request times out. If you
900
+ # make the request again with the same request ID, the server can check if
901
+ # original operation with the same request ID was received, and if so, will
902
+ # ignore the second request. This prevents clients from accidentally creating
903
+ # duplicate commitments. The request ID must be a valid UUID with the exception
904
+ # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
905
+ # @param [String] fields
906
+ # Selector specifying which fields to include in a partial response.
907
+ # @param [String] quota_user
908
+ # Available to use for quota purposes for server-side applications. Can be any
909
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
910
+ # @param [Google::Apis::RequestOptions] options
911
+ # Request-specific options
912
+ #
913
+ # @yield [result, err] Result & error if block supplied
914
+ # @yieldparam result [Google::Apis::ParametermanagerV1::Empty] parsed result object
915
+ # @yieldparam err [StandardError] error object if request failed
916
+ #
917
+ # @return [Google::Apis::ParametermanagerV1::Empty]
918
+ #
919
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
920
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
921
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
922
+ def delete_project_location_template_version(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
923
+ command = make_simple_command(:delete, 'v1/{+name}', options)
924
+ command.response_representation = Google::Apis::ParametermanagerV1::Empty::Representation
925
+ command.response_class = Google::Apis::ParametermanagerV1::Empty
926
+ command.params['name'] = name unless name.nil?
927
+ command.query['requestId'] = request_id unless request_id.nil?
928
+ command.query['fields'] = fields unless fields.nil?
929
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
930
+ execute_or_queue_command(command, &block)
931
+ end
932
+
933
+ # Gets details of a single TemplateVersion.
934
+ # @param [String] name
935
+ # Required. Name of the resource in the format `projects/*/locations/*/templates/
936
+ # */versions/*`.
937
+ # @param [String] view
938
+ # Optional. Specifies the view of the TemplateVersion to return. In the default
939
+ # FULL view, all metadata & payload associated with the TemplateVersion will be
940
+ # returned.
941
+ # @param [String] fields
942
+ # Selector specifying which fields to include in a partial response.
943
+ # @param [String] quota_user
944
+ # Available to use for quota purposes for server-side applications. Can be any
945
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
946
+ # @param [Google::Apis::RequestOptions] options
947
+ # Request-specific options
948
+ #
949
+ # @yield [result, err] Result & error if block supplied
950
+ # @yieldparam result [Google::Apis::ParametermanagerV1::TemplateVersion] parsed result object
951
+ # @yieldparam err [StandardError] error object if request failed
952
+ #
953
+ # @return [Google::Apis::ParametermanagerV1::TemplateVersion]
954
+ #
955
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
956
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
957
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
958
+ def get_project_location_template_version(name, view: nil, fields: nil, quota_user: nil, options: nil, &block)
959
+ command = make_simple_command(:get, 'v1/{+name}', options)
960
+ command.response_representation = Google::Apis::ParametermanagerV1::TemplateVersion::Representation
961
+ command.response_class = Google::Apis::ParametermanagerV1::TemplateVersion
962
+ command.params['name'] = name unless name.nil?
963
+ command.query['view'] = view unless view.nil?
964
+ command.query['fields'] = fields unless fields.nil?
965
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
966
+ execute_or_queue_command(command, &block)
967
+ end
968
+
969
+ # Lists TemplateVersions in a given project, location, and template.
970
+ # @param [String] parent
971
+ # Required. Parent value for ListTemplateVersionsRequest in the format `projects/
972
+ # */locations/*/templates/*`.
973
+ # @param [String] filter
974
+ # Optional. Filtering results
975
+ # @param [String] order_by
976
+ # Optional. Hint for how to order the results
977
+ # @param [Fixnum] page_size
978
+ # Optional. Requested page size. Server may return fewer items than requested.
979
+ # If unspecified, server will pick an appropriate default.
980
+ # @param [String] page_token
981
+ # Optional. A page token, received from a previous `ListTemplateVersions` call.
982
+ # Provide this to retrieve the subsequent page. When paginating, all other
983
+ # parameters provided to `ListTemplateVersions` must match the call that
984
+ # provided the page token.
985
+ # @param [String] fields
986
+ # Selector specifying which fields to include in a partial response.
987
+ # @param [String] quota_user
988
+ # Available to use for quota purposes for server-side applications. Can be any
989
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
990
+ # @param [Google::Apis::RequestOptions] options
991
+ # Request-specific options
992
+ #
993
+ # @yield [result, err] Result & error if block supplied
994
+ # @yieldparam result [Google::Apis::ParametermanagerV1::ListTemplateVersionsResponse] parsed result object
995
+ # @yieldparam err [StandardError] error object if request failed
996
+ #
997
+ # @return [Google::Apis::ParametermanagerV1::ListTemplateVersionsResponse]
998
+ #
999
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1000
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1001
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1002
+ def list_project_location_template_versions(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1003
+ command = make_simple_command(:get, 'v1/{+parent}/versions', options)
1004
+ command.response_representation = Google::Apis::ParametermanagerV1::ListTemplateVersionsResponse::Representation
1005
+ command.response_class = Google::Apis::ParametermanagerV1::ListTemplateVersionsResponse
1006
+ command.params['parent'] = parent unless parent.nil?
1007
+ command.query['filter'] = filter unless filter.nil?
1008
+ command.query['orderBy'] = order_by unless order_by.nil?
1009
+ command.query['pageSize'] = page_size unless page_size.nil?
1010
+ command.query['pageToken'] = page_token unless page_token.nil?
1011
+ command.query['fields'] = fields unless fields.nil?
1012
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1013
+ execute_or_queue_command(command, &block)
1014
+ end
1015
+
1016
+ # Updates a single TemplateVersion.
1017
+ # @param [String] name
1018
+ # Identifier. The resource name of the TemplateVersion in the format `projects/*/
1019
+ # locations/*/templates/*/versions/*`.
1020
+ # @param [Google::Apis::ParametermanagerV1::TemplateVersion] template_version_object
1021
+ # @param [String] request_id
1022
+ # Optional. An optional request ID to identify requests. Specify a unique
1023
+ # request ID so that if you must retry your request, the server will know to
1024
+ # ignore the request if it has already been completed. The server will guarantee
1025
+ # that for at least 60 minutes since the first request. For example, consider a
1026
+ # situation where you make an initial request and the request times out. If you
1027
+ # make the request again with the same request ID, the server can check if
1028
+ # original operation with the same request ID was received, and if so, will
1029
+ # ignore the second request. This prevents clients from accidentally creating
1030
+ # duplicate commitments. The request ID must be a valid UUID with the exception
1031
+ # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
1032
+ # @param [String] update_mask
1033
+ # Optional. Field mask is used to specify the fields to be overwritten in the
1034
+ # TemplateVersion resource by the update. The fields specified in the
1035
+ # update_mask are relative to the resource, not the full request. A mutable
1036
+ # field will be overwritten if it is in the mask. If the user does not provide a
1037
+ # mask then all mutable fields present in the request will be overwritten.
1038
+ # @param [String] fields
1039
+ # Selector specifying which fields to include in a partial response.
1040
+ # @param [String] quota_user
1041
+ # Available to use for quota purposes for server-side applications. Can be any
1042
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1043
+ # @param [Google::Apis::RequestOptions] options
1044
+ # Request-specific options
1045
+ #
1046
+ # @yield [result, err] Result & error if block supplied
1047
+ # @yieldparam result [Google::Apis::ParametermanagerV1::TemplateVersion] parsed result object
1048
+ # @yieldparam err [StandardError] error object if request failed
1049
+ #
1050
+ # @return [Google::Apis::ParametermanagerV1::TemplateVersion]
1051
+ #
1052
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1053
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1054
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1055
+ def patch_project_location_template_version(name, template_version_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1056
+ command = make_simple_command(:patch, 'v1/{+name}', options)
1057
+ command.request_representation = Google::Apis::ParametermanagerV1::TemplateVersion::Representation
1058
+ command.request_object = template_version_object
1059
+ command.response_representation = Google::Apis::ParametermanagerV1::TemplateVersion::Representation
1060
+ command.response_class = Google::Apis::ParametermanagerV1::TemplateVersion
1061
+ command.params['name'] = name unless name.nil?
1062
+ command.query['requestId'] = request_id unless request_id.nil?
1063
+ command.query['updateMask'] = update_mask unless update_mask.nil?
1064
+ command.query['fields'] = fields unless fields.nil?
1065
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1066
+ execute_or_queue_command(command, &block)
1067
+ end
1068
+
1069
+ # Gets rendered version of a TemplateVersion.
1070
+ # @param [String] name
1071
+ # Required. Name of the resource
1072
+ # @param [String] parameter_version
1073
+ # Required. Parameter version used to render the template version.
1074
+ # @param [String] fields
1075
+ # Selector specifying which fields to include in a partial response.
1076
+ # @param [String] quota_user
1077
+ # Available to use for quota purposes for server-side applications. Can be any
1078
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1079
+ # @param [Google::Apis::RequestOptions] options
1080
+ # Request-specific options
1081
+ #
1082
+ # @yield [result, err] Result & error if block supplied
1083
+ # @yieldparam result [Google::Apis::ParametermanagerV1::RenderTemplateVersionResponse] parsed result object
1084
+ # @yieldparam err [StandardError] error object if request failed
1085
+ #
1086
+ # @return [Google::Apis::ParametermanagerV1::RenderTemplateVersionResponse]
1087
+ #
1088
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1089
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1090
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1091
+ def render_project_location_template_version(name, parameter_version: nil, fields: nil, quota_user: nil, options: nil, &block)
1092
+ command = make_simple_command(:get, 'v1/{+name}:render', options)
1093
+ command.response_representation = Google::Apis::ParametermanagerV1::RenderTemplateVersionResponse::Representation
1094
+ command.response_class = Google::Apis::ParametermanagerV1::RenderTemplateVersionResponse
1095
+ command.params['name'] = name unless name.nil?
1096
+ command.query['parameterVersion'] = parameter_version unless parameter_version.nil?
1097
+ command.query['fields'] = fields unless fields.nil?
1098
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1099
+ execute_or_queue_command(command, &block)
1100
+ end
620
1101
 
621
1102
  protected
622
1103
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-parametermanager_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.10.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-parametermanager_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-parametermanager_v1/v0.9.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-parametermanager_v1/v0.10.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-parametermanager_v1
62
62
  rdoc_options: []
63
63
  require_paths: