google-apis-apigee_v1 0.52.0 → 0.55.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: 49ad84f10ac8fa92cab5ab85f5fd05f9344b9ee7f3ee85be431e6e4b1e91c555
4
- data.tar.gz: 9985013a8c4c11e5baf1242ef70e83da3768f6c2d6467ef28af15dad6cc5f529
3
+ metadata.gz: 6594c4efb37acc3878520b47d3915507b43b47d9595fd589c419f4f3ab49e807
4
+ data.tar.gz: f18be12f7b3e38f653f490932461067298fb99db92f083b1479b4a0bf1523f59
5
5
  SHA512:
6
- metadata.gz: '0099da4979597b2faa4027d6e23584c4e93a5916c81823b6838c6fddd3d8f71c30d16ba8f33b1d0cc580942601f130ae73610bb6d7088011a01b197e18081484'
7
- data.tar.gz: 81bc5f9d2e4d999ae561f4ef763f23cdd9552a4c2de7b424ef83fc6e142ce7e94e370a55e6b3bb0e2934d9e971c5d3d19e7e5b0e3069db05d0eb70525d5c980e
6
+ metadata.gz: 2364eafcadc091eab2528c70ac3ada0cb5069a209888672f104a1f508be6d922fe09b80fae0150c3c0ca244e438f8107a5d1dbfdf009b8cb556acc26aca8b576
7
+ data.tar.gz: b36b08d19d5253cacc7f48e2fd81f29d240518def6635659d19c1982a798694b1d9032c725ad69dc64d70ea234546f508d24839dc663268665cea1b7f577a44b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-apigee_v1
2
2
 
3
+ ### v0.55.0 (2022-09-01)
4
+
5
+ * Regenerated from discovery document revision 20220825
6
+
7
+ ### v0.54.0 (2022-08-16)
8
+
9
+ * Regenerated from discovery document revision 20220811
10
+
11
+ ### v0.53.0 (2022-08-09)
12
+
13
+ * Regenerated from discovery document revision 20220804
14
+
3
15
  ### v0.52.0 (2022-08-02)
4
16
 
5
17
  * Regenerated from discovery document revision 20220728
@@ -592,6 +592,18 @@ module Google
592
592
  # @return [String]
593
593
  attr_accessor :quota
594
594
 
595
+ # Scope of the quota decides how the quota counter gets applied and evaluate for
596
+ # quota violation. If the Scope is set as PROXY, then all the operations defined
597
+ # for the APIproduct that are associated with the same proxy will share the same
598
+ # quota counter set at the APIproduct level, making it a global counter at a
599
+ # proxy level. If the Scope is set as OPERATION, then each operations get the
600
+ # counter set at the API product dedicated, making it a local counter. Note that,
601
+ # the QuotaCounterScope applies only when an operation does not have dedicated
602
+ # quota set for itself.
603
+ # Corresponds to the JSON property `quotaCounterScope`
604
+ # @return [String]
605
+ attr_accessor :quota_counter_scope
606
+
595
607
  # Time interval over which the number of request messages is calculated.
596
608
  # Corresponds to the JSON property `quotaInterval`
597
609
  # @return [String]
@@ -629,6 +641,7 @@ module Google
629
641
  @operation_group = args[:operation_group] if args.key?(:operation_group)
630
642
  @proxies = args[:proxies] if args.key?(:proxies)
631
643
  @quota = args[:quota] if args.key?(:quota)
644
+ @quota_counter_scope = args[:quota_counter_scope] if args.key?(:quota_counter_scope)
632
645
  @quota_interval = args[:quota_interval] if args.key?(:quota_interval)
633
646
  @quota_time_unit = args[:quota_time_unit] if args.key?(:quota_time_unit)
634
647
  @scopes = args[:scopes] if args.key?(:scopes)
@@ -3068,6 +3081,12 @@ module Google
3068
3081
  class GoogleCloudApigeeV1EndpointAttachment
3069
3082
  include Google::Apis::Core::Hashable
3070
3083
 
