google-apis-apigee_v1 0.50.0 → 0.53.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 94e6930539d4772735095c2e01d6688fe9289901bae997ee2a7dcb21f6ba9055
4
- data.tar.gz: 1797f099c7483036a75d8fdbbef192883653be976e6fca4ce0b4d1ee59f7f217
3
+ metadata.gz: 8345972228cffd551439f1a3312b0f79b9a7e6dae23e525f8a560073eefc19b7
4
+ data.tar.gz: a7a6538b0b5235d4bf902ca5a694cf120ebfc0f9532f59559c4af7d00df16c22
5
5
  SHA512:
6
- metadata.gz: c26ea29dc2eba6fe88366278da3f619ce6f871dc011a7a5717ddf43a8e09ae4af817fd24dbb14dcf5754785afd9dea35eb3da74f58a06dd05367a86c79533d57
7
- data.tar.gz: 146edc53c2e7101715942e898d6e15b57b32745bb02da1dbd847a081e336ae22dcd47d78046c6f6f828b9481217f814619ff87c8b24378a72e74c3438203f7db
6
+ metadata.gz: ff11bbbe76c4b2848bdd33299c7193df3e4f49cdbb950ae51a634287546d257fc87cd85b9ba085a39687e1c2ba48643776c60a6cbeefbc90365331b341ee1bfc
7
+ data.tar.gz: b36c202e68da707fabdb3427fc22ee2535de52f1a8ce9b681c89a4965fa207fadd3a1b4b4bab63c8fbb4ecb7580c1eb745158b32169efb3a75b8f2fcc81eb4bf
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
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
+
7
+ ### v0.52.0 (2022-08-02)
8
+
9
+ * Regenerated from discovery document revision 20220728
10
+
11
+ ### v0.51.0 (2022-07-27)
12
+
13
+ * Regenerated from discovery document revision 20220725
14
+
3
15
  ### v0.50.0 (2022-07-12)
4
16
 
5
17
  * Regenerated from discovery document revision 20220707
@@ -3062,8 +3062,9 @@ module Google
3062
3062
  end
3063
3063
  end
3064
3064
 
3065
- # Apigee endpoint attachment. For more information, see Southbound networking
3066
- # patterns.
3065
+ # Apigee endpoint attachment. For more information, see [Southbound networking
3066
+ # patterns] (https://cloud.google.com/apigee/docs/api-platform/architecture/
3067
+ # southbound-networking-patterns-endpoints).
3067
3068
  class GoogleCloudApigeeV1EndpointAttachment
3068
3069
  include Google::Apis::Core::Hashable
3069
3070
 
@@ -3196,6 +3197,12 @@ module Google
3196
3197
  # @return [String]
3197
3198
  attr_accessor :name
3198
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
+
3199
3206
  # Message for compatibility with legacy Edge specification for Java Properties
3200
3207
  # object in JSON.
3201
3208
  # Corresponds to the JSON property `properties`
@@ -3222,6 +3229,7 @@ module Google
3222
3229
  @forward_proxy_uri = args[:forward_proxy_uri] if args.key?(:forward_proxy_uri)
3223
3230
  @last_modified_at = args[:last_modified_at] if args.key?(:last_modified_at)
3224
3231
  @name = args[:name] if args.key?(:name)
3232
+ @node_config = args[:node_config] if args.key?(:node_config)
3225
3233
  @properties = args[:properties] if args.key?(:properties)
3226
3234
  @state = args[:state] if args.key?(:state)
3227
3235
  end
@@ -4056,14 +4064,14 @@ module Google
4056
4064
  # @return [String]
4057
4065
  attr_accessor :host
4058
4066
 
4059
- # Optional. IP range represents the customer-provided CIDR block of length 22
4060
- # that will be used for the Apigee instance creation. This optional range, if
4061
- # provided, should be freely available as part of larger named range the
4062
- # customer has allocated to the Service Networking peering. If this is not
4063
- # provided, Apigee will automatically request for any available /22 CIDR block
4064
- # from Service Networking. The customer should use this CIDR block for
4065
- # configuring their firewall needs to allow traffic from Apigee. Input format: "
4066
- # a.b.c.d/22", Output format: a.b.c.d/22, e.f.g.h/28"
4067
+ # Optional. Comma-separated list of CIDR blocks of length 22 and/or 28 used to
4068
+ # create the Apigee instance. Providing CIDR ranges is optional. You can provide
4069
+ # just /22 or /28 or both (or neither). Ranges you provide should be freely
4070
+ # available as part of a larger named range you have allocated to the Service
4071
+ # Networking peering. If this parameter is not provided, Apigee automatically
4072
+ # requests an available /22 and /28 CIDR block from Service Networking. Use the /
4073
+ # 22 CIDR block for configuring your firewall needs to allow traffic from Apigee.
4074
+ # Input formats: `a.b.c.d/22` or `e.f.g.h/28` or `a.b.c.d/22,e.f.g.h/28`
4067
4075
  # Corresponds to the JSON property `ipRange`
