google-cloud-cloud_controls_partner-v1beta 0.1.0 → 0.1.1

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: 76e6fc9349fedbf3cdc42a7197e0ff626a27203cee82380c216587b92ac3c7be
4
- data.tar.gz: 2ce74b8ffe968b96e57468a7b178439b05bab8bc33dbdd5dbcd139f9f1ed0e6e
3
+ metadata.gz: 7307c31c9bed8ce70acab504cef6715f7018301f8e0467d9e952fa2601d04fbc
4
+ data.tar.gz: '0394329bb363f46fc6f6d17fa70fb9ce76f7d5598874465764a87a212b8f57df'
5
5
  SHA512:
6
- metadata.gz: 2e42ad950f76d45e4423a2dddf88baf0d376cc59488d1b223b42320b3d132328e22e7b8d15b67697a95cb1a7679fff7803088c72f70d5411da3e3c9e2882eaa2
7
- data.tar.gz: 1fd4b578d852da4c4edcb589c5f767370e556993f302c0104385ae9ef7b5d4df458110f4386ce16bb9cc2790b15ef980ed391c7fa06146fad1a12fa9846df4c2
6
+ metadata.gz: 0bb533f3132277cecc5d58d7090dd12e24a9867b5d824c56b50908c7c475e139f636253ddcbd97e46fbb2e72e06d0b7624b1d08acd444f73edf45b90099b3c6e
7
+ data.tar.gz: 44054bdd640ba8b2e026e45b18dfe53cfe558ff91248d60c449083f2d70eaaa69fee2740a7edc147acbdf23d17ab9d445afb4e9e2a8e9ea960d3e059eba92f97
@@ -30,6 +30,9 @@ module Google
30
30
  # Service describing handlers for resources
31
31
  #
32
32
  class Client
33
+ # @private
34
+ API_VERSION = ""
35
+
33
36
  # @private
34
37
  DEFAULT_ENDPOINT_TEMPLATE = "cloudcontrolspartner.$UNIVERSE_DOMAIN$"
35
38
 
@@ -215,7 +218,7 @@ module Google
215
218
  #
216
219
  # @param name [::String]
217
220
  # Required. Format:
218
- # organizations/\\{organization}/locations/\\{location}/customers/\\{customer}/workloads/\\{workload}
221
+ # `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}`
219
222
  #
220
223
  # @yield [response, operation] Access the result along with the RPC operation
221
224
  # @yieldparam response [::Google::Cloud::CloudControlsPartner::V1beta::Workload]
@@ -251,10 +254,11 @@ module Google
251
254
  # Customize the options with defaults
252
255
  metadata = @config.rpcs.get_workload.metadata.to_h
253
256
 
254
- # Set x-goog-api-client and x-goog-user-project headers
257
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
255
258
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
256
259
  lib_name: @config.lib_name, lib_version: @config.lib_version,
257
260
  gapic_version: ::Google::Cloud::CloudControlsPartner::V1beta::VERSION
261
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
258
262
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
259
263
 
260
264
  header_params = {}
@@ -302,7 +306,7 @@ module Google
302
306
  # @param parent [::String]
303
307
  # Required. Parent resource
304
308
  # Format:
305
- # organizations/\\{organization}/locations/\\{location}/customers/\\{customer}
309
+ # `organizations/{organization}/locations/{location}/customers/{customer}`
306
310
  # @param page_size [::Integer]
307
311
  # The maximum number of workloads to return. The service may return fewer
308
312
  # than this value. If unspecified, at most 500 workloads will be returned.
@@ -352,10 +356,11 @@ module Google
352
356
  # Customize the options with defaults
353
357
  metadata = @config.rpcs.list_workloads.metadata.to_h
354
358
 
355
- # Set x-goog-api-client and x-goog-user-project headers
359
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
356
360
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
357
361
  lib_name: @config.lib_name, lib_version: @config.lib_version,
358
362
  gapic_version: ::Google::Cloud::CloudControlsPartner::V1beta::VERSION
363
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
359
364
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
360
365
 
361
366
  header_params = {}
@@ -403,7 +408,7 @@ module Google
403
408
  #
404
409
  # @param name [::String]
405
410
  # Required. Format:
406
- # organizations/\\{organization}/locations/\\{location}/customers/\\{customer}
411
+ # `organizations/{organization}/locations/{location}/customers/{customer}`
407
412
  #
408
413
  # @yield [response, operation] Access the result along with the RPC operation
409
414
  # @yieldparam response [::Google::Cloud::CloudControlsPartner::V1beta::Customer]
@@ -439,10 +444,11 @@ module Google
439
444
  # Customize the options with defaults
440
445
  metadata = @config.rpcs.get_customer.metadata.to_h
441
446
 
442
- # Set x-goog-api-client and x-goog-user-project headers
447
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
443
448
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
444
449
  lib_name: @config.lib_name, lib_version: @config.lib_version,
445
450
  gapic_version: ::Google::Cloud::CloudControlsPartner::V1beta::VERSION
451
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
446
452
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
447
453
 
448
454
  header_params = {}
@@ -489,7 +495,7 @@ module Google
489
495
  #
490
496
  # @param parent [::String]
491
497
  # Required. Parent resource
492
- # Format: organizations/\\{organization}/locations/\\{location}
498
+ # Format: `organizations/{organization}/locations/{location}`
493
499
  # @param page_size [::Integer]
494
500
  # The maximum number of Customers to return. The service may return fewer
495
501
  # than this value. If unspecified, at most 500 Customers will be returned.
@@ -539,10 +545,11 @@ module Google
539
545
  # Customize the options with defaults
540
546
  metadata = @config.rpcs.list_customers.metadata.to_h
541
547
 