3084
+ # Output only. State of the endpoint attachment connection to the service
3085
+ # attachment.
3086
+ # Corresponds to the JSON property `connectionState`
3087
+ # @return [String]
3088
+ attr_accessor :connection_state
3089
+
3071
3090
  # Output only. Host that can be used in either the HTTP target endpoint directly
3072
3091
  # or as the host in target server.
3073
3092
  # Corresponds to the JSON property `host`
@@ -3102,6 +3121,7 @@ module Google
3102
3121
 
3103
3122
  # Update properties of this object
3104
3123
  def update!(**args)
3124
+ @connection_state = args[:connection_state] if args.key?(:connection_state)
3105
3125
  @host = args[:host] if args.key?(:host)
3106
3126
  @location = args[:location] if args.key?(:location)
3107
3127
  @name = args[:name] if args.key?(:name)
@@ -3197,6 +3217,12 @@ module Google
3197
3217
  # @return [String]
3198
3218
  attr_accessor :name
3199
3219
 
3220
+ # NodeConfig for setting the min/max number of nodes associated with the
3221
+ # environment.
3222
+ # Corresponds to the JSON property `nodeConfig`
3223
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1NodeConfig]
3224
+ attr_accessor :node_config
3225
+
3200
3226
  # Message for compatibility with legacy Edge specification for Java Properties
3201
3227
  # object in JSON.
3202
3228
  # Corresponds to the JSON property `properties`
@@ -3223,6 +3249,7 @@ module Google
3223
3249
  @forward_proxy_uri = args[:forward_proxy_uri] if args.key?(:forward_proxy_uri)
3224
3250
  @last_modified_at = args[:last_modified_at] if args.key?(:last_modified_at)
3225
3251
  @name = args[:name] if args.key?(:name)
3252
+ @node_config = args[:node_config] if args.key?(:node_config)
3226
3253
  @properties = args[:properties] if args.key?(:properties)
3227
3254
  @state = args[:state] if args.key?(:state)
3228
3255
  end
@@ -5212,6 +5239,38 @@ module Google
5212
5239
  end
5213
5240
  end
5214
5241
 
5242
+ # The optionally aggregated metric to query with its ordering.
5243
+ class GoogleCloudApigeeV1MetricAggregation
5244
+ include Google::Apis::Core::Hashable
5245
+
5246
+ # Aggregation function associated with the metric.
5247
+ # Corresponds to the JSON property `aggregation`
5248
+ # @return [String]
5249
+ attr_accessor :aggregation
5250
+
5251
+ # Name of the metric
5252
+ # Corresponds to the JSON property `name`
5253
+ # @return [String]
5254
+ attr_accessor :name
5255
+
5256
+ # Ordering for this aggregation in the result. For time series this is ignored
5257
+ # since the ordering of points depends only on the timestamp, not the values.
5258
+ # Corresponds to the JSON property `order`
5259
+ # @return [String]
5260
+ attr_accessor :order
5261
+
5262
+ def initialize(**args)
5263
+ update!(**args)
5264
+ end
5265
+
5266
+ # Update properties of this object
5267
+ def update!(**args)
5268
+ @aggregation = args[:aggregation] if args.key?(:aggregation)
5269
+ @name = args[:name] if args.key?(:name)
5270
+ @order = args[:order] if args.key?(:order)
5271
+ end
5272
+ end
5273
+
5215
5274
  # Configuration for the Monetization add-on.
5216
5275
  class GoogleCloudApigeeV1MonetizationConfig
5217
5276
  include Google::Apis::Core::Hashable
@@ -5264,6 +5323,45 @@ module Google
5264
5323
  end
5265
5324
  end
5266
5325
 
