google-apis-servicemanagement_v1 0.36.0 → 0.37.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: 6d9721511a6436a3e8ec76f8ad182ae6fd8cc8fd6a6aa9669c760ae4300f8e4c
4
- data.tar.gz: ff8da80727e3cb8f95b69a6fae5c438757de9b7300fd94cb7e4ee7c2fd09b978
3
+ metadata.gz: 5fca27ebbaff7f9864274ebf63a6f5027e22ac633d804caab86cddab3527159b
4
+ data.tar.gz: af3fc1f304bee1971b45948431095d6af8932b2c0c3cae7a37585e4318ce56d7
5
5
  SHA512:
6
- metadata.gz: f8bbc822e1682df7e4adf10e4b3025f32013bf6131fe5a0442d08efaf9583f73f03cc6576d0ed71f7fd2340a37a5cdaca1e83588303827bf7ab3c88c7cacd954
7
- data.tar.gz: 0b9800037ddcfb0e2e294929e1990a3bb63fdec85a0b8207a474b7e696ae56da8845a2ccdf8d1884faed229bbbf1c82da8db3a56b95dfabb6a3f38273fcaf7d3
6
+ metadata.gz: 73d2b3c9620c3b94b98e90344d351be4290723c397e8dda69e9bc02ef17c655769999eb12aef2a22707b0c92c379fc7e7d56e0b94b21f2b296a2e9ef64f8aa83
7
+ data.tar.gz: ede14e5942e130915e798cfc51abffc1be2dc3ee18920a4d2cd9810a1c814d1bffc81255c19adcbc66ee579105df56ef6a60696400b4e31d3d99bb7c9a1d82c0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-servicemanagement_v1
2
2
 
3
+ ### v0.37.0 (2022-12-05)
4
+
5
+ * Regenerated from discovery document revision 20221125
6
+
3
7
  ### v0.36.0 (2022-10-27)
4
8
 
5
9
  * Regenerated using generator version 0.11.0
@@ -446,6 +446,11 @@ module Google
446
446
  # @return [String]
447
447
  attr_accessor :jwt_audience
448
448
 
449
+ # Deprecated, do not use.
450
+ # Corresponds to the JSON property `minDeadline`
451
+ # @return [Float]
452
+ attr_accessor :min_deadline
453
+
449
454
  # The number of seconds to wait for the completion of a long running operation.
450
455
  # The default is no deadline.
451
456
  # Corresponds to the JSON property `operationDeadline`
@@ -486,6 +491,7 @@ module Google
486
491
  @deadline = args[:deadline] if args.key?(:deadline)
487
492
  @disable_auth = args[:disable_auth] if args.key?(:disable_auth)
488
493
  @jwt_audience = args[:jwt_audience] if args.key?(:jwt_audience)
494
+ @min_deadline = args[:min_deadline] if args.key?(:min_deadline)
489
495
  @operation_deadline = args[:operation_deadline] if args.key?(:operation_deadline)
490
496
  @path_translation = args[:path_translation] if args.key?(:path_translation)
491
497
  @protocol = args[:protocol] if args.key?(:protocol)
@@ -657,6 +663,113 @@ module Google
657
663
  end
658
664
  end
659
665
 
666
+ # Details about how and where to publish client libraries.
667
+ class ClientLibrarySettings
668
+ include Google::Apis::Core::Hashable
669
+
670
+ # Settings for C++ client libraries.
671
+ # Corresponds to the JSON property `cppSettings`
672
+ # @return [Google::Apis::ServicemanagementV1::CppSettings]
673
+ attr_accessor :cpp_settings
674
+
675
+ # Settings for Dotnet client libraries.
676
+ # Corresponds to the JSON property `dotnetSettings`
677
+ # @return [Google::Apis::ServicemanagementV1::DotnetSettings]
678
+ attr_accessor :dotnet_settings
679
+
680
+ # Settings for Go client libraries.
681
+ # Corresponds to the JSON property `goSettings`
682
+ # @return [Google::Apis::ServicemanagementV1::GoSettings]
683
+ attr_accessor :go_settings
684
+
685
+ # Settings for Java client libraries.
686
+ # Corresponds to the JSON property `javaSettings`
687
+ # @return [Google::Apis::ServicemanagementV1::JavaSettings]
688
+ attr_accessor :java_settings
689
+
690
+ # Launch stage of this version of the API.
691
+ # Corresponds to the JSON property `launchStage`
692
+ # @return [String]
693
+ attr_accessor :launch_stage
694
+
695
+ # Settings for Node client libraries.
696
+ # Corresponds to the JSON property `nodeSettings`
697
+ # @return [Google::Apis::ServicemanagementV1::NodeSettings]
698
+ attr_accessor :node_settings
699
+
700
+ # Settings for Php client libraries.
701
+ # Corresponds to the JSON property `phpSettings`
702
+ # @return [Google::Apis::ServicemanagementV1::PhpSettings]
703
+ attr_accessor :php_settings
704
+
705
+ # Settings for Python client libraries.
706
+ # Corresponds to the JSON property `pythonSettings`
707
+ # @return [Google::Apis::ServicemanagementV1::PythonSettings]
708
+ attr_accessor :python_settings
709
+
710
+ # When using transport=rest, the client request will encode enums as numbers
711
+ # rather than strings.
712
+ # Corresponds to the JSON property `restNumericEnums`
713
+ # @return [Boolean]
714
+ attr_accessor :rest_numeric_enums
715
+ alias_method :rest_numeric_enums?, :rest_numeric_enums
716
+
717
+ # Settings for Ruby client libraries.
718
+ # Corresponds to the JSON property `rubySettings`
719
+ # @return [Google::Apis::ServicemanagementV1::RubySettings]
720
+ attr_accessor :ruby_settings
721
+
722
+ # Version of the API to apply these settings to.
723
+ # Corresponds to the JSON property `version`
724
+ # @return [String]
725
+ attr_accessor :version
726
+
727
+ def initialize(**args)
728
+ update!(**args)
729
+ end
730
+
731
+ # Update properties of this object
732
+ def update!(**args)
733
+ @cpp_settings = args[:cpp_settings] if args.key?(:cpp_settings)
734
+ @dotnet_settings = args[:dotnet_settings] if args.key?(:dotnet_settings)
735
+ @go_settings = args[:go_settings] if args.key?(:go_settings)
736
+ @java_settings = args[:java_settings] if args.key?(:java_settings)
737
+ @launch_stage = args[:launch_stage] if args.key?(:launch_stage)
738
+ @node_settings = args[:node_settings] if args.key?(:node_settings)
739
+ @php_settings = args[:php_settings] if args.key?(:php_settings)
740
+ @python_settings = args[:python_settings] if args.key?(:python_settings)
741
+ @rest_numeric_enums = args[:rest_numeric_enums] if args.key?(:rest_numeric_enums)
742
+ @ruby_settings = args[:ruby_settings] if args.key?(:ruby_settings)
743
+ @version = args[:version] if args.key?(:version)
744
+ end
745
+ end
746
+
747
+ # Required information for every language.
748
+ class CommonLanguageSettings
749
+ include Google::Apis::Core::Hashable
750
+
751
+ # The destination where API teams want this client library to be published.
752
+ # Corresponds to the JSON property `destinations`
753
+ # @return [Array<String>]
754
+ attr_accessor :destinations
755
+
756
+ # Link to automatically generated reference documentation. Example: https://
757
+ # cloud.google.com/nodejs/docs/reference/asset/latest
758
+ # Corresponds to the JSON property `referenceDocsUri`
759
+ # @return [String]
760
+ attr_accessor :reference_docs_uri
761
+
762
+ def initialize(**args)
763
+ update!(**args)
764
+ end
765
+
766
+ # Update properties of this object
767
+ def update!(**args)
768
+ @destinations = args[:destinations] if args.key?(:destinations)
769
+ @reference_docs_uri = args[:reference_docs_uri] if args.key?(:reference_docs_uri)
770
+ end
771
+ end
772
+
660
773
  # Output generated from semantically comparing two versions of a service
