google-api-client 0.30.1 → 0.30.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (147) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +64 -0
  3. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  4. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +8 -74
  5. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  6. data/generated/google/apis/androidenterprise_v1/classes.rb +156 -0
  7. data/generated/google/apis/androidenterprise_v1/representations.rb +68 -0
  8. data/generated/google/apis/androidenterprise_v1/service.rb +39 -0
  9. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  10. data/generated/google/apis/androidpublisher_v3/classes.rb +8 -0
  11. data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
  12. data/generated/google/apis/appengine_v1.rb +1 -1
  13. data/generated/google/apis/appengine_v1/classes.rb +8 -64
  14. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  15. data/generated/google/apis/appengine_v1alpha/classes.rb +8 -64
  16. data/generated/google/apis/appengine_v1beta.rb +1 -1
  17. data/generated/google/apis/appengine_v1beta/classes.rb +8 -64
  18. data/generated/google/apis/bigquery_v2.rb +1 -1
  19. data/generated/google/apis/bigquery_v2/classes.rb +12 -4
  20. data/generated/google/apis/bigquery_v2/representations.rb +2 -0
  21. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  22. data/generated/google/apis/cloudbuild_v1/classes.rb +8 -74
  23. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
  24. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +8 -74
  25. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  26. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +10 -74
  27. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  28. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +8 -74
  29. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  30. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +8 -74
  31. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  32. data/generated/google/apis/cloudtasks_v2/classes.rb +8 -74
  33. data/generated/google/apis/cloudtasks_v2/service.rb +1 -2
  34. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  35. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +8 -74
  36. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  37. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +8 -82
  38. data/generated/google/apis/cloudtasks_v2beta3/service.rb +1 -2
  39. data/generated/google/apis/container_v1.rb +1 -1
  40. data/generated/google/apis/container_v1/classes.rb +6 -0
  41. data/generated/google/apis/container_v1beta1.rb +1 -1
  42. data/generated/google/apis/container_v1beta1/classes.rb +6 -0
  43. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  44. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +12 -111
  45. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  46. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +8 -74
  47. data/generated/google/apis/content_v2.rb +1 -1
  48. data/generated/google/apis/content_v2/classes.rb +6 -0
  49. data/generated/google/apis/content_v2/representations.rb +2 -0
  50. data/generated/google/apis/content_v2_1.rb +1 -1
  51. data/generated/google/apis/content_v2_1/classes.rb +6 -0
  52. data/generated/google/apis/content_v2_1/representations.rb +2 -0
  53. data/generated/google/apis/dialogflow_v2.rb +1 -1
  54. data/generated/google/apis/dialogflow_v2/classes.rb +12 -111
  55. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  56. data/generated/google/apis/dialogflow_v2beta1/classes.rb +27 -117
  57. data/generated/google/apis/dialogflow_v2beta1/representations.rb +1 -0
  58. data/generated/google/apis/dlp_v2.rb +1 -1
  59. data/generated/google/apis/dlp_v2/classes.rb +8 -74
  60. data/generated/google/apis/docs_v1.rb +1 -1
  61. data/generated/google/apis/docs_v1/classes.rb +10 -0
  62. data/generated/google/apis/fcm_v1.rb +1 -1
  63. data/generated/google/apis/fcm_v1/classes.rb +56 -0
  64. data/generated/google/apis/fcm_v1/representations.rb +31 -0
  65. data/generated/google/apis/file_v1.rb +1 -1
  66. data/generated/google/apis/file_v1/classes.rb +6 -6
  67. data/generated/google/apis/file_v1/representations.rb +1 -1
  68. data/generated/google/apis/file_v1beta1.rb +1 -1
  69. data/generated/google/apis/file_v1beta1/classes.rb +6 -6
  70. data/generated/google/apis/file_v1beta1/representations.rb +1 -1
  71. data/generated/google/apis/genomics_v1.rb +1 -1
  72. data/generated/google/apis/genomics_v1/classes.rb +8 -74
  73. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  74. data/generated/google/apis/genomics_v1alpha2/classes.rb +8 -74
  75. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  76. data/generated/google/apis/genomics_v2alpha1/classes.rb +14 -113
  77. data/generated/google/apis/gmail_v1.rb +1 -1
  78. data/generated/google/apis/gmail_v1/classes.rb +10 -2
  79. data/generated/google/apis/healthcare_v1alpha2.rb +1 -1
  80. data/generated/google/apis/healthcare_v1alpha2/classes.rb +62 -113
  81. data/generated/google/apis/healthcare_v1alpha2/representations.rb +17 -0
  82. data/generated/google/apis/healthcare_v1alpha2/service.rb +2 -0
  83. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  84. data/generated/google/apis/healthcare_v1beta1/classes.rb +14 -113
  85. data/generated/google/apis/healthcare_v1beta1/service.rb +2 -0
  86. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  87. data/generated/google/apis/jobs_v3p1beta1/classes.rb +4 -3
  88. data/generated/google/apis/language_v1.rb +1 -1
  89. data/generated/google/apis/language_v1/classes.rb +4 -37
  90. data/generated/google/apis/language_v1beta1.rb +1 -1
  91. data/generated/google/apis/language_v1beta1/classes.rb +4 -37
  92. data/generated/google/apis/language_v1beta2.rb +1 -1
  93. data/generated/google/apis/language_v1beta2/classes.rb +4 -37
  94. data/generated/google/apis/logging_v2.rb +5 -2
  95. data/generated/google/apis/logging_v2/service.rb +4 -1
  96. data/generated/google/apis/ml_v1.rb +1 -1
  97. data/generated/google/apis/ml_v1/classes.rb +27 -77
  98. data/generated/google/apis/ml_v1/representations.rb +2 -0
  99. data/generated/google/apis/monitoring_v3.rb +5 -2
  100. data/generated/google/apis/monitoring_v3/classes.rb +13 -97
  101. data/generated/google/apis/monitoring_v3/service.rb +4 -1
  102. data/generated/google/apis/redis_v1.rb +1 -1
  103. data/generated/google/apis/redis_v1/classes.rb +12 -78
  104. data/generated/google/apis/redis_v1/service.rb +2 -2
  105. data/generated/google/apis/redis_v1beta1.rb +1 -1
  106. data/generated/google/apis/redis_v1beta1/classes.rb +12 -78
  107. data/generated/google/apis/redis_v1beta1/service.rb +2 -2
  108. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  109. data/generated/google/apis/remotebuildexecution_v1/classes.rb +20 -185
  110. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  111. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +20 -185
  112. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  113. data/generated/google/apis/remotebuildexecution_v2/classes.rb +28 -259
  114. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  115. data/generated/google/apis/runtimeconfig_v1/classes.rb +8 -74
  116. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  117. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +12 -111
  118. data/generated/google/apis/securitycenter_v1p1alpha1.rb +35 -0
  119. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +223 -0
  120. data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +114 -0
  121. data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +211 -0
  122. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  123. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1 -0
  124. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  125. data/generated/google/apis/servicenetworking_v1/classes.rb +1 -0
  126. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  127. data/generated/google/apis/servicenetworking_v1beta/classes.rb +1 -0
  128. data/generated/google/apis/serviceusage_v1.rb +1 -1
  129. data/generated/google/apis/serviceusage_v1/classes.rb +1 -0
  130. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  131. data/generated/google/apis/serviceusage_v1beta1/classes.rb +1 -0
  132. data/generated/google/apis/storage_v1.rb +1 -1
  133. data/generated/google/apis/storage_v1/classes.rb +0 -7
  134. data/generated/google/apis/storage_v1/representations.rb +0 -1
  135. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  136. data/generated/google/apis/storagetransfer_v1/classes.rb +14 -78
  137. data/generated/google/apis/vision_v1.rb +1 -1
  138. data/generated/google/apis/vision_v1/classes.rb +36 -333
  139. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  140. data/generated/google/apis/vision_v1p1beta1/classes.rb +32 -296
  141. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  142. data/generated/google/apis/vision_v1p2beta1/classes.rb +32 -296
  143. data/generated/google/apis/youtube_analytics_v2.rb +1 -1
  144. data/generated/google/apis/youtube_partner_v1.rb +2 -2
  145. data/generated/google/apis/youtube_partner_v1/service.rb +1 -1
  146. data/lib/google/apis/version.rb +1 -1
  147. metadata +6 -2