542
- # Set x-goog-api-client and x-goog-user-project headers
548
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
543
549
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
544
550
  lib_name: @config.lib_name, lib_version: @config.lib_version,
545
551
  gapic_version: ::Google::Cloud::CloudControlsPartner::V1beta::VERSION
552
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
546
553
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
547
554
 
548
555
  header_params = {}
@@ -590,7 +597,7 @@ module Google
590
597
  #
591
598
  # @param name [::String]
592
599
  # Required. Format:
593
- # organizations/\\{organization}/locations/\\{location}/customers/\\{customer}/workloads/\\{workload}/ekmConnections
600
+ # `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/ekmConnections`
594
601
  #
595
602
  # @yield [response, operation] Access the result along with the RPC operation
596
603
  # @yieldparam response [::Google::Cloud::CloudControlsPartner::V1beta::EkmConnections]
@@ -626,10 +633,11 @@ module Google
626
633
  # Customize the options with defaults
627
634
  metadata = @config.rpcs.get_ekm_connections.metadata.to_h
628
635
 
629
- # Set x-goog-api-client and x-goog-user-project headers
636
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
630
637
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
631
638
  lib_name: @config.lib_name, lib_version: @config.lib_version,
632
639
  gapic_version: ::Google::Cloud::CloudControlsPartner::V1beta::VERSION
640
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
633
641
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
634
642
 
635
643
  header_params = {}
@@ -676,7 +684,7 @@ module Google
676
684
  #
677
685
  # @param name [::String]
678
686
  # Required. Name of the resource to get in the format:
679
- # organizations/\\{organization}/locations/\\{location}/customers/\\{customer}/workloads/\\{workload}/partnerPermissions
687
+ # `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/partnerPermissions`
680
688
  #
681
689
  # @yield [response, operation] Access the result along with the RPC operation
682
690
  # @yieldparam response [::Google::Cloud::CloudControlsPartner::V1beta::PartnerPermissions]
@@ -712,10 +720,11 @@ module Google
712
720
  # Customize the options with defaults
713
721
  metadata = @config.rpcs.get_partner_permissions.metadata.to_h
714
722
 
715
- # Set x-goog-api-client and x-goog-user-project headers
723
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
716
724
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
717
725
  lib_name: @config.lib_name, lib_version: @config.lib_version,
718
726
  gapic_version: ::Google::Cloud::CloudControlsPartner::V1beta::VERSION
727
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
719
728
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
720
729
 
721
730
  header_params = {}
@@ -743,7 +752,10 @@ module Google
743
752
  end
744
753
 
745
754
  ##
746
- # Lists access requests associated with a workload
755
+ # Deprecated: Only returns access approval requests directly associated with
756
+ # an assured workload folder.
757
+ #
758
+ # @deprecated This method is deprecated and may be removed in the next major version update.
747
759
  #
748
760
  # @overload list_access_approval_requests(request, options = nil)
749
761
  # Pass arguments to `list_access_approval_requests` via a request object, either of type
@@ -763,7 +775,7 @@ module Google
763
775
  # @param parent [::String]
764
776
  # Required. Parent resource
765
777
  # Format:
766
- # organizations/\\{organization}/locations/\\{location}/customers/\\{customer}/workloads/\\{workload}
778
+ # `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}`
767
779
  # @param page_size [::Integer]
768
780
  # Optional. The maximum number of access requests to return. The service may
769
781
  # return fewer than this value. If unspecified, at most 500 access requests
@@ -815,10 +827,11 @@ module Google
815
827
  # Customize the options with defaults
816
828
  metadata = @config.rpcs.list_access_approval_requests.metadata.to_h
817
829
 
818
- # Set x-goog-api-client and x-goog-user-project headers
830
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
819
831
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
820
832
  lib_name: @config.lib_name, lib_version: @config.lib_version,
821
833
  gapic_version: ::Google::Cloud::CloudControlsPartner::V1beta::VERSION
834
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
822
835
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
823
836
 
824
837
  header_params = {}
@@ -865,7 +878,8 @@ module Google
865
878
  # the default parameter values, pass an empty Hash as a request object (see above).
866
879
  #
867
880
  # @param name [::String]
868
- # Required. Format: organizations/\\{organization}/locations/\\{location}/partner
881
+ # Required. Format:
882
+ # `organizations/{organization}/locations/{location}/partner`
869
883
  #
870
884
  # @yield [response, operation] Access the result along with the RPC operation
871
885
  # @yieldparam response [::Google::Cloud::CloudControlsPartner::V1beta::Partner]
@@ -901,10 +915,11 @@ module Google
901
915
  # Customize the options with defaults
902
916
  metadata = @config.rpcs.get_partner.metadata.to_h
903
917
 
904
- # Set x-goog-api-client and x-goog-user-project headers
918
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
905
919
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
906
920
  lib_name: @config.lib_name, lib_version: @config.lib_version,
907
921
  gapic_version: ::Google::Cloud::CloudControlsPartner::V1beta::VERSION
922
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
908
923
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
909
924
 
910
925
  header_params = {}
@@ -32,6 +32,9 @@ module Google
32
32
  # Service describing handlers for resources
33
33
  #
34
34
  class Client
35
+ # @private
36
+ API_VERSION = ""
37
+
35
38
  # @private
36
39
  DEFAULT_ENDPOINT_TEMPLATE = "cloudcontrolspartner.$UNIVERSE_DOMAIN$"
37
40
 
@@ -208,7 +211,7 @@ module Google
208
211
  #
209
212
  # @param name [::String]
210
213
  # Required. Format:
211
- # organizations/\\{organization}/locations/\\{location}/customers/\\{customer}/workloads/\\{workload}
214
+ # `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}`
212
215
  # @yield [result, operation] Access the result along with the TransportOperation object