661
774
  # configuration. Includes detailed information about a field that have changed
662
775
  # with applicable advice about potential consequences for the change, such as
@@ -872,15 +985,8 @@ module Google
872
985
  end
873
986
  end
874
987
 
875
- # Selects and configures the service controller used by the service. The service
876
- # controller handles two things: - **What is allowed:** for each API request,
877
- # Chemist checks the project status, activation status, abuse status, billing
878
- # status, service status, location restrictions, VPC Service Controls,
879
- # SuperQuota, and other policies. - **What has happened:** for each API response,
880
- # Chemist reports the telemetry data to analytics, auditing, billing, eventing,
881
- # logging, monitoring, sawmill, and tracing. Chemist also accepts telemetry data
882
- # not associated with API traffic, such as billing metrics. Example: control:
883
- # environment: servicecontrol.googleapis.com
988
+ # Selects and configures the service controller used by the service. Example:
989
+ # control: environment: servicecontrol.googleapis.com
884
990
  class Control
885
991
  include Google::Apis::Core::Hashable
886
992
 
@@ -901,6 +1007,25 @@ module Google
901
1007
  end
902
1008
  end
903
1009
 
1010
+ # Settings for C++ client libraries.
1011
+ class CppSettings
1012
+ include Google::Apis::Core::Hashable
1013
+
1014
+ # Required information for every language.
1015
+ # Corresponds to the JSON property `common`
1016
+ # @return [Google::Apis::ServicemanagementV1::CommonLanguageSettings]
1017
+ attr_accessor :common
1018
+
1019
+ def initialize(**args)
1020
+ update!(**args)
1021
+ end
1022
+
1023
+ # Update properties of this object
1024
+ def update!(**args)
1025
+ @common = args[:common] if args.key?(:common)
1026
+ end
1027
+ end
1028
+
904
1029
  # Customize service error responses. For example, list any service specific
905
1030
  # protobuf types that can appear in error detail lists of error responses.
906
1031
  # Example: custom_error: types: - google.foo.v1.CustomError - google.foo.v1.
@@ -1151,6 +1276,25 @@ module Google
1151
1276
  end
1152
1277
  end
1153
1278
 
1279
+ # Settings for Dotnet client libraries.
1280
+ class DotnetSettings
1281
+ include Google::Apis::Core::Hashable
1282
+
1283
+ # Required information for every language.
1284
+ # Corresponds to the JSON property `common`
1285
+ # @return [Google::Apis::ServicemanagementV1::CommonLanguageSettings]
1286
+ attr_accessor :common
1287
+
1288
+ def initialize(**args)
1289
+ update!(**args)
1290
+ end
1291
+
1292
+ # Update properties of this object
1293
+ def update!(**args)
1294
+ @common = args[:common] if args.key?(:common)
1295
+ end
1296
+ end
1297
+
1154
1298
  # Operation payload for EnableService method.
1155
1299
  class EnableServiceResponse
1156
1300
  include Google::Apis::Core::Hashable
@@ -1179,6 +1323,13 @@ module Google
1179
1323
  class Endpoint
1180
1324
  include Google::Apis::Core::Hashable
1181
1325
 
1326
+ # Unimplemented. Dot not use. DEPRECATED: This field is no longer supported.
1327
+ # Instead of using aliases, please specify multiple google.api.Endpoint for each
1328
+ # of the intended aliases. Additional names that this endpoint will be hosted on.
1329
+ # Corresponds to the JSON property `aliases`
1330
+ # @return [Array<String>]
1331
+ attr_accessor :aliases
1332
+
1182
1333
  # Allowing [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing),
