google-apis-serviceusage_v1 0.27.0 → 0.28.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: 16e579ee9ea8b34bc46f4b5f4c0165f39cbcbda7034bbd52be836ad00b23ef8d
4
- data.tar.gz: 95708584fecceb6bef2b290afc7fda50f90e05d425f1d9c79f773b9c7330eacd
3
+ metadata.gz: 639393c5a569b400b9dd1ef145a918763e791d9706932cf4fa5c0970523955c0
4
+ data.tar.gz: 3605205a65382257609961f865064f94c71b00a44a8dd6fdb3f55dbc86f67ba8
5
5
  SHA512:
6
- metadata.gz: f3a724d81d686e713820368b8a602d88933f9af47bd4c44d59155b9de1419cd0a63c22c10b0a8b8e79624387303ed6c70a11ff919f201b9836c27977eae9b993
7
- data.tar.gz: 817134914819be8f3c6ff36abc2efa4bfa8b46aeca6d76ec3a5d8877bae49b32f13b083bce8147522f977cedd7730d7f3f8ece179ed00a921aa0ae83d163dc94
6
+ metadata.gz: 336b814259a4dae59ed7d9320798c6fc95d68a7f5b49ae64fc36b762ae1b40323b4d30844efb226dd96268d26afb7a2546279c19810a8adfa03a84312292b009
7
+ data.tar.gz: 604bc07b242d60b51fac9dd2671a1e6bc616b8a312116733ea397de37065506b25e5aefb4ac8468c9555b27cf86d1660548df33dd83d81cc1c002ce015c8ee86
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-serviceusage_v1
2
2
 
3
+ ### v0.28.0 (2022-11-18)
4
+
5
+ * Regenerated from discovery document revision 20221115
6
+
3
7
  ### v0.27.0 (2022-10-28)
4
8
 
5
9
  * Regenerated using generator version 0.11.0
@@ -419,6 +419,11 @@ module Google
419
419
  # @return [String]
420
420
  attr_accessor :jwt_audience
421
421
 
422
+ # Deprecated, do not use.
423
+ # Corresponds to the JSON property `minDeadline`
424
+ # @return [Float]
425
+ attr_accessor :min_deadline
426
+
422
427
  # The number of seconds to wait for the completion of a long running operation.
423
428
  # The default is no deadline.
424
429
  # Corresponds to the JSON property `operationDeadline`
@@ -459,6 +464,7 @@ module Google
459
464
  @deadline = args[:deadline] if args.key?(:deadline)
460
465
  @disable_auth = args[:disable_auth] if args.key?(:disable_auth)
461
466
  @jwt_audience = args[:jwt_audience] if args.key?(:jwt_audience)
467
+ @min_deadline = args[:min_deadline] if args.key?(:min_deadline)
462
468
  @operation_deadline = args[:operation_deadline] if args.key?(:operation_deadline)
463
469
  @path_translation = args[:path_translation] if args.key?(:path_translation)
464
470
  @protocol = args[:protocol] if args.key?(:protocol)
@@ -651,6 +657,113 @@ module Google
651
657
  end
652
658
  end
653
659
 
660
+ # Details about how and where to publish client libraries.
661
+ class ClientLibrarySettings
662
+ include Google::Apis::Core::Hashable
663
+
664
+ # Settings for C++ client libraries.
665
+ # Corresponds to the JSON property `cppSettings`
666
+ # @return [Google::Apis::ServiceusageV1::CppSettings]
667
+ attr_accessor :cpp_settings
668
+
669
+ # Settings for Dotnet client libraries.
670
+ # Corresponds to the JSON property `dotnetSettings`
671
+ # @return [Google::Apis::ServiceusageV1::DotnetSettings]
672
+ attr_accessor :dotnet_settings
673
+
674
+ # Settings for Go client libraries.
675
+ # Corresponds to the JSON property `goSettings`
676
+ # @return [Google::Apis::ServiceusageV1::GoSettings]
677
+ attr_accessor :go_settings
678
+
679
+ # Settings for Java client libraries.
680
+ # Corresponds to the JSON property `javaSettings`
681
+ # @return [Google::Apis::ServiceusageV1::JavaSettings]
682
+ attr_accessor :java_settings
683
+
684
+ # Launch stage of this version of the API.
685
+ # Corresponds to the JSON property `launchStage`
686
+ # @return [String]
687
+ attr_accessor :launch_stage
688
+
689
+ # Settings for Node client libraries.
690
+ # Corresponds to the JSON property `nodeSettings`
691
+ # @return [Google::Apis::ServiceusageV1::NodeSettings]
692
+ attr_accessor :node_settings
693
+
694
+ # Settings for Php client libraries.
695
+ # Corresponds to the JSON property `phpSettings`
696
+ # @return [Google::Apis::ServiceusageV1::PhpSettings]
697
+ attr_accessor :php_settings
698
+
699
+ # Settings for Python client libraries.
700
+ # Corresponds to the JSON property `pythonSettings`
701
+ # @return [Google::Apis::ServiceusageV1::PythonSettings]
702
+ attr_accessor :python_settings
703
+
704
+ # When using transport=rest, the client request will encode enums as numbers
705
+ # rather than strings.
706
+ # Corresponds to the JSON property `restNumericEnums`
707
+ # @return [Boolean]
708
+ attr_accessor :rest_numeric_enums
709
+ alias_method :rest_numeric_enums?, :rest_numeric_enums
710
+
711
+ # Settings for Ruby client libraries.
712
+ # Corresponds to the JSON property `rubySettings`
713
+ # @return [Google::Apis::ServiceusageV1::RubySettings]
714
+ attr_accessor :ruby_settings
715
+
716
+ # Version of the API to apply these settings to.
717
+ # Corresponds to the JSON property `version`
718
+ # @return [String]
719
+ attr_accessor :version
720
+
721
+ def initialize(**args)
722
+ update!(**args)
723
+ end
724
+
725
+ # Update properties of this object
726
+ def update!(**args)
727
+ @cpp_settings = args[:cpp_settings] if args.key?(:cpp_settings)
728
+ @dotnet_settings = args[:dotnet_settings] if args.key?(:dotnet_settings)
729
+ @go_settings = args[:go_settings] if args.key?(:go_settings)
730
+ @java_settings = args[:java_settings] if args.key?(:java_settings)
731
+ @launch_stage = args[:launch_stage] if args.key?(:launch_stage)
732
+ @node_settings = args[:node_settings] if args.key?(:node_settings)
733
+ @php_settings = args[:php_settings] if args.key?(:php_settings)
734
+ @python_settings = args[:python_settings] if args.key?(:python_settings)
735
+ @rest_numeric_enums = args[:rest_numeric_enums] if args.key?(:rest_numeric_enums)
736
+ @ruby_settings = args[:ruby_settings] if args.key?(:ruby_settings)
737
+ @version = args[:version] if args.key?(:version)
738
+ end
739
+ end
740
+
741
+ # Required information for every language.
742
+ class CommonLanguageSettings
743
+ include Google::Apis::Core::Hashable
744
+
745
+ # The destination where API teams want this client library to be published.
746
+ # Corresponds to the JSON property `destinations`
747
+ # @return [Array<String>]
748
+ attr_accessor :destinations
749
+
750
+ # Link to automatically generated reference documentation. Example: https://
751
+ # cloud.google.com/nodejs/docs/reference/asset/latest
752
+ # Corresponds to the JSON property `referenceDocsUri`
753
+ # @return [String]
754
+ attr_accessor :reference_docs_uri
755
+
756
+ def initialize(**args)
757
+ update!(**args)
758
+ end
759
+
760
+ # Update properties of this object
761
+ def update!(**args)
762
+ @destinations = args[:destinations] if args.key?(:destinations)
763
+ @reference_docs_uri = args[:reference_docs_uri] if args.key?(:reference_docs_uri)
764
+ end
765
+ end
766
+
654
767
  # `Context` defines which contexts an API requests. Example: context: rules: -