213
216
  # @yieldparam result [::Google::Cloud::CloudControlsPartner::V1beta::Workload]
214
217
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -243,12 +246,13 @@ module Google
243
246
  # Customize the options with defaults
244
247
  call_metadata = @config.rpcs.get_workload.metadata.to_h
245
248
 
246
- # Set x-goog-api-client and x-goog-user-project headers
249
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
247
250
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
248
251
  lib_name: @config.lib_name, lib_version: @config.lib_version,
249
252
  gapic_version: ::Google::Cloud::CloudControlsPartner::V1beta::VERSION,
250
253
  transports_version_send: [:rest]
251
254
 
255
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
252
256
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
253
257
 
254
258
  options.apply_defaults timeout: @config.rpcs.get_workload.timeout,
@@ -288,7 +292,7 @@ module Google
288
292
  # @param parent [::String]
289
293
  # Required. Parent resource
290
294
  # Format:
291
- # organizations/\\{organization}/locations/\\{location}/customers/\\{customer}
295
+ # `organizations/{organization}/locations/{location}/customers/{customer}`
292
296
  # @param page_size [::Integer]
293
297
  # The maximum number of workloads to return. The service may return fewer
294
298
  # than this value. If unspecified, at most 500 workloads will be returned.
@@ -337,12 +341,13 @@ module Google
337
341
  # Customize the options with defaults
338
342
  call_metadata = @config.rpcs.list_workloads.metadata.to_h
339
343
 
340
- # Set x-goog-api-client and x-goog-user-project headers
344
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
341
345
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
342
346
  lib_name: @config.lib_name, lib_version: @config.lib_version,
343
347
  gapic_version: ::Google::Cloud::CloudControlsPartner::V1beta::VERSION,
344
348
  transports_version_send: [:rest]
345
349
 
350
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
346
351
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
347
352
 
348
353
  options.apply_defaults timeout: @config.rpcs.list_workloads.timeout,
@@ -381,7 +386,7 @@ module Google
381
386
  #
382
387
  # @param name [::String]
383
388
  # Required. Format:
384
- # organizations/\\{organization}/locations/\\{location}/customers/\\{customer}
389
+ # `organizations/{organization}/locations/{location}/customers/{customer}`
385
390
  # @yield [result, operation] Access the result along with the TransportOperation object
386
391
  # @yieldparam result [::Google::Cloud::CloudControlsPartner::V1beta::Customer]
387
392
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -416,12 +421,13 @@ module Google
416
421
  # Customize the options with defaults
417
422
  call_metadata = @config.rpcs.get_customer.metadata.to_h
418
423
 
419
- # Set x-goog-api-client and x-goog-user-project headers
424
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
420
425
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
421
426
  lib_name: @config.lib_name, lib_version: @config.lib_version,
422
427
  gapic_version: ::Google::Cloud::CloudControlsPartner::V1beta::VERSION,
423
428
  transports_version_send: [:rest]
424
429
 
430
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
425
431
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
426
432
 
427
433
  options.apply_defaults timeout: @config.rpcs.get_customer.timeout,
@@ -460,7 +466,7 @@ module Google
460
466
  #
461
467
  # @param parent [::String]
462
468
  # Required. Parent resource
463
- # Format: organizations/\\{organization}/locations/\\{location}
469
+ # Format: `organizations/{organization}/locations/{location}`
464
470
  # @param page_size [::Integer]
465
471
  # The maximum number of Customers to return. The service may return fewer
466
472
  # than this value. If unspecified, at most 500 Customers will be returned.
@@ -509,12 +515,13 @@ module Google
509
515
  # Customize the options with defaults
510
516
  call_metadata = @config.rpcs.list_customers.metadata.to_h
511
517
 
512
- # Set x-goog-api-client and x-goog-user-project headers
518
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
513
519
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
514
520
  lib_name: @config.lib_name, lib_version: @config.lib_version,
515
521
  gapic_version: ::Google::Cloud::CloudControlsPartner::V1beta::VERSION,
516
522
  transports_version_send: [:rest]
517
523
 
524
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
518
525
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
519
526
 
520
527
  options.apply_defaults timeout: @config.rpcs.list_customers.timeout,
@@ -553,7 +560,7 @@ module Google
553
560
  #
554
561
  # @param name [::String]
555
562
  # Required. Format:
556
- # organizations/\\{organization}/locations/\\{location}/customers/\\{customer}/workloads/\\{workload}/ekmConnections
563
+ # `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/ekmConnections`
557
564
  # @yield [result, operation] Access the result along with the TransportOperation object
558
565
  # @yieldparam result [::Google::Cloud::CloudControlsPartner::V1beta::EkmConnections]
559
566
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -588,12 +595,13 @@ module Google
588
595
  # Customize the options with defaults
589
596
  call_metadata = @config.rpcs.get_ekm_connections.metadata.to_h
590
597
 
591
- # Set x-goog-api-client and x-goog-user-project headers
598
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
592
599
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
593
600
  lib_name: @config.lib_name, lib_version: @config.lib_version,
594
601
  gapic_version: ::Google::Cloud::CloudControlsPartner::V1beta::VERSION,
595
602
  transports_version_send: [:rest]
596
603
 
604
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
597
605
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
598
606
 
599
607
  options.apply_defaults timeout: @config.rpcs.get_ekm_connections.timeout,
@@ -632,7 +640,7 @@ module Google
632
640
  #
633
641
  # @param name [::String]
634
642
  # Required. Name of the resource to get in the format:
635
- # organizations/\\{organization}/locations/\\{location}/customers/\\{customer}/workloads/\\{workload}/partnerPermissions
643
+ # `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/partnerPermissions`
636
644
  # @yield [result, operation] Access the result along with the TransportOperation object
