google-api-client 0.13.5 → 0.13.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (197) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +58 -0
  3. data/generated/google/apis/adexchangebuyer_v1_2.rb +1 -1
  4. data/generated/google/apis/adexchangebuyer_v1_2/service.rb +1 -1
  5. data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
  6. data/generated/google/apis/adexchangebuyer_v1_3/service.rb +1 -1
  7. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +1 -1
  8. data/generated/google/apis/adexchangeseller_v1/service.rb +1 -1
  9. data/generated/google/apis/adexchangeseller_v1_1/service.rb +1 -1
  10. data/generated/google/apis/adexchangeseller_v2_0/service.rb +1 -1
  11. data/generated/google/apis/admin_datatransfer_v1/service.rb +1 -1
  12. data/generated/google/apis/admin_directory_v1/service.rb +1 -1
  13. data/generated/google/apis/admin_reports_v1/service.rb +1 -1
  14. data/generated/google/apis/adsense_v1_4.rb +1 -1
  15. data/generated/google/apis/adsense_v1_4/service.rb +1 -1
  16. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  17. data/generated/google/apis/adsensehost_v4_1/service.rb +1 -1
  18. data/generated/google/apis/analytics_v2_4.rb +1 -1
  19. data/generated/google/apis/analytics_v2_4/service.rb +1 -1
  20. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  21. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +74 -54
  22. data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +14 -0
  23. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +54 -17
  24. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  25. data/generated/google/apis/androidenterprise_v1/classes.rb +15 -18
  26. data/generated/google/apis/androidenterprise_v1/service.rb +1 -1
  27. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  28. data/generated/google/apis/androidmanagement_v1/classes.rb +15 -7
  29. data/generated/google/apis/androidmanagement_v1/representations.rb +2 -1
  30. data/generated/google/apis/androidpublisher_v1.rb +1 -1
  31. data/generated/google/apis/androidpublisher_v1/service.rb +1 -1
  32. data/generated/google/apis/androidpublisher_v1_1/service.rb +1 -1
  33. data/generated/google/apis/androidpublisher_v2/service.rb +1 -1
  34. data/generated/google/apis/appengine_v1.rb +1 -1
  35. data/generated/google/apis/appengine_v1/classes.rb +324 -0
  36. data/generated/google/apis/appengine_v1/representations.rb +152 -0
  37. data/generated/google/apis/appengine_v1/service.rb +406 -0
  38. data/generated/google/apis/appengine_v1beta.rb +1 -1
  39. data/generated/google/apis/appengine_v1beta/classes.rb +59 -1
  40. data/generated/google/apis/appengine_v1beta/representations.rb +18 -0
  41. data/generated/google/apis/appsactivity_v1.rb +1 -1
  42. data/generated/google/apis/appsactivity_v1/service.rb +1 -1
  43. data/generated/google/apis/appsmarket_v2/service.rb +1 -1
  44. data/generated/google/apis/appstate_v1.rb +1 -1
  45. data/generated/google/apis/appstate_v1/service.rb +1 -1
  46. data/generated/google/apis/bigquery_v2.rb +1 -1
  47. data/generated/google/apis/bigquery_v2/classes.rb +70 -0
  48. data/generated/google/apis/bigquery_v2/representations.rb +35 -0
  49. data/generated/google/apis/bigquery_v2/service.rb +37 -1
  50. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  51. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +42 -37
  52. data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +4 -3
  53. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +8 -8
  54. data/generated/google/apis/blogger_v2/service.rb +1 -1
  55. data/generated/google/apis/blogger_v3/service.rb +1 -1
  56. data/generated/google/apis/calendar_v3.rb +1 -1
  57. data/generated/google/apis/calendar_v3/service.rb +1 -1
  58. data/generated/google/apis/civicinfo_v2/service.rb +1 -1
  59. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  60. data/generated/google/apis/cloudfunctions_v1/classes.rb +1 -1
  61. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  62. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +1 -1
  63. data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
  64. data/generated/google/apis/clouduseraccounts_alpha/service.rb +1 -1
  65. data/generated/google/apis/clouduseraccounts_beta/service.rb +1 -1
  66. data/generated/google/apis/clouduseraccounts_vm_alpha/service.rb +1 -1
  67. data/generated/google/apis/clouduseraccounts_vm_beta/service.rb +1 -1
  68. data/generated/google/apis/consumersurveys_v2/service.rb +1 -1
  69. data/generated/google/apis/container_v1.rb +1 -1
  70. data/generated/google/apis/container_v1/classes.rb +1 -1
  71. data/generated/google/apis/container_v1beta1.rb +1 -1
  72. data/generated/google/apis/container_v1beta1/classes.rb +15 -1
  73. data/generated/google/apis/container_v1beta1/representations.rb +2 -0
  74. data/generated/google/apis/content_v2.rb +1 -1
  75. data/generated/google/apis/content_v2/service.rb +1 -1
  76. data/generated/google/apis/content_v2sandbox.rb +1 -1
  77. data/generated/google/apis/content_v2sandbox/service.rb +1 -1
  78. data/generated/google/apis/customsearch_v1/service.rb +1 -1
  79. data/generated/google/apis/datastore_v1.rb +1 -1
  80. data/generated/google/apis/datastore_v1/classes.rb +14 -13
  81. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  82. data/generated/google/apis/datastore_v1beta1/classes.rb +19 -18
  83. data/generated/google/apis/datastore_v1beta1/service.rb +2 -2
  84. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  85. data/generated/google/apis/datastore_v1beta3/classes.rb +13 -12
  86. data/generated/google/apis/deploymentmanager_alpha/service.rb +1 -1
  87. data/generated/google/apis/deploymentmanager_v2/service.rb +1 -1
  88. data/generated/google/apis/dfareporting_v2_7/service.rb +1 -1
  89. data/generated/google/apis/dfareporting_v2_8/service.rb +1 -1
  90. data/generated/google/apis/discovery_v1/service.rb +1 -1
  91. data/generated/google/apis/dns_v1.rb +1 -1
  92. data/generated/google/apis/dns_v2beta1.rb +1 -1
  93. data/generated/google/apis/dns_v2beta1/service.rb +1 -1
  94. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +1 -1
  95. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  96. data/generated/google/apis/doubleclicksearch_v2/service.rb +1 -1
  97. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  98. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +224 -0
  99. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +63 -0
  100. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +30 -0
  101. data/generated/google/apis/fitness_v1.rb +1 -1
  102. data/generated/google/apis/fitness_v1/classes.rb +39 -0
  103. data/generated/google/apis/fitness_v1/representations.rb +18 -0
  104. data/generated/google/apis/fitness_v1/service.rb +49 -1
  105. data/generated/google/apis/fusiontables_v1/service.rb +1 -1
  106. data/generated/google/apis/fusiontables_v2/service.rb +1 -1
  107. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  108. data/generated/google/apis/games_configuration_v1configuration/service.rb +1 -1
  109. data/generated/google/apis/games_management_v1management/service.rb +1 -1
  110. data/generated/google/apis/games_v1.rb +1 -1
  111. data/generated/google/apis/games_v1/service.rb +1 -1
  112. data/generated/google/apis/gmail_v1.rb +1 -1
  113. data/generated/google/apis/gmail_v1/classes.rb +36 -0
  114. data/generated/google/apis/gmail_v1/representations.rb +16 -0
  115. data/generated/google/apis/gmail_v1/service.rb +1 -1
  116. data/generated/google/apis/groupsmigration_v1/service.rb +1 -1
  117. data/generated/google/apis/groupssettings_v1/service.rb +1 -1
  118. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  119. data/generated/google/apis/identitytoolkit_v3/classes.rb +24 -0
  120. data/generated/google/apis/identitytoolkit_v3/representations.rb +4 -0
  121. data/generated/google/apis/identitytoolkit_v3/service.rb +1 -1
  122. data/generated/google/apis/language_v1beta2.rb +1 -1
  123. data/generated/google/apis/language_v1beta2/classes.rb +78 -0
  124. data/generated/google/apis/language_v1beta2/representations.rb +45 -0
  125. data/generated/google/apis/language_v1beta2/service.rb +30 -0
  126. data/generated/google/apis/licensing_v1/service.rb +1 -1
  127. data/generated/google/apis/logging_v2.rb +1 -1
  128. data/generated/google/apis/logging_v2/classes.rb +11 -18
  129. data/generated/google/apis/logging_v2/service.rb +116 -48
  130. data/generated/google/apis/logging_v2beta1.rb +1 -1
  131. data/generated/google/apis/logging_v2beta1/classes.rb +11 -18
  132. data/generated/google/apis/logging_v2beta1/service.rb +16 -8
  133. data/generated/google/apis/mirror_v1/service.rb +1 -1
  134. data/generated/google/apis/oauth2_v1.rb +1 -1
  135. data/generated/google/apis/oauth2_v1/service.rb +1 -1
  136. data/generated/google/apis/oauth2_v2.rb +1 -1
  137. data/generated/google/apis/pagespeedonline_v1/service.rb +1 -1
  138. data/generated/google/apis/pagespeedonline_v2/service.rb +1 -1
  139. data/generated/google/apis/playcustomapp_v1/service.rb +1 -1
  140. data/generated/google/apis/plus_domains_v1.rb +1 -1
  141. data/generated/google/apis/plus_domains_v1/service.rb +1 -1
  142. data/generated/google/apis/plus_v1.rb +1 -1
  143. data/generated/google/apis/plus_v1/service.rb +1 -1
  144. data/generated/google/apis/prediction_v1_2/service.rb +1 -1
  145. data/generated/google/apis/prediction_v1_3/service.rb +1 -1
  146. data/generated/google/apis/prediction_v1_4/service.rb +1 -1
  147. data/generated/google/apis/prediction_v1_5/service.rb +1 -1
  148. data/generated/google/apis/prediction_v1_6/service.rb +1 -1
  149. data/generated/google/apis/qpx_express_v1/service.rb +1 -1
  150. data/generated/google/apis/replicapool_v1beta1/service.rb +1 -1
  151. data/generated/google/apis/replicapool_v1beta2/service.rb +1 -1
  152. data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +1 -1
  153. data/generated/google/apis/reseller_v1/service.rb +1 -1
  154. data/generated/google/apis/resourceviews_v1beta2/service.rb +1 -1
  155. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  156. data/generated/google/apis/servicemanagement_v1/classes.rb +3 -256
  157. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -99
  158. data/generated/google/apis/serviceuser_v1.rb +1 -1
  159. data/generated/google/apis/serviceuser_v1/classes.rb +3 -3
  160. data/generated/google/apis/site_verification_v1/service.rb +1 -1
  161. data/generated/google/apis/spanner_v1.rb +1 -1
  162. data/generated/google/apis/spanner_v1/classes.rb +0 -458
  163. data/generated/google/apis/spanner_v1/representations.rb +0 -165
  164. data/generated/google/apis/spectrum_v1explorer/service.rb +1 -1
  165. data/generated/google/apis/sqladmin_v1beta3/service.rb +1 -1
  166. data/generated/google/apis/storage_v1.rb +1 -1
  167. data/generated/google/apis/storage_v1/classes.rb +6 -0
  168. data/generated/google/apis/storage_v1/representations.rb +1 -0
  169. data/generated/google/apis/storage_v1/service.rb +10 -3
  170. data/generated/google/apis/storage_v1beta1.rb +1 -1
  171. data/generated/google/apis/storage_v1beta1/service.rb +1 -1
  172. data/generated/google/apis/storage_v1beta2.rb +1 -1
  173. data/generated/google/apis/storage_v1beta2/service.rb +1 -1
  174. data/generated/google/apis/surveys_v2/service.rb +1 -1
  175. data/generated/google/apis/tagmanager_v1/service.rb +1 -1
  176. data/generated/google/apis/tagmanager_v2/service.rb +1 -1
  177. data/generated/google/apis/taskqueue_v1beta1/service.rb +1 -1
  178. data/generated/google/apis/tasks_v1/service.rb +1 -1
  179. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  180. data/generated/google/apis/toolresults_v1beta3/service.rb +5 -5
  181. data/generated/google/apis/toolresults_v1beta3firstparty.rb +1 -1
  182. data/generated/google/apis/toolresults_v1beta3firstparty/service.rb +5 -5
  183. data/generated/google/apis/urlshortener_v1/service.rb +1 -1
  184. data/generated/google/apis/videointelligence_v1beta1.rb +1 -1
  185. data/generated/google/apis/videointelligence_v1beta1/classes.rb +379 -1
  186. data/generated/google/apis/videointelligence_v1beta1/representations.rb +175 -0
  187. data/generated/google/apis/webfonts_v1/service.rb +1 -1
  188. data/generated/google/apis/webmasters_v3.rb +1 -1
  189. data/generated/google/apis/webmasters_v3/service.rb +1 -1
  190. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  191. data/generated/google/apis/youtube_analytics_v1/service.rb +1 -1
  192. data/generated/google/apis/youtube_analytics_v1beta1.rb +1 -1
  193. data/generated/google/apis/youtube_analytics_v1beta1/service.rb +1 -1
  194. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  195. data/generated/google/apis/youtube_partner_v1/service.rb +1 -1
  196. data/lib/google/apis/version.rb +1 -1
  197. metadata +2 -2
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/logging/docs/
26
26
  module LoggingV2beta1
