google-api-client 0.17.1 → 0.17.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (77) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +33 -0
  3. data/generated/google/apis/admin_directory_v1.rb +1 -1
  4. data/generated/google/apis/admin_directory_v1/classes.rb +26 -0
  5. data/generated/google/apis/admin_directory_v1/representations.rb +14 -0
  6. data/generated/google/apis/admin_directory_v1/service.rb +90 -52
  7. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  8. data/generated/google/apis/androidenterprise_v1/classes.rb +150 -3
  9. data/generated/google/apis/androidenterprise_v1/representations.rb +65 -0
  10. data/generated/google/apis/androidenterprise_v1/service.rb +50 -4
  11. data/generated/google/apis/appengine_v1.rb +1 -1
  12. data/generated/google/apis/appengine_v1/classes.rb +45 -0
  13. data/generated/google/apis/appengine_v1/representations.rb +18 -0
  14. data/generated/google/apis/appengine_v1beta.rb +1 -1
  15. data/generated/google/apis/appengine_v1beta/classes.rb +8 -0
  16. data/generated/google/apis/appengine_v1beta/representations.rb +1 -0
  17. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  18. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +4 -4
  19. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  20. data/generated/google/apis/cloudbuild_v1/classes.rb +17 -0
  21. data/generated/google/apis/cloudbuild_v1/representations.rb +2 -0
  22. data/generated/google/apis/cloudiot_v1.rb +1 -1
  23. data/generated/google/apis/cloudiot_v1/classes.rb +5 -1
  24. data/generated/google/apis/cloudkms_v1.rb +1 -1
  25. data/generated/google/apis/cloudkms_v1/classes.rb +2 -1
  26. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  27. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +57 -61
  28. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +1 -1
  29. data/generated/google/apis/cloudtasks_v2beta2/service.rb +20 -19
  30. data/generated/google/apis/compute_alpha.rb +1 -1
  31. data/generated/google/apis/compute_beta.rb +1 -1
  32. data/generated/google/apis/compute_v1.rb +1 -1
  33. data/generated/google/apis/container_v1.rb +1 -1
  34. data/generated/google/apis/container_v1/classes.rb +4 -6
  35. data/generated/google/apis/container_v1beta1.rb +1 -1
  36. data/generated/google/apis/container_v1beta1/classes.rb +4 -6
  37. data/generated/google/apis/customsearch_v1.rb +1 -1
  38. data/generated/google/apis/customsearch_v1/service.rb +140 -0
  39. data/generated/google/apis/dialogflow_v2beta1.rb +35 -0
  40. data/generated/google/apis/dialogflow_v2beta1/classes.rb +2536 -0
  41. data/generated/google/apis/dialogflow_v2beta1/representations.rb +1078 -0
  42. data/generated/google/apis/dialogflow_v2beta1/service.rb +1398 -0
  43. data/generated/google/apis/dlp_v2beta1.rb +1 -1
  44. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  45. data/generated/google/apis/genomics_v1alpha2/classes.rb +7 -5
  46. data/generated/google/apis/logging_v2.rb +1 -1
  47. data/generated/google/apis/logging_v2/classes.rb +4 -4
  48. data/generated/google/apis/logging_v2beta1.rb +1 -1
  49. data/generated/google/apis/logging_v2beta1/classes.rb +4 -4
  50. data/generated/google/apis/monitoring_v3.rb +1 -1
  51. data/generated/google/apis/monitoring_v3/classes.rb +55 -46
  52. data/generated/google/apis/monitoring_v3/representations.rb +19 -0
  53. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  54. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +16 -60
  55. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +1 -0
  56. data/generated/google/apis/script_v1.rb +1 -1
  57. data/generated/google/apis/script_v1/classes.rb +19 -21
  58. data/generated/google/apis/serviceconsumermanagement_v1.rb +38 -0
  59. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +3945 -0
  60. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1235 -0
  61. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +467 -0
  62. data/generated/google/apis/slides_v1.rb +1 -1
  63. data/generated/google/apis/slides_v1/classes.rb +16 -0
  64. data/generated/google/apis/slides_v1/representations.rb +2 -0
  65. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  66. data/generated/google/apis/sourcerepo_v1/classes.rb +3 -2
  67. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  68. data/generated/google/apis/storagetransfer_v1/classes.rb +4 -4
  69. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  70. data/generated/google/apis/toolresults_v1beta3/classes.rb +21 -21
  71. data/generated/google/apis/tpu_v1alpha1.rb +34 -0
  72. data/generated/google/apis/tpu_v1alpha1/classes.rb +530 -0
  73. data/generated/google/apis/tpu_v1alpha1/representations.rb +191 -0
  74. data/generated/google/apis/tpu_v1alpha1/service.rb +474 -0
  75. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  76. data/lib/google/apis/version.rb +1 -1
  77. metadata +14 -2
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/android/work/play/emm-api
26
26
  module AndroidenterpriseV1