655
768
  # selector: "*" requested: - google.rpc.context.ProjectContext - google.rpc.
656
769
  # context.OriginContext The above specifies that all methods in the API request `
@@ -730,15 +843,8 @@ module Google
730
843
  end
731
844
  end
732
845
 
733
- # Selects and configures the service controller used by the service. The service
734
- # controller handles two things: - **What is allowed:** for each API request,
735
- # Chemist checks the project status, activation status, abuse status, billing
736
- # status, service status, location restrictions, VPC Service Controls,
737
- # SuperQuota, and other policies. - **What has happened:** for each API response,
738
- # Chemist reports the telemetry data to analytics, auditing, billing, eventing,
739
- # logging, monitoring, sawmill, and tracing. Chemist also accepts telemetry data
740
- # not associated with API traffic, such as billing metrics. Example: control:
741
- # environment: servicecontrol.googleapis.com
846
+ # Selects and configures the service controller used by the service. Example:
847
+ # control: environment: servicecontrol.googleapis.com
742
848
  class Control
743
849
  include Google::Apis::Core::Hashable
744
850
 
@@ -759,6 +865,25 @@ module Google
759
865
  end
760
866
  end
761
867
 
868
+ # Settings for C++ client libraries.
869
+ class CppSettings
870
+ include Google::Apis::Core::Hashable
871
+
872
+ # Required information for every language.
873
+ # Corresponds to the JSON property `common`
874
+ # @return [Google::Apis::ServiceusageV1::CommonLanguageSettings]
875
+ attr_accessor :common
876
+
877
+ def initialize(**args)
878
+ update!(**args)
879
+ end
880
+
881
+ # Update properties of this object
882
+ def update!(**args)
883
+ @common = args[:common] if args.key?(:common)
884
+ end
885
+ end
886
+
762
887
  # Metadata message that provides information such as progress, partial failures,
763
888
  # and similar information on each GetOperation call of LRO returned by
764
889
  # CreateAdminQuotaPolicy.
@@ -1044,6 +1169,25 @@ module Google
1044
1169
  end
1045
1170
  end
1046
1171
 
1172
+ # Settings for Dotnet client libraries.
1173
+ class DotnetSettings
1174
+ include Google::Apis::Core::Hashable
1175
+
1176
+ # Required information for every language.
1177
+ # Corresponds to the JSON property `common`
1178
+ # @return [Google::Apis::ServiceusageV1::CommonLanguageSettings]
1179
+ attr_accessor :common
1180
+
1181
+ def initialize(**args)
1182
+ update!(**args)
1183
+ end
1184
+
1185
+ # Update properties of this object
1186
+ def update!(**args)
1187
+ @common = args[:common] if args.key?(:common)
1188
+ end
1189
+ end
1190
+
1047
1191
  # A generic empty message that you can re-use to avoid defining duplicated empty
1048
1192
  # messages in your APIs. A typical example is to use it as the request or the
1049
1193
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -1134,6 +1278,13 @@ module Google
1134
1278
  class Endpoint
1135
1279
  include Google::Apis::Core::Hashable
1136
1280
 
1281
+ # Unimplemented. Dot not use. DEPRECATED: This field is no longer supported.
1282
+ # Instead of using aliases, please specify multiple google.api.Endpoint for each
1283
+ # of the intended aliases. Additional names that this endpoint will be hosted on.
1284
+ # Corresponds to the JSON property `aliases`
1285
+ # @return [Array<String>]
1286
+ attr_accessor :aliases
1287
+
1137
1288
  # Allowing [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing),