1183
1334
  # aka cross-domain traffic, would allow the backends served from this endpoint
1184
1335
  # to receive and respond to HTTP OPTIONS requests. The response will be used by
@@ -1208,6 +1359,7 @@ module Google
1208
1359
 
1209
1360
  # Update properties of this object
1210
1361
  def update!(**args)
1362
+ @aliases = args[:aliases] if args.key?(:aliases)
1211
1363
  @allow_cors = args[:allow_cors] if args.key?(:allow_cors)
1212
1364
  @name = args[:name] if args.key?(:name)
1213
1365
  @target = args[:target] if args.key?(:target)
@@ -1562,6 +1714,25 @@ module Google
1562
1714
  end
1563
1715
  end
1564
1716
 
1717
+ # Settings for Go client libraries.
1718
+ class GoSettings
1719
+ include Google::Apis::Core::Hashable
1720
+
1721
+ # Required information for every language.
1722
+ # Corresponds to the JSON property `common`
1723
+ # @return [Google::Apis::ServicemanagementV1::CommonLanguageSettings]
1724
+ attr_accessor :common
1725
+
1726
+ def initialize(**args)
1727
+ update!(**args)
1728
+ end
1729
+
1730
+ # Update properties of this object
1731
+ def update!(**args)
1732
+ @common = args[:common] if args.key?(:common)
1733
+ end
1734
+ end
1735
+
1565
1736
  # Defines the HTTP configuration for an API service. It contains a list of
1566
1737
  # HttpRule, each specifying the mapping of an RPC method to one or more HTTP
1567
1738
  # REST API methods.
@@ -1804,6 +1975,48 @@ module Google
1804
1975
  end
1805
1976
  end
1806
1977
 
1978
+ # Settings for Java client libraries.
1979
+ class JavaSettings
1980
+ include Google::Apis::Core::Hashable
1981
+
1982
+ # Required information for every language.
1983
+ # Corresponds to the JSON property `common`
1984
+ # @return [Google::Apis::ServicemanagementV1::CommonLanguageSettings]
1985
+ attr_accessor :common
1986
+
1987
+ # The package name to use in Java. Clobbers the java_package option set in the
1988
+ # protobuf. This should be used **only** by APIs who have already set the
1989
+ # language_settings.java.package_name" field in gapic.yaml. API teams should use
1990
+ # the protobuf java_package option where possible. Example of a YAML
1991
+ # configuration:: publishing: java_settings: library_package: com.google.cloud.
1992
+ # pubsub.v1
1993
+ # Corresponds to the JSON property `libraryPackage`
1994
+ # @return [String]
1995
+ attr_accessor :library_package
1996
+
1997
+ # Configure the Java class name to use instead of the service's for its
1998
+ # corresponding generated GAPIC client. Keys are fully-qualified service names
1999
+ # as they appear in the protobuf (including the full the language_settings.java.
2000
+ # interface_names" field in gapic.yaml. API teams should otherwise use the
2001
+ # service name as it appears in the protobuf. Example of a YAML configuration::
2002
+ # publishing: java_settings: service_class_names: - google.pubsub.v1.Publisher:
2003
+ # TopicAdmin - google.pubsub.v1.Subscriber: SubscriptionAdmin
2004
+ # Corresponds to the JSON property `serviceClassNames`
2005
+ # @return [Hash<String,String>]
2006
+ attr_accessor :service_class_names
2007
+
2008
+ def initialize(**args)
2009
+ update!(**args)
2010
+ end
2011
+
2012
+ # Update properties of this object
2013
+ def update!(**args)
2014
+ @common = args[:common] if args.key?(:common)
2015
+ @library_package = args[:library_package] if args.key?(:library_package)
2016
+ @service_class_names = args[:service_class_names] if args.key?(:service_class_names)
2017
+ end
2018
+ end
2019
+
1807
2020
  # Specifies a location to extract JWT from an API request.
1808
2021
  class JwtLocation
1809
2022
  include Google::Apis::Core::Hashable
@@ -2091,6 +2304,49 @@ module Google
2091
2304
  end
2092
2305
  end
2093
2306
 
2307
+ # Describes settings to use when generating API methods that use the long-
2308
+ # running operation pattern. All default values below are from those used in the
2309
+ # client library generators (e.g. [Java](https://github.com/googleapis/gapic-
2310
+ # generator-java/blob/04c2faa191a9b5a10b92392fe8482279c4404803/src/main/java/com/
2311
+ # google/api/generator/gapic/composer/common/RetrySettingsComposer.java)).
2312
+ class LongRunning
2313
+ include Google::Apis::Core::Hashable
2314
+
2315
+ # Initial delay after which the first poll request will be made. Default value:
2316
+ # 5 seconds.
2317
+ # Corresponds to the JSON property `initialPollDelay`
2318
+ # @return [String]
2319
+ attr_accessor :initial_poll_delay
2320
+
2321
+ # Maximum time between two subsequent poll requests. Default value: 45 seconds.
2322
+ # Corresponds to the JSON property `maxPollDelay`
2323
+ # @return [String]
2324
+ attr_accessor :max_poll_delay
2325
+
2326
+ # Multiplier to gradually increase delay between subsequent polls until it
2327
+ # reaches max_poll_delay. Default value: 1.5.
2328
+ # Corresponds to the JSON property `pollDelayMultiplier`
2329
+ # @return [Float]
2330
+ attr_accessor :poll_delay_multiplier
2331
+
2332
+ # Total polling timeout. Default value: 5 minutes.
2333
+ # Corresponds to the JSON property `totalPollTimeout`
2334
+ # @return [String]
2335
+ attr_accessor :total_poll_timeout
2336
+
2337
+ def initialize(**args)
2338
+ update!(**args)
2339
+ end
2340
+
2341
+ # Update properties of this object
2342
+ def update!(**args)
2343
+ @initial_poll_delay = args[:initial_poll_delay] if args.key?(:initial_poll_delay)
2344
+ @max_poll_delay = args[:max_poll_delay] if args.key?(:max_poll_delay)
2345
+ @poll_delay_multiplier = args[:poll_delay_multiplier] if args.key?(:poll_delay_multiplier)
2346
+ @total_poll_timeout = args[:total_poll_timeout] if args.key?(:total_poll_timeout)
2347
+ end
2348
+ end
2349
+
2094
2350
  # The full representation of a Service that is managed by Google Service