27
27
  VERSION = 'V1'
28
- REVISION = '20171025'
28
+ REVISION = '20171108'
29
29
 
30
30
  # Manage corporate Android devices
31
31
  AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise'
@@ -409,6 +409,41 @@ module Google
409
409
  end
410
410
  end
411
411
 
412
+ # A configuration variables resource contains the managed configuration settings
413
+ # ID to be applied to a single user, as well as the variable set that is
414
+ # attributed to the user. The variable set will be used to replace placeholders
415
+ # in the managed configuration settings.
416
+ class ConfigurationVariables
417
+ include Google::Apis::Core::Hashable
418
+
419
+ # Identifies what kind of resource this is. Value: the fixed string "
420
+ # androidenterprise#configurationVariables".
421
+ # Corresponds to the JSON property `kind`
422
+ # @return [String]
423
+ attr_accessor :kind
424
+
425
+ # The ID of the managed configurations settings.
426
+ # Corresponds to the JSON property `mcmId`
427
+ # @return [String]
428
+ attr_accessor :mcm_id
429
+
430
+ # The variable set that is attributed to the user.
431
+ # Corresponds to the JSON property `variableSet`
432
+ # @return [Array<Google::Apis::AndroidenterpriseV1::VariableSet>]
433
+ attr_accessor :variable_set
434
+
435
+ def initialize(**args)
436
+ update!(**args)
437
+ end
438
+
439
+ # Update properties of this object
440
+ def update!(**args)
441
+ @kind = args[:kind] if args.key?(:kind)
442
+ @mcm_id = args[:mcm_id] if args.key?(:mcm_id)
443
+ @variable_set = args[:variable_set] if args.key?(:variable_set)
444
+ end
445
+ end
446
+
412
447
  # A Devices resource represents a mobile device managed by the EMM and belonging
413
448
  # to a specific enterprise user.
414
449
  # This collection cannot be modified via the API. It is automatically populated
@@ -1027,12 +1062,20 @@ module Google
1027
1062
  end
1028
1063
  end
1029
1064
 
1030
- # A managed configuration resource contains the set of managed properties that
1031
- # have been configured for an Android app. The app's developer would have
1032
- # defined configurable properties in the managed configurations schema.
1065
+ # A managed configuration resource contains the set of managed properties
1066
+ # defined by the app developer in the app's managed configurations schema, as
1067
+ # well as any configuration variables defined for the user.
1033
1068
  class ManagedConfiguration
1034
1069
  include Google::Apis::Core::Hashable
1035
1070
 
1071
+ # A configuration variables resource contains the managed configuration settings
1072
+ # ID to be applied to a single user, as well as the variable set that is
1073
+ # attributed to the user. The variable set will be used to replace placeholders
1074
+ # in the managed configuration settings.
1075
+ # Corresponds to the JSON property `configurationVariables`
1076
+ # @return [Google::Apis::AndroidenterpriseV1::ConfigurationVariables]
1077
+ attr_accessor :configuration_variables
1078
+
1036
1079
  # Identifies what kind of resource this is. Value: the fixed string "
1037
1080
  # androidenterprise#managedConfiguration".
1038
1081
  # Corresponds to the JSON property `kind`
@@ -1056,6 +1099,7 @@ module Google
1056
1099
 
1057
1100
  # Update properties of this object
1058
1101
  def update!(**args)
1102
+ @configuration_variables = args[:configuration_variables] if args.key?(:configuration_variables)
1059
1103
  @kind = args[:kind] if args.key?(:kind)