27
27
  VERSION = 'V2beta1'
28
- REVISION = '20170828'
28
+ REVISION = '20170905'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -951,18 +951,14 @@ module Google
951
951
  # @return [String]
952
952
  attr_accessor :destination
953
953
 
954
- # Optional. The time at which this sink will stop exporting log entries. Log
955
- # entries are exported only if their timestamp is earlier than the end time. If
956
- # this field is not supplied, there is no end time. If both a start time and an
957
- # end time are provided, then the end time must be later than the start time.
954
+ # Deprecated. This field is ignored when creating or updating sinks.
958
955
  # Corresponds to the JSON property `endTime`
959
956
  # @return [String]
960
957
  attr_accessor :end_time
961
958
 
962
959
  # Optional. An advanced logs filter. The only exported log entries are those
963
- # that are in the resource owning the sink and that match the filter. The filter
964
- # must use the log entry format specified by the output_version_format parameter.
965
- # For example, in the v2 format:
960
+ # that are in the resource owning the sink and that match the filter. For
961
+ # example:
966
962
  # logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR
967
963
  # Corresponds to the JSON property `filter`
968
964
  # @return [String]
@@ -999,10 +995,7 @@ module Google
999
995
  # @return [String]
1000
996
  attr_accessor :output_version_format
1001
997
 
