google-apis-cloudkms_v1 0.65.0 → 0.66.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.
|
@@ -2609,6 +2609,358 @@ module Google
|
|
|
2609
2609
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2610
2610
|
execute_or_queue_command(command, &block)
|
|
2611
2611
|
end
|
|
2612
|
+
|
|
2613
|
+
# Creates a new SingleTenantHsmInstance in a given Project and Location. User
|
|
2614
|
+
# must create a RegisterTwoFactorAuthKeys proposal with this single-tenant HSM
|
|
2615
|
+
# instance to finish setup of the instance.
|
|
2616
|
+
# @param [String] parent
|
|
2617
|
+
# Required. The resource name of the location associated with the
|
|
2618
|
+
# SingleTenantHsmInstance, in the format `projects/*/locations/*`.
|
|
2619
|
+
# @param [Google::Apis::CloudkmsV1::SingleTenantHsmInstance] single_tenant_hsm_instance_object
|
|
2620
|
+
# @param [String] single_tenant_hsm_instance_id
|
|
2621
|
+
# Optional. It must be unique within a location and match the regular expression
|
|
2622
|
+
# `[a-zA-Z0-9_-]`1,63``.
|
|
2623
|
+
# @param [String] fields
|
|
2624
|
+
# Selector specifying which fields to include in a partial response.
|
|
2625
|
+
# @param [String] quota_user
|
|
2626
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2627
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2628
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2629
|
+
# Request-specific options
|
|
2630
|
+
#
|
|
2631
|
+
# @yield [result, err] Result & error if block supplied
|
|
2632
|
+
# @yieldparam result [Google::Apis::CloudkmsV1::Operation] parsed result object
|
|
2633
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2634
|
+
#
|
|
2635
|
+
# @return [Google::Apis::CloudkmsV1::Operation]
|
|
2636
|
+
#
|
|
2637
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2638
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2639
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2640
|
+
def create_project_location_single_tenant_hsm_instance(parent, single_tenant_hsm_instance_object = nil, single_tenant_hsm_instance_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2641
|
+
command = make_simple_command(:post, 'v1/{+parent}/singleTenantHsmInstances', options)
|
|
2642
|
+
command.request_representation = Google::Apis::CloudkmsV1::SingleTenantHsmInstance::Representation
|
|
2643
|
+
command.request_object = single_tenant_hsm_instance_object
|
|
2644
|
+
command.response_representation = Google::Apis::CloudkmsV1::Operation::Representation
|
|
2645
|
+
command.response_class = Google::Apis::CloudkmsV1::Operation
|
|
2646
|
+
command.params['parent'] = parent unless parent.nil?
|
|
2647
|
+
command.query['singleTenantHsmInstanceId'] = single_tenant_hsm_instance_id unless single_tenant_hsm_instance_id.nil?
|
|
2648
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2649
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2650
|
+
execute_or_queue_command(command, &block)
|
|
2651
|
+
end
|
|
2652
|
+
|
|
2653
|
+
# Returns metadata for a given SingleTenantHsmInstance.
|
|
2654
|
+
# @param [String] name
|
|
2655
|
+
# Required. The name of the SingleTenantHsmInstance to get.
|
|
2656
|
+
# @param [String] fields
|
|
2657
|
+
# Selector specifying which fields to include in a partial response.
|
|
2658
|
+
# @param [String] quota_user
|
|
2659
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2660
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2661
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2662
|
+
# Request-specific options
|
|
2663
|
+
#
|
|
2664
|
+
# @yield [result, err] Result & error if block supplied
|
|
2665
|
+
# @yieldparam result [Google::Apis::CloudkmsV1::SingleTenantHsmInstance] parsed result object
|
|
2666
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2667
|
+
#
|
|
2668
|
+
# @return [Google::Apis::CloudkmsV1::SingleTenantHsmInstance]
|
|
2669
|
+
#
|
|
2670
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2671
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2672
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2673
|
+
def get_project_location_single_tenant_hsm_instance(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
2674
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
2675
|
+
command.response_representation = Google::Apis::CloudkmsV1::SingleTenantHsmInstance::Representation
|
|
2676
|
+
command.response_class = Google::Apis::CloudkmsV1::SingleTenantHsmInstance
|
|
2677
|
+
command.params['name'] = name unless name.nil?
|
|
2678
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2679
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2680
|
+
execute_or_queue_command(command, &block)
|
|
2681
|
+
end
|
|
2682
|
+
|
|
2683
|
+
# Lists SingleTenantHsmInstances.
|
|
2684
|
+
# @param [String] parent
|
|
2685
|
+
# Required. The resource name of the location associated with the
|
|
2686
|
+
# SingleTenantHsmInstances to list, in the format `projects/*/locations/*`.
|
|
2687
|
+
# @param [String] filter
|
|
2688
|
+
# Optional. Only include resources that match the filter in the response. For
|
|
2689
|
+
# more information, see [Sorting and filtering list results](https://cloud.
|
|
2690
|
+
# google.com/kms/docs/sorting-and-filtering).
|
|
2691
|
+
# @param [String] order_by
|
|
2692
|
+
# Optional. Specify how the results should be sorted. If not specified, the
|
|
2693
|
+
# results will be sorted in the default order. For more information, see [
|
|
2694
|
+
# Sorting and filtering list results](https://cloud.google.com/kms/docs/sorting-
|
|
2695
|
+
# and-filtering).
|
|
2696
|
+
# @param [Fixnum] page_size
|
|
2697
|
+
# Optional. Optional limit on the number of SingleTenantHsmInstances to include
|
|
2698
|
+
# in the response. Further SingleTenantHsmInstances can subsequently be obtained
|
|
2699
|
+
# by including the ListSingleTenantHsmInstancesResponse.next_page_token in a
|
|
2700
|
+
# subsequent request. If unspecified, the server will pick an appropriate
|
|
2701
|
+
# default.
|
|
2702
|
+
# @param [String] page_token
|
|
2703
|
+
# Optional. Optional pagination token, returned earlier via
|
|
2704
|
+
# ListSingleTenantHsmInstancesResponse.next_page_token.
|
|
2705
|
+
# @param [Boolean] show_deleted
|
|
2706
|
+
# Optional. If set to true, HsmManagement.ListSingleTenantHsmInstances will also
|
|
2707
|
+
# return SingleTenantHsmInstances in DELETED state.
|
|
2708
|
+
# @param [String] fields
|
|
2709
|
+
# Selector specifying which fields to include in a partial response.
|
|
2710
|
+
# @param [String] quota_user
|
|
2711
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2712
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2713
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2714
|
+
# Request-specific options
|
|
2715
|
+
#
|
|
2716
|
+
# @yield [result, err] Result & error if block supplied
|
|
2717
|
+
# @yieldparam result [Google::Apis::CloudkmsV1::ListSingleTenantHsmInstancesResponse] parsed result object
|
|
2718
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2719
|
+
#
|
|
2720
|
+
# @return [Google::Apis::CloudkmsV1::ListSingleTenantHsmInstancesResponse]
|
|
2721
|
+
#
|
|
2722
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2723
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2724
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2725
|
+
def list_project_location_single_tenant_hsm_instances(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, show_deleted: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2726
|
+
command = make_simple_command(:get, 'v1/{+parent}/singleTenantHsmInstances', options)
|
|
2727
|
+
command.response_representation = Google::Apis::CloudkmsV1::ListSingleTenantHsmInstancesResponse::Representation
|
|
2728
|
+
command.response_class = Google::Apis::CloudkmsV1::ListSingleTenantHsmInstancesResponse
|
|
2729
|
+
command.params['parent'] = parent unless parent.nil?
|
|
2730
|
+
command.query['filter'] = filter unless filter.nil?
|
|
2731
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
|
2732
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
2733
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
2734
|
+
command.query['showDeleted'] = show_deleted unless show_deleted.nil?
|
|
2735
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2736
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2737
|
+
execute_or_queue_command(command, &block)
|
|
2738
|
+
end
|
|
2739
|
+
|
|
2740
|
+
# Approves a SingleTenantHsmInstanceProposal for a given SingleTenantHsmInstance.
|
|
2741
|
+
# The proposal must be in the PENDING state.
|
|
2742
|
+
# @param [String] name
|
|
2743
|
+
# Required. The name of the SingleTenantHsmInstanceProposal to approve.
|
|
2744
|
+
# @param [Google::Apis::CloudkmsV1::ApproveSingleTenantHsmInstanceProposalRequest] approve_single_tenant_hsm_instance_proposal_request_object
|
|
2745
|
+
# @param [String] fields
|
|
2746
|
+
# Selector specifying which fields to include in a partial response.
|
|
2747
|
+
# @param [String] quota_user
|
|
2748
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2749
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2750
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2751
|
+
# Request-specific options
|
|
2752
|
+
#
|
|
2753
|
+
# @yield [result, err] Result & error if block supplied
|
|
2754
|
+
# @yieldparam result [Google::Apis::CloudkmsV1::ApproveSingleTenantHsmInstanceProposalResponse] parsed result object
|
|
2755
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2756
|
+
#
|
|
2757
|
+
# @return [Google::Apis::CloudkmsV1::ApproveSingleTenantHsmInstanceProposalResponse]
|
|
2758
|
+
#
|
|
2759
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2760
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2761
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2762
|
+
def approve_single_tenant_hsm_instance_proposal(name, approve_single_tenant_hsm_instance_proposal_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2763
|
+
command = make_simple_command(:post, 'v1/{+name}:approve', options)
|
|
2764
|
+
command.request_representation = Google::Apis::CloudkmsV1::ApproveSingleTenantHsmInstanceProposalRequest::Representation
|
|
2765
|
+
command.request_object = approve_single_tenant_hsm_instance_proposal_request_object
|
|
2766
|
+
command.response_representation = Google::Apis::CloudkmsV1::ApproveSingleTenantHsmInstanceProposalResponse::Representation
|
|
2767
|
+
command.response_class = Google::Apis::CloudkmsV1::ApproveSingleTenantHsmInstanceProposalResponse
|
|
2768
|
+
command.params['name'] = name unless name.nil?
|
|
2769
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2770
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2771
|
+
execute_or_queue_command(command, &block)
|
|
2772
|
+
end
|
|
2773
|
+
|
|
2774
|
+
# Creates a new SingleTenantHsmInstanceProposal for a given
|
|
2775
|
+
# SingleTenantHsmInstance.
|
|
2776
|
+
# @param [String] parent
|
|
2777
|
+
# Required. The name of the SingleTenantHsmInstance associated with the
|
|
2778
|
+
# SingleTenantHsmInstanceProposals.
|
|
2779
|
+
# @param [Google::Apis::CloudkmsV1::SingleTenantHsmInstanceProposal] single_tenant_hsm_instance_proposal_object
|
|
2780
|
+
# @param [String] single_tenant_hsm_instance_proposal_id
|
|
2781
|
+
# Optional. It must be unique within a location and match the regular expression
|
|
2782
|
+
# `[a-zA-Z0-9_-]`1,63``.
|
|
2783
|
+
# @param [String] fields
|
|
2784
|
+
# Selector specifying which fields to include in a partial response.
|
|
2785
|
+
# @param [String] quota_user
|
|
2786
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2787
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2788
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2789
|
+
# Request-specific options
|
|
2790
|
+
#
|
|
2791
|
+
# @yield [result, err] Result & error if block supplied
|
|
2792
|
+
# @yieldparam result [Google::Apis::CloudkmsV1::Operation] parsed result object
|
|
2793
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2794
|
+
#
|
|
2795
|
+
# @return [Google::Apis::CloudkmsV1::Operation]
|
|
2796
|
+
#
|
|
2797
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2798
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2799
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2800
|
+
def create_project_location_single_tenant_hsm_instance_proposal(parent, single_tenant_hsm_instance_proposal_object = nil, single_tenant_hsm_instance_proposal_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2801
|
+
command = make_simple_command(:post, 'v1/{+parent}/proposals', options)
|
|
2802
|
+
command.request_representation = Google::Apis::CloudkmsV1::SingleTenantHsmInstanceProposal::Representation
|
|
2803
|
+
command.request_object = single_tenant_hsm_instance_proposal_object
|
|
2804
|
+
command.response_representation = Google::Apis::CloudkmsV1::Operation::Representation
|
|
2805
|
+
command.response_class = Google::Apis::CloudkmsV1::Operation
|
|
2806
|
+
command.params['parent'] = parent unless parent.nil?
|
|
2807
|
+
command.query['singleTenantHsmInstanceProposalId'] = single_tenant_hsm_instance_proposal_id unless single_tenant_hsm_instance_proposal_id.nil?
|
|
2808
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2809
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2810
|
+
execute_or_queue_command(command, &block)
|
|
2811
|
+
end
|
|
2812
|
+
|
|
2813
|
+
# Deletes a SingleTenantHsmInstanceProposal.
|
|
2814
|
+
# @param [String] name
|
|
2815
|
+
# Required. The name of the SingleTenantHsmInstanceProposal to delete.
|
|
2816
|
+
# @param [String] fields
|
|
2817
|
+
# Selector specifying which fields to include in a partial response.
|
|
2818
|
+
# @param [String] quota_user
|
|
2819
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2820
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2821
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2822
|
+
# Request-specific options
|
|
2823
|
+
#
|
|
2824
|
+
# @yield [result, err] Result & error if block supplied
|
|
2825
|
+
# @yieldparam result [Google::Apis::CloudkmsV1::Empty] parsed result object
|
|
2826
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2827
|
+
#
|
|
2828
|
+
# @return [Google::Apis::CloudkmsV1::Empty]
|
|
2829
|
+
#
|
|
2830
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2831
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2832
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2833
|
+
def delete_project_location_single_tenant_hsm_instance_proposal(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
2834
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
|
2835
|
+
command.response_representation = Google::Apis::CloudkmsV1::Empty::Representation
|
|
2836
|
+
command.response_class = Google::Apis::CloudkmsV1::Empty
|
|
2837
|
+
command.params['name'] = name unless name.nil?
|
|
2838
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2839
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2840
|
+
execute_or_queue_command(command, &block)
|
|
2841
|
+
end
|
|
2842
|
+
|
|
2843
|
+
# Executes a SingleTenantHsmInstanceProposal for a given SingleTenantHsmInstance.
|
|
2844
|
+
# The proposal must be in the APPROVED state.
|
|
2845
|
+
# @param [String] name
|
|
2846
|
+
# Required. The name of the SingleTenantHsmInstanceProposal to execute.
|
|
2847
|
+
# @param [Google::Apis::CloudkmsV1::ExecuteSingleTenantHsmInstanceProposalRequest] execute_single_tenant_hsm_instance_proposal_request_object
|
|
2848
|
+
# @param [String] fields
|
|
2849
|
+
# Selector specifying which fields to include in a partial response.
|
|
2850
|
+
# @param [String] quota_user
|
|
2851
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2852
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2853
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2854
|
+
# Request-specific options
|
|
2855
|
+
#
|
|
2856
|
+
# @yield [result, err] Result & error if block supplied
|
|
2857
|
+
# @yieldparam result [Google::Apis::CloudkmsV1::Operation] parsed result object
|
|
2858
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2859
|
+
#
|
|
2860
|
+
# @return [Google::Apis::CloudkmsV1::Operation]
|
|
2861
|
+
#
|
|
2862
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2863
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2864
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2865
|
+
def execute_single_tenant_hsm_instance_proposal(name, execute_single_tenant_hsm_instance_proposal_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2866
|
+
command = make_simple_command(:post, 'v1/{+name}:execute', options)
|
|
2867
|
+
command.request_representation = Google::Apis::CloudkmsV1::ExecuteSingleTenantHsmInstanceProposalRequest::Representation
|
|
2868
|
+
command.request_object = execute_single_tenant_hsm_instance_proposal_request_object
|
|
2869
|
+
command.response_representation = Google::Apis::CloudkmsV1::Operation::Representation
|
|
2870
|
+
command.response_class = Google::Apis::CloudkmsV1::Operation
|
|
2871
|
+
command.params['name'] = name unless name.nil?
|
|
2872
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2873
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2874
|
+
execute_or_queue_command(command, &block)
|
|
2875
|
+
end
|
|
2876
|
+
|
|
2877
|
+
# Returns metadata for a given SingleTenantHsmInstanceProposal.
|
|
2878
|
+
# @param [String] name
|
|
2879
|
+
# Required. The name of the SingleTenantHsmInstanceProposal to get.
|
|
2880
|
+
# @param [String] fields
|
|
2881
|
+
# Selector specifying which fields to include in a partial response.
|
|
2882
|
+
# @param [String] quota_user
|
|
2883
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2884
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2885
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2886
|
+
# Request-specific options
|
|
2887
|
+
#
|
|
2888
|
+
# @yield [result, err] Result & error if block supplied
|
|
2889
|
+
# @yieldparam result [Google::Apis::CloudkmsV1::SingleTenantHsmInstanceProposal] parsed result object
|
|
2890
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2891
|
+
#
|
|
2892
|
+
# @return [Google::Apis::CloudkmsV1::SingleTenantHsmInstanceProposal]
|
|
2893
|
+
#
|
|
2894
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2895
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2896
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2897
|
+
def get_project_location_single_tenant_hsm_instance_proposal(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
2898
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
2899
|
+
command.response_representation = Google::Apis::CloudkmsV1::SingleTenantHsmInstanceProposal::Representation
|
|
2900
|
+
command.response_class = Google::Apis::CloudkmsV1::SingleTenantHsmInstanceProposal
|
|
2901
|
+
command.params['name'] = name unless name.nil?
|
|
2902
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2903
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2904
|
+
execute_or_queue_command(command, &block)
|
|
2905
|
+
end
|
|
2906
|
+
|
|
2907
|
+
# Lists SingleTenantHsmInstanceProposals.
|
|
2908
|
+
# @param [String] parent
|
|
2909
|
+
# Required. The resource name of the location associated with the
|
|
2910
|
+
# SingleTenantHsmInstanceProposals to list, in the format `projects/*/locations/*
|
|
2911
|
+
# /singleTenantHsmInstances/*`.
|
|
2912
|
+
# @param [String] filter
|
|
2913
|
+
# Optional. Only include resources that match the filter in the response. For
|
|
2914
|
+
# more information, see [Sorting and filtering list results](https://cloud.
|
|
2915
|
+
# google.com/kms/docs/sorting-and-filtering).
|
|
2916
|
+
# @param [String] order_by
|
|
2917
|
+
# Optional. Specify how the results should be sorted. If not specified, the
|
|
2918
|
+
# results will be sorted in the default order. For more information, see [
|
|
2919
|
+
# Sorting and filtering list results](https://cloud.google.com/kms/docs/sorting-
|
|
2920
|
+
# and-filtering).
|
|
2921
|
+
# @param [Fixnum] page_size
|
|
2922
|
+
# Optional. Optional limit on the number of SingleTenantHsmInstanceProposals to
|
|
2923
|
+
# include in the response. Further SingleTenantHsmInstanceProposals can
|
|
2924
|
+
# subsequently be obtained by including the
|
|
2925
|
+
# ListSingleTenantHsmInstanceProposalsResponse.next_page_token in a subsequent
|
|
2926
|
+
# request. If unspecified, the server will pick an appropriate default.
|
|
2927
|
+
# @param [String] page_token
|
|
2928
|
+
# Optional. Optional pagination token, returned earlier via
|
|
2929
|
+
# ListSingleTenantHsmInstanceProposalsResponse.next_page_token.
|
|
2930
|
+
# @param [Boolean] show_deleted
|
|
2931
|
+
# Optional. If set to true, HsmManagement.ListSingleTenantHsmInstanceProposals
|
|
2932
|
+
# will also return SingleTenantHsmInstanceProposals in DELETED state.
|
|
2933
|
+
# @param [String] fields
|
|
2934
|
+
# Selector specifying which fields to include in a partial response.
|
|
2935
|
+
# @param [String] quota_user
|
|
2936
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2937
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2938
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2939
|
+
# Request-specific options
|
|
2940
|
+
#
|
|
2941
|
+
# @yield [result, err] Result & error if block supplied
|
|
2942
|
+
# @yieldparam result [Google::Apis::CloudkmsV1::ListSingleTenantHsmInstanceProposalsResponse] parsed result object
|
|
2943
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2944
|
+
#
|
|
2945
|
+
# @return [Google::Apis::CloudkmsV1::ListSingleTenantHsmInstanceProposalsResponse]
|
|
2946
|
+
#
|
|
2947
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2948
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2949
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2950
|
+
def list_project_location_single_tenant_hsm_instance_proposals(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, show_deleted: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2951
|
+
command = make_simple_command(:get, 'v1/{+parent}/proposals', options)
|
|
2952
|
+
command.response_representation = Google::Apis::CloudkmsV1::ListSingleTenantHsmInstanceProposalsResponse::Representation
|
|
2953
|
+
command.response_class = Google::Apis::CloudkmsV1::ListSingleTenantHsmInstanceProposalsResponse
|
|
2954
|
+
command.params['parent'] = parent unless parent.nil?
|
|
2955
|
+
command.query['filter'] = filter unless filter.nil?
|
|
2956
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
|
2957
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
2958
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
2959
|
+
command.query['showDeleted'] = show_deleted unless show_deleted.nil?
|
|
2960
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2961
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2962
|
+
execute_or_queue_command(command, &block)
|
|
2963
|
+
end
|
|
2612
2964
|
|
|
2613
2965
|
protected
|
|
2614
2966
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-cloudkms_v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.66.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-cloudkms_v1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudkms_v1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudkms_v1/v0.66.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudkms_v1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|