google-apis-apigee_v1 0.52.0 → 0.53.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 49ad84f10ac8fa92cab5ab85f5fd05f9344b9ee7f3ee85be431e6e4b1e91c555
4
- data.tar.gz: 9985013a8c4c11e5baf1242ef70e83da3768f6c2d6467ef28af15dad6cc5f529
3
+ metadata.gz: 8345972228cffd551439f1a3312b0f79b9a7e6dae23e525f8a560073eefc19b7
4
+ data.tar.gz: a7a6538b0b5235d4bf902ca5a694cf120ebfc0f9532f59559c4af7d00df16c22
5
5
  SHA512:
6
- metadata.gz: '0099da4979597b2faa4027d6e23584c4e93a5916c81823b6838c6fddd3d8f71c30d16ba8f33b1d0cc580942601f130ae73610bb6d7088011a01b197e18081484'
7
- data.tar.gz: 81bc5f9d2e4d999ae561f4ef763f23cdd9552a4c2de7b424ef83fc6e142ce7e94e370a55e6b3bb0e2934d9e971c5d3d19e7e5b0e3069db05d0eb70525d5c980e
6
+ metadata.gz: ff11bbbe76c4b2848bdd33299c7193df3e4f49cdbb950ae51a634287546d257fc87cd85b9ba085a39687e1c2ba48643776c60a6cbeefbc90365331b341ee1bfc
7
+ data.tar.gz: b36c202e68da707fabdb3427fc22ee2535de52f1a8ce9b681c89a4965fa207fadd3a1b4b4bab63c8fbb4ecb7580c1eb745158b32169efb3a75b8f2fcc81eb4bf
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-apigee_v1
2
2
 
3
+ ### v0.53.0 (2022-08-09)
4
+
5
+ * Regenerated from discovery document revision 20220804
6
+
3
7
  ### v0.52.0 (2022-08-02)
4
8
 
5
9
  * Regenerated from discovery document revision 20220728
@@ -3197,6 +3197,12 @@ module Google
3197
3197
  # @return [String]
3198
3198
  attr_accessor :name
3199
3199
 
3200
+ # NodeConfig for setting the min/max number of nodes associated with the
3201
+ # environment.
3202
+ # Corresponds to the JSON property `nodeConfig`
3203
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1NodeConfig]
3204
+ attr_accessor :node_config
3205
+
3200
3206
  # Message for compatibility with legacy Edge specification for Java Properties
3201
3207
  # object in JSON.
3202
3208
  # Corresponds to the JSON property `properties`
@@ -3223,6 +3229,7 @@ module Google
3223
3229
  @forward_proxy_uri = args[:forward_proxy_uri] if args.key?(:forward_proxy_uri)
3224
3230
  @last_modified_at = args[:last_modified_at] if args.key?(:last_modified_at)
3225
3231
  @name = args[:name] if args.key?(:name)
3232
+ @node_config = args[:node_config] if args.key?(:node_config)
3226
3233
  @properties = args[:properties] if args.key?(:properties)
3227
3234
  @state = args[:state] if args.key?(:state)
3228
3235
  end
@@ -5212,6 +5219,38 @@ module Google
5212
5219
  end
5213
5220
  end
5214
5221
 
5222
+ # The optionally aggregated metric to query with its ordering.
5223
+ class GoogleCloudApigeeV1MetricAggregation
5224
+ include Google::Apis::Core::Hashable
5225
+
5226
+ # Aggregation function associated with the metric.
5227
+ # Corresponds to the JSON property `aggregation`
5228
+ # @return [String]
5229
+ attr_accessor :aggregation
5230
+
5231
+ # Name of the metric
5232
+ # Corresponds to the JSON property `name`
5233
+ # @return [String]
5234
+ attr_accessor :name
5235
+
5236
+ # Ordering for this aggregation in the result. For time series this is ignored
5237
+ # since the ordering of points depends only on the timestamp, not the values.
5238
+ # Corresponds to the JSON property `order`
5239
+ # @return [String]
5240
+ attr_accessor :order
5241
+
5242
+ def initialize(**args)
5243
+ update!(**args)
5244
+ end
5245
+
5246
+ # Update properties of this object
5247
+ def update!(**args)
5248
+ @aggregation = args[:aggregation] if args.key?(:aggregation)
5249
+ @name = args[:name] if args.key?(:name)
5250
+ @order = args[:order] if args.key?(:order)
5251
+ end
5252
+ end
5253
+
5215
5254
  # Configuration for the Monetization add-on.
