google-apis-beyondcorp_v1alpha 0.5.0 → 0.6.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: dfcb1f5bb043057ad8ade4bcbc2786415f4521f0b53b02d35b7be283f15d97b4
4
- data.tar.gz: d850d69db49222bb4f458f43a94ad11e2babcb3187318b259f9f57baddf5497b
3
+ metadata.gz: baaa49f65b22a3a794e1368e2f3c13ec9542462680753636d90b3fb8eb50181f
4
+ data.tar.gz: 16907dcc7f269db0be8244939b68623f52776b3660cedca827b5ef7027e6a1aa
5
5
  SHA512:
6
- metadata.gz: c7f18b0a4eb1f84b20806643da1b79476d60ad4c6bdeebb15948ee78552bfe4ef35aa231b9e2830396044875494efc06e983412010b3cf61abb7c8aae20f80d3
7
- data.tar.gz: a8e354d4da7cc5b266805c1367a8e2e87c1817f9ac796ec6c6a83c4bfe7a4eab041a338d558476aefa47f70cad2a9b014b91f889d7713f3024858c75723f4bbf
6
+ metadata.gz: 9c03c87dd246707f1364c11cc599a95dd3ecd7bf706fbc5636e04e3210b72b19292898a427670bb16d40bd849e5dd60bfacf8eed39f952613d193a0f349de7b0
7
+ data.tar.gz: 7c58528f859b76542b5150a22b2edd89eeab39cf86852bd8fc0bd0a58c7c029706358e6e0f0d5619401bc929d3bbf9cbc0e315ff0b601d9bc01486377657bdab
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-beyondcorp_v1alpha
2
2
 
3
+ ### v0.6.0 (2022-07-31)
4
+
5
+ * Regenerated from discovery document revision 20220725
6
+
3
7
  ### v0.5.0 (2022-07-20)
4
8
 
5
9
  * Regenerated from discovery document revision 20220712
@@ -1303,6 +1303,11 @@ module Google
1303
1303
  # @return [Fixnum]
1304
1304
  attr_accessor :ingress_port
1305
1305
 
1306
+ # Output only. L7 private service connection for this resource.
1307
+ # Corresponds to the JSON property `l7psc`
1308
+ # @return [String]
1309
+ attr_accessor :l7psc
1310
+
1306
1311
  # Required. The type of hosting used by the gateway.
1307
1312
  # Corresponds to the JSON property `type`
1308
1313
  # @return [String]
@@ -1321,6 +1326,7 @@ module Google
1321
1326
  def update!(**args)
1322
1327
  @app_gateway = args[:app_gateway] if args.key?(:app_gateway)
1323
1328
  @ingress_port = args[:ingress_port] if args.key?(:ingress_port)
1329
+ @l7psc = args[:l7psc] if args.key?(:l7psc)
1324
1330
  @type = args[:type] if args.key?(:type)
1325
1331
  @uri = args[:uri] if args.key?(:uri)
1326
1332
  end
@@ -2286,6 +2292,360 @@ module Google
2286
2292
  end
2287
2293
  end
2288
2294
 