5326
+ # NodeConfig for setting the min/max number of nodes associated with the
5327
+ # environment.
5328
+ class GoogleCloudApigeeV1NodeConfig
5329
+ include Google::Apis::Core::Hashable
5330
+
5331
+ # Output only. The current total number of gateway nodes that each environment
5332
+ # currently has across all instances.
5333
+ # Corresponds to the JSON property `currentAggregateNodeCount`
5334
+ # @return [Fixnum]
5335
+ attr_accessor :current_aggregate_node_count
5336
+
5337
+ # Optional. The maximum total number of gateway nodes that the is reserved for
5338
+ # all instances that has the specified environment. If not specified, the
5339
+ # default is determined by the recommended maximum number of nodes for that
5340
+ # gateway.
5341
+ # Corresponds to the JSON property `maxNodeCount`
5342
+ # @return [Fixnum]
5343
+ attr_accessor :max_node_count
5344
+
5345
+ # Optional. The minimum total number of gateway nodes that the is reserved for
5346
+ # all instances that has the specified environment. If not specified, the
5347
+ # default is determined by the recommended minimum number of nodes for that
5348
+ # gateway.
5349
+ # Corresponds to the JSON property `minNodeCount`
5350
+ # @return [Fixnum]
5351
+ attr_accessor :min_node_count
5352
+
5353
+ def initialize(**args)
5354
+ update!(**args)
5355
+ end
5356
+
5357
+ # Update properties of this object
5358
+ def update!(**args)
5359
+ @current_aggregate_node_count = args[:current_aggregate_node_count] if args.key?(:current_aggregate_node_count)
5360
+ @max_node_count = args[:max_node_count] if args.key?(:max_node_count)
5361
+ @min_node_count = args[:min_node_count] if args.key?(:min_node_count)
5362
+ end
5363
+ end
5364
+
5267
5365
  # Represents the pairing of REST resource path and the actions (verbs) allowed
5268
5366
  # on the resource path.
5269
5367
  class GoogleCloudApigeeV1Operation
@@ -6138,6 +6236,226 @@ module Google
6138
6236
  end
6139
6237
  end
6140
6238
 