5216
5255
  class GoogleCloudApigeeV1MonetizationConfig
5217
5256
  include Google::Apis::Core::Hashable
@@ -5264,6 +5303,45 @@ module Google
5264
5303
  end
5265
5304
  end
5266
5305
 
5306
+ # NodeConfig for setting the min/max number of nodes associated with the
5307
+ # environment.
5308
+ class GoogleCloudApigeeV1NodeConfig
5309
+ include Google::Apis::Core::Hashable
5310
+
5311
+ # Output only. The current total number of gateway nodes that each environment
5312
+ # currently has across all instances.
5313
+ # Corresponds to the JSON property `currentAggregateNodeCount`
5314
+ # @return [Fixnum]
5315
+ attr_accessor :current_aggregate_node_count
5316
+
5317
+ # Optional. The maximum total number of gateway nodes that the is reserved for
5318
+ # all instances that has the specified environment. If not specified, the
5319
+ # default is determined by the recommended maximum number of nodes for that
5320
+ # gateway.
5321
+ # Corresponds to the JSON property `maxNodeCount`
5322
+ # @return [Fixnum]
5323
+ attr_accessor :max_node_count
5324
+
5325
+ # Optional. The minimum total number of gateway nodes that the is reserved for
5326
+ # all instances that has the specified environment. If not specified, the
5327
+ # default is determined by the recommended minimum number of nodes for that
5328
+ # gateway.
5329
+ # Corresponds to the JSON property `minNodeCount`
5330
+ # @return [Fixnum]
5331
+ attr_accessor :min_node_count
5332
+
5333
+ def initialize(**args)
5334
+ update!(**args)
5335
+ end
5336
+
5337
+ # Update properties of this object
5338
+ def update!(**args)
5339
+ @current_aggregate_node_count = args[:current_aggregate_node_count] if args.key?(:current_aggregate_node_count)
5340
+ @max_node_count = args[:max_node_count] if args.key?(:max_node_count)
5341
+ @min_node_count = args[:min_node_count] if args.key?(:min_node_count)
5342
+ end
5343
+ end
5344
+
5267
5345
  # Represents the pairing of REST resource path and the actions (verbs) allowed
5268
5346
  # on the resource path.
5269
5347
  class GoogleCloudApigeeV1Operation
@@ -6138,6 +6216,226 @@ module Google
6138
6216
  end
6139
6217
  end
6140
6218
 