637
645
  # @yieldparam result [::Google::Cloud::CloudControlsPartner::V1beta::PartnerPermissions]
638
646
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -667,12 +675,13 @@ module Google
667
675
  # Customize the options with defaults
668
676
  call_metadata = @config.rpcs.get_partner_permissions.metadata.to_h
669
677
 
670
- # Set x-goog-api-client and x-goog-user-project headers
678
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
671
679
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
672
680
  lib_name: @config.lib_name, lib_version: @config.lib_version,
673
681
  gapic_version: ::Google::Cloud::CloudControlsPartner::V1beta::VERSION,
674
682
  transports_version_send: [:rest]
675
683
 
684
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
676
685
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
677
686
 
678
687
  options.apply_defaults timeout: @config.rpcs.get_partner_permissions.timeout,
@@ -692,7 +701,8 @@ module Google
692
701
  end
693
702
 
694
703
  ##
695
- # Lists access requests associated with a workload
704
+ # Deprecated: Only returns access approval requests directly associated with
705
+ # an assured workload folder.
696
706
  #
697
707
  # @overload list_access_approval_requests(request, options = nil)
698
708
  # Pass arguments to `list_access_approval_requests` via a request object, either of type
@@ -712,7 +722,7 @@ module Google
712
722
  # @param parent [::String]
713
723
  # Required. Parent resource
714
724
  # Format:
715
- # organizations/\\{organization}/locations/\\{location}/customers/\\{customer}/workloads/\\{workload}
725
+ # `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}`
716
726
  # @param page_size [::Integer]
717
727
  # Optional. The maximum number of access requests to return. The service may
718
728
  # return fewer than this value. If unspecified, at most 500 access requests
@@ -763,12 +773,13 @@ module Google
763
773
  # Customize the options with defaults
764
774
  call_metadata = @config.rpcs.list_access_approval_requests.metadata.to_h
765
775
 
766
- # Set x-goog-api-client and x-goog-user-project headers
776
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
767
777
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
768
778
  lib_name: @config.lib_name, lib_version: @config.lib_version,
769
779
  gapic_version: ::Google::Cloud::CloudControlsPartner::V1beta::VERSION,
770
780
  transports_version_send: [:rest]
771
781
 
782
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
772
783
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
773
784
 
774
785
  options.apply_defaults timeout: @config.rpcs.list_access_approval_requests.timeout,
@@ -806,7 +817,8 @@ module Google
806
817
  # the default parameter values, pass an empty Hash as a request object (see above).
807
818
  #
808
819
  # @param name [::String]
809
- # Required. Format: organizations/\\{organization}/locations/\\{location}/partner
820
+ # Required. Format:
821
+ # `organizations/{organization}/locations/{location}/partner`
810
822
  # @yield [result, operation] Access the result along with the TransportOperation object
811
823
  # @yieldparam result [::Google::Cloud::CloudControlsPartner::V1beta::Partner]
812
824
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -841,12 +853,13 @@ module Google
841
853
  # Customize the options with defaults
842
854
  call_metadata = @config.rpcs.get_partner.metadata.to_h
843
855
 
844
- # Set x-goog-api-client and x-goog-user-project headers
856
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
845
857
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
846
858
  lib_name: @config.lib_name, lib_version: @config.lib_version,
847
859
  gapic_version: ::Google::Cloud::CloudControlsPartner::V1beta::VERSION,
848
860
  transports_version_send: [:rest]
849
861
 
862
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
850
863
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
851
864
 
852
865
  options.apply_defaults timeout: @config.rpcs.get_partner.timeout,
@@ -30,6 +30,9 @@ module Google
30
30
  # Service describing handlers for resources
31
31
  #
32
32
  class Client
33
+ # @private
34
+ API_VERSION = ""
35
+
33
36
  # @private
34
37
  DEFAULT_ENDPOINT_TEMPLATE = "cloudcontrolspartner.$UNIVERSE_DOMAIN$"
35
38
 
@@ -197,7 +200,7 @@ module Google
197
200
  # @param parent [::String]
198
201
  # Required. Parent resource
199
202
  # Format
200
- # organizations/\\{organization}/locations/\\{location}/customers/\\{customer}/workloads/\\{workload}
203
+ # `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}`
201
204
  # @param page_size [::Integer]
202
205
  # Optional. The maximum number of customers row to return. The service may
203
206
  # return fewer than this value. If unspecified, at most 10 customers will be
@@ -251,10 +254,11 @@ module Google
251
254
  # Customize the options with defaults
252
255
  metadata = @config.rpcs.list_violations.metadata.to_h
253
256
 
254
- # Set x-goog-api-client and x-goog-user-project headers
257
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
255
258
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
256
259
  lib_name: @config.lib_name, lib_version: @config.lib_version,
257
260
  gapic_version: ::Google::Cloud::CloudControlsPartner::V1beta::VERSION
261
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
258
262
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
259
263
 
260
264
  header_params = {}
@@ -302,7 +306,7 @@ module Google
302
306
  #
303
307
  # @param name [::String]
304
308
  # Required. Format:
305
- # organizations/\\{organization}/locations/\\{location}/customers/\\{customer}/workloads/\\{workload}/violations/\\{violation}
309
+ # `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/violations/{violation}`
306
310
  #
307
311
  # @yield [response, operation] Access the result along with the RPC operation
308
312
  # @yieldparam response [::Google::Cloud::CloudControlsPartner::V1beta::Violation]
@@ -338,10 +342,11 @@ module Google
338
342
  # Customize the options with defaults
339
343
  metadata = @config.rpcs.get_violation.metadata.to_h
340
344
 
341
- # Set x-goog-api-client and x-goog-user-project headers
345
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
342
346
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
343
347
  lib_name: @config.lib_name, lib_version: @config.lib_version,