6239
+ # Request payload representing the query to be run for fetching security
6240
+ # statistics as rows.
6241
+ class GoogleCloudApigeeV1QueryTabularStatsRequest
6242
+ include Google::Apis::Core::Hashable
6243
+
6244
+ # Required. List of dimension names to group the aggregations by.
6245
+ # Corresponds to the JSON property `dimensions`
6246
+ # @return [Array<String>]
6247
+ attr_accessor :dimensions
6248
+
6249
+ # Filter further on specific dimension values. Follows the same grammar as
6250
+ # custom report's filter expressions. Example, apiproxy eq 'foobar'. https://
6251
+ # cloud.google.com/apigee/docs/api-platform/analytics/analytics-reference#
6252
+ # filters
6253
+ # Corresponds to the JSON property `filter`
6254
+ # @return [String]
6255
+ attr_accessor :filter
6256
+
6257
+ # Required. List of metrics and their aggregations.
6258
+ # Corresponds to the JSON property `metrics`
6259
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1MetricAggregation>]
6260
+ attr_accessor :metrics
6261
+
6262
+ # Page size represents the number of rows.
6263
+ # Corresponds to the JSON property `pageSize`
6264
+ # @return [Fixnum]
6265
+ attr_accessor :page_size
6266
+
6267
+ # Identifies a sequence of rows.
6268
+ # Corresponds to the JSON property `pageToken`
6269
+ # @return [String]
6270
+ attr_accessor :page_token
6271
+
6272
+ # Represents a time interval, encoded as a Timestamp start (inclusive) and a
6273
+ # Timestamp end (exclusive). The start must be less than or equal to the end.
6274
+ # When the start equals the end, the interval is empty (matches no time). When
6275
+ # both start and end are unspecified, the interval matches any time.
6276
+ # Corresponds to the JSON property `timeRange`
6277
+ # @return [Google::Apis::ApigeeV1::GoogleTypeInterval]
6278
+ attr_accessor :time_range
6279
+
6280
+ def initialize(**args)
6281
+ update!(**args)
6282
+ end
6283
+
6284
+ # Update properties of this object
6285
+ def update!(**args)
6286
+ @dimensions = args[:dimensions] if args.key?(:dimensions)
6287
+ @filter = args[:filter] if args.key?(:filter)
6288
+ @metrics = args[:metrics] if args.key?(:metrics)
6289
+ @page_size = args[:page_size] if args.key?(:page_size)
6290
+ @page_token = args[:page_token] if args.key?(:page_token)
6291
+ @time_range = args[:time_range] if args.key?(:time_range)
6292
+ end
6293
+ end
6294
+
6295
+ # Encapsulates two kinds of stats that are results of the dimensions and
6296
+ # aggregations requested. - Tabular rows. - Time series data. Example of tabular
6297
+ # rows, Represents security stats results as a row of flat values.
6298
+ class GoogleCloudApigeeV1QueryTabularStatsResponse
6299
+ include Google::Apis::Core::Hashable
6300
+
6301
+ # Column names corresponding to the same order as the inner values in the stats
6302
+ # field.
6303
+ # Corresponds to the JSON property `columns`
6304
+ # @return [Array<String>]
6305
+ attr_accessor :columns
6306
+
6307
+ # Next page token.
6308
+ # Corresponds to the JSON property `nextPageToken`
6309
+ # @return [String]
6310
+ attr_accessor :next_page_token
6311
+
6312
+ # Resultant rows from the executed query.
6313
+ # Corresponds to the JSON property `values`
6314
+ # @return [Array<Array<Object>>]
6315
+ attr_accessor :values
6316
+
6317
+ def initialize(**args)
6318
+ update!(**args)
6319
+ end
6320
+
6321
+ # Update properties of this object
6322
+ def update!(**args)
6323
+ @columns = args[:columns] if args.key?(:columns)
6324
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
6325
+ @values = args[:values] if args.key?(:values)
6326
+ end
6327
+ end
6328
+
6329
+ # QueryTimeSeriesStatsRequest represents a query that returns a collection of
6330
+ # time series sequences grouped by their values.
6331
+ class GoogleCloudApigeeV1QueryTimeSeriesStatsRequest
6332
+ include Google::Apis::Core::Hashable
6333
+
6334
+ # List of dimension names to group the aggregations by. If no dimensions are
6335
+ # passed, a single trend line representing the requested metric aggregations
6336
+ # grouped by environment is returned.
6337
+ # Corresponds to the JSON property `dimensions`
6338
+ # @return [Array<String>]
6339
+ attr_accessor :dimensions
6340
+
6341
+ # Filter further on specific dimension values. Follows the same grammar as
6342
+ # custom report's filter expressions. Example, apiproxy eq 'foobar'. https://
6343
+ # cloud.google.com/apigee/docs/api-platform/analytics/analytics-reference#
6344
+ # filters
6345
+ # Corresponds to the JSON property `filter`
6346
+ # @return [String]
6347
+ attr_accessor :filter
6348
+
6349
+ # Required. List of metrics and their aggregations.
6350
+ # Corresponds to the JSON property `metrics`
6351
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1MetricAggregation>]
6352
+ attr_accessor :metrics
6353
+
6354
+ # Page size represents the number of time series sequences, one per unique set
6355
+ # of dimensions and their values.
6356
+ # Corresponds to the JSON property `pageSize`
6357
+ # @return [Fixnum]
6358
+ attr_accessor :page_size
6359
+
6360
+ # Page token stands for a specific collection of time series sequences.
6361
+ # Corresponds to the JSON property `pageToken`
6362
+ # @return [String]
6363
+ attr_accessor :page_token
6364
+
6365
+ # Represents a time interval, encoded as a Timestamp start (inclusive) and a
6366
+ # Timestamp end (exclusive). The start must be less than or equal to the end.
6367
+ # When the start equals the end, the interval is empty (matches no time). When
6368
+ # both start and end are unspecified, the interval matches any time.
6369
+ # Corresponds to the JSON property `timeRange`
6370
+ # @return [Google::Apis::ApigeeV1::GoogleTypeInterval]
6371
+ attr_accessor :time_range
6372
+
6373
+ # Order the sequences in increasing or decreasing order of timestamps. Default
6374
+ # is descending order of timestamps (latest first).
6375
+ # Corresponds to the JSON property `timestampOrder`
6376
+ # @return [String]
6377
+ attr_accessor :timestamp_order
6378
+
6379
+ # Time buckets to group the stats by.
6380
+ # Corresponds to the JSON property `windowSize`
6381
+ # @return [String]
6382
+ attr_accessor :window_size
6383
+
6384
+ def initialize(**args)
6385
+ update!(**args)
6386
+ end
6387
+
6388
+ # Update properties of this object
6389
+ def update!(**args)
6390
+ @dimensions = args[:dimensions] if args.key?(:dimensions)
6391
+ @filter = args[:filter] if args.key?(:filter)
6392
+ @metrics = args[:metrics] if args.key?(:metrics)
6393
+ @page_size = args[:page_size] if args.key?(:page_size)
6394
+ @page_token = args[:page_token] if args.key?(:page_token)
6395
+ @time_range = args[:time_range] if args.key?(:time_range)
6396
+ @timestamp_order = args[:timestamp_order] if args.key?(:timestamp_order)
6397
+ @window_size = args[:window_size] if args.key?(:window_size)
6398
+ end
6399
+ end
6400
+
6401
+ # Represents security stats result as a collection of time series sequences.
6402
+ class GoogleCloudApigeeV1QueryTimeSeriesStatsResponse
6403
+ include Google::Apis::Core::Hashable
6404
+
6405
+ # Column names corresponding to the same order as the inner values in the stats
6406
+ # field.
6407
+ # Corresponds to the JSON property `columns`
6408
+ # @return [Array<String>]
6409
+ attr_accessor :columns
6410
+
6411
+ # Next page token.
6412
+ # Corresponds to the JSON property `nextPageToken`
6413
+ # @return [String]
6414
+ attr_accessor :next_page_token
6415
+
6416
+ # Results of the query returned as a JSON array.
6417
+ # Corresponds to the JSON property `values`
6418
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1QueryTimeSeriesStatsResponseSequence>]
6419
+ attr_accessor :values
6420
+
6421
+ def initialize(**args)
6422
+ update!(**args)
6423
+ end
6424
+
6425
+ # Update properties of this object
6426
+ def update!(**args)
6427
+ @columns = args[:columns] if args.key?(:columns)
6428
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
6429
+ @values = args[:values] if args.key?(:values)
6430
+ end
6431
+ end
6432
+
6433
+ # A sequence of time series.
6434
+ class GoogleCloudApigeeV1QueryTimeSeriesStatsResponseSequence
6435
+ include Google::Apis::Core::Hashable
6436
+
6437
+ # Map of dimensions and their values that uniquely identifies a time series
6438
+ # sequence.
6439
+ # Corresponds to the JSON property `dimensions`
6440
+ # @return [Hash<String,String>]
6441
+ attr_accessor :dimensions
6442
+
6443
+ # List of points. First value of each inner list is a timestamp.
6444
+ # Corresponds to the JSON property `points`
6445
+ # @return [Array<Array<Object>>]
6446
+ attr_accessor :points
6447
+
6448
+ def initialize(**args)
6449
+ update!(**args)
6450
+ end
6451
+
6452
+ # Update properties of this object
6453
+ def update!(**args)
6454
+ @dimensions = args[:dimensions] if args.key?(:dimensions)
6455
+ @points = args[:points] if args.key?(:points)
6456
+ end
6457
+ end
6458
+
6141
6459
  # Quota contains the essential parameters needed that can be applied on the