2095
2351
  # Management.
2096
2352
  class ManagedService
@@ -2175,6 +2431,36 @@ module Google
2175
2431
  end
2176
2432
  end
2177
2433
 
2434
+ # Describes the generator configuration for a method.
2435
+ class MethodSettings
2436
+ include Google::Apis::Core::Hashable
2437
+
2438
+ # Describes settings to use when generating API methods that use the long-
2439
+ # running operation pattern. All default values below are from those used in the
2440
+ # client library generators (e.g. [Java](https://github.com/googleapis/gapic-
2441
+ # generator-java/blob/04c2faa191a9b5a10b92392fe8482279c4404803/src/main/java/com/
2442
+ # google/api/generator/gapic/composer/common/RetrySettingsComposer.java)).
2443
+ # Corresponds to the JSON property `longRunning`
2444
+ # @return [Google::Apis::ServicemanagementV1::LongRunning]
2445
+ attr_accessor :long_running
2446
+
2447
+ # The fully qualified name of the method, for which the options below apply.
2448
+ # This is used to find the method to apply the options.
2449
+ # Corresponds to the JSON property `selector`
2450
+ # @return [String]
2451
+ attr_accessor :selector
2452
+
2453
+ def initialize(**args)
2454
+ update!(**args)
2455
+ end
2456
+
2457
+ # Update properties of this object
2458
+ def update!(**args)
2459
+ @long_running = args[:long_running] if args.key?(:long_running)
2460
+ @selector = args[:selector] if args.key?(:selector)
2461
+ end
2462
+ end
2463
+
2178
2464
  # Defines a metric type and its schema. Once a metric descriptor is created,
2179
2465
  # deleting or altering it stops data collection and makes the metric type's
2180
2466
  # existing data unusable.
@@ -2590,6 +2876,25 @@ module Google
2590
2876
  end
2591
2877
  end
2592
2878
 
2879
+ # Settings for Node client libraries.
2880
+ class NodeSettings
2881
+ include Google::Apis::Core::Hashable
2882
+
2883
+ # Required information for every language.
2884
+ # Corresponds to the JSON property `common`
2885
+ # @return [Google::Apis::ServicemanagementV1::CommonLanguageSettings]
2886
+ attr_accessor :common
2887
+
2888
+ def initialize(**args)
2889
+ update!(**args)
2890
+ end
2891
+
2892
+ # Update properties of this object
2893
+ def update!(**args)
2894
+ @common = args[:common] if args.key?(:common)
2895
+ end
2896
+ end
2897
+
2593
2898
  # OAuth scopes are a way to define data and permissions on data. For example,
2594
2899
  # there are scopes defined for "Read-only access to Google Calendar" and "Access
2595
2900
  # to Cloud Platform". Users can consent to a scope for an application, giving it
@@ -2831,6 +3136,25 @@ module Google
2831
3136
  end
2832
3137
  end
2833
3138
 
3139
+ # Settings for Php client libraries.
3140
+ class PhpSettings
3141
+ include Google::Apis::Core::Hashable
3142
+
3143
+ # Required information for every language.
3144
+ # Corresponds to the JSON property `common`
3145
+ # @return [Google::Apis::ServicemanagementV1::CommonLanguageSettings]
3146
+ attr_accessor :common
3147
+
3148
+ def initialize(**args)
3149
+ update!(**args)
3150
+ end
3151
+
3152
+ # Update properties of this object
3153
+ def update!(**args)
3154
+ @common = args[:common] if args.key?(:common)
3155
+ end
3156
+ end
3157
+
2834
3158
  # An Identity and Access Management (IAM) policy, which specifies access
2835
3159
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
2836
3160
  # A `binding` binds one or more `members`, or principals, to a single `role`.
@@ -2926,6 +3250,103 @@ module Google
2926
3250
  end
2927
3251
  end
2928
3252
 