2295
+ # The configuration that was applied to generate the result.
2296
+ class GoogleCloudBeyondcorpSaasplatformInsightsV1alphaAppliedConfig
2297
+ include Google::Apis::Core::Hashable
2298
+
2299
+ # Output only. Aggregation type applied.
2300
+ # Corresponds to the JSON property `aggregation`
2301
+ # @return [String]
2302
+ attr_accessor :aggregation
2303
+
2304
+ # Customised grouping option that allows setting the group_by fields and also
2305
+ # the filters togather for a configured insight request.
2306
+ # Corresponds to the JSON property `customGrouping`
2307
+ # @return [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaCustomGrouping]
2308
+ attr_accessor :custom_grouping
2309
+
2310
+ # Output only. Ending time for the duration for which insight was pulled.
2311
+ # Corresponds to the JSON property `endTime`
2312
+ # @return [String]
2313
+ attr_accessor :end_time
2314
+
2315
+ # Output only. Filters applied.
2316
+ # Corresponds to the JSON property `fieldFilter`
2317
+ # @return [String]
2318
+ attr_accessor :field_filter
2319
+
2320
+ # Output only. Group id of the grouping applied.
2321
+ # Corresponds to the JSON property `group`
2322
+ # @return [String]
2323
+ attr_accessor :group
2324
+
2325
+ # Output only. Starting time for the duration for which insight was pulled.
2326
+ # Corresponds to the JSON property `startTime`
2327
+ # @return [String]
2328
+ attr_accessor :start_time
2329
+
2330
+ def initialize(**args)
2331
+ update!(**args)
2332
+ end
2333
+
2334
+ # Update properties of this object
2335
+ def update!(**args)
2336
+ @aggregation = args[:aggregation] if args.key?(:aggregation)
2337
+ @custom_grouping = args[:custom_grouping] if args.key?(:custom_grouping)
2338
+ @end_time = args[:end_time] if args.key?(:end_time)
2339
+ @field_filter = args[:field_filter] if args.key?(:field_filter)
2340
+ @group = args[:group] if args.key?(:group)
2341
+ @start_time = args[:start_time] if args.key?(:start_time)
2342
+ end
2343
+ end
2344
+
2345
+ # The response for the configured insight.
2346
+ class GoogleCloudBeyondcorpSaasplatformInsightsV1alphaConfiguredInsightResponse
2347
+ include Google::Apis::Core::Hashable
2348
+
2349
+ # The configuration that was applied to generate the result.
2350
+ # Corresponds to the JSON property `appliedConfig`
2351
+ # @return [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaAppliedConfig]
2352
+ attr_accessor :applied_config
2353
+
2354
+ # Output only. Next page token to be fetched. Set to empty or NULL if there are
2355
+ # no more pages available.
2356
+ # Corresponds to the JSON property `nextPageToken`
2357
+ # @return [String]
2358
+ attr_accessor :next_page_token
2359
+
2360
+ # Output only. Result rows returned containing the required value(s) for
2361
+ # configured insight.
2362
+ # Corresponds to the JSON property `rows`
2363
+ # @return [Array<Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaRow>]
2364
+ attr_accessor :rows
2365
+
2366
+ def initialize(**args)
2367
+ update!(**args)
2368
+ end
2369
+
2370
+ # Update properties of this object
2371
+ def update!(**args)
2372
+ @applied_config = args[:applied_config] if args.key?(:applied_config)
2373
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2374
+ @rows = args[:rows] if args.key?(:rows)
2375
+ end
2376
+ end
2377
+
2378
+ # Customised grouping option that allows setting the group_by fields and also
2379
+ # the filters togather for a configured insight request.
2380
+ class GoogleCloudBeyondcorpSaasplatformInsightsV1alphaCustomGrouping
2381
+ include Google::Apis::Core::Hashable
2382
+
2383
+ # Optional. Filterable parameters to be added to the grouping clause. Available
2384
+ # fields could be fetched by calling insight list and get APIs in `BASIC` view. `
2385
+ # =` is the only comparison operator supported. `AND` is the only logical
2386
+ # operator supported. Usage: field_filter="fieldName1=fieldVal1 AND fieldName2=
2387
+ # fieldVal2". NOTE: Only `AND` conditions are allowed. NOTE: Use the `
2388
+ # filter_alias` from `Insight.Metadata.Field` message for the filtering the
2389
+ # corresponding fields in this filter field. (These expressions are based on the
2390
+ # filter language described at https://google.aip.dev/160).
2391
+ # Corresponds to the JSON property `fieldFilter`
2392
+ # @return [String]
2393
+ attr_accessor :field_filter
2394
+
2395
+ # Required. Fields to be used for grouping. NOTE: Use the `filter_alias` from `
2396
+ # Insight.Metadata.Field` message for declaring the fields to be grouped-by here.
2397
+ # Corresponds to the JSON property `groupFields`
2398
+ # @return [Array<String>]
2399
+ attr_accessor :group_fields
2400
+
2401
+ def initialize(**args)
2402
+ update!(**args)
2403
+ end
2404
+
2405
+ # Update properties of this object
2406
+ def update!(**args)
2407
+ @field_filter = args[:field_filter] if args.key?(:field_filter)
2408
+ @group_fields = args[:group_fields] if args.key?(:group_fields)
2409
+ end
2410
+ end
2411
+
2412
+ # The Insight object with configuration that was returned and actual list of
2413
+ # records.
2414
+ class GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsight
2415
+ include Google::Apis::Core::Hashable
2416
+
2417
+ # The configuration that was applied to generate the result.
2418
+ # Corresponds to the JSON property `appliedConfig`
2419
+ # @return [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaAppliedConfig]
2420
+ attr_accessor :applied_config
2421
+
2422
+ # Insight filters, groupings and aggregations that can be applied for the
2423
+ # insight. Examples: aggregations, groups, field filters.
2424
+ # Corresponds to the JSON property `metadata`
2425
+ # @return [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsightMetadata]
2426
+ attr_accessor :metadata
2427
+
2428
+ # Output only. The insight resource name. e.g. `organizations/`organization_id`/
2429
+ # locations/`location_id`/insights/`insight_id`` OR `projects/`project_id`/
2430
+ # locations/`location_id`/insights/`insight_id``.
2431
+ # Corresponds to the JSON property `name`
2432
+ # @return [String]
2433
+ attr_accessor :name
2434
+
2435
+ # Output only. Result rows returned containing the required value(s).
2436
+ # Corresponds to the JSON property `rows`
2437
+ # @return [Array<Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaRow>]
2438
+ attr_accessor :rows
2439
+
2440
+ def initialize(**args)
2441
+ update!(**args)
2442
+ end
2443
+
2444
+ # Update properties of this object
2445
+ def update!(**args)
2446
+ @applied_config = args[:applied_config] if args.key?(:applied_config)
2447
+ @metadata = args[:metadata] if args.key?(:metadata)
2448
+ @name = args[:name] if args.key?(:name)
2449
+ @rows = args[:rows] if args.key?(:rows)
2450
+ end
2451
+ end
2452
+
2453
+ # Insight filters, groupings and aggregations that can be applied for the
2454
+ # insight. Examples: aggregations, groups, field filters.
2455
+ class GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsightMetadata
2456
+ include Google::Apis::Core::Hashable
2457
+
2458
+ # Output only. List of aggregation types available for insight.
2459
+ # Corresponds to the JSON property `aggregations`
2460
+ # @return [Array<String>]
2461
+ attr_accessor :aggregations
2462
+
2463
+ # Output only. Category of the insight.
2464
+ # Corresponds to the JSON property `category`
2465
+ # @return [String]
2466
+ attr_accessor :category
2467
+
2468
+ # Output only. Common name of the insight.
2469
+ # Corresponds to the JSON property `displayName`
2470
+ # @return [String]
2471
+ attr_accessor :display_name
2472
+
2473
+ # Output only. List of fields available for insight.
2474
+ # Corresponds to the JSON property `fields`
2475
+ # @return [Array<Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsightMetadataField>]
2476
+ attr_accessor :fields
2477
+
2478
+ # Output only. List of groupings available for insight.
2479
+ # Corresponds to the JSON property `groups`
2480
+ # @return [Array<String>]
2481
+ attr_accessor :groups
2482
+
2483
+ # Output only. Sub-Category of the insight.
2484
+ # Corresponds to the JSON property `subCategory`
2485
+ # @return [String]
2486
+ attr_accessor :sub_category
2487
+
2488
+ # Output only. Type of the insight. It is metadata describing whether the
2489
+ # insight is a metric (e.g. count) or a report (e.g. list, status).
2490
+ # Corresponds to the JSON property `type`
2491
+ # @return [String]
2492
+ attr_accessor :type
2493
+
2494
+ def initialize(**args)
2495
+ update!(**args)
2496
+ end
2497
+
2498
+ # Update properties of this object
2499
+ def update!(**args)
2500
+ @aggregations = args[:aggregations] if args.key?(:aggregations)
2501
+ @category = args[:category] if args.key?(:category)
2502
+ @display_name = args[:display_name] if args.key?(:display_name)
2503
+ @fields = args[:fields] if args.key?(:fields)
2504
+ @groups = args[:groups] if args.key?(:groups)
2505
+ @sub_category = args[:sub_category] if args.key?(:sub_category)
2506
+ @type = args[:type] if args.key?(:type)
2507
+ end
2508
+ end
2509
+
2510
+ # Field metadata. Commonly understandable name and description for the field.
2511
+ # Multiple such fields constitute the Insight.
2512
+ class GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsightMetadataField
2513
+ include Google::Apis::Core::Hashable
2514
+
2515
+ # Output only. Description of the field.
2516
+ # Corresponds to the JSON property `description`
2517
+ # @return [String]
2518
+ attr_accessor :description
2519
+
2520
+ # Output only. Name of the field.
2521
+ # Corresponds to the JSON property `displayName`
2522
+ # @return [String]
2523
+ attr_accessor :display_name
2524
+
2525
+ # Output only. Field name to be used in filter while requesting configured
2526
+ # insight filtered on this field.
2527
+ # Corresponds to the JSON property `filterAlias`
2528
+ # @return [String]
2529
+ attr_accessor :filter_alias
2530
+
2531
+ # Output only. Indicates whether the field can be used for filtering.
2532
+ # Corresponds to the JSON property `filterable`
2533
+ # @return [Boolean]
2534
+ attr_accessor :filterable
2535
+ alias_method :filterable?, :filterable
2536
+
2537
+ # Output only. Indicates whether the field can be used for grouping in custom
2538
+ # grouping request.
2539
+ # Corresponds to the JSON property `groupable`
2540
+ # @return [Boolean]
2541
+ attr_accessor :groupable
2542
+ alias_method :groupable?, :groupable
2543
+
2544
+ # Output only. Field id for which this is the metadata.
2545
+ # Corresponds to the JSON property `id`
2546
+ # @return [String]
2547
+ attr_accessor :id
2548
+
2549
+ def initialize(**args)
2550
+ update!(**args)
2551
+ end
2552
+
2553
+ # Update properties of this object
2554
+ def update!(**args)
2555
+ @description = args[:description] if args.key?(:description)
2556
+ @display_name = args[:display_name] if args.key?(:display_name)
2557
+ @filter_alias = args[:filter_alias] if args.key?(:filter_alias)
2558
+ @filterable = args[:filterable] if args.key?(:filterable)
2559
+ @groupable = args[:groupable] if args.key?(:groupable)
2560
+ @id = args[:id] if args.key?(:id)
2561
+ end
2562
+ end
2563
+
2564
+ # The response for the list of insights.
2565
+ class GoogleCloudBeyondcorpSaasplatformInsightsV1alphaListInsightsResponse
2566
+ include Google::Apis::Core::Hashable
2567
+
2568
+ # Output only. List of all insights.
2569
+ # Corresponds to the JSON property `insights`
2570
+ # @return [Array<Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsight>]
2571
+ attr_accessor :insights
2572
+
2573
+ # Output only. Next page token to be fetched. Set to empty or NULL if there are
2574
+ # no more pages available.
2575
+ # Corresponds to the JSON property `nextPageToken`
2576
+ # @return [String]
2577
+ attr_accessor :next_page_token
2578
+
2579
+ def initialize(**args)
2580
+ update!(**args)
2581
+ end
2582
+
2583
+ # Update properties of this object
2584
+ def update!(**args)
2585
+ @insights = args[:insights] if args.key?(:insights)
2586
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2587
+ end
2588
+ end
2589
+
2590
+ # Row of the fetch response consisting of a set of entries.
2591
+ class GoogleCloudBeyondcorpSaasplatformInsightsV1alphaRow
2592
+ include Google::Apis::Core::Hashable
2593
+
2594
+ # Output only. Columns/entries/key-vals in the result.
2595
+ # Corresponds to the JSON property `fieldValues`
2596
+ # @return [Array<Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaRowFieldVal>]
2597
+ attr_accessor :field_values
2598
+
2599
+ def initialize(**args)
2600
+ update!(**args)
2601
+ end
2602
+
2603
+ # Update properties of this object
2604
+ def update!(**args)
2605
+ @field_values = args[:field_values] if args.key?(:field_values)
2606
+ end
2607
+ end
2608
+
2609
+ # Column or key value pair from the request as part of key to use in query or a
2610
+ # single pair of the fetch response.
2611
+ class GoogleCloudBeyondcorpSaasplatformInsightsV1alphaRowFieldVal
2612
+ include Google::Apis::Core::Hashable
2613
+
2614
+ # Output only. Name of the field.
2615
+ # Corresponds to the JSON property `displayName`
2616
+ # @return [String]
2617
+ attr_accessor :display_name
2618
+
2619
+ # Output only. Field name to be used in filter while requesting configured
2620
+ # insight filtered on this field.
2621
+ # Corresponds to the JSON property `filterAlias`
2622
+ # @return [String]
2623
+ attr_accessor :filter_alias
2624
+
2625
+ # Output only. Field id.
2626
+ # Corresponds to the JSON property `id`
2627
+ # @return [String]
2628
+ attr_accessor :id
2629
+
2630
+ # Output only. Value of the field in string format. Acceptable values are
2631
+ # strings or numbers.
2632
+ # Corresponds to the JSON property `value`
2633
+ # @return [String]
2634
+ attr_accessor :value
2635
+
2636
+ def initialize(**args)
2637
+ update!(**args)
2638
+ end
2639
+
2640
+ # Update properties of this object
2641
+ def update!(**args)
2642
+ @display_name = args[:display_name] if args.key?(:display_name)
2643
+ @filter_alias = args[:filter_alias] if args.key?(:filter_alias)
2644
+ @id = args[:id] if args.key?(:id)
2645
+ @value = args[:value] if args.key?(:value)
2646
+ end
2647
+ end
2648
+
2289
2649
  # The response message for Locations.ListLocations.