1138
1289
  # aka cross-domain traffic, would allow the backends served from this endpoint
1139
1290
  # to receive and respond to HTTP OPTIONS requests. The response will be used by
@@ -1163,6 +1314,7 @@ module Google
1163
1314
 
1164
1315
  # Update properties of this object
1165
1316
  def update!(**args)
1317
+ @aliases = args[:aliases] if args.key?(:aliases)
1166
1318
  @allow_cors = args[:allow_cors] if args.key?(:allow_cors)
1167
1319
  @name = args[:name] if args.key?(:name)
1168
1320
  @target = args[:target] if args.key?(:target)
@@ -1359,6 +1511,25 @@ module Google
1359
1511
  end
1360
1512
  end
1361
1513
 
1514
+ # Settings for Go client libraries.
1515
+ class GoSettings
1516
+ include Google::Apis::Core::Hashable
1517
+
1518
+ # Required information for every language.
1519
+ # Corresponds to the JSON property `common`
1520
+ # @return [Google::Apis::ServiceusageV1::CommonLanguageSettings]
1521
+ attr_accessor :common
1522
+
1523
+ def initialize(**args)
1524
+ update!(**args)
1525
+ end
1526
+
1527
+ # Update properties of this object
1528
+ def update!(**args)
1529
+ @common = args[:common] if args.key?(:common)
1530
+ end
1531
+ end
1532
+
1362
1533
  # `Service` is the root object of Google API service configuration (service
1363
1534
  # config). It describes the basic information about a logical service, such as
1364
1535
  # the service name and the user-facing title, and delegates other aspects to sub-
@@ -1442,15 +1613,8 @@ module Google
1442
1613
  # @return [Google::Apis::ServiceusageV1::Context]
1443
1614
  attr_accessor :context
1444
1615
 
1445
- # Selects and configures the service controller used by the service. The service
1446
- # controller handles two things: - **What is allowed:** for each API request,
1447
- # Chemist checks the project status, activation status, abuse status, billing
1448
- # status, service status, location restrictions, VPC Service Controls,
1449
- # SuperQuota, and other policies. - **What has happened:** for each API response,
1450
- # Chemist reports the telemetry data to analytics, auditing, billing, eventing,
1451
- # logging, monitoring, sawmill, and tracing. Chemist also accepts telemetry data
1452
- # not associated with API traffic, such as billing metrics. Example: control:
1453
- # environment: servicecontrol.googleapis.com
1616
+ # Selects and configures the service controller used by the service. Example:
1617
+ # control: environment: servicecontrol.googleapis.com
1454
1618
  # Corresponds to the JSON property `control`
1455
1619
  # @return [Google::Apis::ServiceusageV1::Control]
1456
1620
  attr_accessor :control
@@ -1592,6 +1756,13 @@ module Google
1592
1756
  # @return [String]
1593
1757
  attr_accessor :producer_project_id
1594
1758
 
1759
+ # This message configures the settings for publishing [Google Cloud Client
1760
+ # libraries](https://cloud.google.com/apis/docs/cloud-client-libraries)
1761
+ # generated from the service config.
1762
+ # Corresponds to the JSON property `publishing`
1763
+ # @return [Google::Apis::ServiceusageV1::Publishing]
1764
+ attr_accessor :publishing
1765
+
1595
1766
  # Quota configuration helps to achieve fairness and budgeting in service usage.
1596
1767
  # The metric based quota configuration works this way: - The service
1597
1768
  # configuration defines a set of metrics. - For API calls, the quota.
@@ -1682,6 +1853,7 @@ module Google
1682
1853
  @monitoring = args[:monitoring] if args.key?(:monitoring)
1683
1854
  @name = args[:name] if args.key?(:name)
1684
1855
  @producer_project_id = args[:producer_project_id] if args.key?(:producer_project_id)
1856
+ @publishing = args[:publishing] if args.key?(:publishing)
1685
1857
  @quota = args[:quota] if args.key?(:quota)
1686
1858
  @source_info = args[:source_info] if args.key?(:source_info)
1687
1859
  @system_parameters = args[:system_parameters] if args.key?(:system_parameters)
@@ -2294,6 +2466,48 @@ module Google
2294
2466
  end
2295
2467
  end
2296
2468
 
2469
+ # Settings for Java client libraries.
2470
+ class JavaSettings
2471
+ include Google::Apis::Core::Hashable
2472
+
2473
+ # Required information for every language.
2474
+ # Corresponds to the JSON property `common`
2475
+ # @return [Google::Apis::ServiceusageV1::CommonLanguageSettings]
2476
+ attr_accessor :common
2477
+
2478
+ # The package name to use in Java. Clobbers the java_package option set in the
2479
+ # protobuf. This should be used **only** by APIs who have already set the
2480
+ # language_settings.java.package_name" field in gapic.yaml. API teams should use
2481
+ # the protobuf java_package option where possible. Example of a YAML
2482
+ # configuration:: publishing: java_settings: library_package: com.google.cloud.
2483
+ # pubsub.v1
2484
+ # Corresponds to the JSON property `libraryPackage`
2485
+ # @return [String]
2486
+ attr_accessor :library_package
2487
+
2488
+ # Configure the Java class name to use instead of the service's for its
2489
+ # corresponding generated GAPIC client. Keys are fully-qualified service names
2490
+ # as they appear in the protobuf (including the full the language_settings.java.
2491
+ # interface_names" field in gapic.yaml. API teams should otherwise use the
2492
+ # service name as it appears in the protobuf. Example of a YAML configuration::
2493
+ # publishing: java_settings: service_class_names: - google.pubsub.v1.Publisher:
2494
+ # TopicAdmin - google.pubsub.v1.Subscriber: SubscriptionAdmin
2495
+ # Corresponds to the JSON property `serviceClassNames`
2496
+ # @return [Hash<String,String>]
2497
+ attr_accessor :service_class_names
2498
+
2499
+ def initialize(**args)
2500
+ update!(**args)
2501
+ end
2502
+
2503
+ # Update properties of this object
2504
+ def update!(**args)
2505
+ @common = args[:common] if args.key?(:common)
2506
+ @library_package = args[:library_package] if args.key?(:library_package)
2507
+ @service_class_names = args[:service_class_names] if args.key?(:service_class_names)
2508
+ end
2509
+ end
2510
+
2297
2511
  # Specifies a location to extract JWT from an API request.