1002
- # Optional. The time at which this sink will begin exporting log entries. Log
1003
- # entries are exported only if their timestamp is not earlier than the start
1004
- # time. The default value of this field is the time the sink is created or
1005
- # updated.
998
+ # Deprecated. This field is ignored when creating or updating sinks.
1006
999
  # Corresponds to the JSON property `startTime`
1007
1000
  # @return [String]
1008
1001
  attr_accessor :start_time
@@ -1562,13 +1555,13 @@ module Google
1562
1555
  # missing in log entries, then this method supplies the current time or a unique
1563
1556
  # identifier, respectively. The supplied values are chosen so that, among the
1564
1557
  # log entries that did not supply their own values, the entries earlier in the
1565
- # list will sort before the entries later in the list. See entries.list.Log
1566
- # entries with timestamps that are more than the logs retention period in the
1567
- # past or more than 24 hours in the future might be discarded. Discarding does
1568
- # not return an error.To improve throughput and to avoid exceeding the quota
1569
- # limit for calls to entries.write, you should try to include several log
1570
- # entries in this list, rather than calling this method for each individual log
1571
- # entry.
1558
+ # list will sort before the entries later in the list. See the entries.list
1559
+ # method.Log entries with timestamps that are more than the logs retention
1560
+ # period in the past or more than 24 hours in the future might be discarded.
1561
+ # Discarding does not return an error.To improve throughput and to avoid
1562
+ # exceeding the quota limit for calls to entries.write, you should try to
1563
+ # include several log entries in this list, rather than calling this method for
1564
+ # each individual log entry.
1572
1565
  # Corresponds to the JSON property `entries`