6219
+ # Request payload representing the query to be run for fetching security
6220
+ # statistics as rows.
6221
+ class GoogleCloudApigeeV1QueryTabularStatsRequest
6222
+ include Google::Apis::Core::Hashable
6223
+
6224
+ # Required. List of dimension names to group the aggregations by.
6225
+ # Corresponds to the JSON property `dimensions`
6226
+ # @return [Array<String>]
6227
+ attr_accessor :dimensions
6228
+
6229
+ # Filter further on specific dimension values. Follows the same grammar as
6230
+ # custom report's filter expressions. Example, apiproxy eq 'foobar'. https://
6231
+ # cloud.google.com/apigee/docs/api-platform/analytics/analytics-reference#
6232
+ # filters
6233
+ # Corresponds to the JSON property `filter`
6234
+ # @return [String]
6235
+ attr_accessor :filter
6236
+
6237
+ # Required. List of metrics and their aggregations.
6238
+ # Corresponds to the JSON property `metrics`
6239
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1MetricAggregation>]
6240
+ attr_accessor :metrics
6241
+
6242
+ # Page size represents the number of rows.
6243
+ # Corresponds to the JSON property `pageSize`
6244
+ # @return [Fixnum]
6245
+ attr_accessor :page_size
6246
+
6247
+ # Identifies a sequence of rows.
6248
+ # Corresponds to the JSON property `pageToken`
6249
+ # @return [String]
6250
+ attr_accessor :page_token
6251
+
6252
+ # Represents a time interval, encoded as a Timestamp start (inclusive) and a
6253
+ # Timestamp end (exclusive). The start must be less than or equal to the end.
6254
+ # When the start equals the end, the interval is empty (matches no time). When
6255
+ # both start and end are unspecified, the interval matches any time.
6256
+ # Corresponds to the JSON property `timeRange`
6257
+ # @return [Google::Apis::ApigeeV1::GoogleTypeInterval]
6258
+ attr_accessor :time_range
6259
+
6260
+ def initialize(**args)
6261
+ update!(**args)
6262
+ end
6263
+
6264
+ # Update properties of this object
6265
+ def update!(**args)
6266
+ @dimensions = args[:dimensions] if args.key?(:dimensions)
6267
+ @filter = args[:filter] if args.key?(:filter)
6268
+ @metrics = args[:metrics] if args.key?(:metrics)
6269
+ @page_size = args[:page_size] if args.key?(:page_size)
6270
+ @page_token = args[:page_token] if args.key?(:page_token)
6271
+ @time_range = args[:time_range] if args.key?(:time_range)
6272
+ end
6273
+ end
6274
+
6275
+ # Encapsulates two kinds of stats that are results of the dimensions and
6276
+ # aggregations requested. - Tabular rows. - Time series data. Example of tabular
6277
+ # rows, Represents security stats results as a row of flat values.
6278
+ class GoogleCloudApigeeV1QueryTabularStatsResponse
6279
+ include Google::Apis::Core::Hashable
6280
+
6281
+ # Column names corresponding to the same order as the inner values in the stats
6282
+ # field.
6283
+ # Corresponds to the JSON property `columns`
6284
+ # @return [Array<String>]
6285
+ attr_accessor :columns
6286
+
6287
+ # Next page token.
6288
+ # Corresponds to the JSON property `nextPageToken`
6289
+ # @return [String]
6290
+ attr_accessor :next_page_token
6291
+
6292
+ # Resultant rows from the executed query.
6293
+ # Corresponds to the JSON property `values`
6294
+ # @return [Array<Array<Object>>]
6295
+ attr_accessor :values
6296
+
6297
+ def initialize(**args)
6298
+ update!(**args)
6299
+ end
6300
+
6301
+ # Update properties of this object
6302
+ def update!(**args)
6303
+ @columns = args[:columns] if args.key?(:columns)
6304
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
6305
+ @values = args[:values] if args.key?(:values)
6306
+ end
6307
+ end
6308
+
6309
+ # QueryTimeSeriesStatsRequest represents a query that returns a collection of
6310
+ # time series sequences grouped by their values.
6311
+ class GoogleCloudApigeeV1QueryTimeSeriesStatsRequest
6312
+ include Google::Apis::Core::Hashable
6313
+
6314
+ # List of dimension names to group the aggregations by. If no dimensions are
6315
+ # passed, a single trend line representing the requested metric aggregations
6316
+ # grouped by environment is returned.
6317
+ # Corresponds to the JSON property `dimensions`
6318
+ # @return [Array<String>]
6319
+ attr_accessor :dimensions
6320
+
6321
+ # Filter further on specific dimension values. Follows the same grammar as
6322
+ # custom report's filter expressions. Example, apiproxy eq 'foobar'. https://
6323
+ # cloud.google.com/apigee/docs/api-platform/analytics/analytics-reference#
6324
+ # filters
6325
+ # Corresponds to the JSON property `filter`
6326
+ # @return [String]
6327
+ attr_accessor :filter
6328
+
6329
+ # Required. List of metrics and their aggregations.
6330
+ # Corresponds to the JSON property `metrics`
6331
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1MetricAggregation>]
6332
+ attr_accessor :metrics
6333
+
6334
+ # Page size represents the number of time series sequences, one per unique set
6335
+ # of dimensions and their values.
6336
+ # Corresponds to the JSON property `pageSize`
6337
+ # @return [Fixnum]
6338
+ attr_accessor :page_size
6339
+
6340
+ # Page token stands for a specific collection of time series sequences.
6341
+ # Corresponds to the JSON property `pageToken`
6342
+ # @return [String]
6343
+ attr_accessor :page_token
6344
+
6345
+ # Represents a time interval, encoded as a Timestamp start (inclusive) and a
6346
+ # Timestamp end (exclusive). The start must be less than or equal to the end.
6347
+ # When the start equals the end, the interval is empty (matches no time). When
6348
+ # both start and end are unspecified, the interval matches any time.
6349
+ # Corresponds to the JSON property `timeRange`
6350
+ # @return [Google::Apis::ApigeeV1::GoogleTypeInterval]
6351
+ attr_accessor :time_range
6352
+
6353
+ # Order the sequences in increasing or decreasing order of timestamps. Default
6354
+ # is descending order of timestamps (latest first).
6355
+ # Corresponds to the JSON property `timestampOrder`
6356
+ # @return [String]
6357
+ attr_accessor :timestamp_order
6358
+
6359
+ # Time buckets to group the stats by.
6360
+ # Corresponds to the JSON property `windowSize`
6361
+ # @return [String]
6362
+ attr_accessor :window_size
6363
+
6364
+ def initialize(**args)
6365
+ update!(**args)
6366
+ end
6367
+
6368
+ # Update properties of this object
6369
+ def update!(**args)
6370
+ @dimensions = args[:dimensions] if args.key?(:dimensions)
6371
+ @filter = args[:filter] if args.key?(:filter)
6372
+ @metrics = args[:metrics] if args.key?(:metrics)
6373
+ @page_size = args[:page_size] if args.key?(:page_size)
6374
+ @page_token = args[:page_token] if args.key?(:page_token)
6375
+ @time_range = args[:time_range] if args.key?(:time_range)
6376
+ @timestamp_order = args[:timestamp_order] if args.key?(:timestamp_order)
6377
+ @window_size = args[:window_size] if args.key?(:window_size)
6378
+ end
6379
+ end
6380
+
6381
+ # Represents security stats result as a collection of time series sequences.
6382
+ class GoogleCloudApigeeV1QueryTimeSeriesStatsResponse
6383
+ include Google::Apis::Core::Hashable
6384
+
6385
+ # Column names corresponding to the same order as the inner values in the stats
6386
+ # field.
6387
+ # Corresponds to the JSON property `columns`
6388
+ # @return [Array<String>]
6389
+ attr_accessor :columns
6390
+
6391
+ # Next page token.
6392
+ # Corresponds to the JSON property `nextPageToken`
6393
+ # @return [String]
6394
+ attr_accessor :next_page_token
6395
+
6396
+ # Results of the query returned as a JSON array.
6397
+ # Corresponds to the JSON property `values`
6398
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1QueryTimeSeriesStatsResponseSequence>]
6399
+ attr_accessor :values
6400
+
6401
+ def initialize(**args)
6402
+ update!(**args)
6403
+ end
6404
+
6405
+ # Update properties of this object
6406
+ def update!(**args)
6407
+ @columns = args[:columns] if args.key?(:columns)
6408
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
6409
+ @values = args[:values] if args.key?(:values)
6410
+ end
6411
+ end
6412
+
6413
+ # A sequence of time series.
6414
+ class GoogleCloudApigeeV1QueryTimeSeriesStatsResponseSequence
6415
+ include Google::Apis::Core::Hashable
6416
+
6417
+ # Map of dimensions and their values that uniquely identifies a time series
6418
+ # sequence.
6419
+ # Corresponds to the JSON property `dimensions`
6420
+ # @return [Hash<String,String>]
6421
+ attr_accessor :dimensions
6422
+
6423
+ # List of points. First value of each inner list is a timestamp.
6424
+ # Corresponds to the JSON property `points`
6425
+ # @return [Array<Array<Object>>]
6426
+ attr_accessor :points
6427
+
6428
+ def initialize(**args)
6429
+ update!(**args)
6430
+ end
6431
+
6432
+ # Update properties of this object
6433
+ def update!(**args)
6434
+ @dimensions = args[:dimensions] if args.key?(:dimensions)
6435
+ @points = args[:points] if args.key?(:points)
6436
+ end
6437
+ end
6438
+
6141
6439
  # Quota contains the essential parameters needed that can be applied on the