2290
2650
  class GoogleCloudLocationListLocationsResponse
2291
2651
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module BeyondcorpV1alpha
18
18
  # Version of the google-apis-beyondcorp_v1alpha gem
19
- GEM_VERSION = "0.5.0"
19
+ GEM_VERSION = "0.6.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 = "20220712"
25
+ REVISION = "20220725"
26
26
  end
27
27
  end
28
28
  end
@@ -346,6 +346,60 @@ module Google
346
346
  include Google::Apis::Core::JsonObjectSupport
347
347
  end
348
348
 
349
+ class GoogleCloudBeyondcorpSaasplatformInsightsV1alphaAppliedConfig
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+
352
+ include Google::Apis::Core::JsonObjectSupport
353
+ end
354
+
355
+ class GoogleCloudBeyondcorpSaasplatformInsightsV1alphaConfiguredInsightResponse
356
+ class Representation < Google::Apis::Core::JsonRepresentation; end
357
+
358
+ include Google::Apis::Core::JsonObjectSupport
359
+ end
360
+
361
+ class GoogleCloudBeyondcorpSaasplatformInsightsV1alphaCustomGrouping
362
+ class Representation < Google::Apis::Core::JsonRepresentation; end
363
+
364
+ include Google::Apis::Core::JsonObjectSupport
365
+ end
366
+
367
+ class GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsight
368
+ class Representation < Google::Apis::Core::JsonRepresentation; end
369
+
370
+ include Google::Apis::Core::JsonObjectSupport
371
+ end
372
+
373
+ class GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsightMetadata
374
+ class Representation < Google::Apis::Core::JsonRepresentation; end
375
+
376
+ include Google::Apis::Core::JsonObjectSupport
377
+ end
378
+
379
+ class GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsightMetadataField
380
+ class Representation < Google::Apis::Core::JsonRepresentation; end
381
+
382
+ include Google::Apis::Core::JsonObjectSupport
383
+ end
384
+
385
+ class GoogleCloudBeyondcorpSaasplatformInsightsV1alphaListInsightsResponse
386
+ class Representation < Google::Apis::Core::JsonRepresentation; end
387
+
388
+ include Google::Apis::Core::JsonObjectSupport
389
+ end
390
+
391
+ class GoogleCloudBeyondcorpSaasplatformInsightsV1alphaRow
392
+ class Representation < Google::Apis::Core::JsonRepresentation; end
393
+
394
+ include Google::Apis::Core::JsonObjectSupport
395
+ end
396
+
397
+ class GoogleCloudBeyondcorpSaasplatformInsightsV1alphaRowFieldVal
398
+ class Representation < Google::Apis::Core::JsonRepresentation; end
399
+
400
+ include Google::Apis::Core::JsonObjectSupport
401
+ end
402
+
349
403
  class GoogleCloudLocationListLocationsResponse