344
348
  gapic_version: ::Google::Cloud::CloudControlsPartner::V1beta::VERSION
349
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
345
350
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
346
351
 
347
352
  header_params = {}
@@ -32,6 +32,9 @@ module Google
32
32
  # Service describing handlers for resources
33
33
  #
34
34
  class Client
35
+ # @private
36
+ API_VERSION = ""
37
+
35
38
  # @private
36
39
  DEFAULT_ENDPOINT_TEMPLATE = "cloudcontrolspartner.$UNIVERSE_DOMAIN$"
37
40
 
@@ -190,7 +193,7 @@ module Google
190
193
  # @param parent [::String]
191
194
  # Required. Parent resource
192
195
  # Format
193
- # organizations/\\{organization}/locations/\\{location}/customers/\\{customer}/workloads/\\{workload}
196
+ # `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}`
194
197
  # @param page_size [::Integer]
195
198
  # Optional. The maximum number of customers row to return. The service may
196
199
  # return fewer than this value. If unspecified, at most 10 customers will be
@@ -243,12 +246,13 @@ module Google
243
246
  # Customize the options with defaults
244
247
  call_metadata = @config.rpcs.list_violations.metadata.to_h
245
248
 
246
- # Set x-goog-api-client and x-goog-user-project headers
249
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
247
250
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
248
251
  lib_name: @config.lib_name, lib_version: @config.lib_version,
249
252
  gapic_version: ::Google::Cloud::CloudControlsPartner::V1beta::VERSION,
250
253
  transports_version_send: [:rest]
251
254
 
255
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
252
256
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
253
257
 
254
258
  options.apply_defaults timeout: @config.rpcs.list_violations.timeout,
@@ -287,7 +291,7 @@ module Google
287
291
  #
288
292
  # @param name [::String]
289
293
  # Required. Format:
290
- # organizations/\\{organization}/locations/\\{location}/customers/\\{customer}/workloads/\\{workload}/violations/\\{violation}
294
+ # `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/violations/{violation}`
291
295
  # @yield [result, operation] Access the result along with the TransportOperation object
292
296
  # @yieldparam result [::Google::Cloud::CloudControlsPartner::V1beta::Violation]
293
297
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -322,12 +326,13 @@ module Google
322
326
  # Customize the options with defaults
323
327
  call_metadata = @config.rpcs.get_violation.metadata.to_h
324
328
 
325
- # Set x-goog-api-client and x-goog-user-project headers
329
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
326
330
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
327
331
  lib_name: @config.lib_name, lib_version: @config.lib_version,
328
332
  gapic_version: ::Google::Cloud::CloudControlsPartner::V1beta::VERSION,
329
333
  transports_version_send: [:rest]
330
334
 
335
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
331
336
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
332
337
 
333
338
  options.apply_defaults timeout: @config.rpcs.get_violation.timeout,
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module CloudControlsPartner
23
23
  module V1beta
24
- VERSION = "0.1.0"
24
+ VERSION = "0.1.1"
25
25
  end
26
26
  end
27
27
  end
@@ -17,7 +17,7 @@ require 'google/cloud/cloudcontrolspartner/v1beta/partners_pb'
17
17
  require 'google/protobuf/timestamp_pb'
18
18
 
19
19
 