6142
6440
  # resources, methods, API source combination associated with this API product.
6143
6441
  # While Quota is optional, setting it prevents requests from exceeding the
@@ -8742,25 +9040,28 @@ module Google
8742
9040
  # anyone who is authenticated with a Google account or a service account. * `
8743
9041
  # user:`emailid``: An email address that represents a specific Google account.
8744
9042
  # For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
8745
- # address that represents a service account. For example, `my-other-app@appspot.
8746
- # gserviceaccount.com`. * `group:`emailid``: An email address that represents a
8747
- # Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid=
8748
- # `uniqueid``: An email address (plus unique identifier) representing a user
8749
- # that has been recently deleted. For example, `alice@example.com?uid=
8750
- # 123456789012345678901`. If the user is recovered, this value reverts to `user:`
8751
- # emailid`` and the recovered user retains the role in the binding. * `deleted:
8752
- # serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique
8753
- # identifier) representing a service account that has been recently deleted. For
8754
- # example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
8755
- # If the service account is undeleted, this value reverts to `serviceAccount:`
8756
- # emailid`` and the undeleted service account retains the role in the binding. *
8757
- # `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
8758
- # identifier) representing a Google group that has been recently deleted. For
8759
- # example, `admins@example.com?uid=123456789012345678901`. If the group is
8760
- # recovered, this value reverts to `group:`emailid`` and the recovered group
8761
- # retains the role in the binding. * `domain:`domain``: The G Suite domain (
8762
- # primary) that represents all the users of that domain. For example, `google.
8763
- # com` or `example.com`.
9043
+ # address that represents a Google service account. For example, `my-other-app@
9044
+ # appspot.gserviceaccount.com`. * `serviceAccount:`projectid`.svc.id.goog[`
9045
+ # namespace`/`kubernetes-sa`]`: An identifier for a [Kubernetes service account](
9046
+ # https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-
9047
+ # accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`
9048
+ # . * `group:`emailid``: An email address that represents a Google group. For
9049
+ # example, `admins@example.com`. * `deleted:user:`emailid`?uid=`uniqueid``: An
9050
+ # email address (plus unique identifier) representing a user that has been
9051
+ # recently deleted. For example, `alice@example.com?uid=123456789012345678901`.
9052
+ # If the user is recovered, this value reverts to `user:`emailid`` and the
9053
+ # recovered user retains the role in the binding. * `deleted:serviceAccount:`
9054
+ # emailid`?uid=`uniqueid``: An email address (plus unique identifier)
9055
+ # representing a service account that has been recently deleted. For example, `
9056
+ # my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the
9057
+ # service account is undeleted, this value reverts to `serviceAccount:`emailid``
9058
+ # and the undeleted service account retains the role in the binding. * `deleted:
9059
+ # group:`emailid`?uid=`uniqueid``: An email address (plus unique identifier)
9060
+ # representing a Google group that has been recently deleted. For example, `
9061
+ # admins@example.com?uid=123456789012345678901`. If the group is recovered, this
9062
+ # value reverts to `group:`emailid`` and the recovered group retains the role in
9063
+ # the binding. * `domain:`domain``: The G Suite domain (primary) that represents
9064
+ # all the users of that domain. For example, `google.com` or `example.com`.
8764
9065
  # Corresponds to the JSON property `members`