4068
4076
  # @return [String]
4069
4077
  attr_accessor :ip_range
@@ -4379,7 +4387,7 @@ module Google
4379
4387
  attr_accessor :aliases
4380
4388
 
4381
4389
  # Required. Resource ID for this keystore. Values must match the regular
4382
- # expression `[\w[:space:]-.]`1,255``.
4390
+ # expression `[\w[:space:].-]`1,255``.
4383
4391
  # Corresponds to the JSON property `name`
4384
4392
  # @return [String]
4385
4393
  attr_accessor :name
@@ -5211,6 +5219,38 @@ module Google
5211
5219
  end
5212
5220
  end
5213
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
+
5214
5254
  # Configuration for the Monetization add-on.
5215
5255
  class GoogleCloudApigeeV1MonetizationConfig
5216
5256
  include Google::Apis::Core::Hashable
@@ -5263,6 +5303,45 @@ module Google
5263
5303
  end
5264
5304
  end
5265
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
+
5266
5345
  # Represents the pairing of REST resource path and the actions (verbs) allowed
5267
5346
  # on the resource path.
5268
5347
  class GoogleCloudApigeeV1Operation
@@ -6137,6 +6216,226 @@ module Google
6137
6216
  end
6138
6217
  end
6139
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
+
6140
6439
  # Quota contains the essential parameters needed that can be applied on the
6141
6440
  # resources, methods, API source combination associated with this API product.
6142
6441
  # While Quota is optional, setting it prevents requests from exceeding the
@@ -8741,25 +9040,28 @@ module Google
8741
9040
  # anyone who is authenticated with a Google account or a service account. * `
8742
9041
  # user:`emailid``: An email address that represents a specific Google account.
8743
9042
  # For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
8744
- # address that represents a service account. For example, `my-other-app@appspot.
8745
- # gserviceaccount.com`. * `group:`emailid``: An email address that represents a
8746
- # Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid=
8747
- # `uniqueid``: An email address (plus unique identifier) representing a user
8748
- # that has been recently deleted. For example, `alice@example.com?uid=
8749
- # 123456789012345678901`. If the user is recovered, this value reverts to `user:`
8750
- # emailid`` and the recovered user retains the role in the binding. * `deleted:
8751
- # serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique
8752
- # identifier) representing a service account that has been recently deleted. For
8753
- # example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
8754
- # If the service account is undeleted, this value reverts to `serviceAccount:`
8755
- # emailid`` and the undeleted service account retains the role in the binding. *
8756
- # `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
8757
- # identifier) representing a Google group that has been recently deleted. For
8758
- # example, `admins@example.com?uid=123456789012345678901`. If the group is
8759
- # recovered, this value reverts to `group:`emailid`` and the recovered group
8760
- # retains the role in the binding. * `domain:`domain``: The G Suite domain (
8761
- # primary) that represents all the users of that domain. For example, `google.
8762
- # 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`.
8763
9065
  # Corresponds to the JSON property `members`
8764
9066
  # @return [Array<String>]
8765
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.50.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 = "20220707"
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
@@ -122,14 +122,14 @@ module Google
122
122
 
123
123
  # Delete an Apigee organization. For organizations with BillingType EVALUATION,
124
124
  # an immediate deletion is performed. For paid organizations, a soft-deletion is
125
- # performed. The organization can be restored within the soft-deletion period -
125
+ # performed. The organization can be restored within the soft-deletion period
126
126
  # which can be controlled using the retention field in the request.
127
127
  # @param [String] name
128
128
  # Required. Name of the organization. Use the following structure in your
129
129
  # request: `organizations/`org``
130
130
  # @param [String] retention