350
404
  class Representation < Google::Apis::Core::JsonRepresentation; end
351
405
 
@@ -861,6 +915,7 @@ module Google
861
915
  class Representation < Google::Apis::Core::JsonRepresentation
862
916
  property :app_gateway, as: 'appGateway'
863
917
  property :ingress_port, as: 'ingressPort'
918
+ property :l7psc, as: 'l7psc'
864
919
  property :type, as: 'type'
865
920
  property :uri, as: 'uri'
866
921
  end
@@ -1124,6 +1179,104 @@ module Google
1124
1179
  end
1125
1180
  end
1126
1181
 
1182
+ class GoogleCloudBeyondcorpSaasplatformInsightsV1alphaAppliedConfig
1183
+ # @private
1184
+ class Representation < Google::Apis::Core::JsonRepresentation
1185
+ property :aggregation, as: 'aggregation'
1186
+ property :custom_grouping, as: 'customGrouping', class: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaCustomGrouping, decorator: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaCustomGrouping::Representation
1187
+
1188
+ property :end_time, as: 'endTime'
1189
+ property :field_filter, as: 'fieldFilter'
1190
+ property :group, as: 'group'
1191
+ property :start_time, as: 'startTime'
1192
+ end
1193
+ end
1194
+
1195
+ class GoogleCloudBeyondcorpSaasplatformInsightsV1alphaConfiguredInsightResponse
1196
+ # @private
1197
+ class Representation < Google::Apis::Core::JsonRepresentation
1198
+ property :applied_config, as: 'appliedConfig', class: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaAppliedConfig, decorator: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaAppliedConfig::Representation
1199
+
1200
+ property :next_page_token, as: 'nextPageToken'
1201
+ collection :rows, as: 'rows', class: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaRow, decorator: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaRow::Representation
1202
+
1203
+ end
1204
+ end
1205
+
1206
+ class GoogleCloudBeyondcorpSaasplatformInsightsV1alphaCustomGrouping
1207
+ # @private
1208
+ class Representation < Google::Apis::Core::JsonRepresentation
1209
+ property :field_filter, as: 'fieldFilter'
1210
+ collection :group_fields, as: 'groupFields'
1211
+ end
1212
+ end
1213
+
1214
+ class GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsight
1215
+ # @private
1216
+ class Representation < Google::Apis::Core::JsonRepresentation
1217
+ property :applied_config, as: 'appliedConfig', class: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaAppliedConfig, decorator: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaAppliedConfig::Representation
1218
+
1219
+ property :metadata, as: 'metadata', class: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsightMetadata, decorator: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsightMetadata::Representation
1220
+
1221
+ property :name, as: 'name'
1222
+ collection :rows, as: 'rows', class: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaRow, decorator: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaRow::Representation
1223
+
1224
+ end
1225
+ end
1226
+
1227
+ class GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsightMetadata
1228
+ # @private
1229
+ class Representation < Google::Apis::Core::JsonRepresentation
1230
+ collection :aggregations, as: 'aggregations'
1231
+ property :category, as: 'category'
1232
+ property :display_name, as: 'displayName'
1233
+ collection :fields, as: 'fields', class: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsightMetadataField, decorator: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsightMetadataField::Representation
1234
+
1235
+ collection :groups, as: 'groups'
1236
+ property :sub_category, as: 'subCategory'
1237
+ property :type, as: 'type'
1238
+ end
1239
+ end
1240
+
1241
+ class GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsightMetadataField
1242
+ # @private
1243
+ class Representation < Google::Apis::Core::JsonRepresentation
1244
+ property :description, as: 'description'
1245
+ property :display_name, as: 'displayName'
1246
+ property :filter_alias, as: 'filterAlias'
1247
+ property :filterable, as: 'filterable'
1248
+ property :groupable, as: 'groupable'
1249
+ property :id, as: 'id'
1250
+ end
1251
+ end
1252
+
1253
+ class GoogleCloudBeyondcorpSaasplatformInsightsV1alphaListInsightsResponse
1254
+ # @private
1255
+ class Representation < Google::Apis::Core::JsonRepresentation
1256
+ collection :insights, as: 'insights', class: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsight, decorator: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsight::Representation
1257
+
1258
+ property :next_page_token, as: 'nextPageToken'
1259
+ end
1260
+ end
1261
+
1262
+ class GoogleCloudBeyondcorpSaasplatformInsightsV1alphaRow
1263
+ # @private
1264
+ class Representation < Google::Apis::Core::JsonRepresentation
1265
+ collection :field_values, as: 'fieldValues', class: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaRowFieldVal, decorator: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaRowFieldVal::Representation
1266
+
1267
+ end
1268
+ end
1269
+
1270
+ class GoogleCloudBeyondcorpSaasplatformInsightsV1alphaRowFieldVal
1271
+ # @private
1272
+ class Representation < Google::Apis::Core::JsonRepresentation
1273
+ property :display_name, as: 'displayName'
1274
+ property :filter_alias, as: 'filterAlias'
1275
+ property :id, as: 'id'
1276
+ property :value, as: 'value'
1277
+ end
1278
+ end
1279
+
1127
1280
  class GoogleCloudLocationListLocationsResponse