@@ -51,6 +51,45 @@ module Google
51
51
  @batch_path = 'batch/androidenterprise/v1'
52
52
  end
53
53
 
54
+ # Uploads a report containing any changes in app states on the device since the
55
+ # last report was generated. You can call this method up to 3 times every 24
56
+ # hours for a given device.
57
+ # @param [String] enterprise_id
58
+ # The ID of the enterprise.
59
+ # @param [String] user_id
60
+ # The ID of the user.
61
+ # @param [String] device_id
62
+ # The ID of the device.
63
+ # @param [String] fields
64
+ # Selector specifying which fields to include in a partial response.
65
+ # @param [String] quota_user
66
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
67
+ # characters.
68
+ # @param [String] user_ip
69
+ # Deprecated. Please use quotaUser instead.
70
+ # @param [Google::Apis::RequestOptions] options
71
+ # Request-specific options
72
+ #
73
+ # @yield [result, err] Result & error if block supplied
74
+ # @yieldparam result [NilClass] No result returned for this method
75
+ # @yieldparam err [StandardError] error object if request failed
76
+ #
77
+ # @return [void]
78
+ #
79
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
80
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
81
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
82
+ def force_device_report_upload(enterprise_id, user_id, device_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
83
+ command = make_simple_command(:post, 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/forceReportUpload', options)
84
+ command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
85
+ command.params['userId'] = user_id unless user_id.nil?
86
+ command.params['deviceId'] = device_id unless device_id.nil?
87
+ command.query['fields'] = fields unless fields.nil?
88
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
89
+ command.query['userIp'] = user_ip unless user_ip.nil?
90
+ execute_or_queue_command(command, &block)
91
+ end
92
+
54
93
  # Retrieves the details of a device.
55
94
  # @param [String] enterprise_id
56
95
  # The ID of the enterprise.
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/android-publisher
26
26
  module AndroidpublisherV3
27
27
  VERSION = 'V3'
28
- REVISION = '20190508'
28
+ REVISION = '20190604'
29
29
 
30
30
  # View and manage your Google Play Developer account
31
31
  AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
@@ -1482,6 +1482,13 @@ module Google
1482
1482
  class SubscriptionPurchase
1483
1483
  include Google::Apis::Core::Hashable
1484
1484
 
1485
+ # The acknowledgement state of the subscription product. Possible values are:
1486
+ # - Yet to be acknowledged
1487
+ # - Acknowledged
1488
+ # Corresponds to the JSON property `acknowledgementState`
1489
+ # @return [Fixnum]
1490
+ attr_accessor :acknowledgement_state
1491
+
1485
1492
  # Whether the subscription will automatically be renewed when it reaches its
1486
1493
  # current expiry time.
1487
1494
  # Corresponds to the JSON property `autoRenewing`
@@ -1642,6 +1649,7 @@ module Google
1642
1649
 
1643
1650
  # Update properties of this object
1644
1651
  def update!(**args)
1652
+ @acknowledgement_state = args[:acknowledgement_state] if args.key?(:acknowledgement_state)
1645
1653
  @auto_renewing = args[:auto_renewing] if args.key?(:auto_renewing)
1646
1654
  @auto_resume_time_millis = args[:auto_resume_time_millis] if args.key?(:auto_resume_time_millis)
1647
1655
  @cancel_reason = args[:cancel_reason] if args.key?(:cancel_reason)
@@ -808,6 +808,7 @@ module Google
808
808
  class SubscriptionPurchase
809
809
  # @private
810
810
  class Representation < Google::Apis::Core::JsonRepresentation
811
+ property :acknowledgement_state, as: 'acknowledgementState'
811
812
  property :auto_renewing, as: 'autoRenewing'
812
813
  property :auto_resume_time_millis, :numeric_string => true, as: 'autoResumeTimeMillis'
813
814
  property :cancel_reason, as: 'cancelReason'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/appengine/docs/admin-api/
26
26
  module AppengineV1
27
27
  VERSION = 'V1'
28
- REVISION = '20190503'
28
+ REVISION = '20190531'
29
29
 
30
30
  # View and manage your applications deployed on Google App Engine
31
31
  AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'
@@ -1796,38 +1796,10 @@ module Google
1796
1796
 
1797
1797
  # The Status type defines a logical error model that is suitable for different
1798
1798
  # programming environments, including REST APIs and RPC APIs. It is used by gRPC
1799
- # (https://github.com/grpc). The error model is designed to be:
1800
- # Simple to use and understand for most users
1801
- # Flexible enough to meet unexpected needsOverviewThe Status message contains
1802
- # three pieces of data: error code, error message, and error details. The error
1803
- # code should be an enum value of google.rpc.Code, but it may accept additional
1804
- # error codes if needed. The error message should be a developer-facing English
1805
- # message that helps developers understand and resolve the error. If a localized
1806
- # user-facing error message is needed, put the localized message in the error
1807
- # details or localize it in the client. The optional error details may contain
1808
- # arbitrary information about the error. There is a predefined set of error
1809
- # detail types in the package google.rpc that can be used for common error
1810
- # conditions.Language mappingThe Status message is the logical representation of
1811
- # the error model, but it is not necessarily the actual wire format. When the
1812
- # Status message is exposed in different client libraries and different wire
1813
- # protocols, it can be mapped differently. For example, it will likely be mapped
1814
- # to some exceptions in Java, but more likely mapped to some error codes in C.
1815
- # Other usesThe error model and the Status message can be used in a variety of
1816
- # environments, either with or without APIs, to provide a consistent developer
1817
- # experience across different environments.Example uses of this error model
1818
- # include:
1819
- # Partial errors. If a service needs to return partial errors to the client, it
1820
- # may embed the Status in the normal response to indicate the partial errors.
1821
- # Workflow errors. A typical workflow has multiple steps. Each step may have a
1822
- # Status message for error reporting.
1823
- # Batch operations. If a client uses batch request and batch response, the
1824
- # Status message should be used directly inside batch response, one for each
1825
- # error sub-response.
1826
- # Asynchronous operations. If an API call embeds asynchronous operation results
1827
- # in its response, the status of those operations should be represented directly
1828
- # using the Status message.
1829
- # Logging. If some API errors are stored in logs, the message Status could be
1830
- # used directly after any stripping needed for security/privacy reasons.
1799
+ # (https://github.com/grpc). Each Status message contains three pieces of data:
1800
+ # error code, error message, and error details.You can find out more about this
1801
+ # error model and how to work with it in the API Design Guide (https://cloud.
1802
+ # google.com/apis/design/errors).
1831
1803
  # Corresponds to the JSON property `error`
1832
1804
  # @return [Google::Apis::AppengineV1::Status]
1833
1805
  attr_accessor :error
@@ -2445,38 +2417,10 @@ module Google
2445
2417
 
2446
2418
  # The Status type defines a logical error model that is suitable for different
2447
2419
  # programming environments, including REST APIs and RPC APIs. It is used by gRPC
2448
- # (https://github.com/grpc). The error model is designed to be:
2449
- # Simple to use and understand for most users
2450
- # Flexible enough to meet unexpected needsOverviewThe Status message contains
2451
- # three pieces of data: error code, error message, and error details. The error
2452
- # code should be an enum value of google.rpc.Code, but it may accept additional
2453
- # error codes if needed. The error message should be a developer-facing English
2454
- # message that helps developers understand and resolve the error. If a localized
2455
- # user-facing error message is needed, put the localized message in the error
2456
- # details or localize it in the client. The optional error details may contain
2457
- # arbitrary information about the error. There is a predefined set of error
2458
- # detail types in the package google.rpc that can be used for common error
2459
- # conditions.Language mappingThe Status message is the logical representation of
2460
- # the error model, but it is not necessarily the actual wire format. When the
2461
- # Status message is exposed in different client libraries and different wire
2462
- # protocols, it can be mapped differently. For example, it will likely be mapped
2463
- # to some exceptions in Java, but more likely mapped to some error codes in C.
2464
- # Other usesThe error model and the Status message can be used in a variety of
2465
- # environments, either with or without APIs, to provide a consistent developer
2466
- # experience across different environments.Example uses of this error model
2467
- # include:
2468
- # Partial errors. If a service needs to return partial errors to the client, it
2469
- # may embed the Status in the normal response to indicate the partial errors.
2470
- # Workflow errors. A typical workflow has multiple steps. Each step may have a
2471
- # Status message for error reporting.
2472
- # Batch operations. If a client uses batch request and batch response, the
2473
- # Status message should be used directly inside batch response, one for each
2474
- # error sub-response.
2475
- # Asynchronous operations. If an API call embeds asynchronous operation results
2476
- # in its response, the status of those operations should be represented directly
2477
- # using the Status message.
2478
- # Logging. If some API errors are stored in logs, the message Status could be
2479
- # used directly after any stripping needed for security/privacy reasons.
2420
+ # (https://github.com/grpc). Each Status message contains three pieces of data:
2421
+ # error code, error message, and error details.You can find out more about this
2422
+ # error model and how to work with it in the API Design Guide (https://cloud.
2423
+ # google.com/apis/design/errors).
2480
2424
  class Status
2481
2425
  include Google::Apis::Core::Hashable
2482
2426
 
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/appengine/docs/admin-api/
26
26
  module AppengineV1alpha
27
27
  VERSION = 'V1alpha'
28
- REVISION = '20190503'
28
+ REVISION = '20190531'
29
29
 
30
30
  # View and manage your applications deployed on Google App Engine
31
31
  AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'
@@ -528,38 +528,10 @@ module Google
528
528
 
529
529
  # The Status type defines a logical error model that is suitable for different
530
530
  # programming environments, including REST APIs and RPC APIs. It is used by gRPC
531
- # (https://github.com/grpc). The error model is designed to be:
532
- # Simple to use and understand for most users
533
- # Flexible enough to meet unexpected needsOverviewThe Status message contains
534
- # three pieces of data: error code, error message, and error details. The error
535
- # code should be an enum value of google.rpc.Code, but it may accept additional
536
- # error codes if needed. The error message should be a developer-facing English
537
- # message that helps developers understand and resolve the error. If a localized
538
- # user-facing error message is needed, put the localized message in the error
539
- # details or localize it in the client. The optional error details may contain
540
- # arbitrary information about the error. There is a predefined set of error
541
- # detail types in the package google.rpc that can be used for common error
542
- # conditions.Language mappingThe Status message is the logical representation of
543
- # the error model, but it is not necessarily the actual wire format. When the
544
- # Status message is exposed in different client libraries and different wire
545
- # protocols, it can be mapped differently. For example, it will likely be mapped
546
- # to some exceptions in Java, but more likely mapped to some error codes in C.
547
- # Other usesThe error model and the Status message can be used in a variety of
548
- # environments, either with or without APIs, to provide a consistent developer
549
- # experience across different environments.Example uses of this error model
550
- # include:
551
- # Partial errors. If a service needs to return partial errors to the client, it
552
- # may embed the Status in the normal response to indicate the partial errors.
553
- # Workflow errors. A typical workflow has multiple steps. Each step may have a
554
- # Status message for error reporting.
555
- # Batch operations. If a client uses batch request and batch response, the
556
- # Status message should be used directly inside batch response, one for each
557
- # error sub-response.
558
- # Asynchronous operations. If an API call embeds asynchronous operation results
559
- # in its response, the status of those operations should be represented directly
560
- # using the Status message.
561
- # Logging. If some API errors are stored in logs, the message Status could be
562
- # used directly after any stripping needed for security/privacy reasons.
531
+ # (https://github.com/grpc). Each Status message contains three pieces of data:
532
+ # error code, error message, and error details.You can find out more about this
533
+ # error model and how to work with it in the API Design Guide (https://cloud.
534
+ # google.com/apis/design/errors).
563
535
  # Corresponds to the JSON property `error`
564
536
  # @return [Google::Apis::AppengineV1alpha::Status]
565
537
  attr_accessor :error
@@ -867,38 +839,10 @@ module Google
867
839
 
868
840
  # The Status type defines a logical error model that is suitable for different
869
841
  # programming environments, including REST APIs and RPC APIs. It is used by gRPC
870
- # (https://github.com/grpc). The error model is designed to be:
871
- # Simple to use and understand for most users
872
- # Flexible enough to meet unexpected needsOverviewThe Status message contains
873
- # three pieces of data: error code, error message, and error details. The error
874
- # code should be an enum value of google.rpc.Code, but it may accept additional
875
- # error codes if needed. The error message should be a developer-facing English
876
- # message that helps developers understand and resolve the error. If a localized
877
- # user-facing error message is needed, put the localized message in the error
878
- # details or localize it in the client. The optional error details may contain
879
- # arbitrary information about the error. There is a predefined set of error
880
- # detail types in the package google.rpc that can be used for common error
881
- # conditions.Language mappingThe Status message is the logical representation of
882
- # the error model, but it is not necessarily the actual wire format. When the
883
- # Status message is exposed in different client libraries and different wire
884
- # protocols, it can be mapped differently. For example, it will likely be mapped
885
- # to some exceptions in Java, but more likely mapped to some error codes in C.
886
- # Other usesThe error model and the Status message can be used in a variety of
887
- # environments, either with or without APIs, to provide a consistent developer
888
- # experience across different environments.Example uses of this error model
889
- # include:
890
- # Partial errors. If a service needs to return partial errors to the client, it
891
- # may embed the Status in the normal response to indicate the partial errors.
892
- # Workflow errors. A typical workflow has multiple steps. Each step may have a
893
- # Status message for error reporting.
894
- # Batch operations. If a client uses batch request and batch response, the
895
- # Status message should be used directly inside batch response, one for each
896
- # error sub-response.
897
- # Asynchronous operations. If an API call embeds asynchronous operation results
898
- # in its response, the status of those operations should be represented directly
899
- # using the Status message.
900
- # Logging. If some API errors are stored in logs, the message Status could be
901
- # used directly after any stripping needed for security/privacy reasons.
842
+ # (https://github.com/grpc). Each Status message contains three pieces of data:
843
+ # error code, error message, and error details.You can find out more about this
844
+ # error model and how to work with it in the API Design Guide (https://cloud.
845
+ # google.com/apis/design/errors).
902
846
  class Status
903
847
  include Google::Apis::Core::Hashable
904
848
 
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/appengine/docs/admin-api/
26
26
  module AppengineV1beta
27
27
  VERSION = 'V1beta'
28
- REVISION = '20190503'
28
+ REVISION = '20190531'
29
29
 
30
30
  # View and manage your applications deployed on Google App Engine
31
31
  AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'
@@ -1913,38 +1913,10 @@ module Google
1913
1913
 
1914
1914
  # The Status type defines a logical error model that is suitable for different
1915
1915
  # programming environments, including REST APIs and RPC APIs. It is used by gRPC
1916
- # (https://github.com/grpc). The error model is designed to be:
1917
- # Simple to use and understand for most users
1918
- # Flexible enough to meet unexpected needsOverviewThe Status message contains
1919
- # three pieces of data: error code, error message, and error details. The error
1920
- # code should be an enum value of google.rpc.Code, but it may accept additional
1921
- # error codes if needed. The error message should be a developer-facing English
1922
- # message that helps developers understand and resolve the error. If a localized
1923
- # user-facing error message is needed, put the localized message in the error
1924
- # details or localize it in the client. The optional error details may contain
1925
- # arbitrary information about the error. There is a predefined set of error
1926
- # detail types in the package google.rpc that can be used for common error
1927
- # conditions.Language mappingThe Status message is the logical representation of
1928
- # the error model, but it is not necessarily the actual wire format. When the
1929
- # Status message is exposed in different client libraries and different wire
1930
- # protocols, it can be mapped differently. For example, it will likely be mapped
1931
- # to some exceptions in Java, but more likely mapped to some error codes in C.
1932
- # Other usesThe error model and the Status message can be used in a variety of
1933
- # environments, either with or without APIs, to provide a consistent developer
1934
- # experience across different environments.Example uses of this error model
1935
- # include:
1936
- # Partial errors. If a service needs to return partial errors to the client, it
1937
- # may embed the Status in the normal response to indicate the partial errors.
1938
- # Workflow errors. A typical workflow has multiple steps. Each step may have a
1939
- # Status message for error reporting.
1940
- # Batch operations. If a client uses batch request and batch response, the
1941
- # Status message should be used directly inside batch response, one for each
1942
- # error sub-response.
1943
- # Asynchronous operations. If an API call embeds asynchronous operation results
1944
- # in its response, the status of those operations should be represented directly
1945
- # using the Status message.
1946
- # Logging. If some API errors are stored in logs, the message Status could be
1947
- # used directly after any stripping needed for security/privacy reasons.
1916
+ # (https://github.com/grpc). Each Status message contains three pieces of data:
1917
+ # error code, error message, and error details.You can find out more about this
1918
+ # error model and how to work with it in the API Design Guide (https://cloud.
1919
+ # google.com/apis/design/errors).
1948
1920
  # Corresponds to the JSON property `error`
1949
1921
  # @return [Google::Apis::AppengineV1beta::Status]
1950
1922
  attr_accessor :error
@@ -2562,38 +2534,10 @@ module Google
2562
2534
 
2563
2535
  # The Status type defines a logical error model that is suitable for different
2564
2536
  # programming environments, including REST APIs and RPC APIs. It is used by gRPC
2565
- # (https://github.com/grpc). The error model is designed to be:
2566
- # Simple to use and understand for most users
2567
- # Flexible enough to meet unexpected needsOverviewThe Status message contains
2568
- # three pieces of data: error code, error message, and error details. The error
2569
- # code should be an enum value of google.rpc.Code, but it may accept additional
2570
- # error codes if needed. The error message should be a developer-facing English
2571
- # message that helps developers understand and resolve the error. If a localized
2572
- # user-facing error message is needed, put the localized message in the error
2573
- # details or localize it in the client. The optional error details may contain
2574
- # arbitrary information about the error. There is a predefined set of error
2575
- # detail types in the package google.rpc that can be used for common error
2576
- # conditions.Language mappingThe Status message is the logical representation of
2577
- # the error model, but it is not necessarily the actual wire format. When the
2578
- # Status message is exposed in different client libraries and different wire
2579
- # protocols, it can be mapped differently. For example, it will likely be mapped
2580
- # to some exceptions in Java, but more likely mapped to some error codes in C.
2581
- # Other usesThe error model and the Status message can be used in a variety of
2582
- # environments, either with or without APIs, to provide a consistent developer
2583
- # experience across different environments.Example uses of this error model
2584
- # include:
2585
- # Partial errors. If a service needs to return partial errors to the client, it
2586
- # may embed the Status in the normal response to indicate the partial errors.
2587
- # Workflow errors. A typical workflow has multiple steps. Each step may have a
2588
- # Status message for error reporting.
2589
- # Batch operations. If a client uses batch request and batch response, the
2590
- # Status message should be used directly inside batch response, one for each
2591
- # error sub-response.
2592
- # Asynchronous operations. If an API call embeds asynchronous operation results
2593
- # in its response, the status of those operations should be represented directly
2594
- # using the Status message.
2595
- # Logging. If some API errors are stored in logs, the message Status could be
2596
- # used directly after any stripping needed for security/privacy reasons.
2537
+ # (https://github.com/grpc). Each Status message contains three pieces of data:
2538
+ # error code, error message, and error details.You can find out more about this
2539
+ # error model and how to work with it in the API Design Guide (https://cloud.
2540
+ # google.com/apis/design/errors).
2597
2541
  class Status
2598
2542
  include Google::Apis::Core::Hashable
2599
2543
 
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/bigquery/
26
26
  module BigqueryV2
27
27
  VERSION = 'V2'
28
- REVISION = '20190510'
28
+ REVISION = '20190530'
29
29
 
30
30
  # View and manage your data in Google BigQuery
31
31
  AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
@@ -311,6 +311,16 @@ module Google
311
311
  # @return [Array<Google::Apis::BigqueryV2::BinaryConfusionMatrix>]
312
312
  attr_accessor :binary_confusion_matrix_list
313
313
 
314
+ # Label representing the negative class.
315
+ # Corresponds to the JSON property `negativeLabel`
316
+ # @return [String]
317
+ attr_accessor :negative_label
318
+
319
+ # Label representing the positive class.
320
+ # Corresponds to the JSON property `positiveLabel`
321
+ # @return [String]
322
+ attr_accessor :positive_label
323
+
314
324
  def initialize(**args)
315
325
  update!(**args)
316
326
  end
@@ -319,6 +329,8 @@ module Google
319
329
  def update!(**args)
320
330
  @aggregate_classification_metrics = args[:aggregate_classification_metrics] if args.key?(:aggregate_classification_metrics)
321
331
  @binary_confusion_matrix_list = args[:binary_confusion_matrix_list] if args.key?(:binary_confusion_matrix_list)
332
+ @negative_label = args[:negative_label] if args.key?(:negative_label)
333
+ @positive_label = args[:positive_label] if args.key?(:positive_label)
322
334
  end
323
335
  end
324
336
 
@@ -3160,7 +3172,6 @@ module Google
3160
3172
  attr_accessor :creation_time
3161
3173
 
3162
3174
  # [Optional] A user-friendly description of this model.
3163
- # @mutable bigquery.models.patch
3164
3175
  # Corresponds to the JSON property `description`
3165
3176
  # @return [String]
3166
3177
  attr_accessor :description
@@ -3175,7 +3186,6 @@ module Google
3175
3186
  # will be deleted and their storage reclaimed. The defaultTableExpirationMs
3176
3187
  # property of the encapsulating dataset can be used to set a default
3177
3188
  # expirationTime on newly created models.
3178
- # @mutable bigquery.models.patch
3179
3189
  # Corresponds to the JSON property `expirationTime`
3180
3190
  # @return [Fixnum]
3181
3191
  attr_accessor :expiration_time
@@ -3186,7 +3196,6 @@ module Google
3186
3196
  attr_accessor :feature_columns
3187
3197
 
3188
3198
  # [Optional] A descriptive name for this model.
3189
- # @mutable bigquery.models.patch
3190
3199
  # Corresponds to the JSON property `friendlyName`
3191
3200
  # @return [String]
3192
3201
  attr_accessor :friendly_name
@@ -3203,7 +3212,6 @@ module Google
3203
3212
  # characters, underscores and dashes. International characters are allowed.
3204
3213
  # Label values are optional. Label keys must start with a letter and each
3205
3214
  # label in the list must have a different key.
3206
- # @mutable bigquery.models.patch
3207
3215
  # Corresponds to the JSON property `labels`
3208
3216
  # @return [Hash<String,String>]
3209
3217
  attr_accessor :labels
@@ -660,6 +660,8 @@ module Google
660
660
 
661
661
  collection :binary_confusion_matrix_list, as: 'binaryConfusionMatrixList', class: Google::Apis::BigqueryV2::BinaryConfusionMatrix, decorator: Google::Apis::BigqueryV2::BinaryConfusionMatrix::Representation
662
662
 
663
+ property :negative_label, as: 'negativeLabel'
664
+ property :positive_label, as: 'positiveLabel'
663
665
  end
664
666
  end
665
667