2298
2512
  class JwtLocation
2299
2513
  include Google::Apis::Core::Hashable
@@ -2531,6 +2745,49 @@ module Google
2531
2745
  end
2532
2746
  end
2533
2747
 
2748
+ # Describes settings to use when generating API methods that use the long-
2749
+ # running operation pattern. All default values below are from those used in the
2750
+ # client library generators (e.g. [Java](https://github.com/googleapis/gapic-
2751
+ # generator-java/blob/04c2faa191a9b5a10b92392fe8482279c4404803/src/main/java/com/
2752
+ # google/api/generator/gapic/composer/common/RetrySettingsComposer.java)).
2753
+ class LongRunning
2754
+ include Google::Apis::Core::Hashable
2755
+
2756
+ # Initial delay after which the first poll request will be made. Default value:
2757
+ # 5 seconds.
2758
+ # Corresponds to the JSON property `initialPollDelay`
2759
+ # @return [String]
2760
+ attr_accessor :initial_poll_delay
2761
+
2762
+ # Maximum time between two subsequent poll requests. Default value: 45 seconds.
2763
+ # Corresponds to the JSON property `maxPollDelay`
2764
+ # @return [String]
2765
+ attr_accessor :max_poll_delay
2766
+
2767
+ # Multiplier to gradually increase delay between subsequent polls until it
2768
+ # reaches max_poll_delay. Default value: 1.5.
2769
+ # Corresponds to the JSON property `pollDelayMultiplier`
2770
+ # @return [Float]
2771
+ attr_accessor :poll_delay_multiplier
2772
+
2773
+ # Total polling timeout. Default value: 5 minutes.
2774
+ # Corresponds to the JSON property `totalPollTimeout`
2775
+ # @return [String]
2776
+ attr_accessor :total_poll_timeout
2777
+
2778
+ def initialize(**args)
2779
+ update!(**args)
2780
+ end
2781
+
2782
+ # Update properties of this object
2783
+ def update!(**args)
2784
+ @initial_poll_delay = args[:initial_poll_delay] if args.key?(:initial_poll_delay)
2785
+ @max_poll_delay = args[:max_poll_delay] if args.key?(:max_poll_delay)
2786
+ @poll_delay_multiplier = args[:poll_delay_multiplier] if args.key?(:poll_delay_multiplier)
2787
+ @total_poll_timeout = args[:total_poll_timeout] if args.key?(:total_poll_timeout)
2788
+ end
2789
+ end
2790
+
2534
2791
  # Method represents a method of an API interface.
2535
2792
  class MethodProp
2536
2793
  include Google::Apis::Core::Hashable
@@ -2588,6 +2845,36 @@ module Google
2588
2845
  end
2589
2846
  end
2590
2847
 
2848
+ # Describes the generator configuration for a method.
2849
+ class MethodSettings
2850
+ include Google::Apis::Core::Hashable
2851
+
2852
+ # Describes settings to use when generating API methods that use the long-
2853
+ # running operation pattern. All default values below are from those used in the
2854
+ # client library generators (e.g. [Java](https://github.com/googleapis/gapic-
2855
+ # generator-java/blob/04c2faa191a9b5a10b92392fe8482279c4404803/src/main/java/com/
2856
+ # google/api/generator/gapic/composer/common/RetrySettingsComposer.java)).
2857
+ # Corresponds to the JSON property `longRunning`
2858
+ # @return [Google::Apis::ServiceusageV1::LongRunning]
2859
+ attr_accessor :long_running
2860
+
2861
+ # The fully qualified name of the method, for which the options below apply.
2862
+ # This is used to find the method to apply the options.
2863
+ # Corresponds to the JSON property `selector`
2864
+ # @return [String]
2865
+ attr_accessor :selector
2866
+
2867
+ def initialize(**args)
2868
+ update!(**args)
2869
+ end
2870
+
2871
+ # Update properties of this object
2872
+ def update!(**args)
2873
+ @long_running = args[:long_running] if args.key?(:long_running)
2874
+ @selector = args[:selector] if args.key?(:selector)
2875
+ end
2876
+ end
2877
+
2591
2878
  # Defines a metric type and its schema. Once a metric descriptor is created,
2592
2879
  # deleting or altering it stops data collection and makes the metric type's
2593
2880
  # existing data unusable.
@@ -3003,6 +3290,25 @@ module Google
3003
3290
  end
3004
3291
  end
3005
3292
 