8765
9066
  # @return [Array<String>]
8766
9067
  attr_accessor :members
@@ -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.52.0"
19
+ GEM_VERSION = "0.53.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220728"
25
+ REVISION = "20220804"
26
26
  end
27
27
  end
28
28
  end
@@ -814,6 +814,12 @@ module Google
814
814
  include Google::Apis::Core::JsonObjectSupport
815
815
  end
816
816
 
817
+ class GoogleCloudApigeeV1MetricAggregation
818
+ class Representation < Google::Apis::Core::JsonRepresentation; end
819
+
820
+ include Google::Apis::Core::JsonObjectSupport
821
+ end
822
+
817
823
  class GoogleCloudApigeeV1MonetizationConfig
818
824
  class Representation < Google::Apis::Core::JsonRepresentation; end
819
825
 
@@ -826,6 +832,12 @@ module Google
826
832
  include Google::Apis::Core::JsonObjectSupport
827
833
  end
828
834
 
835
+ class GoogleCloudApigeeV1NodeConfig
836
+ class Representation < Google::Apis::Core::JsonRepresentation; end
837
+
838
+ include Google::Apis::Core::JsonObjectSupport
839
+ end
840
+
829
841
  class GoogleCloudApigeeV1Operation
830
842
  class Representation < Google::Apis::Core::JsonRepresentation; end
831
843
 
@@ -934,6 +946,36 @@ module Google
934
946
  include Google::Apis::Core::JsonObjectSupport
935
947
  end
936
948
 