20
- descriptor_data = "\n3google/cloud/cloudcontrolspartner/v1beta/core.proto\x12(google.cloud.cloudcontrolspartner.v1beta\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1aGgoogle/cloud/cloudcontrolspartner/v1beta/access_approval_requests.proto\x1a\x41google/cloud/cloudcontrolspartner/v1beta/customer_workloads.proto\x1a\x38google/cloud/cloudcontrolspartner/v1beta/customers.proto\x1a>google/cloud/cloudcontrolspartner/v1beta/ekm_connections.proto\x1a\x42google/cloud/cloudcontrolspartner/v1beta/partner_permissions.proto\x1a\x37google/cloud/cloudcontrolspartner/v1beta/partners.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x80\x02\n\x11OperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\x32\xbb\x0f\n\x18\x43loudControlsPartnerCore\x12\xd2\x01\n\x0bGetWorkload\x12<.google.cloud.cloudcontrolspartner.v1beta.GetWorkloadRequest\x1a\x32.google.cloud.cloudcontrolspartner.v1beta.Workload\"Q\xda\x41\x04name\x82\xd3\xe4\x93\x02\x44\x12\x42/v1beta/{name=organizations/*/locations/*/customers/*/workloads/*}\x12\xe5\x01\n\rListWorkloads\x12>.google.cloud.cloudcontrolspartner.v1beta.ListWorkloadsRequest\x1a?.google.cloud.cloudcontrolspartner.v1beta.ListWorkloadsResponse\"S\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x44\x12\x42/v1beta/{parent=organizations/*/locations/*/customers/*}/workloads\x12\xc6\x01\n\x0bGetCustomer\x12<.google.cloud.cloudcontrolspartner.v1beta.GetCustomerRequest\x1a\x32.google.cloud.cloudcontrolspartner.v1beta.Customer\"E\xda\x41\x04name\x82\xd3\xe4\x93\x02\x38\x12\x36/v1beta/{name=organizations/*/locations/*/customers/*}\x12\xd9\x01\n\rListCustomers\x12>.google.cloud.cloudcontrolspartner.v1beta.ListCustomersRequest\x1a?.google.cloud.cloudcontrolspartner.v1beta.ListCustomersResponse\"G\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x38\x12\x36/v1beta/{parent=organizations/*/locations/*}/customers\x12\xf3\x01\n\x11GetEkmConnections\x12\x42.google.cloud.cloudcontrolspartner.v1beta.GetEkmConnectionsRequest\x1a\x38.google.cloud.cloudcontrolspartner.v1beta.EkmConnections\"`\xda\x41\x04name\x82\xd3\xe4\x93\x02S\x12Q/v1beta/{name=organizations/*/locations/*/customers/*/workloads/*/ekmConnections}\x12\x83\x02\n\x15GetPartnerPermissions\x12\x46.google.cloud.cloudcontrolspartner.v1beta.GetPartnerPermissionsRequest\x1a<.google.cloud.cloudcontrolspartner.v1beta.PartnerPermissions\"d\xda\x41\x04name\x82\xd3\xe4\x93\x02W\x12U/v1beta/{name=organizations/*/locations/*/customers/*/workloads/*/partnerPermissions}\x12\xa5\x02\n\x1aListAccessApprovalRequests\x12K.google.cloud.cloudcontrolspartner.v1beta.ListAccessApprovalRequestsRequest\x1aL.google.cloud.cloudcontrolspartner.v1beta.ListAccessApprovalRequestsResponse\"l\xda\x41\x06parent\x82\xd3\xe4\x93\x02]\x12[/v1beta/{parent=organizations/*/locations/*/customers/*/workloads/*}/accessApprovalRequests\x12\xbf\x01\n\nGetPartner\x12;.google.cloud.cloudcontrolspartner.v1beta.GetPartnerRequest\x1a\x31.google.cloud.cloudcontrolspartner.v1beta.Partner\"A\xda\x41\x04name\x82\xd3\xe4\x93\x02\x34\x12\x32/v1beta/{name=organizations/*/locations/*/partner}\x1aW\xca\x41#cloudcontrolspartner.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x91\x03\n,com.google.cloud.cloudcontrolspartner.v1betaB\tCoreProtoP\x01Z`cloud.google.com/go/cloudcontrolspartner/apiv1beta/cloudcontrolspartnerpb;cloudcontrolspartnerpb\xaa\x02(Google.Cloud.CloudControlsPartner.V1Beta\xca\x02(Google\\Cloud\\CloudControlsPartner\\V1beta\xea\x02+Google::Cloud::CloudControlsPartner::V1beta\xea\x41m\n8cloudcontrolspartner.googleapis.com/OrganizationLocation\x12\x31organizations/{organization}/locations/{location}b\x06proto3"
20
+ descriptor_data = "\n3google/cloud/cloudcontrolspartner/v1beta/core.proto\x12(google.cloud.cloudcontrolspartner.v1beta\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1aGgoogle/cloud/cloudcontrolspartner/v1beta/access_approval_requests.proto\x1a\x41google/cloud/cloudcontrolspartner/v1beta/customer_workloads.proto\x1a\x38google/cloud/cloudcontrolspartner/v1beta/customers.proto\x1a>google/cloud/cloudcontrolspartner/v1beta/ekm_connections.proto\x1a\x42google/cloud/cloudcontrolspartner/v1beta/partner_permissions.proto\x1a\x37google/cloud/cloudcontrolspartner/v1beta/partners.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x80\x02\n\x11OperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\x32\xbe\x0f\n\x18\x43loudControlsPartnerCore\x12\xd2\x01\n\x0bGetWorkload\x12<.google.cloud.cloudcontrolspartner.v1beta.GetWorkloadRequest\x1a\x32.google.cloud.cloudcontrolspartner.v1beta.Workload\"Q\xda\x41\x04name\x82\xd3\xe4\x93\x02\x44\x12\x42/v1beta/{name=organizations/*/locations/*/customers/*/workloads/*}\x12\xe5\x01\n\rListWorkloads\x12>.google.cloud.cloudcontrolspartner.v1beta.ListWorkloadsRequest\x1a?.google.cloud.cloudcontrolspartner.v1beta.ListWorkloadsResponse\"S\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x44\x12\x42/v1beta/{parent=organizations/*/locations/*/customers/*}/workloads\x12\xc6\x01\n\x0bGetCustomer\x12<.google.cloud.cloudcontrolspartner.v1beta.GetCustomerRequest\x1a\x32.google.cloud.cloudcontrolspartner.v1beta.Customer\"E\xda\x41\x04name\x82\xd3\xe4\x93\x02\x38\x12\x36/v1beta/{name=organizations/*/locations/*/customers/*}\x12\xd9\x01\n\rListCustomers\x12>.google.cloud.cloudcontrolspartner.v1beta.ListCustomersRequest\x1a?.google.cloud.cloudcontrolspartner.v1beta.ListCustomersResponse\"G\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x38\x12\x36/v1beta/{parent=organizations/*/locations/*}/customers\x12\xf3\x01\n\x11GetEkmConnections\x12\x42.google.cloud.cloudcontrolspartner.v1beta.GetEkmConnectionsRequest\x1a\x38.google.cloud.cloudcontrolspartner.v1beta.EkmConnections\"`\xda\x41\x04name\x82\xd3\xe4\x93\x02S\x12Q/v1beta/{name=organizations/*/locations/*/customers/*/workloads/*/ekmConnections}\x12\x83\x02\n\x15GetPartnerPermissions\x12\x46.google.cloud.cloudcontrolspartner.v1beta.GetPartnerPermissionsRequest\x1a<.google.cloud.cloudcontrolspartner.v1beta.PartnerPermissions\"d\xda\x41\x04name\x82\xd3\xe4\x93\x02W\x12U/v1beta/{name=organizations/*/locations/*/customers/*/workloads/*/partnerPermissions}\x12\xa8\x02\n\x1aListAccessApprovalRequests\x12K.google.cloud.cloudcontrolspartner.v1beta.ListAccessApprovalRequestsRequest\x1aL.google.cloud.cloudcontrolspartner.v1beta.ListAccessApprovalRequestsResponse\"o\x88\x02\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02]\x12[/v1beta/{parent=organizations/*/locations/*/customers/*/workloads/*}/accessApprovalRequests\x12\xbf\x01\n\nGetPartner\x12;.google.cloud.cloudcontrolspartner.v1beta.GetPartnerRequest\x1a\x31.google.cloud.cloudcontrolspartner.v1beta.Partner\"A\xda\x41\x04name\x82\xd3\xe4\x93\x02\x34\x12\x32/v1beta/{name=organizations/*/locations/*/partner}\x1aW\xca\x41#cloudcontrolspartner.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x91\x03\n,com.google.cloud.cloudcontrolspartner.v1betaB\tCoreProtoP\x01Z`cloud.google.com/go/cloudcontrolspartner/apiv1beta/cloudcontrolspartnerpb;cloudcontrolspartnerpb\xaa\x02(Google.Cloud.CloudControlsPartner.V1Beta\xca\x02(Google\\Cloud\\CloudControlsPartner\\V1beta\xea\x02+Google::Cloud::CloudControlsPartner::V1beta\xea\x41m\n8cloudcontrolspartner.googleapis.com/OrganizationLocation\x12\x31organizations/{organization}/locations/{location}b\x06proto3"
21
21
 