131
- # Optional. This setting is only applicable for organizations that are soft-
132
- # deleted (i.e. BillingType is not EVALUATION). It controls how long
131
+ # Optional. This setting is applicable only for organizations that are soft-
132
+ # deleted (i.e., BillingType is not EVALUATION). It controls how long
133
133
  # Organization data will be retained after the initial delete operation
134
134
  # completes. During this period, the Organization may be restored to its last
135
135
  # known state. After this period, the Organization will no longer be able to be
@@ -2675,26 +2675,25 @@ module Google
2675
2675
  # Manages access to a developer app by enabling you to: * Approve or revoke a
2676
2676
  # developer app * Generate a new consumer key and secret for a developer app To
2677
2677
  # approve or revoke a developer app, set the `action` query parameter to `
2678
- # approved` or `revoked`, respectively, and the `Content-Type` header to `
2678
+ # approve` or `revoke`, respectively, and the `Content-Type` header to `
2679
2679
  # application/octet-stream`. If a developer app is revoked, none of its API keys
2680
- # are valid for API calls even though the keys are still `approved`. If
2681
- # successful, the API call returns the following HTTP status code: `204 No
2682
- # Content` To generate a new consumer key and secret for a developer app, pass
2683
- # the new key/secret details. Rather than replace an existing key, this API
2684
- # generates a new key. In this case, multiple key pairs may be associated with a
2685
- # single developer app. Each key pair has an independent status (`approved` or `
2686
- # revoked`) and expiration time. Any approved, non-expired key can be used in an
2687
- # API call. For example, if you're using API key rotation, you can generate new
2688
- # keys with expiration times that overlap keys that are going to expire. You
2689
- # might also generate a new consumer key/secret if the security of the original
2690
- # key/secret is compromised. The `keyExpiresIn` property defines the expiration
2691
- # time for the API key in milliseconds. If you don't set this property or set it
2692
- # to `-1`, the API key never expires. **Notes**: * When generating a new key/
2693
- # secret, this API replaces the existing attributes, notes, and callback URLs
2694
- # with those specified in the request. Include or exclude any existing
2695
- # information that you want to retain or delete, respectively. * To migrate
2696
- # existing consumer keys and secrets to hybrid from another system, see the
2697
- # CreateDeveloperAppKey API.
2680
+ # are valid for API calls even though the keys are still approved. If successful,
2681
+ # the API call returns the following HTTP status code: `204 No Content` To
2682
+ # generate a new consumer key and secret for a developer app, pass the new key/
2683
+ # secret details. Rather than replace an existing key, this API generates a new
2684
+ # key. In this case, multiple key pairs may be associated with a single
2685
+ # developer app. Each key pair has an independent status (`approve` or `revoke`)
2686
+ # and expiration time. Any approved, non-expired key can be used in an API call.
2687
+ # For example, if you're using API key rotation, you can generate new keys with
2688
+ # expiration times that overlap keys that are going to expire. You might also
2689
+ # generate a new consumer key/secret if the security of the original key/secret
2690
+ # is compromised. The `keyExpiresIn` property defines the expiration time for
2691
+ # the API key in milliseconds. If you don't set this property or set it to `-1`,
2692
+ # the API key never expires. **Notes**: * When generating a new key/secret, this
2693
+ # API replaces the existing attributes, notes, and callback URLs with those
2694
+ # specified in the request. Include or exclude any existing information that you
2695
+ # want to retain or delete, respectively. * To migrate existing consumer keys
2696
+ # and secrets to hybrid from another system, see the CreateDeveloperAppKey API.
2698
2697
  # @param [String] name
2699
2698
  # Required. Name of the developer app. Use the following structure in your
2700
2699
  # request: `organizations/`org`/developers/`developer_email`/apps/`app``
@@ -4359,6 +4358,44 @@ module Google
4359
4358
  execute_or_queue_command(command, &block)
4360
4359
  end
4361
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
+
4362
4399
  # Sets the IAM policy on an environment, if the policy already exists it will be
4363
4400
  # replaced. For more information, see [Manage users, roles, and permissions
4364
4401
  # using the API](https://cloud.google.com/apigee/docs/api-platform/system-
@@ -7067,6 +7104,72 @@ module Google
7067
7104
  execute_or_queue_command(command, &block)
7068
7105
  end
7069
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
+
7070
7173
  # Lists all deployments of a shared flow in an environment.
7071
7174
  # @param [String] parent
7072
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.50.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-07-18 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.50.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: []