6142
6460
  # resources, methods, API source combination associated with this API product.
6143
6461
  # While Quota is optional, setting it prevents requests from exceeding the
@@ -8739,28 +9057,33 @@ module Google
8739
9057
  # members` can have the following values: * `allUsers`: A special identifier
8740
9058
  # that represents anyone who is on the internet; with or without a Google
8741
9059
  # account. * `allAuthenticatedUsers`: A special identifier that represents
8742
- # anyone who is authenticated with a Google account or a service account. * `
8743
- # user:`emailid``: An email address that represents a specific Google account.
8744
- # 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`.
9060
+ # anyone who is authenticated with a Google account or a service account. Does
9061
+ # not include identities that come from external identity providers (IdPs)
9062
+ # through identity federation. * `user:`emailid``: An email address that
9063
+ # represents a specific Google account. For example, `alice@example.com` . * `
9064
+ # serviceAccount:`emailid``: An email address that represents a Google service
9065
+ # account. For example, `my-other-app@appspot.gserviceaccount.com`. * `
9066
+ # serviceAccount:`projectid`.svc.id.goog[`namespace`/`kubernetes-sa`]`: An
9067
+ # identifier for a [Kubernetes service account](https://cloud.google.com/
9068
+ # kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-
9069
+ # project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:`emailid``: An
9070
+ # email address that represents a Google group. For example, `admins@example.com`
9071
+ # . * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
9072
+ # identifier) representing a user that has been recently deleted. For example, `
9073
+ # alice@example.com?uid=123456789012345678901`. If the user is recovered, this
9074
+ # value reverts to `user:`emailid`` and the recovered user retains the role in
9075
+ # the binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email
9076
+ # address (plus unique identifier) representing a service account that has been
9077
+ # recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
9078
+ # 123456789012345678901`. If the service account is undeleted, this value
9079
+ # reverts to `serviceAccount:`emailid`` and the undeleted service account
9080
+ # retains the role in the binding. * `deleted:group:`emailid`?uid=`uniqueid``:
9081
+ # An email address (plus unique identifier) representing a Google group that has
9082
+ # been recently deleted. For example, `admins@example.com?uid=
9083
+ # 123456789012345678901`. If the group is recovered, this value reverts to `
9084
+ # group:`emailid`` and the recovered group retains the role in the binding. * `
9085
+ # domain:`domain``: The G Suite domain (primary) that represents all the users
9086
+ # of that domain. For example, `google.com` or `example.com`.
8764
9087
  # Corresponds to the JSON property `members`
