google-apis-serviceusage_v1 0.57.0 → 0.59.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 17d7ec3b67e9a6149a57e63f64a5050bca096ee6870ffff546435bead78fc3bb
|
4
|
+
data.tar.gz: 376d1adae54cf03acae5d408dd6c8d280ac795e6d4e6d26e64f59194ca8c3fa8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b60eb9f54ef5dab2577298be06631449dcff9dc5f3d4e38b01954924648b1df5bf8da344d6cfc606f54bcf748f224e5ffabf545ff204a9da79ddeeb1968f7c88
|
7
|
+
data.tar.gz: 4718ae57dfee4c7ada6f303f3475ff9f66488ca71c83c978dd2ca5fac63a1f5cbf3692233360d4c5e3b40d39a1ec8eee95090a2206247d2bac8e5208684f8170
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-serviceusage_v1
|
2
2
|
|
3
|
+
### v0.59.0 (2024-11-03)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20241025
|
6
|
+
|
7
|
+
### v0.58.0 (2024-10-06)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20240929
|
10
|
+
|
3
11
|
### v0.57.0 (2024-09-29)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20240919
|
@@ -2600,6 +2600,223 @@ module Google
|
|
2600
2600
|
end
|
2601
2601
|
end
|
2602
2602
|
|
2603
|
+
# A message to group the analysis information.
|
2604
|
+
class GoogleApiServiceusageV2betaAnalysis
|
2605
|
+
include Google::Apis::Core::Hashable
|
2606
|
+
|
2607
|
+
# An analysis result including blockers and warnings.
|
2608
|
+
# Corresponds to the JSON property `analysis`
|
2609
|
+
# @return [Google::Apis::ServiceusageV1::GoogleApiServiceusageV2betaAnalysisResult]
|
2610
|
+
attr_accessor :analysis
|
2611
|
+
|
2612
|
+
# Output only. The type of analysis.
|
2613
|
+
# Corresponds to the JSON property `analysisType`
|
2614
|
+
# @return [String]
|
2615
|
+
attr_accessor :analysis_type
|
2616
|
+
|
2617
|
+
# Output only. The user friendly display name of the analysis type. E.g. service
|
2618
|
+
# dependency analysis, service resource usage analysis, etc.
|
2619
|
+
# Corresponds to the JSON property `displayName`
|
2620
|
+
# @return [String]
|
2621
|
+
attr_accessor :display_name
|
2622
|
+
|
2623
|
+
# The names of the service that has analysis result of warnings or blockers.
|
2624
|
+
# Example: `services/storage.googleapis.com`.
|
2625
|
+
# Corresponds to the JSON property `service`
|
2626
|
+
# @return [String]
|
2627
|
+
attr_accessor :service
|
2628
|
+
|
2629
|
+
def initialize(**args)
|
2630
|
+
update!(**args)
|
2631
|
+
end
|
2632
|
+
|
2633
|
+
# Update properties of this object
|
2634
|
+
def update!(**args)
|
2635
|
+
@analysis = args[:analysis] if args.key?(:analysis)
|
2636
|
+
@analysis_type = args[:analysis_type] if args.key?(:analysis_type)
|
2637
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
2638
|
+
@service = args[:service] if args.key?(:service)
|
2639
|
+
end
|
2640
|
+
end
|
2641
|
+
|
2642
|
+
# An analysis result including blockers and warnings.
|
2643
|
+
class GoogleApiServiceusageV2betaAnalysisResult
|
2644
|
+
include Google::Apis::Core::Hashable
|
2645
|
+
|
2646
|
+
# Blocking information that would prevent the policy changes at runtime.
|
2647
|
+
# Corresponds to the JSON property `blockers`
|
2648
|
+
# @return [Array<Google::Apis::ServiceusageV1::GoogleApiServiceusageV2betaImpact>]
|
2649
|
+
attr_accessor :blockers
|
2650
|
+
|
2651
|
+
# Warning information indicating that the policy changes might be unsafe, but
|
2652
|
+
# will not block the changes at runtime.
|
2653
|
+
# Corresponds to the JSON property `warnings`
|
2654
|
+
# @return [Array<Google::Apis::ServiceusageV1::GoogleApiServiceusageV2betaImpact>]
|
2655
|
+
attr_accessor :warnings
|
2656
|
+
|
2657
|
+
def initialize(**args)
|
2658
|
+
update!(**args)
|
2659
|
+
end
|
2660
|
+
|
2661
|
+
# Update properties of this object
|
2662
|
+
def update!(**args)
|
2663
|
+
@blockers = args[:blockers] if args.key?(:blockers)
|
2664
|
+
@warnings = args[:warnings] if args.key?(:warnings)
|
2665
|
+
end
|
2666
|
+
end
|
2667
|
+
|
2668
|
+
# Metadata for the `AnalyzeConsumerPolicy` method.
|
2669
|
+
class GoogleApiServiceusageV2betaAnalyzeConsumerPolicyMetadata
|
2670
|
+
include Google::Apis::Core::Hashable
|
2671
|
+
|
2672
|
+
def initialize(**args)
|
2673
|
+
update!(**args)
|
2674
|
+
end
|
2675
|
+
|
2676
|
+
# Update properties of this object
|
2677
|
+
def update!(**args)
|
2678
|
+
end
|
2679
|
+
end
|
2680
|
+
|
2681
|
+
# The response of analyzing a consumer policy update.
|
2682
|
+
class GoogleApiServiceusageV2betaAnalyzeConsumerPolicyResponse
|
2683
|
+
include Google::Apis::Core::Hashable
|
2684
|
+
|
2685
|
+
# The list of analyses returned from performing the intended policy update
|
2686
|
+
# analysis. The analysis is grouped by service name and different analysis types.
|
2687
|
+
# The empty analysis list means that the consumer policy can be updated without
|
2688
|
+
# any warnings or blockers.
|
2689
|
+
# Corresponds to the JSON property `analysis`
|
2690
|
+
# @return [Array<Google::Apis::ServiceusageV1::GoogleApiServiceusageV2betaAnalysis>]
|
2691
|
+
attr_accessor :analysis
|
2692
|
+
|
2693
|
+
def initialize(**args)
|
2694
|
+
update!(**args)
|
2695
|
+
end
|
2696
|
+
|
2697
|
+
# Update properties of this object
|
2698
|
+
def update!(**args)
|
2699
|
+
@analysis = args[:analysis] if args.key?(:analysis)
|
2700
|
+
end
|
2701
|
+
end
|
2702
|
+
|
2703
|
+
# Consumer Policy is a set of rules that define what services or service groups
|
2704
|
+
# can be used for a cloud resource hierarchy.
|
2705
|
+
class GoogleApiServiceusageV2betaConsumerPolicy
|
2706
|
+
include Google::Apis::Core::Hashable
|
2707
|
+
|
2708
|
+
# Optional. Annotations is an unstructured key-value map stored with a policy
|
2709
|
+
# that may be set by external tools to store and retrieve arbitrary metadata.
|
2710
|
+
# They are not queryable and should be preserved when modifying objects. [AIP-
|
2711
|
+
# 128](https://google.aip.dev/128#annotations)
|
2712
|
+
# Corresponds to the JSON property `annotations`
|
2713
|
+
# @return [Hash<String,String>]
|
2714
|
+
attr_accessor :annotations
|
2715
|
+
|
2716
|
+
# Output only. The time the policy was created. For singleton policies, this is
|
2717
|
+
# the first touch of the policy.
|
2718
|
+
# Corresponds to the JSON property `createTime`
|
2719
|
+
# @return [String]
|
2720
|
+
attr_accessor :create_time
|
2721
|
+
|
2722
|
+
# Enable rules define usable services, groups, and categories. There can
|
2723
|
+
# currently be at most one `EnableRule`. This restriction will be lifted in
|
2724
|
+
# later releases.
|
2725
|
+
# Corresponds to the JSON property `enableRules`
|
2726
|
+
# @return [Array<Google::Apis::ServiceusageV1::GoogleApiServiceusageV2betaEnableRule>]
|
2727
|
+
attr_accessor :enable_rules
|
2728
|
+
|
2729
|
+
# Output only. An opaque tag indicating the current version of the policy, used
|
2730
|
+
# for concurrency control.
|
2731
|
+
# Corresponds to the JSON property `etag`
|
2732
|
+
# @return [String]
|
2733
|
+
attr_accessor :etag
|
2734
|
+
|
2735
|
+
# Output only. The resource name of the policy. Only the `default` policy is
|
2736
|
+
# supported: `projects/12345/consumerPolicies/default`, `folders/12345/
|
2737
|
+
# consumerPolicies/default`, `organizations/12345/consumerPolicies/default`.
|
2738
|
+
# Corresponds to the JSON property `name`
|
2739
|
+
# @return [String]
|
2740
|
+
attr_accessor :name
|
2741
|
+
|
2742
|
+
# Output only. The time the policy was last updated.
|
2743
|
+
# Corresponds to the JSON property `updateTime`
|
2744
|
+
# @return [String]
|
2745
|
+
attr_accessor :update_time
|
2746
|
+
|
2747
|
+
def initialize(**args)
|
2748
|
+
update!(**args)
|
2749
|
+
end
|
2750
|
+
|
2751
|
+
# Update properties of this object
|
2752
|
+
def update!(**args)
|
2753
|
+
@annotations = args[:annotations] if args.key?(:annotations)
|
2754
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
2755
|
+
@enable_rules = args[:enable_rules] if args.key?(:enable_rules)
|
2756
|
+
@etag = args[:etag] if args.key?(:etag)
|
2757
|
+
@name = args[:name] if args.key?(:name)
|
2758
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
2759
|
+
end
|
2760
|
+
end
|
2761
|
+
|
2762
|
+
# The consumer policy rule that defines enabled services, groups, and categories.
|
2763
|
+
class GoogleApiServiceusageV2betaEnableRule
|
2764
|
+
include Google::Apis::Core::Hashable
|
2765
|
+
|
2766
|
+
# The names of the services that are enabled. Example: `services/storage.
|
2767
|
+
# googleapis.com`.
|
2768
|
+
# Corresponds to the JSON property `services`
|
2769
|
+
# @return [Array<String>]
|
2770
|
+
attr_accessor :services
|
2771
|
+
|
2772
|
+
def initialize(**args)
|
2773
|
+
update!(**args)
|
2774
|
+
end
|
2775
|
+
|
2776
|
+
# Update properties of this object
|
2777
|
+
def update!(**args)
|
2778
|
+
@services = args[:services] if args.key?(:services)
|
2779
|
+
end
|
2780
|
+
end
|
2781
|
+
|
2782
|
+
# A message to group impacts of updating a policy.
|
2783
|
+
class GoogleApiServiceusageV2betaImpact
|
2784
|
+
include Google::Apis::Core::Hashable
|
2785
|
+
|
2786
|
+
# Output only. User friendly impact detail in a free form message.
|
2787
|
+
# Corresponds to the JSON property `detail`
|
2788
|
+
# @return [String]
|
2789
|
+
attr_accessor :detail
|
2790
|
+
|
2791
|
+
# Output only. The type of impact.
|
2792
|
+
# Corresponds to the JSON property `impactType`
|
2793
|
+
# @return [String]
|
2794
|
+
attr_accessor :impact_type
|
2795
|
+
|
2796
|
+
def initialize(**args)
|
2797
|
+
update!(**args)
|
2798
|
+
end
|
2799
|
+
|
2800
|
+
# Update properties of this object
|
2801
|
+
def update!(**args)
|
2802
|
+
@detail = args[:detail] if args.key?(:detail)
|
2803
|
+
@impact_type = args[:impact_type] if args.key?(:impact_type)
|
2804
|
+
end
|
2805
|
+
end
|
2806
|
+
|
2807
|
+
# Metadata for the `UpdateConsumerPolicy` method.
|
2808
|
+
class GoogleApiServiceusageV2betaUpdateConsumerPolicyMetadata
|
2809
|
+
include Google::Apis::Core::Hashable
|
2810
|
+
|
2811
|
+
def initialize(**args)
|
2812
|
+
update!(**args)
|
2813
|
+
end
|
2814
|
+
|
2815
|
+
# Update properties of this object
|
2816
|
+
def update!(**args)
|
2817
|
+
end
|
2818
|
+
end
|
2819
|
+
|
2603
2820
|
# Defines the HTTP configuration for an API service. It contains a list of
|
2604
2821
|
# HttpRule, each specifying the mapping of an RPC method to one or more HTTP
|
2605
2822
|
# REST API methods.
|
@@ -3651,7 +3868,7 @@ module Google
|
|
3651
3868
|
# AccessControl The mixin construct implies that all methods in `AccessControl`
|
3652
3869
|
# are also declared with same name and request/response types in `Storage`. A
|
3653
3870
|
# documentation generator or annotation processor will see the effective `
|
3654
|
-
# Storage.GetAcl` method after
|
3871
|
+
# Storage.GetAcl` method after inheriting documentation and annotations as
|
3655
3872
|
# follows: service Storage ` // Get the underlying ACL object. rpc GetAcl(
|
3656
3873
|
# GetAclRequest) returns (Acl) ` option (google.api.http).get = "/v2/`resource=**
|
3657
3874
|
# `:getAcl"; ` ... ` Note how the version in the path pattern changed from `v1`
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ServiceusageV1
|
18
18
|
# Version of the google-apis-serviceusage_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.59.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20241025"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -394,6 +394,54 @@ module Google
|
|
394
394
|
include Google::Apis::Core::JsonObjectSupport
|
395
395
|
end
|
396
396
|
|
397
|
+
class GoogleApiServiceusageV2betaAnalysis
|
398
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
399
|
+
|
400
|
+
include Google::Apis::Core::JsonObjectSupport
|
401
|
+
end
|
402
|
+
|
403
|
+
class GoogleApiServiceusageV2betaAnalysisResult
|
404
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
405
|
+
|
406
|
+
include Google::Apis::Core::JsonObjectSupport
|
407
|
+
end
|
408
|
+
|
409
|
+
class GoogleApiServiceusageV2betaAnalyzeConsumerPolicyMetadata
|
410
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
411
|
+
|
412
|
+
include Google::Apis::Core::JsonObjectSupport
|
413
|
+
end
|
414
|
+
|
415
|
+
class GoogleApiServiceusageV2betaAnalyzeConsumerPolicyResponse
|
416
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
417
|
+
|
418
|
+
include Google::Apis::Core::JsonObjectSupport
|
419
|
+
end
|
420
|
+
|
421
|
+
class GoogleApiServiceusageV2betaConsumerPolicy
|
422
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
423
|
+
|
424
|
+
include Google::Apis::Core::JsonObjectSupport
|
425
|
+
end
|
426
|
+
|
427
|
+
class GoogleApiServiceusageV2betaEnableRule
|
428
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
429
|
+
|
430
|
+
include Google::Apis::Core::JsonObjectSupport
|
431
|
+
end
|
432
|
+
|
433
|
+
class GoogleApiServiceusageV2betaImpact
|
434
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
435
|
+
|
436
|
+
include Google::Apis::Core::JsonObjectSupport
|
437
|
+
end
|
438
|
+
|
439
|
+
class GoogleApiServiceusageV2betaUpdateConsumerPolicyMetadata
|
440
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
441
|
+
|
442
|
+
include Google::Apis::Core::JsonObjectSupport
|
443
|
+
end
|
444
|
+
|
397
445
|
class Http
|
398
446
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
399
447
|
|
@@ -1385,6 +1433,75 @@ module Google
|
|
1385
1433
|
end
|
1386
1434
|
end
|
1387
1435
|
|
1436
|
+
class GoogleApiServiceusageV2betaAnalysis
|
1437
|
+
# @private
|
1438
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1439
|
+
property :analysis, as: 'analysis', class: Google::Apis::ServiceusageV1::GoogleApiServiceusageV2betaAnalysisResult, decorator: Google::Apis::ServiceusageV1::GoogleApiServiceusageV2betaAnalysisResult::Representation
|
1440
|
+
|
1441
|
+
property :analysis_type, as: 'analysisType'
|
1442
|
+
property :display_name, as: 'displayName'
|
1443
|
+
property :service, as: 'service'
|
1444
|
+
end
|
1445
|
+
end
|
1446
|
+
|
1447
|
+
class GoogleApiServiceusageV2betaAnalysisResult
|
1448
|
+
# @private
|
1449
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1450
|
+
collection :blockers, as: 'blockers', class: Google::Apis::ServiceusageV1::GoogleApiServiceusageV2betaImpact, decorator: Google::Apis::ServiceusageV1::GoogleApiServiceusageV2betaImpact::Representation
|
1451
|
+
|
1452
|
+
collection :warnings, as: 'warnings', class: Google::Apis::ServiceusageV1::GoogleApiServiceusageV2betaImpact, decorator: Google::Apis::ServiceusageV1::GoogleApiServiceusageV2betaImpact::Representation
|
1453
|
+
|
1454
|
+
end
|
1455
|
+
end
|
1456
|
+
|
1457
|
+
class GoogleApiServiceusageV2betaAnalyzeConsumerPolicyMetadata
|
1458
|
+
# @private
|
1459
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1460
|
+
end
|
1461
|
+
end
|
1462
|
+
|
1463
|
+
class GoogleApiServiceusageV2betaAnalyzeConsumerPolicyResponse
|
1464
|
+
# @private
|
1465
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1466
|
+
collection :analysis, as: 'analysis', class: Google::Apis::ServiceusageV1::GoogleApiServiceusageV2betaAnalysis, decorator: Google::Apis::ServiceusageV1::GoogleApiServiceusageV2betaAnalysis::Representation
|
1467
|
+
|
1468
|
+
end
|
1469
|
+
end
|
1470
|
+
|
1471
|
+
class GoogleApiServiceusageV2betaConsumerPolicy
|
1472
|
+
# @private
|
1473
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1474
|
+
hash :annotations, as: 'annotations'
|
1475
|
+
property :create_time, as: 'createTime'
|
1476
|
+
collection :enable_rules, as: 'enableRules', class: Google::Apis::ServiceusageV1::GoogleApiServiceusageV2betaEnableRule, decorator: Google::Apis::ServiceusageV1::GoogleApiServiceusageV2betaEnableRule::Representation
|
1477
|
+
|
1478
|
+
property :etag, as: 'etag'
|
1479
|
+
property :name, as: 'name'
|
1480
|
+
property :update_time, as: 'updateTime'
|
1481
|
+
end
|
1482
|
+
end
|
1483
|
+
|
1484
|
+
class GoogleApiServiceusageV2betaEnableRule
|
1485
|
+
# @private
|
1486
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1487
|
+
collection :services, as: 'services'
|
1488
|
+
end
|
1489
|
+
end
|
1490
|
+
|
1491
|
+
class GoogleApiServiceusageV2betaImpact
|
1492
|
+
# @private
|
1493
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1494
|
+
property :detail, as: 'detail'
|
1495
|
+
property :impact_type, as: 'impactType'
|
1496
|
+
end
|
1497
|
+
end
|
1498
|
+
|
1499
|
+
class GoogleApiServiceusageV2betaUpdateConsumerPolicyMetadata
|
1500
|
+
# @private
|
1501
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1502
|
+
end
|
1503
|
+
end
|
1504
|
+
|
1388
1505
|
class Http
|
1389
1506
|
# @private
|
1390
1507
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-serviceusage_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.59.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: 2024-
|
11
|
+
date: 2024-11-03 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-serviceusage_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-serviceusage_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-serviceusage_v1/v0.59.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-serviceusage_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.5.
|
78
|
+
rubygems_version: 3.5.21
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Service Usage API V1
|