google-apis-apigee_v1 0.116.0 → 0.118.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/apigee_v1/classes.rb +593 -2
- data/lib/google/apis/apigee_v1/gem_version.rb +2 -2
- data/lib/google/apis/apigee_v1/representations.rb +271 -0
- data/lib/google/apis/apigee_v1/service.rb +504 -7
- metadata +2 -2
|
@@ -828,6 +828,191 @@ module Google
|
|
|
828
828
|
execute_or_queue_command(command, &block)
|
|
829
829
|
end
|
|
830
830
|
|
|
831
|
+
# Creates an APIM ServiceExtension in an organization.
|
|
832
|
+
# @param [String] parent
|
|
833
|
+
# Required. Name of the organization in which the service extension will be
|
|
834
|
+
# created. Use the following structure in your request: `organizations/`org``
|
|
835
|
+
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApimServiceExtension] google_cloud_apigee_v1_apim_service_extension_object
|
|
836
|
+
# @param [String] apim_service_extension_id
|
|
837
|
+
# Optional. ID used to uniquely identify of the service extension. It must
|
|
838
|
+
# conform with RFC-1034, is restricted to lower-cased letters, numbers and
|
|
839
|
+
# hyphens, and can have a maximum length of 63 characters. Additionally, the
|
|
840
|
+
# first character must be a letter and the last a letter or a number.
|
|
841
|
+
# @param [String] fields
|
|
842
|
+
# Selector specifying which fields to include in a partial response.
|
|
843
|
+
# @param [String] quota_user
|
|
844
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
845
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
846
|
+
# @param [Google::Apis::RequestOptions] options
|
|
847
|
+
# Request-specific options
|
|
848
|
+
#
|
|
849
|
+
# @yield [result, err] Result & error if block supplied
|
|
850
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleLongrunningOperation] parsed result object
|
|
851
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
852
|
+
#
|
|
853
|
+
# @return [Google::Apis::ApigeeV1::GoogleLongrunningOperation]
|
|
854
|
+
#
|
|
855
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
856
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
857
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
858
|
+
def create_organization_apim_service_extension(parent, google_cloud_apigee_v1_apim_service_extension_object = nil, apim_service_extension_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
859
|
+
command = make_simple_command(:post, 'v1/{+parent}/apimServiceExtensions', options)
|
|
860
|
+
command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApimServiceExtension::Representation
|
|
861
|
+
command.request_object = google_cloud_apigee_v1_apim_service_extension_object
|
|
862
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleLongrunningOperation::Representation
|
|
863
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleLongrunningOperation
|
|
864
|
+
command.params['parent'] = parent unless parent.nil?
|
|
865
|
+
command.query['apimServiceExtensionId'] = apim_service_extension_id unless apim_service_extension_id.nil?
|
|
866
|
+
command.query['fields'] = fields unless fields.nil?
|
|
867
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
868
|
+
execute_or_queue_command(command, &block)
|
|
869
|
+
end
|
|
870
|
+
|
|
871
|
+
# Deletes APIM service extension from an organization.
|
|
872
|
+
# @param [String] name
|
|
873
|
+
# Required. Name of the service extension. Use the following structure in your
|
|
874
|
+
# request: `organizations/`org`/apimServiceExtensions/`extension_id``
|
|
875
|
+
# @param [String] fields
|
|
876
|
+
# Selector specifying which fields to include in a partial response.
|
|
877
|
+
# @param [String] quota_user
|
|
878
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
879
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
880
|
+
# @param [Google::Apis::RequestOptions] options
|
|
881
|
+
# Request-specific options
|
|
882
|
+
#
|
|
883
|
+
# @yield [result, err] Result & error if block supplied
|
|
884
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleLongrunningOperation] parsed result object
|
|
885
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
886
|
+
#
|
|
887
|
+
# @return [Google::Apis::ApigeeV1::GoogleLongrunningOperation]
|
|
888
|
+
#
|
|
889
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
890
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
891
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
892
|
+
def delete_organization_apim_service_extension(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
893
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
|
894
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleLongrunningOperation::Representation
|
|
895
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleLongrunningOperation
|
|
896
|
+
command.params['name'] = name unless name.nil?
|
|
897
|
+
command.query['fields'] = fields unless fields.nil?
|
|
898
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
899
|
+
execute_or_queue_command(command, &block)
|
|
900
|
+
end
|
|
901
|
+
|
|
902
|
+
# Gets APIM service extension details.
|
|
903
|
+
# @param [String] name
|
|
904
|
+
# Required. Name of the service extension. Use the following structure in your
|
|
905
|
+
# request: `organizations/`org`/apimServiceExtensions/`extension_id``
|
|
906
|
+
# @param [String] fields
|
|
907
|
+
# Selector specifying which fields to include in a partial response.
|
|
908
|
+
# @param [String] quota_user
|
|
909
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
910
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
911
|
+
# @param [Google::Apis::RequestOptions] options
|
|
912
|
+
# Request-specific options
|
|
913
|
+
#
|
|
914
|
+
# @yield [result, err] Result & error if block supplied
|
|
915
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApimServiceExtension] parsed result object
|
|
916
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
917
|
+
#
|
|
918
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApimServiceExtension]
|
|
919
|
+
#
|
|
920
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
921
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
922
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
923
|
+
def get_organization_apim_service_extension(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
924
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
925
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApimServiceExtension::Representation
|
|
926
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApimServiceExtension
|
|
927
|
+
command.params['name'] = name unless name.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
|
+
# Lists all APIM service extensions in an organization.
|
|
934
|
+
# @param [String] parent
|
|
935
|
+
# Required. Name of the organization for which to list the service extension.
|
|
936
|
+
# Use the following structure in your request: `organizations/`org`/
|
|
937
|
+
# apimServiceExtensions`
|
|
938
|
+
# @param [Fixnum] page_size
|
|
939
|
+
# Optional. Maximum number of items to return. If unspecified, at most 25
|
|
940
|
+
# service extension will be returned.
|
|
941
|
+
# @param [String] page_token
|
|
942
|
+
# Optional. Page token, returned from a previous `ListApimServiceExtensions`
|
|
943
|
+
# call, that you can use to retrieve the next page.
|
|
944
|
+
# @param [String] fields
|
|
945
|
+
# Selector specifying which fields to include in a partial response.
|
|
946
|
+
# @param [String] quota_user
|
|
947
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
948
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
949
|
+
# @param [Google::Apis::RequestOptions] options
|
|
950
|
+
# Request-specific options
|
|
951
|
+
#
|
|
952
|
+
# @yield [result, err] Result & error if block supplied
|
|
953
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListApimServiceExtensionsResponse] parsed result object
|
|
954
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
955
|
+
#
|
|
956
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListApimServiceExtensionsResponse]
|
|
957
|
+
#
|
|
958
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
959
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
960
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
961
|
+
def list_organization_apim_service_extensions(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
962
|
+
command = make_simple_command(:get, 'v1/{+parent}/apimServiceExtensions', options)
|
|
963
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListApimServiceExtensionsResponse::Representation
|
|
964
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListApimServiceExtensionsResponse
|
|
965
|
+
command.params['parent'] = parent unless parent.nil?
|
|
966
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
967
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
968
|
+
command.query['fields'] = fields unless fields.nil?
|
|
969
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
970
|
+
execute_or_queue_command(command, &block)
|
|
971
|
+
end
|
|
972
|
+
|
|
973
|
+
# Updates an APIM service extension in an organization.
|
|
974
|
+
# @param [String] name
|
|
975
|
+
# Identifier. unique name of the APIM service extension. The name must conform
|
|
976
|
+
# with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and
|
|
977
|
+
# can have a maximum length of 63 characters. Additionally, the first character
|
|
978
|
+
# must be a letter and the last a letter or a number.
|
|
979
|
+
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApimServiceExtension] google_cloud_apigee_v1_apim_service_extension_object
|
|
980
|
+
# @param [Boolean] allow_missing
|
|
981
|
+
# Optional. If set to true, and the service extension is not found, a new
|
|
982
|
+
# service extension will be created. In this situation, `update_mask` is ignored.
|
|
983
|
+
# @param [String] update_mask
|
|
984
|
+
# Optional. The list of fields to update.
|
|
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::ApigeeV1::GoogleLongrunningOperation] parsed result object
|
|
995
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
996
|
+
#
|
|
997
|
+
# @return [Google::Apis::ApigeeV1::GoogleLongrunningOperation]
|
|
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 patch_organization_apim_service_extension(name, google_cloud_apigee_v1_apim_service_extension_object = nil, allow_missing: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1003
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
|
1004
|
+
command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApimServiceExtension::Representation
|
|
1005
|
+
command.request_object = google_cloud_apigee_v1_apim_service_extension_object
|
|
1006
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleLongrunningOperation::Representation
|
|
1007
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleLongrunningOperation
|
|
1008
|
+
command.params['name'] = name unless name.nil?
|
|
1009
|
+
command.query['allowMissing'] = allow_missing unless allow_missing.nil?
|
|
1010
|
+
command.query['updateMask'] = update_mask unless update_mask.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
|
+
|
|
831
1016
|
# Updates or creates API product attributes. This API **replaces** the current
|
|
832
1017
|
# list of attributes with the attributes specified in the request body. In this
|
|
833
1018
|
# way, you can update existing attributes, add new attributes, or delete
|
|
@@ -2480,6 +2665,69 @@ module Google
|
|
|
2480
2665
|
execute_or_queue_command(command, &block)
|
|
2481
2666
|
end
|
|
2482
2667
|
|
|
2668
|
+
# Gets the account balance for the AppGroup.
|
|
2669
|
+
# @param [String] name
|
|
2670
|
+
# Required. Account balance for the AppGroup. Use the following structure in
|
|
2671
|
+
# your request: `organizations/`org`/appgroups/`app_group`/balance`
|
|
2672
|
+
# @param [String] fields
|
|
2673
|
+
# Selector specifying which fields to include in a partial response.
|
|
2674
|
+
# @param [String] quota_user
|
|
2675
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2676
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2677
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2678
|
+
# Request-specific options
|
|
2679
|
+
#
|
|
2680
|
+
# @yield [result, err] Result & error if block supplied
|
|
2681
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroupBalance] parsed result object
|
|
2682
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2683
|
+
#
|
|
2684
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroupBalance]
|
|
2685
|
+
#
|
|
2686
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2687
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2688
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2689
|
+
def get_organization_appgroup_balance(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
2690
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
2691
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroupBalance::Representation
|
|
2692
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroupBalance
|
|
2693
|
+
command.params['name'] = name unless name.nil?
|
|
2694
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2695
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2696
|
+
execute_or_queue_command(command, &block)
|
|
2697
|
+
end
|
|
2698
|
+
|
|
2699
|
+
# Gets the monetization configuration for the AppGroup.
|
|
2700
|
+
# @param [String] name
|
|
2701
|
+
# Required. Monetization configuration for the AppGroup. Use the following
|
|
2702
|
+
# structure in your request: `organizations/`org`/appgroups/`app_group`/
|
|
2703
|
+
# monetizationConfig`
|
|
2704
|
+
# @param [String] fields
|
|
2705
|
+
# Selector specifying which fields to include in a partial response.
|
|
2706
|
+
# @param [String] quota_user
|
|
2707
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2708
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2709
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2710
|
+
# Request-specific options
|
|
2711
|
+
#
|
|
2712
|
+
# @yield [result, err] Result & error if block supplied
|
|
2713
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroupMonetizationConfig] parsed result object
|
|
2714
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2715
|
+
#
|
|
2716
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroupMonetizationConfig]
|
|
2717
|
+
#
|
|
2718
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2719
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2720
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2721
|
+
def get_organization_appgroup_monetization_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
2722
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
2723
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroupMonetizationConfig::Representation
|
|
2724
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroupMonetizationConfig
|
|
2725
|
+
command.params['name'] = name unless name.nil?
|
|
2726
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2727
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2728
|
+
execute_or_queue_command(command, &block)
|
|
2729
|
+
end
|
|
2730
|
+
|
|
2483
2731
|
# Lists all AppGroups in an organization. A maximum of 1000 AppGroups are
|
|
2484
2732
|
# returned in the response if PageSize is not specified, or if the PageSize is
|
|
2485
2733
|
# greater than 1000.
|
|
@@ -2568,6 +2816,41 @@ module Google
|
|
|
2568
2816
|
execute_or_queue_command(command, &block)
|
|
2569
2817
|
end
|
|
2570
2818
|
|
|
2819
|
+
# Updates the monetization configuration for the AppGroup.
|
|
2820
|
+
# @param [String] name
|
|
2821
|
+
# Required. Monetization configuration for the AppGroup. Use the following
|
|
2822
|
+
# structure in your request: `organizations/`org`/appgroups/`app_group`/
|
|
2823
|
+
# monetizationConfig`
|
|
2824
|
+
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroupMonetizationConfig] google_cloud_apigee_v1_app_group_monetization_config_object
|
|
2825
|
+
# @param [String] fields
|
|
2826
|
+
# Selector specifying which fields to include in a partial response.
|
|
2827
|
+
# @param [String] quota_user
|
|
2828
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2829
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2830
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2831
|
+
# Request-specific options
|
|
2832
|
+
#
|
|
2833
|
+
# @yield [result, err] Result & error if block supplied
|
|
2834
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroupMonetizationConfig] parsed result object
|
|
2835
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2836
|
+
#
|
|
2837
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroupMonetizationConfig]
|
|
2838
|
+
#
|
|
2839
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2840
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2841
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2842
|
+
def update_organization_appgroup_monetization_config(name, google_cloud_apigee_v1_app_group_monetization_config_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2843
|
+
command = make_simple_command(:put, 'v1/{+name}', options)
|
|
2844
|
+
command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroupMonetizationConfig::Representation
|
|
2845
|
+
command.request_object = google_cloud_apigee_v1_app_group_monetization_config_object
|
|
2846
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroupMonetizationConfig::Representation
|
|
2847
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroupMonetizationConfig
|
|
2848
|
+
command.params['name'] = name unless name.nil?
|
|
2849
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2850
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2851
|
+
execute_or_queue_command(command, &block)
|
|
2852
|
+
end
|
|
2853
|
+
|
|
2571
2854
|
# Creates an app and associates it with an AppGroup. This API associates the
|
|
2572
2855
|
# AppGroup app with the specified API product and auto-generates an API key for
|
|
2573
2856
|
# the app to use in calls to API proxies inside that API product. The `name` is
|
|
@@ -2982,6 +3265,219 @@ module Google
|
|
|
2982
3265
|
execute_or_queue_command(command, &block)
|
|
2983
3266
|
end
|
|
2984
3267
|
|
|
3268
|
+
# Adjust the prepaid balance for the AppGroup. This API will be used in
|
|
3269
|
+
# scenarios where the AppGroup has been under-charged or over-charged.
|
|
3270
|
+
# @param [String] name
|
|
3271
|
+
# Required. Account balance for the AppGroup. Use the following structure in
|
|
3272
|
+
# your request: `organizations/`org`/appgroups/`app_group`/balance`
|
|
3273
|
+
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AdjustAppGroupBalanceRequest] google_cloud_apigee_v1_adjust_app_group_balance_request_object
|
|
3274
|
+
# @param [String] fields
|
|
3275
|
+
# Selector specifying which fields to include in a partial response.
|
|
3276
|
+
# @param [String] quota_user
|
|
3277
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
3278
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3279
|
+
# @param [Google::Apis::RequestOptions] options
|
|
3280
|
+
# Request-specific options
|
|
3281
|
+
#
|
|
3282
|
+
# @yield [result, err] Result & error if block supplied
|
|
3283
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroupBalance] parsed result object
|
|
3284
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
3285
|
+
#
|
|
3286
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroupBalance]
|
|
3287
|
+
#
|
|
3288
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3289
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3290
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3291
|
+
def adjust_organization_appgroup_balance(name, google_cloud_apigee_v1_adjust_app_group_balance_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3292
|
+
command = make_simple_command(:post, 'v1/{+name}:adjust', options)
|
|
3293
|
+
command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1AdjustAppGroupBalanceRequest::Representation
|
|
3294
|
+
command.request_object = google_cloud_apigee_v1_adjust_app_group_balance_request_object
|
|
3295
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroupBalance::Representation
|
|
3296
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroupBalance
|
|
3297
|
+
command.params['name'] = name unless name.nil?
|
|
3298
|
+
command.query['fields'] = fields unless fields.nil?
|
|
3299
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3300
|
+
execute_or_queue_command(command, &block)
|
|
3301
|
+
end
|
|
3302
|
+
|
|
3303
|
+
# Credits the account balance for the AppGroup.
|
|
3304
|
+
# @param [String] name
|
|
3305
|
+
# Required. Account balance for the AppGroup. Use the following structure in
|
|
3306
|
+
# your request: `organizations/`org`/appgroups/`app_group`/balance`
|
|
3307
|
+
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1CreditAppGroupBalanceRequest] google_cloud_apigee_v1_credit_app_group_balance_request_object
|
|
3308
|
+
# @param [String] fields
|
|
3309
|
+
# Selector specifying which fields to include in a partial response.
|
|
3310
|
+
# @param [String] quota_user
|
|
3311
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
3312
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3313
|
+
# @param [Google::Apis::RequestOptions] options
|
|
3314
|
+
# Request-specific options
|
|
3315
|
+
#
|
|
3316
|
+
# @yield [result, err] Result & error if block supplied
|
|
3317
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroupBalance] parsed result object
|
|
3318
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
3319
|
+
#
|
|
3320
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroupBalance]
|
|
3321
|
+
#
|
|
3322
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3323
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3324
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3325
|
+
def credit_organization_appgroup_balance(name, google_cloud_apigee_v1_credit_app_group_balance_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3326
|
+
command = make_simple_command(:post, 'v1/{+name}:credit', options)
|
|
3327
|
+
command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1CreditAppGroupBalanceRequest::Representation
|
|
3328
|
+
command.request_object = google_cloud_apigee_v1_credit_app_group_balance_request_object
|
|
3329
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroupBalance::Representation
|
|
3330
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroupBalance
|
|
3331
|
+
command.params['name'] = name unless name.nil?
|
|
3332
|
+
command.query['fields'] = fields unless fields.nil?
|
|
3333
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3334
|
+
execute_or_queue_command(command, &block)
|
|
3335
|
+
end
|
|
3336
|
+
|
|
3337
|
+
# Creates a subscription to an API product.
|
|
3338
|
+
# @param [String] parent
|
|
3339
|
+
# Required. Name of the appgroup that is purchasing a subscription to the API
|
|
3340
|
+
# product. Use the following structure in your request: `organizations/`org`/
|
|
3341
|
+
# appgroups/`appgroup``
|
|
3342
|
+
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroupSubscription] google_cloud_apigee_v1_app_group_subscription_object
|
|
3343
|
+
# @param [String] fields
|
|
3344
|
+
# Selector specifying which fields to include in a partial response.
|
|
3345
|
+
# @param [String] quota_user
|
|
3346
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
3347
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3348
|
+
# @param [Google::Apis::RequestOptions] options
|
|
3349
|
+
# Request-specific options
|
|
3350
|
+
#
|
|
3351
|
+
# @yield [result, err] Result & error if block supplied
|
|
3352
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroupSubscription] parsed result object
|
|
3353
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
3354
|
+
#
|
|
3355
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroupSubscription]
|
|
3356
|
+
#
|
|
3357
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3358
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3359
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3360
|
+
def create_organization_appgroup_subscription(parent, google_cloud_apigee_v1_app_group_subscription_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3361
|
+
command = make_simple_command(:post, 'v1/{+parent}/subscriptions', options)
|
|
3362
|
+
command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroupSubscription::Representation
|
|
3363
|
+
command.request_object = google_cloud_apigee_v1_app_group_subscription_object
|
|
3364
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroupSubscription::Representation
|
|
3365
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroupSubscription
|
|
3366
|
+
command.params['parent'] = parent unless parent.nil?
|
|
3367
|
+
command.query['fields'] = fields unless fields.nil?
|
|
3368
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3369
|
+
execute_or_queue_command(command, &block)
|
|
3370
|
+
end
|
|
3371
|
+
|
|
3372
|
+
# Expires an API product subscription immediately.
|
|
3373
|
+
# @param [String] name
|
|
3374
|
+
# Required. Name of the API product subscription. Use the following structure in
|
|
3375
|
+
# your request: `organizations/`org`/appgroups/`appgroup`/subscriptions/`
|
|
3376
|
+
# subscription``
|
|
3377
|
+
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ExpireAppGroupSubscriptionRequest] google_cloud_apigee_v1_expire_app_group_subscription_request_object
|
|
3378
|
+
# @param [String] fields
|
|
3379
|
+
# Selector specifying which fields to include in a partial response.
|
|
3380
|
+
# @param [String] quota_user
|
|
3381
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
3382
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3383
|
+
# @param [Google::Apis::RequestOptions] options
|
|
3384
|
+
# Request-specific options
|
|
3385
|
+
#
|
|
3386
|
+
# @yield [result, err] Result & error if block supplied
|
|
3387
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroupSubscription] parsed result object
|
|
3388
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
3389
|
+
#
|
|
3390
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroupSubscription]
|
|
3391
|
+
#
|
|
3392
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3393
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3394
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3395
|
+
def expire_organization_appgroup_subscription(name, google_cloud_apigee_v1_expire_app_group_subscription_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3396
|
+
command = make_simple_command(:post, 'v1/{+name}:expire', options)
|
|
3397
|
+
command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ExpireAppGroupSubscriptionRequest::Representation
|
|
3398
|
+
command.request_object = google_cloud_apigee_v1_expire_app_group_subscription_request_object
|
|
3399
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroupSubscription::Representation
|
|
3400
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroupSubscription
|
|
3401
|
+
command.params['name'] = name unless name.nil?
|
|
3402
|
+
command.query['fields'] = fields unless fields.nil?
|
|
3403
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3404
|
+
execute_or_queue_command(command, &block)
|
|
3405
|
+
end
|
|
3406
|
+
|
|
3407
|
+
# Get an api product subscription for an appgroup.
|
|
3408
|
+
# @param [String] name
|
|
3409
|
+
# Required. The name of the AppGroupSubscription to retrieve. Format: `
|
|
3410
|
+
# organizations/`org`/appgroups/`appgroup`/subscriptions/`subscription``
|
|
3411
|
+
# @param [String] fields
|
|
3412
|
+
# Selector specifying which fields to include in a partial response.
|
|
3413
|
+
# @param [String] quota_user
|
|
3414
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
3415
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3416
|
+
# @param [Google::Apis::RequestOptions] options
|
|
3417
|
+
# Request-specific options
|
|
3418
|
+
#
|
|
3419
|
+
# @yield [result, err] Result & error if block supplied
|
|
3420
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroupSubscription] parsed result object
|
|
3421
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
3422
|
+
#
|
|
3423
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroupSubscription]
|
|
3424
|
+
#
|
|
3425
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3426
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3427
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3428
|
+
def get_organization_appgroup_subscription(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
3429
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
3430
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroupSubscription::Representation
|
|
3431
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroupSubscription
|
|
3432
|
+
command.params['name'] = name unless name.nil?
|
|
3433
|
+
command.query['fields'] = fields unless fields.nil?
|
|
3434
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3435
|
+
execute_or_queue_command(command, &block)
|
|
3436
|
+
end
|
|
3437
|
+
|
|
3438
|
+
# List all api product subscriptions for an appgroup.
|
|
3439
|
+
# @param [String] parent
|
|
3440
|
+
# Required. Name of the appgroup. Use the following structure in your request: `
|
|
3441
|
+
# organizations/`org`/appgroups/`appgroup``
|
|
3442
|
+
# @param [Fixnum] page_size
|
|
3443
|
+
# Optional. The maximum number of subscriptions to return. The service may
|
|
3444
|
+
# return fewer than this value. If unspecified, at most 100 subscriptions will
|
|
3445
|
+
# be returned. The maximum value is 1000; values above 1000 will be coerced to
|
|
3446
|
+
# 1000.
|
|
3447
|
+
# @param [String] page_token
|
|
3448
|
+
# Optional. A page token, received from a previous `ListAppGroupSubscriptions`
|
|
3449
|
+
# call. Provide this to retrieve the subsequent page. When paginating, all other
|
|
3450
|
+
# parameters provided to `ListAppGroupSubscriptions` must match the call that
|
|
3451
|
+
# provided the page token.
|
|
3452
|
+
# @param [String] fields
|
|
3453
|
+
# Selector specifying which fields to include in a partial response.
|
|
3454
|
+
# @param [String] quota_user
|
|
3455
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
3456
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3457
|
+
# @param [Google::Apis::RequestOptions] options
|
|
3458
|
+
# Request-specific options
|
|
3459
|
+
#
|
|
3460
|
+
# @yield [result, err] Result & error if block supplied
|
|
3461
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListAppGroupSubscriptionsResponse] parsed result object
|
|
3462
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
3463
|
+
#
|
|
3464
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListAppGroupSubscriptionsResponse]
|
|
3465
|
+
#
|
|
3466
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3467
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3468
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3469
|
+
def list_organization_appgroup_subscriptions(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3470
|
+
command = make_simple_command(:get, 'v1/{+parent}/subscriptions', options)
|
|
3471
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListAppGroupSubscriptionsResponse::Representation
|
|
3472
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListAppGroupSubscriptionsResponse
|
|
3473
|
+
command.params['parent'] = parent unless parent.nil?
|
|
3474
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
3475
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
3476
|
+
command.query['fields'] = fields unless fields.nil?
|
|
3477
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3478
|
+
execute_or_queue_command(command, &block)
|
|
3479
|
+
end
|
|
3480
|
+
|
|
2985
3481
|
# Gets the app profile for the specified app ID.
|
|
2986
3482
|
# @param [String] name
|
|
2987
3483
|
# Required. App ID in the following format: `organizations/`org`/apps/`app``
|
|
@@ -8782,8 +9278,8 @@ module Google
|
|
|
8782
9278
|
|
|
8783
9279
|
# Delete a SecurityAction.
|
|
8784
9280
|
# @param [String] name
|
|
8785
|
-
# Required. The name of the security
|
|
8786
|
-
#
|
|
9281
|
+
# Required. The name of the security action to delete. Format: `organizations/`
|
|
9282
|
+
# org`/environment/`env`/securityActions/`security_action``
|
|
8787
9283
|
# @param [String] fields
|
|
8788
9284
|
# Selector specifying which fields to include in a partial response.
|
|
8789
9285
|
# @param [String] quota_user
|
|
@@ -11460,11 +11956,12 @@ module Google
|
|
|
11460
11956
|
# The standard list page token.
|
|
11461
11957
|
# @param [Boolean] return_partial_success
|
|
11462
11958
|
# When set to `true`, operations that are reachable are returned as normal, and
|
|
11463
|
-
# those that are unreachable are returned in the
|
|
11464
|
-
# unreachable
|
|
11465
|
-
#
|
|
11466
|
-
# by default
|
|
11467
|
-
# explicitly documented otherwise in service or product specific
|
|
11959
|
+
# those that are unreachable are returned in the ListOperationsResponse.
|
|
11960
|
+
# unreachable field. This can only be `true` when reading across collections.
|
|
11961
|
+
# For example, when `parent` is set to `"projects/example/locations/-"`. This
|
|
11962
|
+
# field is not supported by default and will result in an `UNIMPLEMENTED` error
|
|
11963
|
+
# if set unless explicitly documented otherwise in service or product specific
|
|
11964
|
+
# documentation.
|
|
11468
11965
|
# @param [String] fields
|
|
11469
11966
|
# Selector specifying which fields to include in a partial response.
|
|
11470
11967
|
# @param [String] quota_user
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-apigee_v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.118.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-apigee_v1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-apigee_v1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-apigee_v1/v0.118.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-apigee_v1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|