8765
9088
  # @return [Array<String>]
8766
9089
  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.55.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 = "20220825"
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
 
@@ -1537,6 +1579,7 @@ module Google
1537
1579
 
1538
1580
  collection :proxies, as: 'proxies'
1539
1581
  property :quota, as: 'quota'
1582
+ property :quota_counter_scope, as: 'quotaCounterScope'
1540
1583
  property :quota_interval, as: 'quotaInterval'
1541
1584
  property :quota_time_unit, as: 'quotaTimeUnit'
1542
1585
  collection :scopes, as: 'scopes'
@@ -2151,6 +2194,7 @@ module Google
2151
2194
  class GoogleCloudApigeeV1EndpointAttachment
2152
2195
  # @private
2153
2196
  class Representation < Google::Apis::Core::JsonRepresentation
2197
+ property :connection_state, as: 'connectionState'
2154
2198
  property :host, as: 'host'
2155
2199
  property :location, as: 'location'
2156
2200
  property :name, as: 'name'
@@ -2179,6 +2223,8 @@ module Google
2179
2223
  property :forward_proxy_uri, as: 'forwardProxyUri'
2180
2224
  property :last_modified_at, :numeric_string => true, as: 'lastModifiedAt'
2181
2225
  property :name, as: 'name'
2226
+ property :node_config, as: 'nodeConfig', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1NodeConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1NodeConfig::Representation
2227
+
2182
2228
  property :properties, as: 'properties', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Properties, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Properties::Representation
2183
2229
 
2184
2230
  property :state, as: 'state'
@@ -2788,6 +2834,15 @@ module Google
2788
2834
  end
2789
2835
  end
2790
2836
 
2837
+ class GoogleCloudApigeeV1MetricAggregation
2838
+ # @private
2839
+ class Representation < Google::Apis::Core::JsonRepresentation
2840
+ property :aggregation, as: 'aggregation'
2841
+ property :name, as: 'name'
2842
+ property :order, as: 'order'
2843
+ end
2844
+ end
2845
+
2791
2846
  class GoogleCloudApigeeV1MonetizationConfig
2792
2847
  # @private
2793
2848
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2804,6 +2859,15 @@ module Google
2804
2859
  end