1060
1104
  @managed_property = args[:managed_property] if args.key?(:managed_property)
1061
1105
  @product_id = args[:product_id] if args.key?(:product_id)
@@ -1114,6 +1158,74 @@ module Google
1114
1158
  end
1115
1159
  end
1116
1160
 
1161
+ # A managed configurations settings resource contains the set of managed
1162
+ # properties that have been configured for an Android app to be applied to a set
1163
+ # of users. The app's developer would have defined configurable properties in
1164
+ # the managed configurations schema.
1165
+ class ManagedConfigurationsSettings
1166
+ include Google::Apis::Core::Hashable
1167
+
1168
+ # Identifies what kind of resource this is. Value: the fixed string "
1169
+ # androidenterprise#managedConfigurationsSettings".
1170
+ # Corresponds to the JSON property `kind`
1171
+ # @return [String]
1172
+ attr_accessor :kind
1173
+
1174
+ # The set of managed properties for this configuration.
1175
+ # Corresponds to the JSON property `managedProperty`
1176
+ # @return [Array<Google::Apis::AndroidenterpriseV1::ManagedProperty>]
1177
+ attr_accessor :managed_property
1178
+
1179
+ # The ID of the managed configurations settings.
1180
+ # Corresponds to the JSON property `mcmId`
1181
+ # @return [String]
1182
+ attr_accessor :mcm_id
1183
+
1184
+ # The name of the managed configurations settings.
1185
+ # Corresponds to the JSON property `name`
1186
+ # @return [String]
1187
+ attr_accessor :name
1188
+
1189
+ def initialize(**args)
1190
+ update!(**args)
1191
+ end
1192
+
1193
+ # Update properties of this object
1194
+ def update!(**args)
1195
+ @kind = args[:kind] if args.key?(:kind)
1196
+ @managed_property = args[:managed_property] if args.key?(:managed_property)
1197
+ @mcm_id = args[:mcm_id] if args.key?(:mcm_id)
1198
+ @name = args[:name] if args.key?(:name)
1199
+ end
1200
+ end
1201
+
1202
+ # The managed configurations settings for a product.
1203
+ class ManagedConfigurationsSettingsListResponse
1204
+ include Google::Apis::Core::Hashable
1205
+
1206
+ # Identifies what kind of resource this is. Value: the fixed string "
1207
+ # androidenterprise#managedConfigurationsSettingsListResponse".
1208
+ # Corresponds to the JSON property `kind`
1209
+ # @return [String]
1210
+ attr_accessor :kind
1211
+
1212
+ # A managed configurations settings for an app that may be assigned to a group
1213
+ # of users in an enterprise.
1214
+ # Corresponds to the JSON property `managedConfigurationsSettings`
1215
+ # @return [Array<Google::Apis::AndroidenterpriseV1::ManagedConfigurationsSettings>]
1216
+ attr_accessor :managed_configurations_settings
1217
+
1218
+ def initialize(**args)
1219
+ update!(**args)
1220
+ end
1221
+
1222
+ # Update properties of this object
1223
+ def update!(**args)
1224
+ @kind = args[:kind] if args.key?(:kind)
1225
+ @managed_configurations_settings = args[:managed_configurations_settings] if args.key?(:managed_configurations_settings)
1226
+ end
1227
+ end
1228
+
1117
1229
  # A managed property of a managed configuration. The property must match one of
1118
1230
  # the properties in the app restrictions schema of the product. Exactly one of
1119
1231
  # the value fields must be populated, and it must match the property's type in
@@ -2389,6 +2501,41 @@ module Google
2389
2501
  @user = args[:user] if args.key?(:user)
2390
2502
  end
2391
2503
  end