949
+ class GoogleCloudApigeeV1QueryTabularStatsRequest
950
+ class Representation < Google::Apis::Core::JsonRepresentation; end
951
+
952
+ include Google::Apis::Core::JsonObjectSupport
953
+ end
954
+
955
+ class GoogleCloudApigeeV1QueryTabularStatsResponse
956
+ class Representation < Google::Apis::Core::JsonRepresentation; end
957
+
958
+ include Google::Apis::Core::JsonObjectSupport
959
+ end
960
+
961
+ class GoogleCloudApigeeV1QueryTimeSeriesStatsRequest
962
+ class Representation < Google::Apis::Core::JsonRepresentation; end
963
+
964
+ include Google::Apis::Core::JsonObjectSupport
965
+ end
966
+
967
+ class GoogleCloudApigeeV1QueryTimeSeriesStatsResponse
968
+ class Representation < Google::Apis::Core::JsonRepresentation; end
969
+
970
+ include Google::Apis::Core::JsonObjectSupport
971
+ end
972
+
973
+ class GoogleCloudApigeeV1QueryTimeSeriesStatsResponseSequence
974
+ class Representation < Google::Apis::Core::JsonRepresentation; end
975
+
976
+ include Google::Apis::Core::JsonObjectSupport
977
+ end
978
+
937
979
  class GoogleCloudApigeeV1Quota
938
980
  class Representation < Google::Apis::Core::JsonRepresentation; end
939
981
 
@@ -2179,6 +2221,8 @@ module Google
2179
2221
  property :forward_proxy_uri, as: 'forwardProxyUri'
2180
2222
  property :last_modified_at, :numeric_string => true, as: 'lastModifiedAt'
2181
2223
  property :name, as: 'name'
2224
+ property :node_config, as: 'nodeConfig', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1NodeConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1NodeConfig::Representation
2225
+
2182
2226
  property :properties, as: 'properties', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Properties, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Properties::Representation
2183
2227
 
2184
2228
  property :state, as: 'state'
@@ -2788,6 +2832,15 @@ module Google
2788
2832
  end
2789
2833
  end
2790
2834
 
2835
+ class GoogleCloudApigeeV1MetricAggregation
2836
+ # @private
2837
+ class Representation < Google::Apis::Core::JsonRepresentation
2838
+ property :aggregation, as: 'aggregation'
2839
+ property :name, as: 'name'
2840
+ property :order, as: 'order'
2841
+ end
2842
+ end
2843
+
2791
2844
  class GoogleCloudApigeeV1MonetizationConfig
2792
2845
  # @private
2793
2846
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2804,6 +2857,15 @@ module Google
2804
2857
  end
2805
2858
  end
2806
2859
 
2860
+ class GoogleCloudApigeeV1NodeConfig
2861
+ # @private
2862
+ class Representation < Google::Apis::Core::JsonRepresentation
2863
+ property :current_aggregate_node_count, :numeric_string => true, as: 'currentAggregateNodeCount'
2864
+ property :max_node_count, :numeric_string => true, as: 'maxNodeCount'
2865
+ property :min_node_count, :numeric_string => true, as: 'minNodeCount'
2866
+ end
2867
+ end
2868
+
2807
2869
  class GoogleCloudApigeeV1Operation
2808
2870
  # @private
2809
2871
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3014,6 +3076,71 @@ module Google
3014
3076
  end
3015
3077
  end
3016
3078
 