3253
+ # This message configures the settings for publishing [Google Cloud Client
3254
+ # libraries](https://cloud.google.com/apis/docs/cloud-client-libraries)
3255
+ # generated from the service config.
3256
+ class Publishing
3257
+ include Google::Apis::Core::Hashable
3258
+
3259
+ # Used as a tracking tag when collecting data about the APIs developer relations
3260
+ # artifacts like docs, packages delivered to package managers, etc. Example: "
3261
+ # speech".
3262
+ # Corresponds to the JSON property `apiShortName`
3263
+ # @return [String]
3264
+ attr_accessor :api_short_name
3265
+
3266
+ # GitHub teams to be added to CODEOWNERS in the directory in GitHub containing
3267
+ # source code for the client libraries for this API.
3268
+ # Corresponds to the JSON property `codeownerGithubTeams`
3269
+ # @return [Array<String>]
3270
+ attr_accessor :codeowner_github_teams
3271
+
3272
+ # A prefix used in sample code when demarking regions to be included in
3273
+ # documentation.
3274
+ # Corresponds to the JSON property `docTagPrefix`
3275
+ # @return [String]
3276
+ attr_accessor :doc_tag_prefix
3277
+
3278
+ # Link to product home page. Example: https://cloud.google.com/asset-inventory/
3279
+ # docs/overview
3280
+ # Corresponds to the JSON property `documentationUri`
3281
+ # @return [String]
3282
+ attr_accessor :documentation_uri
3283
+
3284
+ # GitHub label to apply to issues and pull requests opened for this API.
3285
+ # Corresponds to the JSON property `githubLabel`
3286
+ # @return [String]
3287
+ attr_accessor :github_label
3288
+
3289
+ # Client library settings. If the same version string appears multiple times in
3290
+ # this list, then the last one wins. Settings from earlier settings with the
3291
+ # same version string are discarded.
3292
+ # Corresponds to the JSON property `librarySettings`
3293
+ # @return [Array<Google::Apis::ServicemanagementV1::ClientLibrarySettings>]
3294
+ attr_accessor :library_settings
3295
+
3296
+ # A list of API method settings, e.g. the behavior for methods that use the long-
3297
+ # running operation pattern.
3298
+ # Corresponds to the JSON property `methodSettings`
3299
+ # @return [Array<Google::Apis::ServicemanagementV1::MethodSettings>]
3300
+ attr_accessor :method_settings
3301
+
3302
+ # Link to a place that API users can report issues. Example: https://
3303
+ # issuetracker.google.com/issues/new?component=190865&template=1161103
3304
+ # Corresponds to the JSON property `newIssueUri`
3305
+ # @return [String]
3306
+ attr_accessor :new_issue_uri
3307
+
3308
+ # For whom the client library is being published.
3309
+ # Corresponds to the JSON property `organization`
3310
+ # @return [String]
3311
+ attr_accessor :organization
3312
+
3313
+ def initialize(**args)
3314
+ update!(**args)
3315
+ end
3316
+
3317
+ # Update properties of this object
3318
+ def update!(**args)
3319
+ @api_short_name = args[:api_short_name] if args.key?(:api_short_name)
3320
+ @codeowner_github_teams = args[:codeowner_github_teams] if args.key?(:codeowner_github_teams)
3321
+ @doc_tag_prefix = args[:doc_tag_prefix] if args.key?(:doc_tag_prefix)
3322
+ @documentation_uri = args[:documentation_uri] if args.key?(:documentation_uri)
3323
+ @github_label = args[:github_label] if args.key?(:github_label)
3324
+ @library_settings = args[:library_settings] if args.key?(:library_settings)
3325
+ @method_settings = args[:method_settings] if args.key?(:method_settings)
3326
+ @new_issue_uri = args[:new_issue_uri] if args.key?(:new_issue_uri)
3327
+ @organization = args[:organization] if args.key?(:organization)
3328
+ end
3329
+ end
3330
+
3331
+ # Settings for Python client libraries.
3332
+ class PythonSettings
3333
+ include Google::Apis::Core::Hashable
3334
+
3335
+ # Required information for every language.
3336
+ # Corresponds to the JSON property `common`
3337
+ # @return [Google::Apis::ServicemanagementV1::CommonLanguageSettings]
3338
+ attr_accessor :common
3339
+
3340
+ def initialize(**args)
3341
+ update!(**args)
3342
+ end
3343
+
3344
+ # Update properties of this object
3345
+ def update!(**args)
3346
+ @common = args[:common] if args.key?(:common)
3347
+ end
3348
+ end
3349
+
2929
3350
  # Quota configuration helps to achieve fairness and budgeting in service usage.
2930
3351
  # The metric based quota configuration works this way: - The service
2931
3352
  # configuration defines a set of metrics. - For API calls, the quota.
@@ -3185,6 +3606,25 @@ module Google
3185
3606
  end
3186
3607
  end
3187
3608
 
3609
+ # Settings for Ruby client libraries.
3610
+ class RubySettings
3611
+ include Google::Apis::Core::Hashable
3612
+
3613
+ # Required information for every language.
3614
+ # Corresponds to the JSON property `common`
3615
+ # @return [Google::Apis::ServicemanagementV1::CommonLanguageSettings]
3616
+ attr_accessor :common
3617
+
3618
+ def initialize(**args)
3619
+ update!(**args)
3620
+ end
3621
+
3622
+ # Update properties of this object
3623
+ def update!(**args)
3624
+ @common = args[:common] if args.key?(:common)
3625
+ end
3626
+ end
3627
+
3188
3628
  # `Service` is the root object of Google API service configuration (service
3189
3629
  # config). It describes the basic information about a logical service, such as
3190
3630
  # the service name and the user-facing title, and delegates other aspects to sub-
@@ -3268,15 +3708,8 @@ module Google
3268
3708
  # @return [Google::Apis::ServicemanagementV1::Context]
3269
3709
  attr_accessor :context
3270
3710
 
3271
- # Selects and configures the service controller used by the service. The service
3272
- # controller handles two things: - **What is allowed:** for each API request,
3273
- # Chemist checks the project status, activation status, abuse status, billing
3274
- # status, service status, location restrictions, VPC Service Controls,
3275
- # SuperQuota, and other policies. - **What has happened:** for each API response,
3276
- # Chemist reports the telemetry data to analytics, auditing, billing, eventing,
3277
- # logging, monitoring, sawmill, and tracing. Chemist also accepts telemetry data
3278
- # not associated with API traffic, such as billing metrics. Example: control:
3279
- # environment: servicecontrol.googleapis.com
3711
+ # Selects and configures the service controller used by the service. Example:
3712
+ # control: environment: servicecontrol.googleapis.com
3280
3713
  # Corresponds to the JSON property `control`
3281
3714
  # @return [Google::Apis::ServicemanagementV1::Control]
3282
3715
  attr_accessor :control
