google-apis-apigee_v1 0.25.0 → 0.29.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/lib/google/apis/apigee_v1/classes.rb +79 -61
- data/lib/google/apis/apigee_v1/gem_version.rb +2 -2
- data/lib/google/apis/apigee_v1/representations.rb +14 -0
- data/lib/google/apis/apigee_v1/service.rb +179 -140
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b7553941e160f976a17757cc0d453e593ff8166fbf0fb57c9e81b473b52351aa
|
4
|
+
data.tar.gz: f418c01d6482b359d9fab980de5c1078533fdb46ae81ed2271e35d28e71b9881
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e7246bcd7f167eb347398804a56f24dca232b67b23f2b97c1d8364182fffdcdfd27808f27fc46a42598e9126cb7c1d2d17d784d14306cf130825da234a918495
|
7
|
+
data.tar.gz: d78fbb643d698095ee46349cc6d371bd900d03f0786f2c0baef5e40ee94ad6480cfae355e717b8451e75ddc9d85a783b527e23c29c34ad74d82c4a9985566612
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-apigee_v1
|
2
2
|
|
3
|
+
### v0.29.0 (2021-12-07)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20211203
|
6
|
+
|
7
|
+
### v0.28.0 (2021-11-16)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20211111
|
10
|
+
|
11
|
+
### v0.27.0 (2021-11-10)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20211108
|
14
|
+
|
15
|
+
### v0.26.0 (2021-11-03)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20211101
|
18
|
+
|
3
19
|
### v0.25.0 (2021-10-26)
|
4
20
|
|
5
21
|
* Regenerated from discovery document revision 20211021
|
@@ -285,6 +285,25 @@ module Google
|
|
285
285
|
end
|
286
286
|
end
|
287
287
|
|
288
|
+
# Request for AdjustDeveloperBalance.
|
289
|
+
class GoogleCloudApigeeV1AdjustDeveloperBalanceRequest
|
290
|
+
include Google::Apis::Core::Hashable
|
291
|
+
|
292
|
+
# Represents an amount of money with its currency type.
|
293
|
+
# Corresponds to the JSON property `adjustment`
|
294
|
+
# @return [Google::Apis::ApigeeV1::GoogleTypeMoney]
|
295
|
+
attr_accessor :adjustment
|
296
|
+
|
297
|
+
def initialize(**args)
|
298
|
+
update!(**args)
|
299
|
+
end
|
300
|
+
|
301
|
+
# Update properties of this object
|
302
|
+
def update!(**args)
|
303
|
+
@adjustment = args[:adjustment] if args.key?(:adjustment)
|
304
|
+
end
|
305
|
+
end
|
306
|
+
|
288
307
|
# Configuration for the Advanced API Ops add-on.
|
289
308
|
class GoogleCloudApigeeV1AdvancedApiOpsConfig
|
290
309
|
include Google::Apis::Core::Hashable
|
@@ -1510,7 +1529,7 @@ module Google
|
|
1510
1529
|
attr_accessor :enabled
|
1511
1530
|
alias_method :enabled?, :enabled
|
1512
1531
|
|
1513
|
-
# Output only. Time at which the Connectors Platform add-on expires in
|
1532
|
+
# Output only. Time at which the Connectors Platform add-on expires in
|
1514
1533
|
# milliseconds since epoch. If unspecified, the add-on will never expire.
|
1515
1534
|
# Corresponds to the JSON property `expiresAt`
|
1516
1535
|
# @return [Fixnum]
|
@@ -1567,7 +1586,7 @@ module Google
|
|
1567
1586
|
# @return [Array<String>]
|
1568
1587
|
attr_accessor :scopes
|
1569
1588
|
|
1570
|
-
# Status of the credential.
|
1589
|
+
# Status of the credential. Valid values include `approved` or `revoked`.
|
1571
1590
|
# Corresponds to the JSON property `status`
|
1572
1591
|
# @return [String]
|
1573
1592
|
attr_accessor :status
|
@@ -2859,16 +2878,16 @@ module Google
|
|
2859
2878
|
end
|
2860
2879
|
end
|
2861
2880
|
|
2862
|
-
#
|
2881
|
+
# Encapsulates a metric grouped by dimension.
|
2863
2882
|
class GoogleCloudApigeeV1DimensionMetric
|
2864
2883
|
include Google::Apis::Core::Hashable
|
2865
2884
|
|
2866
|
-
#
|
2885
|
+
# List of metrics.
|
2867
2886
|
# Corresponds to the JSON property `metrics`
|
2868
2887
|
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Metric>]
|
2869
2888
|
attr_accessor :metrics
|
2870
2889
|
|
2871
|
-
#
|
2890
|
+
# Name of the dimension.
|
2872
2891
|
# Corresponds to the JSON property `name`
|
2873
2892
|
# @return [String]
|
2874
2893
|
attr_accessor :name
|
@@ -4647,7 +4666,7 @@ module Google
|
|
4647
4666
|
end
|
4648
4667
|
end
|
4649
4668
|
|
4650
|
-
#
|
4669
|
+
# Encapsulates additional information about query execution.
|
4651
4670
|
class GoogleCloudApigeeV1Metadata
|
4652
4671
|
include Google::Apis::Core::Hashable
|
4653
4672
|
|
@@ -4656,10 +4675,10 @@ module Google
|
|
4656
4675
|
# @return [Array<String>]
|
4657
4676
|
attr_accessor :errors
|
4658
4677
|
|
4659
|
-
# List of additional information such as data source, if result was truncated
|
4660
|
-
#
|
4661
|
-
# query served by:4b64601e-40de-4eb1-bfb9-eeee7ac929ed", "Table
|
4662
|
-
# uapgroup2.agg_api" ]
|
4678
|
+
# List of additional information such as data source, if result was truncated.
|
4679
|
+
# For example: ``` "notices": [ "Source:Postgres", "PG Host:uappg0rw.e2e.
|
4680
|
+
# apigeeks.net", "query served by:4b64601e-40de-4eb1-bfb9-eeee7ac929ed", "Table
|
4681
|
+
# used: edge.api.uapgroup2.agg_api" ]```
|
4663
4682
|
# Corresponds to the JSON property `notices`
|
4664
4683
|
# @return [Array<String>]
|
4665
4684
|
attr_accessor :notices
|
@@ -4675,20 +4694,20 @@ module Google
|
|
4675
4694
|
end
|
4676
4695
|
end
|
4677
4696
|
|
4678
|
-
#
|
4697
|
+
# Encapsulates the metric data point. For example: ```` "name": "sum(
|
4679
4698
|
# message_count)", "values" : [ ` "timestamp": 1549004400000, "value": "39.0" `,
|
4680
|
-
# ` "timestamp" : 1548997200000, "value" : "0.0" ` ]
|
4681
|
-
# message_count)", "values" : ["39.0"]
|
4699
|
+
# ` "timestamp" : 1548997200000, "value" : "0.0" ` ] ```` or ```` "name": "sum(
|
4700
|
+
# message_count)", "values" : ["39.0"] ````
|
4682
4701
|
class GoogleCloudApigeeV1Metric
|
4683
4702
|
include Google::Apis::Core::Hashable
|
4684
4703
|
|
4685
|
-
#
|
4704
|
+
# Metric name.
|
4686
4705
|
# Corresponds to the JSON property `name`
|
4687
4706
|
# @return [String]
|
4688
4707
|
attr_accessor :name
|
4689
4708
|
|
4690
|
-
# List of metric values. Possible value
|
4691
|
-
# "value": "39.0", "timestamp": 1232434354` ]
|
4709
|
+
# List of metric values. Possible value formats include: `"values":["39.0"]` or `
|
4710
|
+
# "values":[ ` "value": "39.0", "timestamp": 1232434354` ]`
|
4692
4711
|
# Corresponds to the JSON property `values`
|
4693
4712
|
# @return [Array<Object>]
|
4694
4713
|
attr_accessor :values
|
@@ -4937,7 +4956,7 @@ module Google
|
|
4937
4956
|
class GoogleCloudApigeeV1OptimizedStats
|
4938
4957
|
include Google::Apis::Core::Hashable
|
4939
4958
|
|
4940
|
-
#
|
4959
|
+
# Encapsulates a response format for JavaScript Optimized Scenario.
|
4941
4960
|
# Corresponds to the JSON property `Response`
|
4942
4961
|
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1OptimizedStatsResponse]
|
4943
4962
|
attr_accessor :response
|
@@ -4952,11 +4971,11 @@ module Google
|
|
4952
4971
|
end
|
4953
4972
|
end
|
4954
4973
|
|
4955
|
-
#
|
4956
|
-
#
|
4957
|
-
#
|
4958
|
-
#
|
4959
|
-
#
|
4974
|
+
# Encapsulates a data node as represented below: ``` ` "identifier": ` "names": [
|
4975
|
+
# "apiproxy" ], "values": [ "sirjee" ] `, "metric": [ ` "env": "prod", "name": "
|
4976
|
+
# sum(message_count)", "values": [ 36.0 ] ` ] ```` or ``` ` "env": "prod", "name"
|
4977
|
+
# : "sum(message_count)", "values": [ 36.0 ] ```` Depending on whether a
|
4978
|
+
# dimension is present in the query or not the data node type can be a simple
|
4960
4979
|
# metric value or dimension identifier with list of metrics.
|
4961
4980
|
class GoogleCloudApigeeV1OptimizedStatsNode
|
4962
4981
|
include Google::Apis::Core::Hashable
|
@@ -4976,33 +4995,32 @@ module Google
|
|
4976
4995
|
end
|
4977
4996
|
end
|
4978
4997
|
|
4979
|
-
#
|
4998
|
+
# Encapsulates a response format for JavaScript Optimized Scenario.
|
4980
4999
|
class GoogleCloudApigeeV1OptimizedStatsResponse
|
4981
5000
|
include Google::Apis::Core::Hashable
|
4982
5001
|
|
4983
|
-
#
|
4984
|
-
# timestamp value.
|
5002
|
+
# List of time unit values. Time unit refers to an epoch timestamp value.
|
4985
5003
|
# Corresponds to the JSON property `TimeUnit`
|
4986
5004
|
# @return [Array<Fixnum>]
|
4987
5005
|
attr_accessor :time_unit
|
4988
5006
|
|
4989
|
-
#
|
5007
|
+
# Encapsulates additional information about query execution.
|
4990
5008
|
# Corresponds to the JSON property `metaData`
|
4991
5009
|
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Metadata]
|
4992
5010
|
attr_accessor :meta_data
|
4993
5011
|
|
4994
|
-
#
|
5012
|
+
# Boolean flag that indicates whether the results were truncated based on the
|
4995
5013
|
# limit parameter.
|
4996
5014
|
# Corresponds to the JSON property `resultTruncated`
|
4997
5015
|
# @return [Boolean]
|
4998
5016
|
attr_accessor :result_truncated
|
4999
5017
|
alias_method :result_truncated?, :result_truncated
|
5000
5018
|
|
5001
|
-
#
|
5002
|
-
#
|
5003
|
-
#
|
5004
|
-
#
|
5005
|
-
#
|
5019
|
+
# Encapsulates a data node as represented below: ``` ` "identifier": ` "names": [
|
5020
|
+
# "apiproxy" ], "values": [ "sirjee" ] `, "metric": [ ` "env": "prod", "name": "
|
5021
|
+
# sum(message_count)", "values": [ 36.0 ] ` ] ```` or ``` ` "env": "prod", "name"
|
5022
|
+
# : "sum(message_count)", "values": [ 36.0 ] ```` Depending on whether a
|
5023
|
+
# dimension is present in the query or not the data node type can be a simple
|
5006
5024
|
# metric value or dimension identifier with list of metrics.
|
5007
5025
|
# Corresponds to the JSON property `stats`
|
5008
5026
|
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1OptimizedStatsNode]
|
@@ -6777,21 +6795,21 @@ module Google
|
|
6777
6795
|
end
|
6778
6796
|
end
|
6779
6797
|
|
6780
|
-
#
|
6798
|
+
# Encapsulates a `stats` response.
|
6781
6799
|
class GoogleCloudApigeeV1Stats
|
6782
6800
|
include Google::Apis::Core::Hashable
|
6783
6801
|
|
6784
|
-
#
|
6802
|
+
# List of query results on the environment level.
|
6785
6803
|
# Corresponds to the JSON property `environments`
|
6786
6804
|
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1StatsEnvironmentStats>]
|
6787
6805
|
attr_accessor :environments
|
6788
6806
|
|
6789
|
-
#
|
6807
|
+
# List of query results grouped by host.
|
6790
6808
|
# Corresponds to the JSON property `hosts`
|
6791
6809
|
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1StatsHostStats>]
|
6792
6810
|
attr_accessor :hosts
|
6793
6811
|
|
6794
|
-
#
|
6812
|
+
# Encapsulates additional information about query execution.
|
6795
6813
|
# Corresponds to the JSON property `metaData`
|
6796
6814
|
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Metadata]
|
6797
6815
|
attr_accessor :meta_data
|
@@ -6808,31 +6826,31 @@ module Google
|
|
6808
6826
|
end
|
6809
6827
|
end
|
6810
6828
|
|
6811
|
-
#
|
6812
|
-
#
|
6813
|
-
#
|
6829
|
+
# Encapsulates the environment wrapper: ``` "environments": [ ` "metrics": [ ` "
|
6830
|
+
# name": "sum(message_count)", "values": [ "2.52056245E8" ] ` ], "name": "prod" `
|
6831
|
+
# ]```
|
6814
6832
|
class GoogleCloudApigeeV1StatsEnvironmentStats
|
6815
6833
|
include Google::Apis::Core::Hashable
|
6816
6834
|
|
6817
|
-
#
|
6835
|
+
# List of metrics grouped under dimensions.
|
6818
6836
|
# Corresponds to the JSON property `dimensions`
|
6819
6837
|
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1DimensionMetric>]
|
6820
6838
|
attr_accessor :dimensions
|
6821
6839
|
|
6822
6840
|
# In the final response, only one of the following fields will be present based
|
6823
|
-
# on the dimensions provided. If no dimensions are provided, then only
|
6824
|
-
#
|
6825
|
-
#
|
6826
|
-
#
|
6841
|
+
# on the dimensions provided. If no dimensions are provided, then only top-level
|
6842
|
+
# metrics is provided. If dimensions are included, then there will be a top-
|
6843
|
+
# level dimensions field under environments which will contain metrics values
|
6844
|
+
# and the dimension name. Example: ``` "environments": [ ` "dimensions": [ ` "
|
6827
6845
|
# metrics": [ ` "name": "sum(message_count)", "values": [ "2.14049521E8" ] ` ], "
|
6828
|
-
# name": "nit_proxy" ` ], "name": "prod" ` ]
|
6829
|
-
# ` "name": "sum(message_count)", "values": [ "2.19026331E8" ] ` ], "
|
6830
|
-
# prod" ` ]
|
6846
|
+
# name": "nit_proxy" ` ], "name": "prod" ` ]``` or ```"environments": [ ` "
|
6847
|
+
# metrics": [ ` "name": "sum(message_count)", "values": [ "2.19026331E8" ] ` ], "
|
6848
|
+
# name": "prod" ` ]``` List of metric values.
|
6831
6849
|
# Corresponds to the JSON property `metrics`
|
6832
6850
|
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Metric>]
|
6833
6851
|
attr_accessor :metrics
|
6834
6852
|
|
6835
|
-
#
|
6853
|
+
# Name of the environment.
|
6836
6854
|
# Corresponds to the JSON property `name`
|
6837
6855
|
# @return [String]
|
6838
6856
|
attr_accessor :name
|
@@ -6849,31 +6867,31 @@ module Google
|
|
6849
6867
|
end
|
6850
6868
|
end
|
6851
6869
|
|
6852
|
-
#
|
6853
|
-
#
|
6854
|
-
#
|
6870
|
+
# Encapsulates the hostname wrapper: ``` "hosts": [ ` "metrics": [ ` "name": "
|
6871
|
+
# sum(message_count)", "values": [ "2.52056245E8" ] ` ], "name": "example.com" `
|
6872
|
+
# ]```
|
6855
6873
|
class GoogleCloudApigeeV1StatsHostStats
|
6856
6874
|
include Google::Apis::Core::Hashable
|
6857
6875
|
|
6858
|
-
#
|
6876
|
+
# List of metrics grouped under dimensions.
|
6859
6877
|
# Corresponds to the JSON property `dimensions`
|
6860
6878
|
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1DimensionMetric>]
|
6861
6879
|
attr_accessor :dimensions
|
6862
6880
|
|
6863
6881
|
# In the final response, only one of the following fields will be present based
|
6864
|
-
# on the dimensions provided. If no dimensions are provided, then only
|
6865
|
-
# level metrics
|
6866
|
-
# top
|
6867
|
-
# and the dimension name. Example: "hosts": [ ` "dimensions": [ ` "metrics":
|
6868
|
-
# "name": "sum(message_count)", "values": [ "2.14049521E8" ] ` ], "name": "
|
6869
|
-
# nit_proxy" ` ], "name": "example.com" ` ] OR "hosts": [ ` "metrics": [ `
|
6870
|
-
# : "sum(message_count)", "values": [ "2.19026331E8" ] ` ], "name": "
|
6871
|
-
# ` ]
|
6882
|
+
# on the dimensions provided. If no dimensions are provided, then only the top-
|
6883
|
+
# level metrics are provided. If dimensions are included, then there will be a
|
6884
|
+
# top-level dimensions field under hostnames which will contain metrics values
|
6885
|
+
# and the dimension name. Example: ``` "hosts": [ ` "dimensions": [ ` "metrics":
|
6886
|
+
# [ ` "name": "sum(message_count)", "values": [ "2.14049521E8" ] ` ], "name": "
|
6887
|
+
# nit_proxy" ` ], "name": "example.com" ` ]``` OR ```"hosts": [ ` "metrics": [ `
|
6888
|
+
# "name": "sum(message_count)", "values": [ "2.19026331E8" ] ` ], "name": "
|
6889
|
+
# example.com" ` ]``` List of metric values.
|
6872
6890
|
# Corresponds to the JSON property `metrics`
|
6873
6891
|
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Metric>]
|
6874
6892
|
attr_accessor :metrics
|
6875
6893
|
|
6876
|
-
#
|
6894
|
+
# Hostname used in query.
|
6877
6895
|
# Corresponds to the JSON property `name`
|
6878
6896
|
# @return [String]
|
6879
6897
|
attr_accessor :name
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ApigeeV1
|
18
18
|
# Version of the google-apis-apigee_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.29.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20211203"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -76,6 +76,12 @@ module Google
|
|
76
76
|
include Google::Apis::Core::JsonObjectSupport
|
77
77
|
end
|
78
78
|
|
79
|
+
class GoogleCloudApigeeV1AdjustDeveloperBalanceRequest
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
79
85
|
class GoogleCloudApigeeV1AdvancedApiOpsConfig
|
80
86
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
87
|
|
@@ -1280,6 +1286,14 @@ module Google
|
|
1280
1286
|
end
|
1281
1287
|
end
|
1282
1288
|
|
1289
|
+
class GoogleCloudApigeeV1AdjustDeveloperBalanceRequest
|
1290
|
+
# @private
|
1291
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1292
|
+
property :adjustment, as: 'adjustment', class: Google::Apis::ApigeeV1::GoogleTypeMoney, decorator: Google::Apis::ApigeeV1::GoogleTypeMoney::Representation
|
1293
|
+
|
1294
|
+
end
|
1295
|
+
end
|
1296
|
+
|
1283
1297
|
class GoogleCloudApigeeV1AdvancedApiOpsConfig
|
1284
1298
|
# @private
|
1285
1299
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1767,7 +1767,8 @@ module Google
|
|
1767
1767
|
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DataCollector] google_cloud_apigee_v1_data_collector_object
|
1768
1768
|
# @param [String] data_collector_id
|
1769
1769
|
# ID of the data collector. Overrides any ID in the data collector resource.
|
1770
|
-
# Must
|
1770
|
+
# Must be a string beginning with `dc_` that contains only letters, numbers, and
|
1771
|
+
# underscores.
|
1771
1772
|
# @param [String] fields
|
1772
1773
|
# Selector specifying which fields to include in a partial response.
|
1773
1774
|
# @param [String] quota_user
|
@@ -3256,6 +3257,41 @@ module Google
|
|
3256
3257
|
execute_or_queue_command(command, &block)
|
3257
3258
|
end
|
3258
3259
|
|
3260
|
+
# Adjust the prepaid balance for the developer. This API will be used in
|
3261
|
+
# scenarios where the developer has been under-charged or over-charged.
|
3262
|
+
# @param [String] name
|
3263
|
+
# Required. Account balance for the developer. Use the following structure in
|
3264
|
+
# your request: `organizations/`org`/developers/`developer`/balance`
|
3265
|
+
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AdjustDeveloperBalanceRequest] google_cloud_apigee_v1_adjust_developer_balance_request_object
|
3266
|
+
# @param [String] fields
|
3267
|
+
# Selector specifying which fields to include in a partial response.
|
3268
|
+
# @param [String] quota_user
|
3269
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3270
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3271
|
+
# @param [Google::Apis::RequestOptions] options
|
3272
|
+
# Request-specific options
|
3273
|
+
#
|
3274
|
+
# @yield [result, err] Result & error if block supplied
|
3275
|
+
# @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperBalance] parsed result object
|
3276
|
+
# @yieldparam err [StandardError] error object if request failed
|
3277
|
+
#
|
3278
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperBalance]
|
3279
|
+
#
|
3280
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3281
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3282
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3283
|
+
def adjust_organization_developer_balance(name, google_cloud_apigee_v1_adjust_developer_balance_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3284
|
+
command = make_simple_command(:post, 'v1/{+name}:adjust', options)
|
3285
|
+
command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1AdjustDeveloperBalanceRequest::Representation
|
3286
|
+
command.request_object = google_cloud_apigee_v1_adjust_developer_balance_request_object
|
3287
|
+
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperBalance::Representation
|
3288
|
+
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperBalance
|
3289
|
+
command.params['name'] = name unless name.nil?
|
3290
|
+
command.query['fields'] = fields unless fields.nil?
|
3291
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3292
|
+
execute_or_queue_command(command, &block)
|
3293
|
+
end
|
3294
|
+
|
3259
3295
|
# Credits the account balance for the developer.
|
3260
3296
|
# @param [String] name
|
3261
3297
|
# Required. Account balance for the developer. Use the following structure in
|
@@ -3915,13 +3951,16 @@ module Google
|
|
3915
3951
|
# REQUIRED: The resource for which the policy is being requested. See the
|
3916
3952
|
# operation documentation for the appropriate value for this field.
|
3917
3953
|
# @param [Fixnum] options_requested_policy_version
|
3918
|
-
# Optional. The policy
|
3919
|
-
# 3. Requests specifying an invalid value will be
|
3920
|
-
# policies with any conditional bindings must
|
3921
|
-
#
|
3922
|
-
# field unset.
|
3923
|
-
#
|
3924
|
-
#
|
3954
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
3955
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
3956
|
+
# rejected. Requests for policies with any conditional role bindings must
|
3957
|
+
# specify version 3. Policies with no conditional role bindings may specify any
|
3958
|
+
# valid value or leave the field unset. The policy in the response might use the
|
3959
|
+
# policy version that you specified, or it might use a lower policy version. For
|
3960
|
+
# example, if you specify version 3, but the policy has no conditional role
|
3961
|
+
# bindings, the response uses version 1. To learn which resources support
|
3962
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
3963
|
+
# google.com/iam/help/conditions/resource-policies).
|
3925
3964
|
# @param [String] fields
|
3926
3965
|
# Selector specifying which fields to include in a partial response.
|
3927
3966
|
# @param [String] quota_user
|
@@ -5685,58 +5724,55 @@ module Google
|
|
5685
5724
|
execute_or_queue_command(command, &block)
|
5686
5725
|
end
|
5687
5726
|
|
5688
|
-
#
|
5689
|
-
# the current scheme, a query parameter _optimized instructs Edge Analytics to
|
5690
|
-
# change the response but since this behavior is not possible with protocol
|
5691
|
-
# buffer and since this parameter is predominantly used by Edge UI, we are
|
5692
|
-
# introducing a separate api.
|
5727
|
+
# Similar to GetStats except that the response is less verbose.
|
5693
5728
|
# @param [String] name
|
5694
|
-
# Required.
|
5695
|
-
#
|
5696
|
-
#
|
5697
|
-
#
|
5698
|
-
#
|
5699
|
-
#
|
5729
|
+
# Required. Resource name for which the interactive query will be executed. Use
|
5730
|
+
# the following format in your request: `organizations/`org`/environments/`env`/
|
5731
|
+
# optimizedStats/`dimensions`` Dimensions let you view metrics in meaningful
|
5732
|
+
# groupings, such as `apiproxy`, `target_host`. The value of `dimensions` should
|
5733
|
+
# be a comma-separated list as shown below: `organizations/`org`/environments/`
|
5734
|
+
# env`/optimizedStats/apiproxy,request_verb`
|
5700
5735
|
# @param [String] accuracy
|
5701
|
-
#
|
5736
|
+
# No longer used by Apigee. Supported for backwards compatibility.
|
5702
5737
|
# @param [String] agg_table
|
5703
|
-
#
|
5704
|
-
#
|
5705
|
-
#
|
5738
|
+
# Table name used to query custom aggregate tables. If this parameter is skipped,
|
5739
|
+
# then Apigee will try to retrieve the data from fact tables which will be
|
5740
|
+
# expensive.
|
5706
5741
|
# @param [String] filter
|
5707
|
-
#
|
5742
|
+
# Filter that enables you to drill-down on specific dimension values.
|
5708
5743
|
# @param [String] limit
|
5709
|
-
#
|
5710
|
-
#
|
5744
|
+
# Maximum number of result items to return. The default and maximum value that
|
5745
|
+
# can be returned is 14400.
|
5711
5746
|
# @param [String] offset
|
5712
|
-
# Use offset with limit to enable pagination of results. For
|
5713
|
-
# results 11-20, set limit to
|
5747
|
+
# Offset value. Use `offset` with `limit` to enable pagination of results. For
|
5748
|
+
# example, to display results 11-20, set limit to `10` and offset to `10`.
|
5714
5749
|
# @param [Boolean] realtime
|
5715
|
-
#
|
5750
|
+
# No longer used by Apigee. Supported for backwards compatibility.
|
5716
5751
|
# @param [String] select
|
5717
|
-
# Required.
|
5718
|
-
# sum(
|
5752
|
+
# Required. Comma-separated list of metrics. For example: `sum(message_count),
|
5753
|
+
# sum(error_count)`
|
5719
5754
|
# @param [Boolean] sonar
|
5720
|
-
#
|
5755
|
+
# Routes the query to API Monitoring for the last hour.
|
5721
5756
|
# @param [String] sort
|
5722
|
-
#
|
5723
|
-
#
|
5757
|
+
# Flag that specifies whether the sort order should be ascending or descending.
|
5758
|
+
# Valid values include `DESC` and `ASC`.
|
5724
5759
|
# @param [String] sortby
|
5725
|
-
# Comma
|
5760
|
+
# Comma-separated list of columns to sort the final result.
|
5726
5761
|
# @param [String] time_range
|
5727
|
-
# Required. Time interval for the interactive query. Time range is specified
|
5728
|
-
# start~end
|
5762
|
+
# Required. Time interval for the interactive query. Time range is specified in
|
5763
|
+
# GMT as `start~end`. For example: `04/15/2017 00:00~05/15/2017 23:59`
|
5729
5764
|
# @param [String] time_unit
|
5730
|
-
#
|
5731
|
-
#
|
5765
|
+
# Granularity of metrics returned. Valid values include: `second`, `minute`, `
|
5766
|
+
# hour`, `day`, `week`, or `month`.
|
5732
5767
|
# @param [String] topk
|
5733
|
-
#
|
5734
|
-
# topk=5
|
5768
|
+
# Top number of results to return. For example, to return the top 5 results, set
|
5769
|
+
# `topk=5`.
|
5735
5770
|
# @param [Boolean] ts_ascending
|
5736
|
-
#
|
5737
|
-
#
|
5771
|
+
# Flag that specifies whether to list timestamps in ascending (`true`) or
|
5772
|
+
# descending (`false`) order. Apigee recommends setting this value to `true` if
|
5773
|
+
# you are using `sortby` with `sort=DESC`.
|
5738
5774
|
# @param [String] tzo
|
5739
|
-
#
|
5775
|
+
# Timezone offset value.
|
5740
5776
|
# @param [String] fields
|
5741
5777
|
# Selector specifying which fields to include in a partial response.
|
5742
5778
|
# @param [String] quota_user
|
@@ -6464,58 +6500,58 @@ module Google
|
|
6464
6500
|
|
6465
6501
|
# Retrieve metrics grouped by dimensions. The types of metrics you can retrieve
|
6466
6502
|
# include traffic, message counts, API call latency, response size, and cache
|
6467
|
-
# hits and counts. Dimensions let you view metrics in meaningful groups.
|
6468
|
-
#
|
6469
|
-
#
|
6470
|
-
#
|
6471
|
-
# @param [String] name
|
6472
|
-
# Required.
|
6473
|
-
#
|
6474
|
-
#
|
6475
|
-
#
|
6476
|
-
#
|
6477
|
-
#
|
6503
|
+
# hits and counts. Dimensions let you view metrics in meaningful groups. You can
|
6504
|
+
# optionally pass dimensions as path parameters to the `stats` API. If
|
6505
|
+
# dimensions are not specified, the metrics are computed on the entire set of
|
6506
|
+
# data for the given time range.
|
6507
|
+
# @param [String] name
|
6508
|
+
# Required. Resource name for which the interactive query will be executed. Use
|
6509
|
+
# the following format in your request: `organizations/`org`/environments/`env`/
|
6510
|
+
# stats/`dimensions`` Dimensions let you view metrics in meaningful groupings,
|
6511
|
+
# such as `apiproxy` or `target_host`. The value of dimensions should be a comma-
|
6512
|
+
# separated list, as shown below: `organizations/`org`/environments/`env`/stats/
|
6513
|
+
# apiproxy,request_verb`
|
6478
6514
|
# @param [String] accuracy
|
6479
|
-
#
|
6480
|
-
# which still use this parameter.
|
6515
|
+
# No longer used by Apigee. Supported for backwards compatibility.
|
6481
6516
|
# @param [String] agg_table
|
6482
|
-
#
|
6483
|
-
#
|
6484
|
-
#
|
6517
|
+
# Table name used to query custom aggregate tables. If this parameter is skipped,
|
6518
|
+
# then Apigee will try to retrieve the data from fact tables which will be
|
6519
|
+
# expensive.
|
6485
6520
|
# @param [String] filter
|
6486
|
-
#
|
6521
|
+
# Filter that enables you to drill down on specific dimension values.
|
6487
6522
|
# @param [String] limit
|
6488
|
-
#
|
6489
|
-
#
|
6523
|
+
# Maximum number of result items to return. The default and maximum value that
|
6524
|
+
# can be returned is 14400.
|
6490
6525
|
# @param [String] offset
|
6491
|
-
# Use offset with limit to enable pagination of results. For
|
6492
|
-
# results 11-20, set limit to
|
6526
|
+
# Offset value. Use `offset` with `limit` to enable pagination of results. For
|
6527
|
+
# example, to display results 11-20, set limit to `10` and offset to `10`.
|
6493
6528
|
# @param [Boolean] realtime
|
6494
|
-
#
|
6529
|
+
# No longer used by Apigee. Supported for backwards compatibility.
|
6495
6530
|
# @param [String] select
|
6496
|
-
#
|
6497
|
-
#
|
6531
|
+
# Comma-separated list of metrics. For example: `sum(message_count),sum(
|
6532
|
+
# error_count)`
|
6498
6533
|
# @param [Boolean] sonar
|
6499
|
-
#
|
6534
|
+
# Routes the query to API Monitoring for the last hour.
|
6500
6535
|
# @param [String] sort
|
6501
|
-
#
|
6502
|
-
#
|
6536
|
+
# Flag that specifies whether the sort order should be ascending or descending.
|
6537
|
+
# Valid values include: `DESC` and `ASC`.
|
6503
6538
|
# @param [String] sortby
|
6504
|
-
# Comma
|
6539
|
+
# Comma-separated list of columns to sort the final result.
|
6505
6540
|
# @param [String] time_range
|
6506
|
-
# Time interval for the interactive query. Time range is specified as
|
6507
|
-
#
|
6541
|
+
# Time interval for the interactive query. Time range is specified in GMT as `
|
6542
|
+
# start~end`. For example: `04/15/2017 00:00~05/15/2017 23:59`
|
6508
6543
|
# @param [String] time_unit
|
6509
|
-
#
|
6510
|
-
#
|
6544
|
+
# Granularity of metrics returned. Valid values include: `second`, `minute`, `
|
6545
|
+
# hour`, `day`, `week`, or` month`.
|
6511
6546
|
# @param [String] topk
|
6512
|
-
#
|
6513
|
-
# topk=5
|
6547
|
+
# Top number of results to return. For example, to return the top 5 results, set
|
6548
|
+
# `topk=5`.
|
6514
6549
|
# @param [Boolean] ts_ascending
|
6515
|
-
#
|
6516
|
-
#
|
6550
|
+
# Flag that specifies whether to list timestamps in ascending (`true`) or
|
6551
|
+
# descending (`false`) order. Apigee recommends that you set this value to `true`
|
6552
|
+
# if you are using `sortby` with `sort=DESC`.
|
6517
6553
|
# @param [String] tzo
|
6518
|
-
#
|
6554
|
+
# Timezone offset value.
|
6519
6555
|
# @param [String] fields
|
6520
6556
|
# Selector specifying which fields to include in a partial response.
|
6521
6557
|
# @param [String] quota_user
|
@@ -7070,51 +7106,52 @@ module Google
|
|
7070
7106
|
# Retrieve metrics grouped by dimensions in host level. The types of metrics you
|
7071
7107
|
# can retrieve include traffic, message counts, API call latency, response size,
|
7072
7108
|
# and cache hits and counts. Dimensions let you view metrics in meaningful
|
7073
|
-
# groups.
|
7074
|
-
#
|
7075
|
-
# given
|
7076
|
-
# @param [String] name
|
7077
|
-
# Required.
|
7078
|
-
#
|
7079
|
-
# Dimensions let you view metrics in meaningful groupings
|
7080
|
-
# target_host
|
7081
|
-
# below `organizations/`org`/hostStats/apiproxy,request_verb`
|
7109
|
+
# groups. You can optionally pass dimensions as path parameters to the `stats`
|
7110
|
+
# API. If dimensions are not specified, the metrics are computed on the entire
|
7111
|
+
# set of data for the given time range.
|
7112
|
+
# @param [String] name
|
7113
|
+
# Required. Resource name for which the interactive query will be executed. Use
|
7114
|
+
# the following format in your request: `organizations/`org`/hostStats/`
|
7115
|
+
# dimensions`` Dimensions let you view metrics in meaningful groupings, such as `
|
7116
|
+
# apiproxy`, `target_host`. The value of dimensions should be a comma-separated
|
7117
|
+
# list as shown below `organizations/`org`/hostStats/apiproxy,request_verb`
|
7082
7118
|
# @param [String] accuracy
|
7083
|
-
#
|
7119
|
+
# No longer used by Apigee. Supported for backwards compatibility.
|
7084
7120
|
# @param [String] envgroup_hostname
|
7085
|
-
# Required.
|
7121
|
+
# Required. Hostname for which the interactive query will be executed.
|
7086
7122
|
# @param [String] filter
|
7087
|
-
#
|
7123
|
+
# Flag that enables drill-down on specific dimension values.
|
7088
7124
|
# @param [String] limit
|
7089
|
-
#
|
7090
|
-
#
|
7125
|
+
# Maximum number of result items to return. The default and maximum value that
|
7126
|
+
# can be returned is 14400.
|
7091
7127
|
# @param [String] offset
|
7092
|
-
# Use offset with limit to enable pagination of results. For
|
7093
|
-
# results 11-20, set limit to
|
7128
|
+
# Offset value. Use `offset` with `limit` to enable pagination of results. For
|
7129
|
+
# example, to display results 11-20, set limit to `10` and offset to `10`.
|
7094
7130
|
# @param [Boolean] realtime
|
7095
|
-
#
|
7131
|
+
# No longer used by Apigee. Supported for backwards compatibility.
|
7096
7132
|
# @param [String] select
|
7097
|
-
#
|
7098
|
-
#
|
7133
|
+
# Comma-separated list of metrics. For example: `sum(message_count),sum(
|
7134
|
+
# error_count)`
|
7099
7135
|
# @param [String] sort
|
7100
|
-
#
|
7101
|
-
#
|
7136
|
+
# Flag that specifies if the sort order should be ascending or descending. Valid
|
7137
|
+
# values are `DESC` and `ASC`.
|
7102
7138
|
# @param [String] sortby
|
7103
|
-
# Comma
|
7139
|
+
# Comma-separated list of columns to sort the final result.
|
7104
7140
|
# @param [String] time_range
|
7105
|
-
# Time interval for the interactive query. Time range is specified as
|
7106
|
-
#
|
7141
|
+
# Time interval for the interactive query. Time range is specified in GMT as `
|
7142
|
+
# start~end`. For example: `04/15/2017 00:00~05/15/2017 23:59`
|
7107
7143
|
# @param [String] time_unit
|
7108
|
-
#
|
7109
|
-
#
|
7144
|
+
# Granularity of metrics returned. Valid values include: `second`, `minute`, `
|
7145
|
+
# hour`, `day`, `week`, or `month`.
|
7110
7146
|
# @param [String] topk
|
7111
|
-
#
|
7112
|
-
# topk=5
|
7147
|
+
# Top number of results to return. For example, to return the top 5 results, set
|
7148
|
+
# `topk=5`.
|
7113
7149
|
# @param [Boolean] ts_ascending
|
7114
|
-
#
|
7115
|
-
#
|
7150
|
+
# Flag that specifies whether to list timestamps in ascending (`true`) or
|
7151
|
+
# descending (`false`) order. Apigee recommends that you set this value to `true`
|
7152
|
+
# if you are using `sortby` with `sort=DESC`.
|
7116
7153
|
# @param [String] tzo
|
7117
|
-
#
|
7154
|
+
# Timezone offset value.
|
7118
7155
|
# @param [String] fields
|
7119
7156
|
# Selector specifying which fields to include in a partial response.
|
7120
7157
|
# @param [String] quota_user
|
@@ -7887,49 +7924,51 @@ module Google
|
|
7887
7924
|
execute_or_queue_command(command, &block)
|
7888
7925
|
end
|
7889
7926
|
|
7890
|
-
#
|
7927
|
+
# Similar to GetHostStats except that the response is less verbose.
|
7891
7928
|
# @param [String] name
|
7892
|
-
# Required.
|
7893
|
-
#
|
7894
|
-
# dimensions
|
7895
|
-
#
|
7896
|
-
# as shown below `organizations/`org`/
|
7929
|
+
# Required. Resource name for which the interactive query will be executed. Use
|
7930
|
+
# the following format in your request: `organizations/`organization_id`/
|
7931
|
+
# optimizedHostStats/`dimensions`` Dimensions let you view metrics in meaningful
|
7932
|
+
# groupings, such as `apiproxy`, `target_host`. The value of dimensions should
|
7933
|
+
# be a comma-separated list as shown below: `organizations/`org`/
|
7934
|
+
# optimizedHostStats/apiproxy,request_verb`
|
7897
7935
|
# @param [String] accuracy
|
7898
|
-
#
|
7936
|
+
# No longer used by Apigee. Supported for backwards compatibility.
|
7899
7937
|
# @param [String] envgroup_hostname
|
7900
|
-
# Required.
|
7938
|
+
# Required. Hostname for which the interactive query will be executed.
|
7901
7939
|
# @param [String] filter
|
7902
|
-
#
|
7940
|
+
# Filter that enables you to drill-down on specific dimension values.
|
7903
7941
|
# @param [String] limit
|
7904
|
-
#
|
7905
|
-
#
|
7942
|
+
# Maximum number of result items to return. The default and maximum value that
|
7943
|
+
# can be returned is 14400.
|
7906
7944
|
# @param [String] offset
|
7907
|
-
# Use offset with limit to enable pagination of results. For
|
7908
|
-
# results 11-20, set limit to
|
7945
|
+
# Offset value. Use `offset` with `limit` to enable pagination of results. For
|
7946
|
+
# example, to display results 11-20, set limit to `10` and offset to `10`.
|
7909
7947
|
# @param [Boolean] realtime
|
7910
|
-
#
|
7948
|
+
# No longer used by Apigee. Supported for backwards compatibility.
|
7911
7949
|
# @param [String] select
|
7912
|
-
# Required.
|
7913
|
-
# sum(
|
7950
|
+
# Required. Comma-separated list of metrics. For example: `sum(message_count),
|
7951
|
+
# sum(error_count)`
|
7914
7952
|
# @param [String] sort
|
7915
|
-
#
|
7916
|
-
#
|
7953
|
+
# Flag that specifies whether the sort order should be ascending or descending.
|
7954
|
+
# Valid values include `DESC` and `ASC`.
|
7917
7955
|
# @param [String] sortby
|
7918
|
-
# Comma
|
7956
|
+
# Comma-separated list of columns used to sort the final result.
|
7919
7957
|
# @param [String] time_range
|
7920
|
-
# Required. Time interval for the interactive query. Time range is specified
|
7921
|
-
# start~end
|
7958
|
+
# Required. Time interval for the interactive query. Time range is specified in
|
7959
|
+
# GMT as `start~end`. For example: `04/15/2017 00:00~05/15/2017 23:59`.
|
7922
7960
|
# @param [String] time_unit
|
7923
|
-
#
|
7924
|
-
#
|
7961
|
+
# Granularity of metrics returned. Valid values include: `second`, `minute`, `
|
7962
|
+
# hour`, `day`, `week`, or `month`.
|
7925
7963
|
# @param [String] topk
|
7926
|
-
#
|
7927
|
-
# topk=5
|
7964
|
+
# Top number of results to return. For example, to return the top 5 results, set
|
7965
|
+
# `topk=5`.
|
7928
7966
|
# @param [Boolean] ts_ascending
|
7929
|
-
#
|
7930
|
-
#
|
7967
|
+
# Flag that specifies whether to list timestamps in ascending (`true`) or
|
7968
|
+
# descending (`false`) order. Apigee recommends that you set this value to `true`
|
7969
|
+
# if you are using `sortby` with `sort=DESC`.
|
7931
7970
|
# @param [String] tzo
|
7932
|
-
#
|
7971
|
+
# Timezone offset value.
|
7933
7972
|
# @param [String] fields
|
7934
7973
|
# Selector specifying which fields to include in a partial response.
|
7935
7974
|
# @param [String] quota_user
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.29.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-12-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-apigee_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-apigee_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-apigee_v1/v0.29.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-apigee_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|