22
22
  pool = Google::Protobuf::DescriptorPool.generated_pool
23
23
 
@@ -45,7 +45,8 @@ module Google
45
45
  rpc :GetEkmConnections, ::Google::Cloud::CloudControlsPartner::V1beta::GetEkmConnectionsRequest, ::Google::Cloud::CloudControlsPartner::V1beta::EkmConnections
46
46
  # Gets the partner permissions granted for a workload
47
47
  rpc :GetPartnerPermissions, ::Google::Cloud::CloudControlsPartner::V1beta::GetPartnerPermissionsRequest, ::Google::Cloud::CloudControlsPartner::V1beta::PartnerPermissions
48
- # Lists access requests associated with a workload
48
+ # Deprecated: Only returns access approval requests directly associated with
49
+ # an assured workload folder.
49
50
  rpc :ListAccessApprovalRequests, ::Google::Cloud::CloudControlsPartner::V1beta::ListAccessApprovalRequestsRequest, ::Google::Cloud::CloudControlsPartner::V1beta::ListAccessApprovalRequestsResponse
50
51
  # Get details of a Partner.
51
52
  rpc :GetPartner, ::Google::Cloud::CloudControlsPartner::V1beta::GetPartnerRequest, ::Google::Cloud::CloudControlsPartner::V1beta::Partner
@@ -25,7 +25,7 @@ module Google
25
25
  # @!attribute [rw] name
26
26
  # @return [::String]
27
27
  # Identifier. Format:
28
- # organizations/\\{organization}/locations/\\{location}/customers/\\{customer}/workloads/\\{workload}/accessApprovalRequests/\\{access_approval_request}.
28
+ # `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/accessApprovalRequests/{access_approval_request}`
29
29
  # @!attribute [rw] request_time
30
30
  # @return [::Google::Protobuf::Timestamp]
31
31
  # The time at which approval was requested.
@@ -46,7 +46,7 @@ module Google
46
46
  # @return [::String]
47
47
  # Required. Parent resource
48
48
  # Format:
49
- # organizations/\\{organization}/locations/\\{location}/customers/\\{customer}/workloads/\\{workload}
49
+ # `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}`
50
50
  # @!attribute [rw] page_size
51
51
  # @return [::Integer]
52
52
  # Optional. The maximum number of access requests to return. The service may
@@ -27,7 +27,7 @@ module Google
27
27
  # @!attribute [rw] name
28
28
  # @return [::String]
29
29
  # Identifier. Format:
30
- # organizations/\\{organization}/locations/\\{location}/customers/\\{customer}/workloads/\\{workload}
30
+ # `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}`
31
31
  # @!attribute [r] folder_id
32
32
  # @return [::Integer]
33
33
  # Output only. Folder id this workload is associated with
@@ -87,7 +87,7 @@ module Google
87
87
  # @return [::String]
88
88
  # Required. Parent resource
89
89
  # Format:
90
- # organizations/\\{organization}/locations/\\{location}/customers/\\{customer}
90
+ # `organizations/{organization}/locations/{location}/customers/{customer}`
91
91
  # @!attribute [rw] page_size
92
92
  # @return [::Integer]
93
93
  # The maximum number of workloads to return. The service may return fewer
@@ -127,7 +127,7 @@ module Google
127
127
  # @!attribute [rw] name
128
128
  # @return [::String]
129
129
  # Required. Format:
130
- # organizations/\\{organization}/locations/\\{location}/customers/\\{customer}/workloads/\\{workload}
130
+ # `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}`
131
131
  class GetWorkloadRequest
132
132
  include ::Google::Protobuf::MessageExts
133
133
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -25,7 +25,7 @@ module Google
25
25
  # @!attribute [rw] name
26
26
  # @return [::String]
27
27
  # Identifier. Format:
28
- # organizations/\\{organization}/locations/\\{location}/customers/\\{customer}
28
+ # `organizations/{organization}/locations/{location}/customers/{customer}`
29
29
  # @!attribute [rw] display_name
30
30
  # @return [::String]
31
31
  # The customer organization's display name. E.g. "google.com".
@@ -44,7 +44,7 @@ module Google
44
44
  # @!attribute [rw] parent
45
45
  # @return [::String]
46
46
  # Required. Parent resource
47
- # Format: organizations/\\{organization}/locations/\\{location}
47
+ # Format: `organizations/{organization}/locations/{location}`
48
48
  # @!attribute [rw] page_size
49
49
  # @return [::Integer]