2504
+
2505
+ # A variable set is a key-value pair of EMM-provided placeholders and its
2506
+ # corresponding value, which is attributed to a user. For example, $FIRSTNAME
2507
+ # could be a placeholder, and its value could be Alice. Placeholders should
2508
+ # start with a '$' sign and should be alphanumeric only.
2509
+ class VariableSet
2510
+ include Google::Apis::Core::Hashable
2511
+
2512
+ # Identifies what kind of resource this is. Value: the fixed string "
2513
+ # androidenterprise#variableSet".
2514
+ # Corresponds to the JSON property `kind`
2515
+ # @return [String]
2516
+ attr_accessor :kind
2517
+
2518
+ # The placeholder string; defined by EMM.
2519
+ # Corresponds to the JSON property `placeholder`
2520
+ # @return [String]
2521
+ attr_accessor :placeholder
2522
+
2523
+ # The value of the placeholder, specific to the user.
2524
+ # Corresponds to the JSON property `userValue`
2525
+ # @return [String]
2526
+ attr_accessor :user_value
2527
+
2528
+ def initialize(**args)
2529
+ update!(**args)
2530
+ end
2531
+
2532
+ # Update properties of this object
2533
+ def update!(**args)
2534
+ @kind = args[:kind] if args.key?(:kind)
2535
+ @placeholder = args[:placeholder] if args.key?(:placeholder)
2536
+ @user_value = args[:user_value] if args.key?(:user_value)
2537
+ end
2538
+ end
2392
2539
  end
2393
2540
  end
2394
2541
  end
@@ -94,6 +94,12 @@ module Google
94
94
  include Google::Apis::Core::JsonObjectSupport
95
95
  end
96
96
 
97
+ class ConfigurationVariables
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
97
103
  class Device
98
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
105
 
@@ -208,6 +214,18 @@ module Google
208
214
  include Google::Apis::Core::JsonObjectSupport
209
215
  end
210
216
 
217
+ class ManagedConfigurationsSettings
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class ManagedConfigurationsSettingsListResponse
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
211
229
  class ManagedProperty
212
230
  class Representation < Google::Apis::Core::JsonRepresentation; end
213
231
 
@@ -400,6 +418,12 @@ module Google
400
418
  include Google::Apis::Core::JsonObjectSupport
401
419
  end
402
420
 
421
+ class VariableSet
422
+ class Representation < Google::Apis::Core::JsonRepresentation; end
423
+
424
+ include Google::Apis::Core::JsonObjectSupport
425
+ end
426
+
403
427
  class Administrator
404
428
  # @private
405
429
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -507,6 +531,16 @@ module Google
507
531
  end
508
532
  end
509
533
 
534
+ class ConfigurationVariables
535
+ # @private
536
+ class Representation < Google::Apis::Core::JsonRepresentation
537
+ property :kind, as: 'kind'
538
+ property :mcm_id, as: 'mcmId'
539
+ collection :variable_set, as: 'variableSet', class: Google::Apis::AndroidenterpriseV1::VariableSet, decorator: Google::Apis::AndroidenterpriseV1::VariableSet::Representation
540
+
541
+ end
542
+ end
543
+
510
544
  class Device
511
545
  # @private
512
546
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -660,6 +694,8 @@ module Google
660
694
  class ManagedConfiguration
661
695
  # @private
662
696
  class Representation < Google::Apis::Core::JsonRepresentation
697
+ property :configuration_variables, as: 'configurationVariables', class: Google::Apis::AndroidenterpriseV1::ConfigurationVariables, decorator: Google::Apis::AndroidenterpriseV1::ConfigurationVariables::Representation
698
+
663
699
  property :kind, as: 'kind'
664
700
  collection :managed_property, as: 'managedProperty', class: Google::Apis::AndroidenterpriseV1::ManagedProperty, decorator: Google::Apis::AndroidenterpriseV1::ManagedProperty::Representation
665
701
 
@@ -685,6 +721,26 @@ module Google
685
721
  end
686
722
  end
687
723
 
724
+ class ManagedConfigurationsSettings
725
+ # @private
726
+ class Representation < Google::Apis::Core::JsonRepresentation
727
+ property :kind, as: 'kind'
728
+ collection :managed_property, as: 'managedProperty', class: Google::Apis::AndroidenterpriseV1::ManagedProperty, decorator: Google::Apis::AndroidenterpriseV1::ManagedProperty::Representation
729
+
730
+ property :mcm_id, as: 'mcmId'
731
+ property :name, as: 'name'
732
+ end
733
+ end
734
+
735
+ class ManagedConfigurationsSettingsListResponse
736
+ # @private
737
+ class Representation < Google::Apis::Core::JsonRepresentation
738
+ property :kind, as: 'kind'
739
+ collection :managed_configurations_settings, as: 'managedConfigurationsSettings', class: Google::Apis::AndroidenterpriseV1::ManagedConfigurationsSettings, decorator: Google::Apis::AndroidenterpriseV1::ManagedConfigurationsSettings::Representation
740
+
741
+ end
742
+ end
743
+
688
744
  class ManagedProperty