1128
1281
  # @private
1129
1282
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -52,6 +52,187 @@ module Google
52
52
  @batch_path = 'batch'
53
53
  end
54
54
 
55
+ # Gets the value for a selected particular insight based on the provided filters.
56
+ # Use the organization level path for fetching at org level and project level
57
+ # path for fetching the insight value specific to a particular project.
58
+ # @param [String] insight
59
+ # Required. The resource name of the insight using the form: `organizations/`
60
+ # organization_id`/locations/`location_id`/insights/`insight_id`` `projects/`
61
+ # project_id`/locations/`location_id`/insights/`insight_id``.
62
+ # @param [String] aggregation
63
+ # Optional. Aggregation type. Available aggregation could be fetched by calling
64
+ # insight list and get APIs in `BASIC` view.
65
+ # @param [String] custom_grouping_field_filter
66
+ # Optional. Filterable parameters to be added to the grouping clause. Available
67
+ # fields could be fetched by calling insight list and get APIs in `BASIC` view. `
68
+ # =` is the only comparison operator supported. `AND` is the only logical
69
+ # operator supported. Usage: field_filter="fieldName1=fieldVal1 AND fieldName2=
70
+ # fieldVal2". NOTE: Only `AND` conditions are allowed. NOTE: Use the `
71
+ # filter_alias` from `Insight.Metadata.Field` message for the filtering the
72
+ # corresponding fields in this filter field. (These expressions are based on the
73
+ # filter language described at https://google.aip.dev/160).
74
+ # @param [Array<String>, String] custom_grouping_group_fields
75
+ # Required. Fields to be used for grouping. NOTE: Use the `filter_alias` from `
76
+ # Insight.Metadata.Field` message for declaring the fields to be grouped-by here.
77
+ # @param [String] end_time
78
+ # Required. Ending time for the duration for which insight is to be pulled.
79
+ # @param [String] field_filter
80
+ # Optional. Other filterable/configurable parameters as applicable to the
81
+ # selected insight. Available fields could be fetched by calling insight list
82
+ # and get APIs in `BASIC` view. `=` is the only comparison operator supported. `
83
+ # AND` is the only logical operator supported. Usage: field_filter="fieldName1=
84
+ # fieldVal1 AND fieldName2=fieldVal2". NOTE: Only `AND` conditions are allowed.
85
+ # NOTE: Use the `filter_alias` from `Insight.Metadata.Field` message for the
86
+ # filtering the corresponding fields in this filter field. (These expressions
87
+ # are based on the filter language described at https://google.aip.dev/160).
88
+ # @param [String] group
89
+ # Optional. Group id of the available groupings for the insight. Available
90
+ # groupings could be fetched by calling insight list and get APIs in `BASIC`
91
+ # view.
92
+ # @param [Fixnum] page_size
93
+ # Optional. Requested page size. Server may return fewer items than requested.
94
+ # If unspecified, server will pick an appropriate default.
95
+ # @param [String] page_token
96
+ # Optional. Used to fetch the page represented by the token. Fetches the first
97
+ # page when not set.
98
+ # @param [String] start_time
99
+ # Required. Starting time for the duration for which insight is to be pulled.
100
+ # @param [String] fields
101
+ # Selector specifying which fields to include in a partial response.
102
+ # @param [String] quota_user
103
+ # Available to use for quota purposes for server-side applications. Can be any
104
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
105
+ # @param [Google::Apis::RequestOptions] options
106
+ # Request-specific options
107
+ #
108
+ # @yield [result, err] Result & error if block supplied
109
+ # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaConfiguredInsightResponse] parsed result object
110
+ # @yieldparam err [StandardError] error object if request failed
111
+ #
112
+ # @return [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaConfiguredInsightResponse]
113
+ #
114
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
115
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
116
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
117
+ def configured_organization_location_insight_insight(insight, aggregation: nil, custom_grouping_field_filter: nil, custom_grouping_group_fields: nil, end_time: nil, field_filter: nil, group: nil, page_size: nil, page_token: nil, start_time: nil, fields: nil, quota_user: nil, options: nil, &block)
118
+ command = make_simple_command(:get, 'v1alpha/{+insight}:configuredInsight', options)
119
+ command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaConfiguredInsightResponse::Representation
120
+ command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaConfiguredInsightResponse
121
+ command.params['insight'] = insight unless insight.nil?
122
+ command.query['aggregation'] = aggregation unless aggregation.nil?
123
+ command.query['customGrouping.fieldFilter'] = custom_grouping_field_filter unless custom_grouping_field_filter.nil?
124
+ command.query['customGrouping.groupFields'] = custom_grouping_group_fields unless custom_grouping_group_fields.nil?
125
+ command.query['endTime'] = end_time unless end_time.nil?
126
+ command.query['fieldFilter'] = field_filter unless field_filter.nil?
127
+ command.query['group'] = group unless group.nil?
128
+ command.query['pageSize'] = page_size unless page_size.nil?
129
+ command.query['pageToken'] = page_token unless page_token.nil?
130
+ command.query['startTime'] = start_time unless start_time.nil?
131
+ command.query['fields'] = fields unless fields.nil?
132
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
133
+ execute_or_queue_command(command, &block)
134
+ end
135
+
136
+ # Gets the value for a selected particular insight with default configuration.
137
+ # The default aggregation level is 'DAILY' and no grouping will be applied or
138
+ # default grouping if applicable. The data will be returned for recent 7 days.
139
+ # Use the organization level path for fetching at org level and project level
140
+ # path for fetching the insight value specific to a particular project. Setting
141
+ # the `view` to `BASIC` will only return the metadata for the insight.
142
+ # @param [String] name
143
+ # Required. The resource name of the insight using the form: `organizations/`
144
+ # organization_id`/locations/`location_id`/insights/`insight_id`` `projects/`
145
+ # project_id`/locations/`location_id`/insights/`insight_id``
146
+ # @param [String] view
147
+ # Required. Metadata only or full data view.
148
+ # @param [String] fields
149
+ # Selector specifying which fields to include in a partial response.
150
+ # @param [String] quota_user
151
+ # Available to use for quota purposes for server-side applications. Can be any
152
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
153
+ # @param [Google::Apis::RequestOptions] options
154
+ # Request-specific options
155
+ #
156
+ # @yield [result, err] Result & error if block supplied
157
+ # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsight] parsed result object
158
+ # @yieldparam err [StandardError] error object if request failed
159
+ #
160
+ # @return [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsight]
161
+ #
162
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
163
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
164
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
165
+ def get_organization_location_insight(name, view: nil, fields: nil, quota_user: nil, options: nil, &block)
166
+ command = make_simple_command(:get, 'v1alpha/{+name}', options)
167
+ command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsight::Representation
168
+ command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsight
169
+ command.params['name'] = name unless name.nil?
170
+ command.query['view'] = view unless view.nil?
171
+ command.query['fields'] = fields unless fields.nil?
172
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
173
+ execute_or_queue_command(command, &block)
174
+ end
175
+
176
+ # Lists for all the available insights that could be fetched from the system.
177
+ # Allows to filter using category. Setting the `view` to `BASIC` will let you
178
+ # iterate over the list of insight metadatas.
179
+ # @param [String] parent
180
+ # Required. The resource name of InsightMetadata using the form: `organizations/`
181
+ # organization_id`/locations/`location`` `projects/`project_id`/locations/`
182
+ # location_id``
183
+ # @param [String] filter
184
+ # Optional. Filter expression to restrict the insights returned. Supported
185
+ # filter fields: * `type` * `category` * `subCategory` Examples: * "category =
186
+ # application AND type = count" * "category = application AND subCategory = iap"
187
+ # * "type = status" Allowed values: * type: [count, latency, status, list] *
188
+ # category: [application, device, request, security] * subCategory: [iap,
189
+ # webprotect] NOTE: Only equality based comparison is allowed. Only `AND`
190
+ # conjunction is allowed. NOTE: The 'AND' in the filter field needs to be in
191
+ # capital letters only. NOTE: Just filtering on `subCategory` is not allowed. It
192
+ # should be passed in with the parent `category` too. (These expressions are
193
+ # based on the filter language described at https://google.aip.dev/160).
194
+ # @param [String] order_by
195
+ # Optional. Hint for how to order the results. This is currently ignored.
196
+ # @param [Fixnum] page_size
197
+ # Optional. Requested page size. Server may return fewer items than requested.
198
+ # If unspecified, server will pick an appropriate default. NOTE: Default page
199
+ # size is 50.
200
+ # @param [String] page_token
201
+ # Optional. A token identifying a page of results the server should return.
202
+ # @param [String] view
203
+ # Required. List only metadata or full data.
204
+ # @param [String] fields
205
+ # Selector specifying which fields to include in a partial response.
206
+ # @param [String] quota_user
207
+ # Available to use for quota purposes for server-side applications. Can be any
208
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
209
+ # @param [Google::Apis::RequestOptions] options
210
+ # Request-specific options
211
+ #
212
+ # @yield [result, err] Result & error if block supplied
213
+ # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaListInsightsResponse] parsed result object
214
+ # @yieldparam err [StandardError] error object if request failed
215
+ #
216
+ # @return [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaListInsightsResponse]
217
+ #
218
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
219
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
220
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
221
+ def list_organization_location_insights(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
222
+ command = make_simple_command(:get, 'v1alpha/{+parent}/insights', options)
223
+ command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaListInsightsResponse::Representation
224
+ command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaListInsightsResponse
225
+ command.params['parent'] = parent unless parent.nil?
226
+ command.query['filter'] = filter unless filter.nil?
227
+ command.query['orderBy'] = order_by unless order_by.nil?
228
+ command.query['pageSize'] = page_size unless page_size.nil?
229
+ command.query['pageToken'] = page_token unless page_token.nil?
230
+ command.query['view'] = view unless view.nil?
231
+ command.query['fields'] = fields unless fields.nil?
232
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
233
+ execute_or_queue_command(command, &block)
234
+ end
235
+
55
236
  # Gets information about a location.
56
237
  # @param [String] name
57
238
  # Resource name for the location.
@@ -851,8 +1032,8 @@ module Google
851
1032
  execute_or_queue_command(command, &block)
852
1033
  end
853
1034
 
854
- # Get instance config for a given AppConnector. An internal method called by a
855
- # AppConnector to get its container config.
1035
+ # Gets instance configuration for a given AppConnector. An internal method
1036
+ # called by a AppConnector to get its container config.
856
1037
  # @param [String] app_connector
857
1038
  # Required. BeyondCorp AppConnector name using the form: `projects/`project_id`/
858
1039
  # locations/`location_id`/appConnectors/`app_connector``
@@ -2758,8 +2939,8 @@ module Google
2758
2939
  execute_or_queue_command(command, &block)
2759
2940
  end
2760
2941
 
2761
- # Get instance config for a given connector. An internal method called by a
2762
- # connector to get its container config.
2942
+ # Gets instance configuration for a given connector. An internal method called
2943
+ # by a connector to get its container config.
2763
2944
  # @param [String] connector
2764
2945
  # Required. BeyondCorp Connector name using the form: `projects/`project_id`/
2765
2946
  # locations/`location_id`/connectors/`connector``
@@ -2866,6 +3047,187 @@ module Google
2866
3047
  execute_or_queue_command(command, &block)
2867
3048
  end
2868
3049
 
3050
+ # Gets the value for a selected particular insight based on the provided filters.
3051
+ # Use the organization level path for fetching at org level and project level
3052
+ # path for fetching the insight value specific to a particular project.
3053
+ # @param [String] insight
3054
+ # Required. The resource name of the insight using the form: `organizations/`
3055
+ # organization_id`/locations/`location_id`/insights/`insight_id`` `projects/`
3056
+ # project_id`/locations/`location_id`/insights/`insight_id``.
3057
+ # @param [String] aggregation
3058
+ # Optional. Aggregation type. Available aggregation could be fetched by calling
3059
+ # insight list and get APIs in `BASIC` view.
3060
+ # @param [String] custom_grouping_field_filter
3061
+ # Optional. Filterable parameters to be added to the grouping clause. Available
3062
+ # fields could be fetched by calling insight list and get APIs in `BASIC` view. `
3063
+ # =` is the only comparison operator supported. `AND` is the only logical
3064
+ # operator supported. Usage: field_filter="fieldName1=fieldVal1 AND fieldName2=
3065
+ # fieldVal2". NOTE: Only `AND` conditions are allowed. NOTE: Use the `
3066
+ # filter_alias` from `Insight.Metadata.Field` message for the filtering the
3067
+ # corresponding fields in this filter field. (These expressions are based on the
3068
+ # filter language described at https://google.aip.dev/160).
3069
+ # @param [Array<String>, String] custom_grouping_group_fields
3070
+ # Required. Fields to be used for grouping. NOTE: Use the `filter_alias` from `
3071
+ # Insight.Metadata.Field` message for declaring the fields to be grouped-by here.
3072
+ # @param [String] end_time
3073
+ # Required. Ending time for the duration for which insight is to be pulled.
3074
+ # @param [String] field_filter
3075
+ # Optional. Other filterable/configurable parameters as applicable to the
3076
+ # selected insight. Available fields could be fetched by calling insight list
3077
+ # and get APIs in `BASIC` view. `=` is the only comparison operator supported. `
3078
+ # AND` is the only logical operator supported. Usage: field_filter="fieldName1=
3079
+ # fieldVal1 AND fieldName2=fieldVal2". NOTE: Only `AND` conditions are allowed.
3080
+ # NOTE: Use the `filter_alias` from `Insight.Metadata.Field` message for the
3081
+ # filtering the corresponding fields in this filter field. (These expressions
3082
+ # are based on the filter language described at https://google.aip.dev/160).
3083
+ # @param [String] group
3084
+ # Optional. Group id of the available groupings for the insight. Available
3085
+ # groupings could be fetched by calling insight list and get APIs in `BASIC`
3086
+ # view.
3087
+ # @param [Fixnum] page_size
3088
+ # Optional. Requested page size. Server may return fewer items than requested.
3089
+ # If unspecified, server will pick an appropriate default.
3090
+ # @param [String] page_token
3091
+ # Optional. Used to fetch the page represented by the token. Fetches the first
3092
+ # page when not set.
3093
+ # @param [String] start_time
3094
+ # Required. Starting time for the duration for which insight is to be pulled.
3095
+ # @param [String] fields
3096
+ # Selector specifying which fields to include in a partial response.
3097
+ # @param [String] quota_user
3098
+ # Available to use for quota purposes for server-side applications. Can be any
3099
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3100
+ # @param [Google::Apis::RequestOptions] options
3101
+ # Request-specific options
3102
+ #
3103
+ # @yield [result, err] Result & error if block supplied
3104
+ # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaConfiguredInsightResponse] parsed result object
3105
+ # @yieldparam err [StandardError] error object if request failed
3106
+ #
3107
+ # @return [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaConfiguredInsightResponse]
3108
+ #
3109
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3110
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3111
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3112
+ def configured_project_location_insight_insight(insight, aggregation: nil, custom_grouping_field_filter: nil, custom_grouping_group_fields: nil, end_time: nil, field_filter: nil, group: nil, page_size: nil, page_token: nil, start_time: nil, fields: nil, quota_user: nil, options: nil, &block)
3113
+ command = make_simple_command(:get, 'v1alpha/{+insight}:configuredInsight', options)
3114
+ command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaConfiguredInsightResponse::Representation
3115
+ command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaConfiguredInsightResponse
3116
+ command.params['insight'] = insight unless insight.nil?
3117
+ command.query['aggregation'] = aggregation unless aggregation.nil?
3118
+ command.query['customGrouping.fieldFilter'] = custom_grouping_field_filter unless custom_grouping_field_filter.nil?
3119
+ command.query['customGrouping.groupFields'] = custom_grouping_group_fields unless custom_grouping_group_fields.nil?
3120
+ command.query['endTime'] = end_time unless end_time.nil?
3121
+ command.query['fieldFilter'] = field_filter unless field_filter.nil?
3122
+ command.query['group'] = group unless group.nil?
3123
+ command.query['pageSize'] = page_size unless page_size.nil?
3124
+ command.query['pageToken'] = page_token unless page_token.nil?
3125
+ command.query['startTime'] = start_time unless start_time.nil?
3126
+ command.query['fields'] = fields unless fields.nil?
3127
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3128
+ execute_or_queue_command(command, &block)
3129
+ end
3130
+
3131
+ # Gets the value for a selected particular insight with default configuration.
3132
+ # The default aggregation level is 'DAILY' and no grouping will be applied or
3133
+ # default grouping if applicable. The data will be returned for recent 7 days.
3134
+ # Use the organization level path for fetching at org level and project level
3135
+ # path for fetching the insight value specific to a particular project. Setting
3136
+ # the `view` to `BASIC` will only return the metadata for the insight.
3137
+ # @param [String] name
3138
+ # Required. The resource name of the insight using the form: `organizations/`
3139
+ # organization_id`/locations/`location_id`/insights/`insight_id`` `projects/`
3140
+ # project_id`/locations/`location_id`/insights/`insight_id``
3141
+ # @param [String] view
3142
+ # Required. Metadata only or full data view.
3143
+ # @param [String] fields
3144
+ # Selector specifying which fields to include in a partial response.
3145
+ # @param [String] quota_user
3146
+ # Available to use for quota purposes for server-side applications. Can be any
3147
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3148
+ # @param [Google::Apis::RequestOptions] options
3149
+ # Request-specific options
3150
+ #
3151
+ # @yield [result, err] Result & error if block supplied
3152
+ # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsight] parsed result object
3153
+ # @yieldparam err [StandardError] error object if request failed
3154
+ #
3155
+ # @return [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsight]
3156
+ #
3157
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3158
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3159
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3160
+ def get_project_location_insight(name, view: nil, fields: nil, quota_user: nil, options: nil, &block)
3161
+ command = make_simple_command(:get, 'v1alpha/{+name}', options)
3162
+ command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsight::Representation
3163
+ command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsight
3164
+ command.params['name'] = name unless name.nil?
3165
+ command.query['view'] = view unless view.nil?
3166
+ command.query['fields'] = fields unless fields.nil?
3167
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3168
+ execute_or_queue_command(command, &block)
3169
+ end
3170
+
3171
+ # Lists for all the available insights that could be fetched from the system.
3172
+ # Allows to filter using category. Setting the `view` to `BASIC` will let you
3173
+ # iterate over the list of insight metadatas.
3174
+ # @param [String] parent
3175
+ # Required. The resource name of InsightMetadata using the form: `organizations/`
3176
+ # organization_id`/locations/`location`` `projects/`project_id`/locations/`
3177
+ # location_id``
3178
+ # @param [String] filter
3179
+ # Optional. Filter expression to restrict the insights returned. Supported
3180
+ # filter fields: * `type` * `category` * `subCategory` Examples: * "category =
3181
+ # application AND type = count" * "category = application AND subCategory = iap"
3182
+ # * "type = status" Allowed values: * type: [count, latency, status, list] *
3183
+ # category: [application, device, request, security] * subCategory: [iap,
3184
+ # webprotect] NOTE: Only equality based comparison is allowed. Only `AND`
3185
+ # conjunction is allowed. NOTE: The 'AND' in the filter field needs to be in
3186
+ # capital letters only. NOTE: Just filtering on `subCategory` is not allowed. It
3187
+ # should be passed in with the parent `category` too. (These expressions are
3188
+ # based on the filter language described at https://google.aip.dev/160).
3189
+ # @param [String] order_by
3190
+ # Optional. Hint for how to order the results. This is currently ignored.
3191
+ # @param [Fixnum] page_size
3192
+ # Optional. Requested page size. Server may return fewer items than requested.
3193
+ # If unspecified, server will pick an appropriate default. NOTE: Default page
3194
+ # size is 50.
3195
+ # @param [String] page_token
3196
+ # Optional. A token identifying a page of results the server should return.
3197
+ # @param [String] view
3198
+ # Required. List only metadata or full data.
3199
+ # @param [String] fields
3200
+ # Selector specifying which fields to include in a partial response.
3201
+ # @param [String] quota_user
3202
+ # Available to use for quota purposes for server-side applications. Can be any
3203
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3204
+ # @param [Google::Apis::RequestOptions] options
3205
+ # Request-specific options
3206
+ #
3207
+ # @yield [result, err] Result & error if block supplied
3208
+ # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaListInsightsResponse] parsed result object
3209
+ # @yieldparam err [StandardError] error object if request failed
3210
+ #
3211
+ # @return [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaListInsightsResponse]
3212
+ #
3213
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3214
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3215
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3216
+ def list_project_location_insights(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
3217
+ command = make_simple_command(:get, 'v1alpha/{+parent}/insights', options)
3218
+ command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaListInsightsResponse::Representation
3219
+ command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformInsightsV1alphaListInsightsResponse
3220
+ command.params['parent'] = parent unless parent.nil?
3221
+ command.query['filter'] = filter unless filter.nil?
3222
+ command.query['orderBy'] = order_by unless order_by.nil?
3223
+ command.query['pageSize'] = page_size unless page_size.nil?
3224
+ command.query['pageToken'] = page_token unless page_token.nil?
3225
+ command.query['view'] = view unless view.nil?
3226
+ command.query['fields'] = fields unless fields.nil?
3227
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3228
+ execute_or_queue_command(command, &block)
3229
+ end
3230
+
2869
3231
  # Starts asynchronous cancellation on a long-running operation. The server makes
2870
3232
  # a best effort to cancel the operation, but success is not guaranteed. If the
2871
3233
  # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-beyondcorp_v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.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-25 00:00:00.000000000 Z
11
+ date: 2022-08-01 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-beyondcorp_v1alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-beyondcorp_v1alpha/v0.5.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-beyondcorp_v1alpha/v0.6.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-beyondcorp_v1alpha
63
63
  post_install_message:
64
64
  rdoc_options: []