3293
+ # Settings for Node client libraries.
3294
+ class NodeSettings
3295
+ include Google::Apis::Core::Hashable
3296
+
3297
+ # Required information for every language.
3298
+ # Corresponds to the JSON property `common`
3299
+ # @return [Google::Apis::ServiceusageV1::CommonLanguageSettings]
3300
+ attr_accessor :common
3301
+
3302
+ def initialize(**args)
3303
+ update!(**args)
3304
+ end
3305
+
3306
+ # Update properties of this object
3307
+ def update!(**args)
3308
+ @common = args[:common] if args.key?(:common)
3309
+ end
3310
+ end
3311
+
3006
3312
  # OAuth scopes are a way to define data and permissions on data. For example,
3007
3313
  # there are scopes defined for "Read-only access to Google Calendar" and "Access
3008
3314
  # to Cloud Platform". Users can consent to a scope for an application, giving it
@@ -3191,6 +3497,122 @@ module Google
3191
3497
  end
3192
3498
  end
3193
3499
 
3500
+ # Settings for Php client libraries.
3501
+ class PhpSettings
3502
+ include Google::Apis::Core::Hashable
3503
+
3504
+ # Required information for every language.
3505
+ # Corresponds to the JSON property `common`
3506
+ # @return [Google::Apis::ServiceusageV1::CommonLanguageSettings]
3507
+ attr_accessor :common
3508
+
3509
+ def initialize(**args)
3510
+ update!(**args)
3511
+ end
3512
+
3513
+ # Update properties of this object
3514
+ def update!(**args)
3515
+ @common = args[:common] if args.key?(:common)
3516
+ end
3517
+ end
3518
+
3519
+ # This message configures the settings for publishing [Google Cloud Client
3520
+ # libraries](https://cloud.google.com/apis/docs/cloud-client-libraries)
3521
+ # generated from the service config.
3522
+ class Publishing
3523
+ include Google::Apis::Core::Hashable
3524
+
3525
+ # Used as a tracking tag when collecting data about the APIs developer relations
3526
+ # artifacts like docs, packages delivered to package managers, etc. Example: "
3527
+ # speech".
3528
+ # Corresponds to the JSON property `apiShortName`
3529
+ # @return [String]
3530
+ attr_accessor :api_short_name
3531
+
3532
+ # GitHub teams to be added to CODEOWNERS in the directory in GitHub containing
3533
+ # source code for the client libraries for this API.
3534
+ # Corresponds to the JSON property `codeownerGithubTeams`
3535
+ # @return [Array<String>]
3536
+ attr_accessor :codeowner_github_teams
3537
+
3538
+ # A prefix used in sample code when demarking regions to be included in
3539
+ # documentation.
3540
+ # Corresponds to the JSON property `docTagPrefix`
3541
+ # @return [String]
3542
+ attr_accessor :doc_tag_prefix
3543
+
3544
+ # Link to product home page. Example: https://cloud.google.com/asset-inventory/
3545
+ # docs/overview
3546
+ # Corresponds to the JSON property `documentationUri`
3547
+ # @return [String]
3548
+ attr_accessor :documentation_uri
3549
+
3550
+ # GitHub label to apply to issues and pull requests opened for this API.
3551
+ # Corresponds to the JSON property `githubLabel`
3552
+ # @return [String]
3553
+ attr_accessor :github_label
3554
+
3555
+ # Client library settings. If the same version string appears multiple times in
3556
+ # this list, then the last one wins. Settings from earlier settings with the
3557
+ # same version string are discarded.
3558
+ # Corresponds to the JSON property `librarySettings`
3559
+ # @return [Array<Google::Apis::ServiceusageV1::ClientLibrarySettings>]
3560
+ attr_accessor :library_settings
3561
+
3562
+ # A list of API method settings, e.g. the behavior for methods that use the long-
3563
+ # running operation pattern.
3564
+ # Corresponds to the JSON property `methodSettings`
3565
+ # @return [Array<Google::Apis::ServiceusageV1::MethodSettings>]
3566
+ attr_accessor :method_settings
3567
+
3568
+ # Link to a place that API users can report issues. Example: https://
3569
+ # issuetracker.google.com/issues/new?component=190865&template=1161103
3570
+ # Corresponds to the JSON property `newIssueUri`
3571
+ # @return [String]
3572
+ attr_accessor :new_issue_uri
3573
+
3574
+ # For whom the client library is being published.
3575
+ # Corresponds to the JSON property `organization`
3576
+ # @return [String]
3577
+ attr_accessor :organization
3578
+
3579
+ def initialize(**args)
3580
+ update!(**args)
3581
+ end
3582
+
3583
+ # Update properties of this object
3584
+ def update!(**args)
3585
+ @api_short_name = args[:api_short_name] if args.key?(:api_short_name)
3586
+ @codeowner_github_teams = args[:codeowner_github_teams] if args.key?(:codeowner_github_teams)
3587
+ @doc_tag_prefix = args[:doc_tag_prefix] if args.key?(:doc_tag_prefix)
3588
+ @documentation_uri = args[:documentation_uri] if args.key?(:documentation_uri)
3589
+ @github_label = args[:github_label] if args.key?(:github_label)
3590
+ @library_settings = args[:library_settings] if args.key?(:library_settings)
3591
+ @method_settings = args[:method_settings] if args.key?(:method_settings)
3592
+ @new_issue_uri = args[:new_issue_uri] if args.key?(:new_issue_uri)
3593
+ @organization = args[:organization] if args.key?(:organization)
3594
+ end
3595
+ end
3596
+
3597
+ # Settings for Python client libraries.
3598
+ class PythonSettings
3599
+ include Google::Apis::Core::Hashable
3600
+
3601
+ # Required information for every language.
3602
+ # Corresponds to the JSON property `common`
3603
+ # @return [Google::Apis::ServiceusageV1::CommonLanguageSettings]
3604
+ attr_accessor :common
3605
+
3606
+ def initialize(**args)
3607
+ update!(**args)
3608
+ end
3609
+
3610
+ # Update properties of this object
3611
+ def update!(**args)
3612
+ @common = args[:common] if args.key?(:common)
3613
+ end
3614
+ end
3615
+
3194
3616
  # Quota configuration helps to achieve fairness and budgeting in service usage.