689
745
  # @private
690
746
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1016,6 +1072,15 @@ module Google
1016
1072
 
1017
1073
  end
1018
1074
  end
1075
+
1076
+ class VariableSet
1077
+ # @private
1078
+ class Representation < Google::Apis::Core::JsonRepresentation
1079
+ property :kind, as: 'kind'
1080
+ property :placeholder, as: 'placeholder'
1081
+ property :user_value, as: 'userValue'
1082
+ end
1083
+ end
1019
1084
  end
1020
1085
  end
1021
1086
  end
@@ -1848,8 +1848,12 @@ module Google
1848
1848
  execute_or_queue_command(command, &block)
1849
1849
  end
1850
1850
 
1851
- # Adds or updates a per-user managed configuration for an app for the specified
1852
- # user. This method supports patch semantics.
1851
+ # Adds or updates the managed configuration settings for an app for the
1852
+ # specified user. If you support the Managed configurations iframe, you can
1853
+ # apply managed configurations to a user by specifying an mcmId and its
1854
+ # associated configuration variables (if any) in the request. Alternatively, all
1855
+ # EMMs can apply managed configurations by passing a list of managed properties.
1856
+ # This method supports patch semantics.
1853
1857
  # @param [String] enterprise_id
1854
1858
  # The ID of the enterprise.
1855
1859
  # @param [String] user_id
@@ -1894,8 +1898,11 @@ module Google
1894
1898
  execute_or_queue_command(command, &block)
1895
1899
  end
1896
1900
 
1897
- # Adds or updates a per-user managed configuration for an app for the specified
1898
- # user.
1901
+ # Adds or updates the managed configuration settings for an app for the
1902
+ # specified user. If you support the Managed configurations iframe, you can
1903
+ # apply managed configurations to a user by specifying an mcmId and its
1904
+ # associated configuration variables (if any) in the request. Alternatively, all
1905
+ # EMMs can apply managed configurations by passing a list of managed properties.
1899
1906
  # @param [String] enterprise_id
1900
1907
  # The ID of the enterprise.
1901
1908
  # @param [String] user_id
@@ -1940,6 +1947,45 @@ module Google
1940
1947
  execute_or_queue_command(command, &block)
1941
1948
  end
1942
1949
 