@@ -3418,6 +3851,13 @@ module Google
3418
3851
  # @return [String]
3419
3852
  attr_accessor :producer_project_id
3420
3853
 
3854
+ # This message configures the settings for publishing [Google Cloud Client
3855
+ # libraries](https://cloud.google.com/apis/docs/cloud-client-libraries)
3856
+ # generated from the service config.
3857
+ # Corresponds to the JSON property `publishing`
3858
+ # @return [Google::Apis::ServicemanagementV1::Publishing]
3859
+ attr_accessor :publishing
3860
+
3421
3861
  # Quota configuration helps to achieve fairness and budgeting in service usage.
3422
3862
  # The metric based quota configuration works this way: - The service
3423
3863
  # configuration defines a set of metrics. - For API calls, the quota.
@@ -3508,6 +3948,7 @@ module Google
3508
3948
  @monitoring = args[:monitoring] if args.key?(:monitoring)
3509
3949
  @name = args[:name] if args.key?(:name)
3510
3950
  @producer_project_id = args[:producer_project_id] if args.key?(:producer_project_id)
3951
+ @publishing = args[:publishing] if args.key?(:publishing)
3511
3952
  @quota = args[:quota] if args.key?(:quota)
3512
3953
  @source_info = args[:source_info] if args.key?(:source_info)
3513
3954
  @system_parameters = args[:system_parameters] if args.key?(:system_parameters)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ServicemanagementV1
18
18
  # Version of the google-apis-servicemanagement_v1 gem
19
- GEM_VERSION = "0.36.0"
19
+ GEM_VERSION = "0.37.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 = "20220909"
25
+ REVISION = "20221125"
26
26
  end
27
27
  end
28
28
  end
@@ -106,6 +106,18 @@ module Google
106
106
  include Google::Apis::Core::JsonObjectSupport
107
107
  end
108
108
 
109
+ class ClientLibrarySettings
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class CommonLanguageSettings
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
109
121
  class ConfigChange
110
122
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
123
 
@@ -148,6 +160,12 @@ module Google
148
160
  include Google::Apis::Core::JsonObjectSupport
149
161
  end
150
162
 
163
+ class CppSettings
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
151
169
  class CustomError
152
170
  class Representation < Google::Apis::Core::JsonRepresentation; end
153
171
 
@@ -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 EnableServiceResponse
194
218
  class Representation < Google::Apis::Core::JsonRepresentation; end
195
219
 
@@ -256,6 +280,12 @@ module Google
256
280
  include Google::Apis::Core::JsonObjectSupport
257
281
  end
258
282
 
283
+ class GoSettings
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
259
289
  class Http
260
290
  class Representation < Google::Apis::Core::JsonRepresentation; end
261
291
 
@@ -268,6 +298,12 @@ module Google
268
298
  include Google::Apis::Core::JsonObjectSupport
269
299
  end
270
300
 
301
+ class JavaSettings
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
271
307
  class JwtLocation
272
308
  class Representation < Google::Apis::Core::JsonRepresentation; end
273
309
 
@@ -322,6 +358,12 @@ module Google
322
358
  include Google::Apis::Core::JsonObjectSupport
323
359
  end
324
360
 
361
+ class LongRunning
362
+ class Representation < Google::Apis::Core::JsonRepresentation; end
363
+
364
+ include Google::Apis::Core::JsonObjectSupport
365
+ end
366
+
325
367
  class ManagedService
326
368
  class Representation < Google::Apis::Core::JsonRepresentation; end
327
369
 
@@ -334,6 +376,12 @@ module Google
334
376
  include Google::Apis::Core::JsonObjectSupport
335
377
  end
336
378
 
379
+ class MethodSettings
380
+ class Representation < Google::Apis::Core::JsonRepresentation; end
381
+
382
+ include Google::Apis::Core::JsonObjectSupport
383
+ end
384
+
337
385
  class MetricDescriptor
338
386
  class Representation < Google::Apis::Core::JsonRepresentation; end
339
387
 
@@ -376,6 +424,12 @@ module Google
376
424
  include Google::Apis::Core::JsonObjectSupport
377
425
  end
378
426
 
427
+ class NodeSettings
428
+ class Representation < Google::Apis::Core::JsonRepresentation; end
429
+
430
+ include Google::Apis::Core::JsonObjectSupport
431
+ end
432
+
379
433
  class OAuthRequirements
380
434
  class Representation < Google::Apis::Core::JsonRepresentation; end
381
435
 
@@ -412,12 +466,30 @@ module Google
412
466
  include Google::Apis::Core::JsonObjectSupport
413
467
  end
414
468
 
469
+ class PhpSettings
470
+ class Representation < Google::Apis::Core::JsonRepresentation; end
471
+
472
+ include Google::Apis::Core::JsonObjectSupport
473
+ end
474
+
415
475
  class Policy
416
476
  class Representation < Google::Apis::Core::JsonRepresentation; end
417
477
 
418
478
  include Google::Apis::Core::JsonObjectSupport
419
479
  end
420
480
 
481
+ class Publishing
482
+ class Representation < Google::Apis::Core::JsonRepresentation; end
483
+
484
+ include Google::Apis::Core::JsonObjectSupport
485
+ end
486
+
487
+ class PythonSettings
488
+ class Representation < Google::Apis::Core::JsonRepresentation; end
489
+
490
+ include Google::Apis::Core::JsonObjectSupport
491
+ end
492
+
421
493
  class Quota
422
494
  class Representation < Google::Apis::Core::JsonRepresentation; end
423
495
 
@@ -442,6 +514,12 @@ module Google
442
514
  include Google::Apis::Core::JsonObjectSupport
443
515
  end
444
516
 
517
+ class RubySettings
518
+ class Representation < Google::Apis::Core::JsonRepresentation; end
519
+
520
+ include Google::Apis::Core::JsonObjectSupport
521
+ end
522
+
445
523
  class Service