50
50
  # The maximum number of Customers to return. The service may return fewer
@@ -84,7 +84,7 @@ module Google
84
84
  # @!attribute [rw] name
85
85
  # @return [::String]
86
86
  # Required. Format:
87
- # organizations/\\{organization}/locations/\\{location}/customers/\\{customer}
87
+ # `organizations/{organization}/locations/{location}/customers/{customer}`
88
88
  class GetCustomerRequest
89
89
  include ::Google::Protobuf::MessageExts
90
90
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -25,7 +25,7 @@ module Google
25
25
  # @!attribute [rw] name
26
26
  # @return [::String]
27
27
  # Identifier. Format:
28
- # organizations/\\{organization}/locations/\\{location}/customers/\\{customer}/workloads/\\{workload}/ekmConnections
28
+ # `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/ekmConnections`
29
29
  # @!attribute [rw] ekm_connections
30
30
  # @return [::Array<::Google::Cloud::CloudControlsPartner::V1beta::EkmConnection>]
31
31
  # The EKM connections associated with the workload
@@ -38,7 +38,7 @@ module Google
38
38
  # @!attribute [rw] name
39
39
  # @return [::String]
40
40
  # Required. Format:
41
- # organizations/\\{organization}/locations/\\{location}/customers/\\{customer}/workloads/\\{workload}/ekmConnections
41
+ # `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/ekmConnections`
42
42
  class GetEkmConnectionsRequest
43
43
  include ::Google::Protobuf::MessageExts
44
44
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -25,7 +25,7 @@ module Google
25
25
  # @!attribute [rw] name
26
26
  # @return [::String]
27
27
  # Identifier. Format:
28
- # organizations/\\{organization}/locations/\\{location}/customers/\\{customer}/workloads/\\{workload}/partnerPermissions
28
+ # `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/partnerPermissions`
29
29
  # @!attribute [rw] partner_permissions
30
30
  # @return [::Array<::Google::Cloud::CloudControlsPartner::V1beta::PartnerPermissions::Permission>]
31
31
  # The partner permissions granted for the workload
@@ -55,7 +55,7 @@ module Google
55
55
  # @!attribute [rw] name
56
56
  # @return [::String]
57
57
  # Required. Name of the resource to get in the format:
58
- # organizations/\\{organization}/locations/\\{location}/customers/\\{customer}/workloads/\\{workload}/partnerPermissions
58
+ # `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/partnerPermissions`
59
59
  class GetPartnerPermissionsRequest
60
60
  include ::Google::Protobuf::MessageExts
61
61
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -25,7 +25,7 @@ module Google
25
25
  # @!attribute [rw] name
26
26
  # @return [::String]
27
27
  # Identifier. The resource name of the partner.
28
- # Format: organizations/\\{organization}/locations/\\{location}/partner
28
+ # Format: `organizations/{organization}/locations/{location}/partner`
29
29
  # Example: "organizations/123456/locations/us-central1/partner"
30
30
  # @!attribute [rw] skus
31
31
  # @return [::Array<::Google::Cloud::CloudControlsPartner::V1beta::Sku>]
@@ -56,7 +56,8 @@ module Google
56
56
  # Message for getting a Partner
57
57
  # @!attribute [rw] name
58
58
  # @return [::String]
59
- # Required. Format: organizations/\\{organization}/locations/\\{location}/partner
59
+ # Required. Format:
60
+ # `organizations/{organization}/locations/{location}/partner`
60
61
  class GetPartnerRequest
61
62
  include ::Google::Protobuf::MessageExts
62
63
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -25,7 +25,7 @@ module Google
25
25
  # @!attribute [rw] name
26
26
  # @return [::String]
27
27
  # Identifier. Format:
28
- # organizations/\\{organization}/locations/\\{location}/customers/\\{customer}/workloads/\\{workload}/violations/\\{violation}
28
+ # `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/violations/{violation}`
29
29
  # @!attribute [r] description
30
30
  # @return [::String]
31
31
  # Output only. Description for the Violation.
@@ -51,9 +51,9 @@ module Google
51
51
  # @return [::String]
52
52
  # Output only. Immutable. Name of the OrgPolicy which was modified with
53
53
  # non-compliant change and resulted this violation. Format:
54
- # projects/\\{project_number}/policies/\\{constraint_name}
55
- # folders/\\{folder_id}/policies/\\{constraint_name}
56
- # organizations/\\{organization_id}/policies/\\{constraint_name}
54
+ # `projects/{project_number}/policies/{constraint_name}`
55
+ # `folders/{folder_id}/policies/{constraint_name}`
56
+ # `organizations/{organization_id}/policies/{constraint_name}`
57
57
  # @!attribute [rw] folder_id
58
58
  # @return [::Integer]
59
59
  # The folder_id of the violation
@@ -172,7 +172,7 @@ module Google
172
172
  # @return [::String]
173
173
  # Required. Parent resource
174
174
  # Format
175
- # organizations/\\{organization}/locations/\\{location}/customers/\\{customer}/workloads/\\{workload}
175
+ # `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}`
176
176
  # @!attribute [rw] page_size
177
177
  # @return [::Integer]
178
178
  # Optional. The maximum number of customers row to return. The service may
@@ -218,7 +218,7 @@ module Google
218
218
  # @!attribute [rw] name
219
219
  # @return [::String]
220
220
  # Required. Format:
221
- # organizations/\\{organization}/locations/\\{location}/customers/\\{customer}/workloads/\\{workload}/violations/\\{violation}
221
+ # `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/violations/{violation}`
222
222
  class GetViolationRequest
223
223
  include ::Google::Protobuf::MessageExts
224
224
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-cloud_controls_partner-v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-03-12 00:00:00.000000000 Z
11
+ date: 2024-06-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common