3195
3617
  # The metric based quota configuration works this way: - The service
3196
3618
  # configuration defines a set of metrics. - For API calls, the quota.
@@ -3417,6 +3839,25 @@ module Google
3417
3839
  end
3418
3840
  end
3419
3841
 
3842
+ # Settings for Ruby client libraries.
3843
+ class RubySettings
3844
+ include Google::Apis::Core::Hashable
3845
+
3846
+ # Required information for every language.
3847
+ # Corresponds to the JSON property `common`
3848
+ # @return [Google::Apis::ServiceusageV1::CommonLanguageSettings]
3849
+ attr_accessor :common
3850
+
3851
+ def initialize(**args)
3852
+ update!(**args)
3853
+ end
3854
+
3855
+ # Update properties of this object
3856
+ def update!(**args)
3857
+ @common = args[:common] if args.key?(:common)
3858
+ end
3859
+ end
3860
+
3420
3861
  # Service identity for a service. This is the identity that service producer
3421
3862
  # should use to access consumer resources.
3422
3863
  class ServiceIdentity
@@ -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.27.0"
19
+ GEM_VERSION = "0.28.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.11.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220907"
25
+ REVISION = "20221115"
26
26
  end
27
27
  end
28
28
  end
@@ -118,6 +118,18 @@ module Google
118
118
  include Google::Apis::Core::JsonObjectSupport
119
119
  end
120
120
 
121
+ class ClientLibrarySettings
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class CommonLanguageSettings
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
121
133
  class Context
122
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
135
 
@@ -136,6 +148,12 @@ module Google
136
148
  include Google::Apis::Core::JsonObjectSupport
137
149
  end
138
150
 
151
+ class CppSettings
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
139
157
  class CreateAdminQuotaPolicyMetadata
140
158
  class Representation < Google::Apis::Core::JsonRepresentation; end
141
159
 
@@ -190,6 +208,12 @@ module Google
190
208
  include Google::Apis::Core::JsonObjectSupport
191
209
  end
192
210
 
211
+ class DotnetSettings
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
193
217
  class Empty
194
218
  class Representation < Google::Apis::Core::JsonRepresentation; end
195
219
 
@@ -250,6 +274,12 @@ module Google
250
274
  include Google::Apis::Core::JsonObjectSupport
251
275
  end
252
276
 
277
+ class GoSettings
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
253
283
  class GoogleApiService
254
284
  class Representation < Google::Apis::Core::JsonRepresentation; end
255
285
 
@@ -334,6 +364,12 @@ module Google
334
364
  include Google::Apis::Core::JsonObjectSupport
335
365
  end
336
366
 
367
+ class JavaSettings
368
+ class Representation < Google::Apis::Core::JsonRepresentation; end
369
+
370
+ include Google::Apis::Core::JsonObjectSupport
371
+ end
372
+
337
373
  class JwtLocation
338
374
  class Representation < Google::Apis::Core::JsonRepresentation; end
339
375
 
@@ -376,12 +412,24 @@ module Google
376
412
  include Google::Apis::Core::JsonObjectSupport
377
413
  end
378
414
 
415
+ class LongRunning
416
+ class Representation < Google::Apis::Core::JsonRepresentation; end
417
+
418
+ include Google::Apis::Core::JsonObjectSupport
419
+ end
420
+
379
421
  class MethodProp
380
422
  class Representation < Google::Apis::Core::JsonRepresentation; end
381
423
 
382
424
  include Google::Apis::Core::JsonObjectSupport
383
425
  end
384
426
 
427
+ class MethodSettings
428
+ class Representation < Google::Apis::Core::JsonRepresentation; end
429
+
430
+ include Google::Apis::Core::JsonObjectSupport
431
+ end
432
+
385
433
  class MetricDescriptor
386
434
  class Representation < Google::Apis::Core::JsonRepresentation; end
387
435
 
@@ -424,6 +472,12 @@ module Google
424
472
  include Google::Apis::Core::JsonObjectSupport
425
473
  end
426
474
 
475
+ class NodeSettings
476
+ class Representation < Google::Apis::Core::JsonRepresentation; end
477
+
478
+ include Google::Apis::Core::JsonObjectSupport
479
+ end
480
+
427
481
  class OAuthRequirements
428
482
  class Representation < Google::Apis::Core::JsonRepresentation; end
429
483
 
@@ -454,6 +508,24 @@ module Google
454
508
  include Google::Apis::Core::JsonObjectSupport
455
509
  end
456
510
 
511
+ class PhpSettings
512
+ class Representation < Google::Apis::Core::JsonRepresentation; end
513
+
514
+ include Google::Apis::Core::JsonObjectSupport
515
+ end
516
+
517
+ class Publishing
518
+ class Representation < Google::Apis::Core::JsonRepresentation; end
519
+
520
+ include Google::Apis::Core::JsonObjectSupport
521
+ end
522
+
523
+ class PythonSettings
524
+ class Representation < Google::Apis::Core::JsonRepresentation; end
525
+
526
+ include Google::Apis::Core::JsonObjectSupport
527
+ end
528
+
457
529
  class Quota
458
530
  class Representation < Google::Apis::Core::JsonRepresentation; end
459
531
 
@@ -472,6 +544,12 @@ module Google
472
544
  include Google::Apis::Core::JsonObjectSupport
473
545
  end
474
546
 