446
524
  class Representation < Google::Apis::Core::JsonRepresentation; end
447
525
 
@@ -649,6 +727,7 @@ module Google
649
727
  property :deadline, as: 'deadline'
650
728
  property :disable_auth, as: 'disableAuth'
651
729
  property :jwt_audience, as: 'jwtAudience'
730
+ property :min_deadline, as: 'minDeadline'
652
731
  property :operation_deadline, as: 'operationDeadline'
653
732
  property :path_translation, as: 'pathTranslation'
654
733
  property :protocol, as: 'protocol'
@@ -690,6 +769,39 @@ module Google
690
769
  end
691
770
  end
692
771
 
772
+ class ClientLibrarySettings
773
+ # @private
774
+ class Representation < Google::Apis::Core::JsonRepresentation
775
+ property :cpp_settings, as: 'cppSettings', class: Google::Apis::ServicemanagementV1::CppSettings, decorator: Google::Apis::ServicemanagementV1::CppSettings::Representation
776
+
777
+ property :dotnet_settings, as: 'dotnetSettings', class: Google::Apis::ServicemanagementV1::DotnetSettings, decorator: Google::Apis::ServicemanagementV1::DotnetSettings::Representation
778
+
779
+ property :go_settings, as: 'goSettings', class: Google::Apis::ServicemanagementV1::GoSettings, decorator: Google::Apis::ServicemanagementV1::GoSettings::Representation
780
+
781
+ property :java_settings, as: 'javaSettings', class: Google::Apis::ServicemanagementV1::JavaSettings, decorator: Google::Apis::ServicemanagementV1::JavaSettings::Representation
782
+
783
+ property :launch_stage, as: 'launchStage'
784
+ property :node_settings, as: 'nodeSettings', class: Google::Apis::ServicemanagementV1::NodeSettings, decorator: Google::Apis::ServicemanagementV1::NodeSettings::Representation
785
+
786
+ property :php_settings, as: 'phpSettings', class: Google::Apis::ServicemanagementV1::PhpSettings, decorator: Google::Apis::ServicemanagementV1::PhpSettings::Representation
787
+
788
+ property :python_settings, as: 'pythonSettings', class: Google::Apis::ServicemanagementV1::PythonSettings, decorator: Google::Apis::ServicemanagementV1::PythonSettings::Representation
789
+
790
+ property :rest_numeric_enums, as: 'restNumericEnums'
791
+ property :ruby_settings, as: 'rubySettings', class: Google::Apis::ServicemanagementV1::RubySettings, decorator: Google::Apis::ServicemanagementV1::RubySettings::Representation
792
+
793
+ property :version, as: 'version'
794
+ end
795
+ end
796
+
797
+ class CommonLanguageSettings
798
+ # @private
799
+ class Representation < Google::Apis::Core::JsonRepresentation
800
+ collection :destinations, as: 'destinations'
801
+ property :reference_docs_uri, as: 'referenceDocsUri'
802
+ end
803
+ end
804
+
693
805
  class ConfigChange
694
806
  # @private
695
807
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -753,6 +865,14 @@ module Google
753
865
  end
754
866
  end
755
867
 
868
+ class CppSettings
869
+ # @private
870
+ class Representation < Google::Apis::Core::JsonRepresentation
871
+ property :common, as: 'common', class: Google::Apis::ServicemanagementV1::CommonLanguageSettings, decorator: Google::Apis::ServicemanagementV1::CommonLanguageSettings::Representation
872
+
873
+ end
874
+ end
875
+
756
876
  class CustomError
757
877
  # @private
758
878
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -816,6 +936,14 @@ module Google
816
936
  end
817
937
  end
818
938
 
939
+ class DotnetSettings
940
+ # @private
941
+ class Representation < Google::Apis::Core::JsonRepresentation
942
+ property :common, as: 'common', class: Google::Apis::ServicemanagementV1::CommonLanguageSettings, decorator: Google::Apis::ServicemanagementV1::CommonLanguageSettings::Representation
943
+
944
+ end
945
+ end
946
+
819
947
  class EnableServiceResponse
820
948
  # @private
821
949
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -825,6 +953,7 @@ module Google
825
953
  class Endpoint
826
954
  # @private
827
955
  class Representation < Google::Apis::Core::JsonRepresentation
956
+ collection :aliases, as: 'aliases'
828
957
  property :allow_cors, as: 'allowCors'
829
958
  property :name, as: 'name'
830
959
  property :target, as: 'target'
@@ -925,6 +1054,14 @@ module Google
925
1054
  end
926
1055
  end
927
1056
 
1057
+ class GoSettings
1058
+ # @private
1059
+ class Representation < Google::Apis::Core::JsonRepresentation
1060
+ property :common, as: 'common', class: Google::Apis::ServicemanagementV1::CommonLanguageSettings, decorator: Google::Apis::ServicemanagementV1::CommonLanguageSettings::Representation
1061
+
1062
+ end
1063
+ end
1064
+
928
1065
  class Http
929
1066
  # @private
930
1067
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -952,6 +1089,16 @@ module Google
952
1089
  end
953
1090
  end
954
1091
 
1092
+ class JavaSettings
1093
+ # @private
1094
+ class Representation < Google::Apis::Core::JsonRepresentation
1095
+ property :common, as: 'common', class: Google::Apis::ServicemanagementV1::CommonLanguageSettings, decorator: Google::Apis::ServicemanagementV1::CommonLanguageSettings::Representation
1096
+
1097
+ property :library_package, as: 'libraryPackage'
1098
+ hash :service_class_names, as: 'serviceClassNames'
1099
+ end
1100
+ end
1101
+
955
1102
  class JwtLocation