3079
+ class GoogleCloudApigeeV1QueryTabularStatsRequest
3080
+ # @private
3081
+ class Representation < Google::Apis::Core::JsonRepresentation
3082
+ collection :dimensions, as: 'dimensions'
3083
+ property :filter, as: 'filter'
3084
+ collection :metrics, as: 'metrics', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1MetricAggregation, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1MetricAggregation::Representation
3085
+
3086
+ property :page_size, as: 'pageSize'
3087
+ property :page_token, as: 'pageToken'
3088
+ property :time_range, as: 'timeRange', class: Google::Apis::ApigeeV1::GoogleTypeInterval, decorator: Google::Apis::ApigeeV1::GoogleTypeInterval::Representation
3089
+
3090
+ end
3091
+ end
3092
+
3093
+ class GoogleCloudApigeeV1QueryTabularStatsResponse
3094
+ # @private
3095
+ class Representation < Google::Apis::Core::JsonRepresentation
3096
+ collection :columns, as: 'columns'
3097
+ property :next_page_token, as: 'nextPageToken'
3098
+ collection :values, as: 'values', :class => Array do
3099
+ include Representable::JSON::Collection
3100
+ items
3101
+ end
3102
+
3103
+ end
3104
+ end
3105
+
3106
+ class GoogleCloudApigeeV1QueryTimeSeriesStatsRequest
3107
+ # @private
3108
+ class Representation < Google::Apis::Core::JsonRepresentation
3109
+ collection :dimensions, as: 'dimensions'
3110
+ property :filter, as: 'filter'
3111
+ collection :metrics, as: 'metrics', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1MetricAggregation, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1MetricAggregation::Representation
3112
+
3113
+ property :page_size, as: 'pageSize'
3114
+ property :page_token, as: 'pageToken'
3115
+ property :time_range, as: 'timeRange', class: Google::Apis::ApigeeV1::GoogleTypeInterval, decorator: Google::Apis::ApigeeV1::GoogleTypeInterval::Representation
3116
+
3117
+ property :timestamp_order, as: 'timestampOrder'
3118
+ property :window_size, as: 'windowSize'
3119
+ end
3120
+ end
3121
+
3122
+ class GoogleCloudApigeeV1QueryTimeSeriesStatsResponse
3123
+ # @private
3124
+ class Representation < Google::Apis::Core::JsonRepresentation
3125
+ collection :columns, as: 'columns'
3126
+ property :next_page_token, as: 'nextPageToken'
3127
+ collection :values, as: 'values', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1QueryTimeSeriesStatsResponseSequence, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1QueryTimeSeriesStatsResponseSequence::Representation
3128
+
3129
+ end
3130
+ end
3131
+
3132
+ class GoogleCloudApigeeV1QueryTimeSeriesStatsResponseSequence
3133
+ # @private
3134
+ class Representation < Google::Apis::Core::JsonRepresentation
3135
+ hash :dimensions, as: 'dimensions'
3136
+ collection :points, as: 'points', :class => Array do
3137
+ include Representable::JSON::Collection
3138
+ items
3139
+ end
3140
+
3141
+ end
3142
+ end
3143
+
3017
3144
  class GoogleCloudApigeeV1Quota
3018
3145
  # @private
3019
3146
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4358,6 +4358,44 @@ module Google
4358
4358
  execute_or_queue_command(command, &block)
4359
4359
  end
4360
4360
 