547
+ class RubySettings
548
+ class Representation < Google::Apis::Core::JsonRepresentation; end
549
+
550
+ include Google::Apis::Core::JsonObjectSupport
551
+ end
552
+
475
553
  class ServiceIdentity
476
554
  class Representation < Google::Apis::Core::JsonRepresentation; end
477
555
 
@@ -625,6 +703,7 @@ module Google
625
703
  property :deadline, as: 'deadline'
626
704
  property :disable_auth, as: 'disableAuth'
627
705
  property :jwt_audience, as: 'jwtAudience'
706
+ property :min_deadline, as: 'minDeadline'
628
707
  property :operation_deadline, as: 'operationDeadline'
629
708
  property :path_translation, as: 'pathTranslation'
630
709
  property :protocol, as: 'protocol'
@@ -695,6 +774,39 @@ module Google
695
774
  end
696
775
  end
697
776
 
777
+ class ClientLibrarySettings
778
+ # @private
779
+ class Representation < Google::Apis::Core::JsonRepresentation
780
+ property :cpp_settings, as: 'cppSettings', class: Google::Apis::ServiceusageV1::CppSettings, decorator: Google::Apis::ServiceusageV1::CppSettings::Representation
781
+
782
+ property :dotnet_settings, as: 'dotnetSettings', class: Google::Apis::ServiceusageV1::DotnetSettings, decorator: Google::Apis::ServiceusageV1::DotnetSettings::Representation
783
+
784
+ property :go_settings, as: 'goSettings', class: Google::Apis::ServiceusageV1::GoSettings, decorator: Google::Apis::ServiceusageV1::GoSettings::Representation
785
+
786
+ property :java_settings, as: 'javaSettings', class: Google::Apis::ServiceusageV1::JavaSettings, decorator: Google::Apis::ServiceusageV1::JavaSettings::Representation
787
+
788
+ property :launch_stage, as: 'launchStage'
789
+ property :node_settings, as: 'nodeSettings', class: Google::Apis::ServiceusageV1::NodeSettings, decorator: Google::Apis::ServiceusageV1::NodeSettings::Representation
790
+
791
+ property :php_settings, as: 'phpSettings', class: Google::Apis::ServiceusageV1::PhpSettings, decorator: Google::Apis::ServiceusageV1::PhpSettings::Representation
792
+
793
+ property :python_settings, as: 'pythonSettings', class: Google::Apis::ServiceusageV1::PythonSettings, decorator: Google::Apis::ServiceusageV1::PythonSettings::Representation
794
+
795
+ property :rest_numeric_enums, as: 'restNumericEnums'
796
+ property :ruby_settings, as: 'rubySettings', class: Google::Apis::ServiceusageV1::RubySettings, decorator: Google::Apis::ServiceusageV1::RubySettings::Representation
797
+
798
+ property :version, as: 'version'
799
+ end
800
+ end
801
+
802
+ class CommonLanguageSettings
803
+ # @private
804
+ class Representation < Google::Apis::Core::JsonRepresentation
805
+ collection :destinations, as: 'destinations'
806
+ property :reference_docs_uri, as: 'referenceDocsUri'
807
+ end
808
+ end
809
+
698
810
  class Context
699
811
  # @private
700
812
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -721,6 +833,14 @@ module Google
721
833
  end
722
834
  end
723
835
 
836
+ class CppSettings
837
+ # @private
838
+ class Representation < Google::Apis::Core::JsonRepresentation
839
+ property :common, as: 'common', class: Google::Apis::ServiceusageV1::CommonLanguageSettings, decorator: Google::Apis::ServiceusageV1::CommonLanguageSettings::Representation
840
+
841
+ end
842
+ end
843
+
724
844
  class CreateAdminQuotaPolicyMetadata
725
845
  # @private
726
846
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -797,6 +917,14 @@ module Google
797
917
  end
798
918
  end
799
919
 
920
+ class DotnetSettings
921
+ # @private
922
+ class Representation < Google::Apis::Core::JsonRepresentation
923
+ property :common, as: 'common', class: Google::Apis::ServiceusageV1::CommonLanguageSettings, decorator: Google::Apis::ServiceusageV1::CommonLanguageSettings::Representation
924
+
925
+ end
926
+ end
927
+
800
928
  class Empty
801
929
  # @private
802
930
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -828,6 +956,7 @@ module Google
828
956
  class Endpoint
829
957
  # @private
830
958
  class Representation < Google::Apis::Core::JsonRepresentation
959
+ collection :aliases, as: 'aliases'
831
960
  property :allow_cors, as: 'allowCors'
832
961
  property :name, as: 'name'
833
962
  property :target, as: 'target'
@@ -890,6 +1019,14 @@ module Google
890
1019
  end
891
1020
  end
892
1021
 
1022
+ class GoSettings
1023
+ # @private
1024
+ class Representation < Google::Apis::Core::JsonRepresentation
1025
+ property :common, as: 'common', class: Google::Apis::ServiceusageV1::CommonLanguageSettings, decorator: Google::Apis::ServiceusageV1::CommonLanguageSettings::Representation
1026
+
1027
+ end
1028
+ end
1029
+
893
1030
  class GoogleApiService
894
1031
  # @private
895
1032
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -929,6 +1066,8 @@ module Google
929
1066
 
930
1067
  property :name, as: 'name'
931
1068
  property :producer_project_id, as: 'producerProjectId'
1069
+ property :publishing, as: 'publishing', class: Google::Apis::ServiceusageV1::Publishing, decorator: Google::Apis::ServiceusageV1::Publishing::Representation
1070
+
932
1071
  property :quota, as: 'quota', class: Google::Apis::ServiceusageV1::Quota, decorator: Google::Apis::ServiceusageV1::Quota::Representation