956
1103
  # @private
957
1104
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1036,6 +1183,16 @@ module Google
1036
1183
  end
1037
1184
  end
1038
1185
 
1186
+ class LongRunning
1187
+ # @private
1188
+ class Representation < Google::Apis::Core::JsonRepresentation
1189
+ property :initial_poll_delay, as: 'initialPollDelay'
1190
+ property :max_poll_delay, as: 'maxPollDelay'
1191
+ property :poll_delay_multiplier, as: 'pollDelayMultiplier'
1192
+ property :total_poll_timeout, as: 'totalPollTimeout'
1193
+ end
1194
+ end
1195
+
1039
1196
  class ManagedService
1040
1197
  # @private
1041
1198
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1058,6 +1215,15 @@ module Google
1058
1215
  end
1059
1216
  end
1060
1217
 
1218
+ class MethodSettings
1219
+ # @private
1220
+ class Representation < Google::Apis::Core::JsonRepresentation
1221
+ property :long_running, as: 'longRunning', class: Google::Apis::ServicemanagementV1::LongRunning, decorator: Google::Apis::ServicemanagementV1::LongRunning::Representation
1222
+
1223
+ property :selector, as: 'selector'
1224
+ end
1225
+ end
1226
+
1061
1227
  class MetricDescriptor
1062
1228
  # @private
1063
1229
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1133,6 +1299,14 @@ module Google
1133
1299
  end
1134
1300
  end
1135
1301
 
1302
+ class NodeSettings
1303
+ # @private
1304
+ class Representation < Google::Apis::Core::JsonRepresentation
1305
+ property :common, as: 'common', class: Google::Apis::ServicemanagementV1::CommonLanguageSettings, decorator: Google::Apis::ServicemanagementV1::CommonLanguageSettings::Representation
1306
+
1307
+ end
1308
+ end
1309
+
1136
1310
  class OAuthRequirements
1137
1311
  # @private
1138
1312
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1189,6 +1363,14 @@ module Google
1189
1363
  end
1190
1364
  end
1191
1365
 
1366
+ class PhpSettings
1367
+ # @private
1368
+ class Representation < Google::Apis::Core::JsonRepresentation
1369
+ property :common, as: 'common', class: Google::Apis::ServicemanagementV1::CommonLanguageSettings, decorator: Google::Apis::ServicemanagementV1::CommonLanguageSettings::Representation
1370
+
1371
+ end
1372
+ end
1373
+
1192
1374
  class Policy
1193
1375
  # @private
1194
1376
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1201,6 +1383,31 @@ module Google
1201
1383
  end
1202
1384
  end
1203
1385
 
1386
+ class Publishing
1387
+ # @private
1388
+ class Representation < Google::Apis::Core::JsonRepresentation
1389
+ property :api_short_name, as: 'apiShortName'
1390
+ collection :codeowner_github_teams, as: 'codeownerGithubTeams'
1391
+ property :doc_tag_prefix, as: 'docTagPrefix'
1392
+ property :documentation_uri, as: 'documentationUri'
1393
+ property :github_label, as: 'githubLabel'
1394
+ collection :library_settings, as: 'librarySettings', class: Google::Apis::ServicemanagementV1::ClientLibrarySettings, decorator: Google::Apis::ServicemanagementV1::ClientLibrarySettings::Representation
1395
+
1396
+ collection :method_settings, as: 'methodSettings', class: Google::Apis::ServicemanagementV1::MethodSettings, decorator: Google::Apis::ServicemanagementV1::MethodSettings::Representation
1397
+
1398
+ property :new_issue_uri, as: 'newIssueUri'
1399
+ property :organization, as: 'organization'
1400
+ end
1401
+ end
1402
+
1403
+ class PythonSettings
1404
+ # @private
1405
+ class Representation < Google::Apis::Core::JsonRepresentation
1406
+ property :common, as: 'common', class: Google::Apis::ServicemanagementV1::CommonLanguageSettings, decorator: Google::Apis::ServicemanagementV1::CommonLanguageSettings::Representation
1407
+
1408
+ end
1409
+ end
1410
+
1204
1411
  class Quota
1205
1412
  # @private
1206
1413
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1250,6 +1457,14 @@ module Google
1250
1457
  end
1251
1458
  end
1252
1459
 
1460
+ class RubySettings
1461
+ # @private
1462
+ class Representation < Google::Apis::Core::JsonRepresentation
1463
+ property :common, as: 'common', class: Google::Apis::ServicemanagementV1::CommonLanguageSettings, decorator: Google::Apis::ServicemanagementV1::CommonLanguageSettings::Representation
1464
+
1465
+ end
1466
+ end
1467
+
1253
1468
  class Service
1254
1469
  # @private
1255
1470
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1289,6 +1504,8 @@ module Google
1289
1504
 
1290
1505
  property :name, as: 'name'
1291
1506
  property :producer_project_id, as: 'producerProjectId'
1507
+ property :publishing, as: 'publishing', class: Google::Apis::ServicemanagementV1::Publishing, decorator: Google::Apis::ServicemanagementV1::Publishing::Representation
1508
+
1292
1509
  property :quota, as: 'quota', class: Google::Apis::ServicemanagementV1::Quota, decorator: Google::Apis::ServicemanagementV1::Quota::Representation
1293
1510
 
1294
1511
  property :source_info, as: 'sourceInfo', class: Google::Apis::ServicemanagementV1::SourceInfo, decorator: Google::Apis::ServicemanagementV1::SourceInfo::Representation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-servicemanagement_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.36.0
4
+ version: 0.37.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-servicemanagement_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-servicemanagement_v1/v0.36.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-servicemanagement_v1/v0.37.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-servicemanagement_v1
63
63
  post_install_message:
64
64
  rdoc_options: []