1573
1566
  # @return [Array<Google::Apis::LoggingV2beta1::LogEntry>]
1574
1567
  attr_accessor :entries
@@ -581,10 +581,9 @@ module Google
581
581
  end
582
582
 
583
583
  # Creates a sink that exports specified log entries to a destination. The export
584
- # of newly-ingested log entries begins immediately, unless the current time is
585
- # outside the sink's start and end times or the sink's writer_identity is not
586
- # permitted to write to the destination. A sink can export log entries only from
587
- # the resource owning the sink.
584
+ # of newly-ingested log entries begins immediately, unless the sink's
585
+ # writer_identity is not permitted to write to the destination. A sink can
586
+ # export log entries only from the resource owning the sink.
588
587
  # @param [String] parent
589
588
  # Required. The resource in which to create the sink:
590
589
  # "projects/[PROJECT_ID]"
@@ -751,9 +750,8 @@ module Google
751
750
  end
752
751
 
753
752
  # Updates a sink. This method replaces the following fields in the existing sink
754
- # with values from the new sink: destination, filter, output_version_format,
755
- # start_time, and end_time. The updated sink might also have a new
756
- # writer_identity; see the unique_writer_identity field.
753
+ # with values from the new sink: destination, and filter. The updated sink might
754
+ # also have a new writer_identity; see the unique_writer_identity field.
757
755
  # @param [String] sink_name
758
756
  # Required. The full resource name of the sink to update, including the parent
759
757
  # resource and the sink identifier:
@@ -773,6 +771,15 @@ module Google
773
771
  # changed to a unique service account.
774
772
  # It is an error if the old value is true and the new value is set to false or
775
773
  # defaulted to false.
774
+ # @param [String] update_mask
775
+ # Optional. Field mask that specifies the fields in sink that need an update. A
776
+ # sink field will be overwritten if, and only if, it is in the update mask. name
777
+ # and output only fields cannot be updated.An empty updateMask is temporarily
778
+ # treated as using the following mask for backwards compatibility purposes:
779
+ # destination,filter,includeChildren At some point in the future, behavior will
780
+ # be removed and specifying an empty updateMask will be an error.For a detailed
781
+ # FieldMask definition, see https://developers.google.com/protocol-buffers/docs/
782
+ # reference/google.protobuf#fieldmaskExample: updateMask=filter.
776
783
  # @param [String] fields
777
784
  # Selector specifying which fields to include in a partial response.
778
785
  # @param [String] quota_user
@@ -790,7 +797,7 @@ module Google
790
797
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
791
798
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
792
799
  # @raise [Google::Apis::AuthorizationError] Authorization is required