1950
+ # Lists all the managed configurations settings for the specified app. Only the
1951
+ # ID and the name is set.
1952
+ # @param [String] enterprise_id
1953
+ # The ID of the enterprise.
1954
+ # @param [String] product_id
1955
+ # The ID of the product for which the managed configurations settings applies to.
1956
+ # @param [String] fields
1957
+ # Selector specifying which fields to include in a partial response.
1958
+ # @param [String] quota_user
1959
+ # Available to use for quota purposes for server-side applications. Can be any
1960
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1961
+ # Overrides userIp if both are provided.
1962
+ # @param [String] user_ip
1963
+ # IP address of the site where the request originates. Use this if you want to
1964
+ # enforce per-user limits.
1965
+ # @param [Google::Apis::RequestOptions] options
1966
+ # Request-specific options
1967
+ #
1968
+ # @yield [result, err] Result & error if block supplied
1969
+ # @yieldparam result [Google::Apis::AndroidenterpriseV1::ManagedConfigurationsSettingsListResponse] parsed result object
1970
+ # @yieldparam err [StandardError] error object if request failed
1971
+ #
1972
+ # @return [Google::Apis::AndroidenterpriseV1::ManagedConfigurationsSettingsListResponse]
1973
+ #
1974
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1975
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1976
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1977
+ def list_managedconfigurationssettings(enterprise_id, product_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1978
+ command = make_simple_command(:get, 'enterprises/{enterpriseId}/products/{productId}/managedConfigurationsSettings', options)
1979
+ command.response_representation = Google::Apis::AndroidenterpriseV1::ManagedConfigurationsSettingsListResponse::Representation
1980
+ command.response_class = Google::Apis::AndroidenterpriseV1::ManagedConfigurationsSettingsListResponse
1981
+ command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
1982
+ command.params['productId'] = product_id unless product_id.nil?
1983
+ command.query['fields'] = fields unless fields.nil?
1984
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1985
+ command.query['userIp'] = user_ip unless user_ip.nil?
1986
+ execute_or_queue_command(command, &block)
1987
+ end
1988
+
1943
1989
  # Retrieves details of an Android app permission for display to an enterprise
1944
1990
  # admin.
1945
1991
  # @param [String] permission_id
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/appengine/docs/admin-api/
27
27
  module AppengineV1
28
28
  VERSION = 'V1'
29
- REVISION = '20171026'
29
+ REVISION = '20171109'
30
30
 
31
31
  # View and manage your applications deployed on Google App Engine
32
32
  AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'
@@ -370,6 +370,11 @@ module Google
370
370
  # @return [Google::Apis::AppengineV1::RequestUtilization]
371
371
  attr_accessor :request_utilization
372
372
 
373
+ # Scheduler settings for standard environment.
374
+ # Corresponds to the JSON property `standardSchedulerSettings`
375
+ # @return [Google::Apis::AppengineV1::StandardSchedulerSettings]
376
+ attr_accessor :standard_scheduler_settings
377
+
373
378
  def initialize(**args)
374
379
  update!(**args)
375
380
  end
@@ -388,6 +393,7 @@ module Google
388
393
  @min_total_instances = args[:min_total_instances] if args.key?(:min_total_instances)
389
394
  @network_utilization = args[:network_utilization] if args.key?(:network_utilization)
390
395
  @request_utilization = args[:request_utilization] if args.key?(:request_utilization)
396
+ @standard_scheduler_settings = args[:standard_scheduler_settings] if args.key?(:standard_scheduler_settings)
391
397
  end
392
398
  end
393
399
 
@@ -2177,6 +2183,45 @@ module Google
2177
2183
  end
2178
2184
  end
2179
2185
 
2186
+ # Scheduler settings for standard environment.
2187
+ class StandardSchedulerSettings
2188
+ include Google::Apis::Core::Hashable
2189
+
2190
+ # Maximum number of instances for an app version. Set to a non-positive value (0
2191
+ # by convention) to disable max_instances configuration.
2192
+ # Corresponds to the JSON property `maxInstances`
2193
+ # @return [Fixnum]
2194
+ attr_accessor :max_instances
2195
+
2196
+ # Minimum number of instances for an app version. Set to a non-positive value (0
2197
+ # by convention) to disable min_instances configuration.
2198
+ # Corresponds to the JSON property `minInstances`
2199
+ # @return [Fixnum]
2200
+ attr_accessor :min_instances
2201
+
2202
+ # Target CPU utilization ratio to maintain when scaling.
2203
+ # Corresponds to the JSON property `targetCpuUtilization`
2204
+ # @return [Float]
2205
+ attr_accessor :target_cpu_utilization
2206
+
2207
+ # Target throughput utilization ratio to maintain when scaling
2208
+ # Corresponds to the JSON property `targetThroughputUtilization`
2209
+ # @return [Float]
2210
+ attr_accessor :target_throughput_utilization
2211
+
2212
+ def initialize(**args)
2213
+ update!(**args)
2214
+ end
2215
+
2216
+ # Update properties of this object
2217
+ def update!(**args)
2218
+ @max_instances = args[:max_instances] if args.key?(:max_instances)
2219
+ @min_instances = args[:min_instances] if args.key?(:min_instances)
2220
+ @target_cpu_utilization = args[:target_cpu_utilization] if args.key?(:target_cpu_utilization)
2221
+ @target_throughput_utilization = args[:target_throughput_utilization] if args.key?(:target_throughput_utilization)
2222
+ end
2223
+ end
2224
+
2180
2225
  # Files served directly to the user for a given URL, such as images, CSS
2181
2226
  # stylesheets, or JavaScript source files. Static file handlers describe which
2182
2227
  # files in the application directory are static files, and which URLs serve them.