2805
2860
  end
2806
2861
 
2862
+ class GoogleCloudApigeeV1NodeConfig
2863
+ # @private
2864
+ class Representation < Google::Apis::Core::JsonRepresentation
2865
+ property :current_aggregate_node_count, :numeric_string => true, as: 'currentAggregateNodeCount'
2866
+ property :max_node_count, :numeric_string => true, as: 'maxNodeCount'
2867
+ property :min_node_count, :numeric_string => true, as: 'minNodeCount'
2868
+ end
2869
+ end
2870
+
2807
2871
  class GoogleCloudApigeeV1Operation
2808
2872
  # @private
2809
2873
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3014,6 +3078,71 @@ module Google
3014
3078
  end
3015
3079
  end
3016
3080
 
3081
+ class GoogleCloudApigeeV1QueryTabularStatsRequest
3082
+ # @private
3083
+ class Representation < Google::Apis::Core::JsonRepresentation
3084
+ collection :dimensions, as: 'dimensions'
3085
+ property :filter, as: 'filter'
3086
+ collection :metrics, as: 'metrics', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1MetricAggregation, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1MetricAggregation::Representation
3087
+
3088
+ property :page_size, as: 'pageSize'
3089
+ property :page_token, as: 'pageToken'
3090
+ property :time_range, as: 'timeRange', class: Google::Apis::ApigeeV1::GoogleTypeInterval, decorator: Google::Apis::ApigeeV1::GoogleTypeInterval::Representation
3091
+
3092
+ end
3093
+ end
3094
+
3095
+ class GoogleCloudApigeeV1QueryTabularStatsResponse
3096
+ # @private
3097
+ class Representation < Google::Apis::Core::JsonRepresentation
3098
+ collection :columns, as: 'columns'
3099
+ property :next_page_token, as: 'nextPageToken'
3100
+ collection :values, as: 'values', :class => Array do
3101
+ include Representable::JSON::Collection
3102
+ items
3103
+ end
3104
+
3105
+ end
3106
+ end
3107
+
3108
+ class GoogleCloudApigeeV1QueryTimeSeriesStatsRequest
3109
+ # @private
3110
+ class Representation < Google::Apis::Core::JsonRepresentation
3111
+ collection :dimensions, as: 'dimensions'
3112
+ property :filter, as: 'filter'
3113
+ collection :metrics, as: 'metrics', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1MetricAggregation, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1MetricAggregation::Representation
3114
+
3115
+ property :page_size, as: 'pageSize'
3116
+ property :page_token, as: 'pageToken'
3117
+ property :time_range, as: 'timeRange', class: Google::Apis::ApigeeV1::GoogleTypeInterval, decorator: Google::Apis::ApigeeV1::GoogleTypeInterval::Representation
3118
+
3119
+ property :timestamp_order, as: 'timestampOrder'
3120
+ property :window_size, as: 'windowSize'
3121
+ end
3122
+ end
3123
+
3124
+ class GoogleCloudApigeeV1QueryTimeSeriesStatsResponse
3125
+ # @private
3126
+ class Representation < Google::Apis::Core::JsonRepresentation
3127
+ collection :columns, as: 'columns'
3128
+ property :next_page_token, as: 'nextPageToken'
3129
+ collection :values, as: 'values', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1QueryTimeSeriesStatsResponseSequence, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1QueryTimeSeriesStatsResponseSequence::Representation
3130
+
3131
+ end
3132
+ end
3133
+
3134
+ class GoogleCloudApigeeV1QueryTimeSeriesStatsResponseSequence
3135
+ # @private
3136
+ class Representation < Google::Apis::Core::JsonRepresentation
3137
+ hash :dimensions, as: 'dimensions'
3138
+ collection :points, as: 'points', :class => Array do
3139
+ include Representable::JSON::Collection
3140
+ items
3141
+ end
3142
+
3143
+ end
3144
+ end
3145
+
3017
3146
  class GoogleCloudApigeeV1Quota
3018
3147
  # @private
3019
3148
  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.55.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-09-05 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.55.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: []