933
1072
 
934
1073
  property :source_info, as: 'sourceInfo', class: Google::Apis::ServiceusageV1::SourceInfo, decorator: Google::Apis::ServiceusageV1::SourceInfo::Representation
@@ -1073,6 +1212,16 @@ module Google
1073
1212
  end
1074
1213
  end
1075
1214
 
1215
+ class JavaSettings
1216
+ # @private
1217
+ class Representation < Google::Apis::Core::JsonRepresentation
1218
+ property :common, as: 'common', class: Google::Apis::ServiceusageV1::CommonLanguageSettings, decorator: Google::Apis::ServiceusageV1::CommonLanguageSettings::Representation
1219
+
1220
+ property :library_package, as: 'libraryPackage'
1221
+ hash :service_class_names, as: 'serviceClassNames'
1222
+ end
1223
+ end
1224
+
1076
1225
  class JwtLocation
1077
1226
  # @private
1078
1227
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1139,6 +1288,16 @@ module Google
1139
1288
  end
1140
1289
  end
1141
1290
 
1291
+ class LongRunning
1292
+ # @private
1293
+ class Representation < Google::Apis::Core::JsonRepresentation
1294
+ property :initial_poll_delay, as: 'initialPollDelay'
1295
+ property :max_poll_delay, as: 'maxPollDelay'
1296
+ property :poll_delay_multiplier, as: 'pollDelayMultiplier'
1297
+ property :total_poll_timeout, as: 'totalPollTimeout'
1298
+ end
1299
+ end
1300
+
1142
1301
  class MethodProp
1143
1302
  # @private
1144
1303
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1153,6 +1312,15 @@ module Google
1153
1312
  end
1154
1313
  end
1155
1314
 
1315
+ class MethodSettings
1316
+ # @private
1317
+ class Representation < Google::Apis::Core::JsonRepresentation
1318
+ property :long_running, as: 'longRunning', class: Google::Apis::ServiceusageV1::LongRunning, decorator: Google::Apis::ServiceusageV1::LongRunning::Representation
1319
+
1320
+ property :selector, as: 'selector'
1321
+ end
1322
+ end
1323
+
1156
1324
  class MetricDescriptor
1157
1325
  # @private
1158
1326
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1228,6 +1396,14 @@ module Google
1228
1396
  end
1229
1397
  end
1230
1398
 
1399
+ class NodeSettings
1400
+ # @private
1401
+ class Representation < Google::Apis::Core::JsonRepresentation
1402
+ property :common, as: 'common', class: Google::Apis::ServiceusageV1::CommonLanguageSettings, decorator: Google::Apis::ServiceusageV1::CommonLanguageSettings::Representation
1403
+
1404
+ end
1405
+ end
1406
+
1231
1407
  class OAuthRequirements
1232
1408
  # @private
1233
1409
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1272,6 +1448,39 @@ module Google
1272
1448
  end
1273
1449
  end
1274
1450
 
1451
+ class PhpSettings
1452
+ # @private
1453
+ class Representation < Google::Apis::Core::JsonRepresentation
1454
+ property :common, as: 'common', class: Google::Apis::ServiceusageV1::CommonLanguageSettings, decorator: Google::Apis::ServiceusageV1::CommonLanguageSettings::Representation
1455
+
1456
+ end
1457
+ end
1458
+
1459
+ class Publishing
1460
+ # @private
1461
+ class Representation < Google::Apis::Core::JsonRepresentation
1462
+ property :api_short_name, as: 'apiShortName'
1463
+ collection :codeowner_github_teams, as: 'codeownerGithubTeams'
1464
+ property :doc_tag_prefix, as: 'docTagPrefix'
1465
+ property :documentation_uri, as: 'documentationUri'
1466
+ property :github_label, as: 'githubLabel'
1467
+ collection :library_settings, as: 'librarySettings', class: Google::Apis::ServiceusageV1::ClientLibrarySettings, decorator: Google::Apis::ServiceusageV1::ClientLibrarySettings::Representation
1468
+
1469
+ collection :method_settings, as: 'methodSettings', class: Google::Apis::ServiceusageV1::MethodSettings, decorator: Google::Apis::ServiceusageV1::MethodSettings::Representation
1470
+
1471
+ property :new_issue_uri, as: 'newIssueUri'
1472
+ property :organization, as: 'organization'
1473
+ end
1474
+ end
1475
+
1476
+ class PythonSettings
1477
+ # @private
1478
+ class Representation < Google::Apis::Core::JsonRepresentation
1479
+ property :common, as: 'common', class: Google::Apis::ServiceusageV1::CommonLanguageSettings, decorator: Google::Apis::ServiceusageV1::CommonLanguageSettings::Representation
1480
+
1481
+ end
1482
+ end
1483
+
1275
1484
  class Quota
1276
1485
  # @private
1277
1486
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1310,6 +1519,14 @@ module Google
1310
1519
  end
1311
1520
  end
1312
1521
 
1522
+ class RubySettings
1523
+ # @private
1524
+ class Representation < Google::Apis::Core::JsonRepresentation
1525
+ property :common, as: 'common', class: Google::Apis::ServiceusageV1::CommonLanguageSettings, decorator: Google::Apis::ServiceusageV1::CommonLanguageSettings::Representation
1526
+
1527
+ end
1528
+ end
1529
+
1313
1530
  class ServiceIdentity
1314
1531
  # @private
1315
1532
  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.27.0
4
+ version: 0.28.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-10-31 00:00:00.000000000 Z
11
+ date: 2022-12-12 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.27.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-serviceusage_v1/v0.28.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: []