793
- def update_project_sink(sink_name, log_sink_object = nil, unique_writer_identity: nil, fields: nil, quota_user: nil, options: nil, &block)
800
+ def update_project_sink(sink_name, log_sink_object = nil, unique_writer_identity: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
794
801
  command = make_simple_command(:put, 'v2beta1/{+sinkName}', options)
795
802
  command.request_representation = Google::Apis::LoggingV2beta1::LogSink::Representation
796
803
  command.request_object = log_sink_object
@@ -798,6 +805,7 @@ module Google
798
805
  command.response_class = Google::Apis::LoggingV2beta1::LogSink
799
806
  command.params['sinkName'] = sink_name unless sink_name.nil?
800
807
  command.query['uniqueWriterIdentity'] = unique_writer_identity unless unique_writer_identity.nil?
808
+ command.query['updateMask'] = update_mask unless update_mask.nil?
801
809
  command.query['fields'] = fields unless fields.nil?
802
810
  command.query['quotaUser'] = quota_user unless quota_user.nil?
803
811
  execute_or_queue_command(command, &block)
@@ -50,7 +50,7 @@ module Google
50
50
 
51
51
  def initialize
52
52
  super('https://www.googleapis.com/', 'mirror/v1/')
53
- @batch_path = 'batch'
53
+ @batch_path = 'batch/mirror/v1'
54
54
  end
55
55
 
56
56
  # Inserts a new account for a user
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/accounts/docs/OAuth2
26
26
  module Oauth2V1
27
27
  VERSION = 'V1'
28
- REVISION = '20161103'
28
+ REVISION = '20170807'
29
29
 
30
30
  # Know the list of people in your circles, your age range, and language
31
31
  AUTH_PLUS_LOGIN = 'https://www.googleapis.com/auth/plus.login'
@@ -50,7 +50,7 @@ module Google
50
50
 
51
51
  def initialize
52
52
  super('https://www.googleapis.com/', '')
53
- @batch_path = 'batch'
53
+ @batch_path = 'batch/oauth2/v1'
54
54
  end
55
55
 
56
56
  #
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/accounts/docs/OAuth2
26
26
  module Oauth2V2
27
27
  VERSION = 'V2'
28
- REVISION = '20161103'
28
+ REVISION = '20170807'
29
29
 
30
30
  # Know the list of people in your circles, your age range, and language
31
31
  AUTH_PLUS_LOGIN = 'https://www.googleapis.com/auth/plus.login'
@@ -51,7 +51,7 @@ module Google
51
51
 
52
52
  def initialize
53
53
  super('https://www.googleapis.com/', 'pagespeedonline/v1/')
54
- @batch_path = 'batch'
54
+ @batch_path = 'batch/pagespeedonline/v1'
55
55
  end
56
56
 
57
57
  # Runs PageSpeed analysis on the page at the specified URL, and returns a
@@ -51,7 +51,7 @@ module Google
51
51
 
52
52
  def initialize
53
53
  super('https://www.googleapis.com/', 'pagespeedonline/v2/')
54
- @batch_path = 'batch'
54
+ @batch_path = 'batch/pagespeedonline/v2'
55
55
  end
56
56
 
57
57
  # Runs PageSpeed analysis on the page at the specified URL, and returns
@@ -50,7 +50,7 @@ module Google
50
50
 
51
51
  def initialize
52
52
  super('https://www.googleapis.com/', 'playcustomapp/v1/accounts/')
53
- @batch_path = 'batch'
53
+ @batch_path = 'batch/playcustomapp/v1'
54
54
  end
55
55
 
56
56
  # Create and publish a new custom app.
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/+/domains/
26
26
  module PlusDomainsV1
27
27
  VERSION = 'V1'
28
- REVISION = '20170410'
28
+ REVISION = '20170828'
29
29
 
30
30
  # View your circles and the people and pages in them
31
31
  AUTH_PLUS_CIRCLES_READ = 'https://www.googleapis.com/auth/plus.circles.read'
@@ -50,7 +50,7 @@ module Google
50
50
 
51
51
  def initialize
52
52
  super('https://www.googleapis.com/', 'plusDomains/v1/')
53
- @batch_path = 'batch'
53
+ @batch_path = 'batch/plusDomains/v1'
54
54
  end
55
55
 
56
56
  # Get an activity.
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/+/api/
26
26
  module PlusV1
27
27
  VERSION = 'V1'
28
- REVISION = '20170410'
28
+ REVISION = '20170828'
29
29
 
30
30
  # Know the list of people in your circles, your age range, and language
31
31
  AUTH_PLUS_LOGIN = 'https://www.googleapis.com/auth/plus.login'
@@ -50,7 +50,7 @@ module Google
50
50
 
51
51
  def initialize
52
52
  super('https://www.googleapis.com/', 'plus/v1/')
53
- @batch_path = 'batch'
53
+ @batch_path = 'batch/plus/v1'
54
54
  end
55
55
 
56
56
  # Get an activity.
@@ -51,7 +51,7 @@ module Google
51
51
 
52
52
  def initialize
53
53
  super('https://www.googleapis.com/', 'prediction/v1.2/')
54
- @batch_path = 'batch'
54
+ @batch_path = 'batch/prediction/v1.2'
55
55
  end
56
56
 
57
57
  # Submit data and request a prediction
@@ -51,7 +51,7 @@ module Google
51
51
 
52
52
  def initialize
53
53
  super('https://www.googleapis.com/', 'prediction/v1.3/')
54
- @batch_path = 'batch'
54
+ @batch_path = 'batch/prediction/v1.3'
55
55
  end
56
56
 
57
57
  # Submit input and request an output against a hosted model
@@ -51,7 +51,7 @@ module Google
51
51
 
52
52
  def initialize
53
53
  super('https://www.googleapis.com/', 'prediction/v1.4/')
54
- @batch_path = 'batch'
54
+ @batch_path = 'batch/prediction/v1.4'
55
55
  end
56
56
 
57
57
  # Submit input and request an output against a hosted model.
@@ -51,7 +51,7 @@ module Google
51
51
 
52
52
  def initialize
53
53
  super('https://www.googleapis.com/', 'prediction/v1.5/')
54
- @batch_path = 'batch'
54
+ @batch_path = 'batch/prediction/v1.5'
55
55
  end
56
56
 
57
57
  # Submit input and request an output against a hosted model.
@@ -51,7 +51,7 @@ module Google
51
51
 
52
52
  def initialize
53
53
  super('https://www.googleapis.com/', 'prediction/v1.6/projects/')
54
- @batch_path = 'batch'
54
+ @batch_path = 'batch/prediction/v1.6'
55
55
  end
56
56
 
57
57
  # Submit input and request an output against a hosted model.
@@ -50,7 +50,7 @@ module Google
50
50
 
51
51
  def initialize
52
52
  super('https://www.googleapis.com/', 'qpxExpress/v1/trips/')
53
- @batch_path = 'batch'
53
+ @batch_path = 'batch/qpxExpress/v1'
54
54
  end
55
55
 
56
56
  # Returns a list of flights.
@@ -51,7 +51,7 @@ module Google
51
51
 
52
52
  def initialize
53
53
  super('https://www.googleapis.com/', 'replicapool/v1beta1/projects/')
54
- @batch_path = 'batch'
54
+ @batch_path = 'batch/replicapool/v1beta1'
55
55
  end
56
56
 
57
57
  # Deletes a replica pool.
@@ -51,7 +51,7 @@ module Google
51
51
 
52
52
  def initialize
53
53
  super('https://www.googleapis.com/', 'replicapool/v1beta2/projects/')
54
- @batch_path = 'batch'
54
+ @batch_path = 'batch/replicapool/v1beta2'
55
55
  end
56
56
 
57
57
  # Removes the specified instances from the managed instance group, and from any
@@ -52,7 +52,7 @@ module Google
52
52
 
53
53
  def initialize
54
54
  super('https://www.googleapis.com/', 'replicapoolupdater/v1beta1/projects/')
55
- @batch_path = 'batch'
55
+ @batch_path = 'batch/replicapoolupdater/v1beta1'
56
56
  end
57
57
 
58
58
  # Cancels an update. The update must be PAUSED before it can be cancelled. This
@@ -50,7 +50,7 @@ module Google
50
50
 
51
51
  def initialize
52
52
  super('https://www.googleapis.com/', 'apps/reseller/v1/')
53
- @batch_path = 'batch'
53
+ @batch_path = 'batch/reseller/v1'
54
54
  end
55
55
 
56
56
  # Get a customer account.
@@ -51,7 +51,7 @@ module Google
51
51
 
52
52
  def initialize
53
53
  super('https://www.googleapis.com/', 'resourceviews/v1beta2/projects/')
54
- @batch_path = 'batch'
54
+ @batch_path = 'batch/resourceviews/v1beta2'
55
55
  end
56
56
 
57
57
  # Retrieves the specified zone-specific operation resource.
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/service-management/
28
28
  module ServicemanagementV1
29
29
  VERSION = 'V1'
30
- REVISION = '20170728'
30
+ REVISION = '20170901'
31
31
 
32
32
  # View and manage your data across Google Cloud Platform services
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -524,8 +524,8 @@ module Google
524
524
  # @return [String]
525
525
  attr_accessor :address
526
526
 
527
- # The number of seconds to wait for a response from a request. The
528
- # default depends on the deployment context.
527
+ # The number of seconds to wait for a response from a request. The default
528
+ # deadline for gRPC and HTTP requests is 5 seconds.
529
529
  # Corresponds to the JSON property `deadline`
530
530
  # @return [Float]
531
531
  attr_accessor :deadline
@@ -629,75 +629,6 @@ module Google
629
629
  end
630
630
  end
631
631
 
632
- # Write a Cloud Audit log
633
- class CloudAuditOptions
634
- include Google::Apis::Core::Hashable
635
-
636
- # The log_name to populate in the Cloud Audit Record.
637
- # Corresponds to the JSON property `logName`
638
- # @return [String]
639
- attr_accessor :log_name
640
-
641
- def initialize(**args)
642
- update!(**args)
643
- end
644
-
645
- # Update properties of this object
646
- def update!(**args)
647
- @log_name = args[:log_name] if args.key?(:log_name)
648
- end
649
- end
650
-
651
- # A condition to be met.
652
- class Condition
653
- include Google::Apis::Core::Hashable
654
-
655
- # Trusted attributes supplied by the IAM system.
656
- # Corresponds to the JSON property `iam`
657
- # @return [String]
658
- attr_accessor :iam
659
-
660
- # An operator to apply the subject with.
661
- # Corresponds to the JSON property `op`
662
- # @return [String]
663
- attr_accessor :op
664
-
665
- # Trusted attributes discharged by the service.
666
- # Corresponds to the JSON property `svc`
667
- # @return [String]
668
- attr_accessor :svc
669
-
670
- # Trusted attributes supplied by any service that owns resources and uses
671
- # the IAM system for access control.
672
- # Corresponds to the JSON property `sys`
673
- # @return [String]
674
- attr_accessor :sys
675
-
676
- # DEPRECATED. Use 'values' instead.
677
- # Corresponds to the JSON property `value`
678
- # @return [String]
679
- attr_accessor :value
680
-
681
- # The objects of the condition. This is mutually exclusive with 'value'.
682
- # Corresponds to the JSON property `values`
683
- # @return [Array<String>]
684
- attr_accessor :values
685
-
686
- def initialize(**args)
687
- update!(**args)
688
- end
689
-
690
- # Update properties of this object
691
- def update!(**args)
692
- @iam = args[:iam] if args.key?(:iam)
693
- @op = args[:op] if args.key?(:op)
694
- @svc = args[:svc] if args.key?(:svc)
695
- @sys = args[:sys] if args.key?(:sys)
696
- @value = args[:value] if args.key?(:value)
697
- @values = args[:values] if args.key?(:values)
698
- end
699
- end
700
-
701
632
  # Output generated from semantically comparing two versions of a service
702
633
  # configuration.
703
634
  # Includes detailed information about a field that have changed with
@@ -924,47 +855,6 @@ module Google
924
855
  end
925
856
  end
926
857
 
927
- # Increment a streamz counter with the specified metric and field names.
928
- # Metric names should start with a '/', generally be lowercase-only,
929
- # and end in "_count". Field names should not contain an initial slash.
930
- # The actual exported metric names will have "/iam/policy" prepended.
931
- # Field names correspond to IAM request parameters and field values are
932
- # their respective values.
933
- # At present the only supported field names are
934
- # - "iam_principal", corresponding to IAMContext.principal;
935
- # - "" (empty string), resulting in one aggretated counter with no field.
936
- # Examples:
937
- # counter ` metric: "/debug_access_count" field: "iam_principal" `
938
- # ==> increment counter /iam/policy/backend_debug_access_count
939
- # `iam_principal=[value of IAMContext.principal]`
940
- # At this time we do not support:
941
- # * multiple field names (though this may be supported in the future)
942
- # * decrementing the counter
943
- # * incrementing it by anything other than 1
944
- class CounterOptions
945
- include Google::Apis::Core::Hashable
946
-
947
- # The field value to attribute.
948
- # Corresponds to the JSON property `field`
949
- # @return [String]
950
- attr_accessor :field
951
-
952
- # The metric to update.
953
- # Corresponds to the JSON property `metric`
954
- # @return [String]
955
- attr_accessor :metric
956
-
957
- def initialize(**args)
958
- update!(**args)
959
- end
960
-
961
- # Update properties of this object
962
- def update!(**args)
963
- @field = args[:field] if args.key?(:field)
964
- @metric = args[:metric] if args.key?(:metric)
965
- end
966
- end
967
-
968
858
  # Configuration for a custom authentication provider.
969
859
  class CustomAuthRequirements
970
860
  include Google::Apis::Core::Hashable
@@ -1072,26 +962,6 @@ module Google
1072
962
  end
1073
963
  end
1074
964
 
1075
- # Write a Data Access (Gin) log
1076
- class DataAccessOptions
1077
- include Google::Apis::Core::Hashable
1078
-
1079
- # Whether Gin logging should happen in a fail-closed manner at the caller.
1080
- # This is relevant only in the LocalIAM implementation, for now.
1081
- # Corresponds to the JSON property `logMode`
1082
- # @return [String]
1083
- attr_accessor :log_mode
1084
-
1085
- def initialize(**args)
1086
- update!(**args)
1087
- end
1088
-
1089
- # Update properties of this object
1090
- def update!(**args)
1091
- @log_mode = args[:log_mode] if args.key?(:log_mode)
1092
- end
1093
- end
1094
-
1095
965
  # Strategy used to delete a service. This strategy is a placeholder only
1096
966
  # used by the system generated rollout to delete a service.
1097
967
  class DeleteServiceStrategy
@@ -2215,53 +2085,6 @@ module Google
2215
2085
  end
2216
2086
  end
2217
2087
 
2218
- # Specifies what kind of log the caller must write
2219
- class LogConfig
2220
- include Google::Apis::Core::Hashable
2221
-
2222
- # Write a Cloud Audit log
2223
- # Corresponds to the JSON property `cloudAudit`
2224
- # @return [Google::Apis::ServicemanagementV1::CloudAuditOptions]
2225
- attr_accessor :cloud_audit
2226
-
2227
- # Increment a streamz counter with the specified metric and field names.
2228
- # Metric names should start with a '/', generally be lowercase-only,
2229
- # and end in "_count". Field names should not contain an initial slash.
2230
- # The actual exported metric names will have "/iam/policy" prepended.
2231
- # Field names correspond to IAM request parameters and field values are
2232
- # their respective values.
2233
- # At present the only supported field names are
2234
- # - "iam_principal", corresponding to IAMContext.principal;
2235
- # - "" (empty string), resulting in one aggretated counter with no field.
2236
- # Examples:
2237
- # counter ` metric: "/debug_access_count" field: "iam_principal" `
2238
- # ==> increment counter /iam/policy/backend_debug_access_count
2239
- # `iam_principal=[value of IAMContext.principal]`
2240
- # At this time we do not support:
2241
- # * multiple field names (though this may be supported in the future)
2242
- # * decrementing the counter
2243
- # * incrementing it by anything other than 1
2244
- # Corresponds to the JSON property `counter`
2245
- # @return [Google::Apis::ServicemanagementV1::CounterOptions]
2246
- attr_accessor :counter
2247
-
2248
- # Write a Data Access (Gin) log
2249
- # Corresponds to the JSON property `dataAccess`
2250
- # @return [Google::Apis::ServicemanagementV1::DataAccessOptions]
2251
- attr_accessor :data_access
2252
-
2253
- def initialize(**args)
2254
- update!(**args)
2255
- end
2256
-
2257
- # Update properties of this object
2258
- def update!(**args)
2259
- @cloud_audit = args[:cloud_audit] if args.key?(:cloud_audit)
2260
- @counter = args[:counter] if args.key?(:counter)
2261
- @data_access = args[:data_access] if args.key?(:data_access)
2262
- end
2263
- end
2264
-
2265
2088
  # A description of a log type. Example in YAML format:
2266
2089
  # - name: library.googleapis.com/activity_history
2267
2090
  # description: The history of borrowing and returning library items.
@@ -3063,7 +2886,7 @@ module Google
3063
2886
  include Google::Apis::Core::Hashable
3064
2887
 
3065
2888
  # If the value is `false`, it means the operation is still in progress.
3066
- # If true, the operation is completed, and either `error` or `response` is
2889
+ # If `true`, the operation is completed, and either `error` or `response` is
3067
2890
  # available.
3068
2891
  # Corresponds to the JSON property `done`
3069
2892
  # @return [Boolean]
@@ -3332,19 +3155,6 @@ module Google
3332
3155
  attr_accessor :iam_owned
3333
3156
  alias_method :iam_owned?, :iam_owned
3334
3157
 
3335
- # If more than one rule is specified, the rules are applied in the following
3336
- # manner:
3337
- # - All matching LOG rules are always applied.
3338
- # - If any DENY/DENY_WITH_LOG rule matches, permission is denied.
3339
- # Logging will be applied if one or more matching rule requires logging.
3340
- # - Otherwise, if any ALLOW/ALLOW_WITH_LOG rule matches, permission is
3341
- # granted.
3342
- # Logging will be applied if one or more matching rule requires logging.
3343
- # - Otherwise, if no rule applies, permission is denied.
3344
- # Corresponds to the JSON property `rules`
3345
- # @return [Array<Google::Apis::ServicemanagementV1::Rule>]
3346
- attr_accessor :rules
3347
-
3348
3158
  # Version of the `Policy`. The default version is 0.
3349
3159
  # Corresponds to the JSON property `version`
3350
3160
  # @return [Fixnum]
@@ -3360,7 +3170,6 @@ module Google
3360
3170
  @bindings = args[:bindings] if args.key?(:bindings)
3361
3171
  @etag = args[:etag] if args.key?(:etag)
3362
3172
  @iam_owned = args[:iam_owned] if args.key?(:iam_owned)
3363
- @rules = args[:rules] if args.key?(:rules)
3364
3173
  @version = args[:version] if args.key?(:version)
3365
3174
  end
3366
3175
  end
@@ -3651,68 +3460,6 @@ module Google
3651
3460
  end
3652
3461
  end
3653
3462
 
3654
- # A rule to be applied in a Policy.
3655
- class Rule
3656
- include Google::Apis::Core::Hashable
3657
-
3658
- # Required
3659
- # Corresponds to the JSON property `action`
3660
- # @return [String]
3661
- attr_accessor :action
3662
-
3663
- # Additional restrictions that must be met
3664
- # Corresponds to the JSON property `conditions`
3665
- # @return [Array<Google::Apis::ServicemanagementV1::Condition>]
3666
- attr_accessor :conditions
3667
-
3668
- # Human-readable description of the rule.
3669
- # Corresponds to the JSON property `description`
3670
- # @return [String]
3671
- attr_accessor :description
3672
-
3673
- # If one or more 'in' clauses are specified, the rule matches if
3674
- # the PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries.
3675
- # Corresponds to the JSON property `in`
3676
- # @return [Array<String>]
3677
- attr_accessor :in
3678
-
3679
- # The config returned to callers of tech.iam.IAM.CheckPolicy for any entries
3680
- # that match the LOG action.
3681
- # Corresponds to the JSON property `logConfig`
3682
- # @return [Array<Google::Apis::ServicemanagementV1::LogConfig>]
3683
- attr_accessor :log_config
3684
-
3685
- # If one or more 'not_in' clauses are specified, the rule matches
3686
- # if the PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries.
3687
- # The format for in and not_in entries is the same as for members in a
3688
- # Binding (see google/iam/v1/policy.proto).
3689
- # Corresponds to the JSON property `notIn`
3690
- # @return [Array<String>]
3691
- attr_accessor :not_in
3692
-
3693
- # A permission is a string of form '<service>.<resource type>.<verb>'
3694
- # (e.g., 'storage.buckets.list'). A value of '*' matches all permissions,
3695
- # and a verb part of '*' (e.g., 'storage.buckets.*') matches all verbs.
3696
- # Corresponds to the JSON property `permissions`
3697
- # @return [Array<String>]
3698
- attr_accessor :permissions
3699
-
3700
- def initialize(**args)
3701
- update!(**args)
3702
- end
3703
-
3704
- # Update properties of this object
3705
- def update!(**args)
3706
- @action = args[:action] if args.key?(:action)
3707
- @conditions = args[:conditions] if args.key?(:conditions)
3708
- @description = args[:description] if args.key?(:description)
3709
- @in = args[:in] if args.key?(:in)
3710
- @log_config = args[:log_config] if args.key?(:log_config)
3711
- @not_in = args[:not_in] if args.key?(:not_in)
3712
- @permissions = args[:permissions] if args.key?(:permissions)
3713
- end
3714
- end
3715
-
3716
3463
  # `Service` is the root object of Google service configuration schema. It
3717
3464
  # describes basic information about a service, such as the name and the
3718
3465
  # title, and delegates other aspects to sub-sections. Each sub-section is