4361
+ # Updates properties for an Apigee environment with patch semantics using a
4362
+ # field mask. **Note:** Not supported for Apigee hybrid.
4363
+ # @param [String] name
4364
+ # Required. Name of the environment. Use the following structure in your request:
4365
+ # `organizations/`org`/environments/`environment``.
4366
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Environment] google_cloud_apigee_v1_environment_object
4367
+ # @param [String] update_mask
4368
+ # List of fields to be updated. Fields that can be updated: node_config.
4369
+ # @param [String] fields
4370
+ # Selector specifying which fields to include in a partial response.
4371
+ # @param [String] quota_user
4372
+ # Available to use for quota purposes for server-side applications. Can be any
4373
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4374
+ # @param [Google::Apis::RequestOptions] options
4375
+ # Request-specific options
4376
+ #
4377
+ # @yield [result, err] Result & error if block supplied
4378
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleLongrunningOperation] parsed result object
4379
+ # @yieldparam err [StandardError] error object if request failed
4380
+ #
4381
+ # @return [Google::Apis::ApigeeV1::GoogleLongrunningOperation]
4382
+ #
4383
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4384
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4385
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4386
+ def modify_organization_environment_environment(name, google_cloud_apigee_v1_environment_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
4387
+ command = make_simple_command(:patch, 'v1/{+name}', options)
4388
+ command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Environment::Representation
4389
+ command.request_object = google_cloud_apigee_v1_environment_object
4390
+ command.response_representation = Google::Apis::ApigeeV1::GoogleLongrunningOperation::Representation
4391
+ command.response_class = Google::Apis::ApigeeV1::GoogleLongrunningOperation
4392
+ command.params['name'] = name unless name.nil?
4393
+ command.query['updateMask'] = update_mask unless update_mask.nil?
4394
+ command.query['fields'] = fields unless fields.nil?
4395
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4396
+ execute_or_queue_command(command, &block)
4397
+ end
4398
+
4361
4399
  # Sets the IAM policy on an environment, if the policy already exists it will be
4362
4400
  # replaced. For more information, see [Manage users, roles, and permissions
4363
4401
  # using the API](https://cloud.google.com/apigee/docs/api-platform/system-
@@ -7066,6 +7104,72 @@ module Google
7066
7104
  execute_or_queue_command(command, &block)
7067
7105
  end
7068
7106
 
7107
+ # Retrieve security statistics as tabular rows.
7108
+ # @param [String] orgenv
7109
+ # Required. Should be of the form organizations//environments/.
7110
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1QueryTabularStatsRequest] google_cloud_apigee_v1_query_tabular_stats_request_object
7111
+ # @param [String] fields
7112
+ # Selector specifying which fields to include in a partial response.
7113
+ # @param [String] quota_user
7114
+ # Available to use for quota purposes for server-side applications. Can be any
7115
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
7116
+ # @param [Google::Apis::RequestOptions] options
7117
+ # Request-specific options
7118
+ #
7119
+ # @yield [result, err] Result & error if block supplied
7120
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1QueryTabularStatsResponse] parsed result object
7121
+ # @yieldparam err [StandardError] error object if request failed
7122
+ #
7123
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1QueryTabularStatsResponse]
7124
+ #
7125
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
7126
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
7127
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
7128
+ def query_organization_environment_security_stat_tabular_stats(orgenv, google_cloud_apigee_v1_query_tabular_stats_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
7129
+ command = make_simple_command(:post, 'v1/{+orgenv}/securityStats:queryTabularStats', options)
7130
+ command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1QueryTabularStatsRequest::Representation
7131
+ command.request_object = google_cloud_apigee_v1_query_tabular_stats_request_object
7132
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1QueryTabularStatsResponse::Representation
7133
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1QueryTabularStatsResponse
7134
+ command.params['orgenv'] = orgenv unless orgenv.nil?
7135
+ command.query['fields'] = fields unless fields.nil?
7136
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
7137
+ execute_or_queue_command(command, &block)
7138
+ end
7139
+
7140
+ # Retrieve security statistics as a collection of time series.
7141
+ # @param [String] orgenv
7142
+ # Required. Should be of the form organizations//environments/.
7143
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1QueryTimeSeriesStatsRequest] google_cloud_apigee_v1_query_time_series_stats_request_object
7144
+ # @param [String] fields
7145
+ # Selector specifying which fields to include in a partial response.
7146
+ # @param [String] quota_user
7147
+ # Available to use for quota purposes for server-side applications. Can be any
7148
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
7149
+ # @param [Google::Apis::RequestOptions] options
7150
+ # Request-specific options
7151
+ #
7152
+ # @yield [result, err] Result & error if block supplied
7153
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1QueryTimeSeriesStatsResponse] parsed result object
7154
+ # @yieldparam err [StandardError] error object if request failed
7155
+ #
7156
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1QueryTimeSeriesStatsResponse]
7157
+ #
7158
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
7159
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
7160
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
7161
+ def query_organization_environment_security_stat_time_series_stats(orgenv, google_cloud_apigee_v1_query_time_series_stats_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
7162
+ command = make_simple_command(:post, 'v1/{+orgenv}/securityStats:queryTimeSeriesStats', options)
7163
+ command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1QueryTimeSeriesStatsRequest::Representation
7164
+ command.request_object = google_cloud_apigee_v1_query_time_series_stats_request_object
7165
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1QueryTimeSeriesStatsResponse::Representation
7166
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1QueryTimeSeriesStatsResponse
7167
+ command.params['orgenv'] = orgenv unless orgenv.nil?
7168
+ command.query['fields'] = fields unless fields.nil?
7169
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
7170
+ execute_or_queue_command(command, &block)
7171
+ end
7172
+
7069
7173
  # Lists all deployments of a shared flow in an environment.
7070
7174
  # @param [String] parent
7071
7175
  # Required. Name representing a shared flow in an environment in the following
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.52.0
4
+ version: 0.53.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: 2022-08-08 00:00:00.000000000 Z
11
+ date: 2022-08-15 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.52.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-apigee_v1/v0.53.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: []