google-api-client 0.30.3 → 0.30.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (110) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +43 -0
  3. data/generated/google/apis/admin_directory_v1/classes.rb +1 -1
  4. data/generated/google/apis/admin_reports_v1/classes.rb +1 -1
  5. data/generated/google/apis/bigquery_v2.rb +1 -1
  6. data/generated/google/apis/bigquery_v2/classes.rb +22 -7
  7. data/generated/google/apis/bigquery_v2/representations.rb +3 -0
  8. data/generated/google/apis/bigquery_v2/service.rb +4 -2
  9. data/generated/google/apis/calendar_v3.rb +1 -1
  10. data/generated/google/apis/calendar_v3/classes.rb +1 -1
  11. data/generated/google/apis/cloudasset_v1.rb +1 -1
  12. data/generated/google/apis/cloudasset_v1/classes.rb +345 -0
  13. data/generated/google/apis/cloudasset_v1/representations.rb +66 -0
  14. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  15. data/generated/google/apis/cloudbuild_v1/classes.rb +1 -22
  16. data/generated/google/apis/cloudbuild_v1/representations.rb +0 -14
  17. data/generated/google/apis/cloudkms_v1.rb +1 -1
  18. data/generated/google/apis/cloudkms_v1/classes.rb +239 -1
  19. data/generated/google/apis/cloudkms_v1/representations.rb +71 -0
  20. data/generated/google/apis/cloudkms_v1/service.rb +215 -7
  21. data/generated/google/apis/cloudsearch_v1.rb +2 -2
  22. data/generated/google/apis/cloudsearch_v1/service.rb +1 -1
  23. data/generated/google/apis/compute_alpha.rb +1 -1
  24. data/generated/google/apis/compute_alpha/classes.rb +15 -13
  25. data/generated/google/apis/compute_alpha/service.rb +3 -2
  26. data/generated/google/apis/compute_beta.rb +1 -1
  27. data/generated/google/apis/compute_beta/classes.rb +15 -13
  28. data/generated/google/apis/compute_beta/service.rb +2 -1
  29. data/generated/google/apis/compute_v1.rb +1 -1
  30. data/generated/google/apis/compute_v1/classes.rb +15 -13
  31. data/generated/google/apis/compute_v1/service.rb +2 -1
  32. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  33. data/generated/google/apis/dialogflow_v2.rb +1 -1
  34. data/generated/google/apis/dialogflow_v2/classes.rb +16 -0
  35. data/generated/google/apis/dialogflow_v2/representations.rb +1 -0
  36. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  37. data/generated/google/apis/dialogflow_v2beta1/classes.rb +16 -0
  38. data/generated/google/apis/dialogflow_v2beta1/representations.rb +1 -0
  39. data/generated/google/apis/dialogflow_v2beta1/service.rb +2 -2
  40. data/generated/google/apis/dns_v1.rb +1 -1
  41. data/generated/google/apis/dns_v1/classes.rb +2 -2
  42. data/generated/google/apis/dns_v1/service.rb +1 -1
  43. data/generated/google/apis/dns_v1beta2.rb +1 -1
  44. data/generated/google/apis/dns_v1beta2/classes.rb +6 -7
  45. data/generated/google/apis/dns_v2beta1.rb +1 -1
  46. data/generated/google/apis/dns_v2beta1/classes.rb +2 -2
  47. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  48. data/generated/google/apis/drive_v2.rb +1 -1
  49. data/generated/google/apis/drive_v2/classes.rb +1 -1
  50. data/generated/google/apis/drive_v2/service.rb +1 -1
  51. data/generated/google/apis/drive_v3.rb +1 -1
  52. data/generated/google/apis/drive_v3/classes.rb +1 -1
  53. data/generated/google/apis/drive_v3/service.rb +1 -1
  54. data/generated/google/apis/fcm_v1.rb +1 -1
  55. data/generated/google/apis/fcm_v1/classes.rb +3 -3
  56. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  57. data/generated/google/apis/firebase_v1beta1/classes.rb +117 -24
  58. data/generated/google/apis/firebase_v1beta1/representations.rb +41 -0
  59. data/generated/google/apis/firebase_v1beta1/service.rb +139 -0
  60. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  61. data/generated/google/apis/genomics_v2alpha1/classes.rb +1 -0
  62. data/generated/google/apis/healthcare_v1alpha2.rb +1 -1
  63. data/generated/google/apis/healthcare_v1alpha2/classes.rb +28 -0
  64. data/generated/google/apis/healthcare_v1alpha2/representations.rb +15 -0
  65. data/generated/google/apis/healthcare_v1alpha2/service.rb +35 -5
  66. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  67. data/generated/google/apis/healthcare_v1beta1/service.rb +28 -4
  68. data/generated/google/apis/jobs_v3.rb +1 -1
  69. data/generated/google/apis/jobs_v3/classes.rb +10 -10
  70. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  71. data/generated/google/apis/jobs_v3p1beta1/classes.rb +34 -98
  72. data/generated/google/apis/monitoring_v3.rb +1 -1
  73. data/generated/google/apis/monitoring_v3/classes.rb +30 -12
  74. data/generated/google/apis/pubsub_v1.rb +1 -1
  75. data/generated/google/apis/pubsub_v1/classes.rb +6 -10
  76. data/generated/google/apis/redis_v1.rb +1 -1
  77. data/generated/google/apis/redis_v1/classes.rb +8 -1
  78. data/generated/google/apis/redis_v1beta1.rb +1 -1
  79. data/generated/google/apis/redis_v1beta1/classes.rb +22 -2
  80. data/generated/google/apis/redis_v1beta1/representations.rb +13 -0
  81. data/generated/google/apis/redis_v1beta1/service.rb +36 -0
  82. data/generated/google/apis/run_v1alpha1.rb +1 -1
  83. data/generated/google/apis/run_v1alpha1/classes.rb +32 -4
  84. data/generated/google/apis/run_v1alpha1/representations.rb +3 -0
  85. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  86. data/generated/google/apis/sourcerepo_v1/classes.rb +48 -75
  87. data/generated/google/apis/sourcerepo_v1/representations.rb +16 -0
  88. data/generated/google/apis/speech_v1.rb +1 -1
  89. data/generated/google/apis/speech_v1/service.rb +0 -32
  90. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  91. data/generated/google/apis/speech_v1p1beta1/service.rb +0 -32
  92. data/generated/google/apis/storage_v1.rb +1 -1
  93. data/generated/google/apis/storage_v1/classes.rb +41 -6
  94. data/generated/google/apis/storage_v1/representations.rb +17 -0
  95. data/generated/google/apis/storage_v1beta2.rb +1 -1
  96. data/generated/google/apis/storage_v1beta2/classes.rb +1 -1
  97. data/generated/google/apis/texttospeech_v1.rb +1 -1
  98. data/generated/google/apis/texttospeech_v1/classes.rb +3 -3
  99. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  100. data/generated/google/apis/texttospeech_v1beta1/classes.rb +3 -3
  101. data/generated/google/apis/vault_v1.rb +1 -1
  102. data/generated/google/apis/vault_v1/classes.rb +8 -74
  103. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  104. data/generated/google/apis/videointelligence_v1beta2/classes.rb +45 -35
  105. data/generated/google/apis/websecurityscanner_v1.rb +31 -0
  106. data/generated/google/apis/websecurityscanner_v1/classes.rb +26 -0
  107. data/generated/google/apis/websecurityscanner_v1/representations.rb +26 -0
  108. data/generated/google/apis/websecurityscanner_v1/service.rb +59 -0
  109. data/lib/google/apis/version.rb +1 -1
  110. metadata +6 -2
@@ -23,10 +23,10 @@ module Google
23
23
  # Cloud Search provides cloud-based search capabilities over G Suite data. The
24
24
  # Cloud Search API allows indexing of non-G Suite data into Cloud Search.
25
25
  #
26
- # @see https://gsuite.google.com/products/cloud-search/
26
+ # @see https://developers.google.com/cloud-search/docs/guides/
27
27
  module CloudsearchV1
28
28
  VERSION = 'V1'
29
- REVISION = '20190606'
29
+ REVISION = '20190613'
30
30
 
31
31
  # Index and serve your organization's data with Cloud Search
32
32
  AUTH_CLOUD_SEARCH = 'https://www.googleapis.com/auth/cloud_search'
@@ -31,7 +31,7 @@ module Google
31
31
  # Cloudsearch = Google::Apis::CloudsearchV1 # Alias the module
32
32
  # service = Cloudsearch::CloudSearchService.new
33
33
  #
34
- # @see https://gsuite.google.com/products/cloud-search/
34
+ # @see https://developers.google.com/cloud-search/docs/guides/
35
35
  class CloudSearchService < Google::Apis::Core::BaseService
36
36
  # @return [String]
37
37
  # API key. Your API key identifies your project and provides you with API access,
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/compute/docs/reference/latest/
26
26
  module ComputeAlpha
27
27
  VERSION = 'Alpha'
28
- REVISION = '20190607'
28
+ REVISION = '20190618'
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'
@@ -11025,8 +11025,7 @@ module Google
11025
11025
  # @return [Fixnum]
11026
11026
  attr_accessor :preserved_state_size_gb
11027
11027
 
11028
- # ReservationAffinity is the configuration of desired reservation which this
11029
- # instance could take capacity from.
11028
+ # Specifies the reservations that this instance can consume from.
11030
11029
  # Corresponds to the JSON property `reservationAffinity`
11031
11030
  # @return [Google::Apis::ComputeAlpha::ReservationAffinity]
11032
11031
  attr_accessor :reservation_affinity
@@ -11179,7 +11178,7 @@ module Google
11179
11178
  # @return [String]
11180
11179
  attr_accessor :id
11181
11180
 
11182
- # A list of InstancesScopedList resources.
11181
+ # An object that contains a list of instances scoped by zone.
11183
11182
  # Corresponds to the JSON property `items`
11184
11183
  # @return [Hash<String,Google::Apis::ComputeAlpha::InstancesScopedList>]
11185
11184
  attr_accessor :items
@@ -13759,8 +13758,7 @@ module Google
13759
13758
  # @return [Array<Google::Apis::ComputeAlpha::NetworkInterface>]
13760
13759
  attr_accessor :network_interfaces
13761
13760
 
13762
- # ReservationAffinity is the configuration of desired reservation which this
13763
- # instance could take capacity from.
13761
+ # Specifies the reservations that this instance can consume from.
13764
13762
  # Corresponds to the JSON property `reservationAffinity`
13765
13763
  # @return [Google::Apis::ComputeAlpha::ReservationAffinity]
13766
13764
  attr_accessor :reservation_affinity
@@ -25254,7 +25252,10 @@ module Google
25254
25252
  end
25255
25253
  end
25256
25254
 
25257
- # Reservation resource NextID: 13
25255
+ # Represents a reservation resource. A reservation ensures that capacity is held
25256
+ # in a specific zone even if the reserved VMs are not running. For more
25257
+ # information, read Reserving zonal resources. (== resource_for beta.
25258
+ # reservations ==) (== resource_for v1.reservations ==) (== NextID: 13 ==)
25258
25259
  class Reservation
25259
25260
  include Google::Apis::Core::Hashable
25260
25261
 
@@ -25313,9 +25314,9 @@ module Google
25313
25314
  # @return [Google::Apis::ComputeAlpha::AllocationSpecificSkuReservation]
25314
25315
  attr_accessor :specific_reservation
25315
25316
 
25316
- # Indicates whether the reservation can be consumed by VMs with "any reservation"
25317
- # defined. If the field is set, then only VMs that target the reservation by
25318
- # name using --reservation-affinity can consume this reservation.
25317
+ # Indicates whether the reservation can be consumed by VMs with affinity for "
25318
+ # any" reservation. If the field is set, then only VMs that target the
25319
+ # reservation by name can consume from this reservation.
25319
25320
  # Corresponds to the JSON property `specificReservationRequired`
25320
25321
  # @return [Boolean]
25321
25322
  attr_accessor :specific_reservation_required
@@ -25353,8 +25354,7 @@ module Google
25353
25354
  end
25354
25355
  end
25355
25356
 
25356
- # ReservationAffinity is the configuration of desired reservation which this
25357
- # instance could take capacity from.
25357
+ # Specifies the reservations that this instance can consume from.
25358
25358
  class ReservationAffinity
25359
25359
  include Google::Apis::Core::Hashable
25360
25360
 
@@ -25365,12 +25365,14 @@ module Google
25365
25365
  # @return [String]
25366
25366
  attr_accessor :consume_reservation_type
25367
25367
 
25368
- # Corresponds to the label key of reservation resource.
25368
+ # Corresponds to the label key of a reservation resource. To target a
25369
+ # SPECIFIC_RESERVATION by name, specify googleapis.com/reservation-name as the
25370
+ # key and specify the name of your reservation as its value.
25369
25371
  # Corresponds to the JSON property `key`
25370
25372
  # @return [String]
25371
25373
  attr_accessor :key
25372
25374
 
25373
- # Corresponds to the label values of reservation resource.
25375
+ # Corresponds to the label values of a reservation resource.
25374
25376
  # Corresponds to the JSON property `values`
25375
25377
  # @return [Array<String>]
25376
25378
  attr_accessor :values
@@ -47,7 +47,7 @@ module Google
47
47
  attr_accessor :user_ip
48
48
 
49
49
  def initialize
50
- super('https://www.googleapis.com/', 'compute/alpha/projects/')
50
+ super('https://compute.googleapis.com/', 'compute/alpha/projects/')
51
51
  @batch_path = 'batch/compute/alpha'
52
52
  end
53
53
 
@@ -24827,7 +24827,8 @@ module Google
24827
24827
  execute_or_queue_command(command, &block)
24828
24828
  end
24829
24829
 
24830
- # Creates a new reservation.
24830
+ # Creates a new reservation. For more information, read Reserving zonal
24831
+ # resources.
24831
24832
  # @param [String] project
24832
24833
  # Project ID for this request.
24833
24834
  # @param [String] zone
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/compute/docs/reference/latest/
26
26
  module ComputeBeta
27
27
  VERSION = 'Beta'
28
- REVISION = '20190607'
28
+ REVISION = '20190618'
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'
@@ -9725,8 +9725,7 @@ module Google
9725
9725
  # @return [Array<Google::Apis::ComputeBeta::NetworkInterface>]
9726
9726
  attr_accessor :network_interfaces
9727
9727
 
9728
- # ReservationAffinity is the configuration of desired reservation which this
9729
- # instance could take capacity from.
9728
+ # Specifies the reservations that this instance can consume from.
9730
9729
  # Corresponds to the JSON property `reservationAffinity`
9731
9730
  # @return [Google::Apis::ComputeBeta::ReservationAffinity]
9732
9731
  attr_accessor :reservation_affinity
@@ -9852,7 +9851,7 @@ module Google
9852
9851
  # @return [String]
9853
9852
  attr_accessor :id
9854
9853
 
9855
- # A list of InstancesScopedList resources.
9854
+ # An object that contains a list of instances scoped by zone.
9856
9855
  # Corresponds to the JSON property `items`
9857
9856
  # @return [Hash<String,Google::Apis::ComputeBeta::InstancesScopedList>]
9858
9857
  attr_accessor :items
@@ -12050,8 +12049,7 @@ module Google
12050
12049
  # @return [Array<Google::Apis::ComputeBeta::NetworkInterface>]
12051
12050
  attr_accessor :network_interfaces
12052
12051
 
12053
- # ReservationAffinity is the configuration of desired reservation which this
12054
- # instance could take capacity from.
12052
+ # Specifies the reservations that this instance can consume from.
12055
12053
  # Corresponds to the JSON property `reservationAffinity`
12056
12054
  # @return [Google::Apis::ComputeBeta::ReservationAffinity]
12057
12055
  attr_accessor :reservation_affinity
@@ -20726,7 +20724,10 @@ module Google
20726
20724
  end
20727
20725
  end
20728
20726
 
20729
- # Reservation resource NextID: 13
20727
+ # Represents a reservation resource. A reservation ensures that capacity is held
20728
+ # in a specific zone even if the reserved VMs are not running. For more
20729
+ # information, read Reserving zonal resources. (== resource_for beta.
20730
+ # reservations ==) (== resource_for v1.reservations ==) (== NextID: 13 ==)
20730
20731
  class Reservation
20731
20732
  include Google::Apis::Core::Hashable
20732
20733
 
@@ -20780,9 +20781,9 @@ module Google
20780
20781
  # @return [Google::Apis::ComputeBeta::AllocationSpecificSkuReservation]
20781
20782
  attr_accessor :specific_reservation
20782
20783
 
20783
- # Indicates whether the reservation can be consumed by VMs with "any reservation"
20784
- # defined. If the field is set, then only VMs that target the reservation by
20785
- # name using --reservation-affinity can consume this reservation.
20784
+ # Indicates whether the reservation can be consumed by VMs with affinity for "
20785
+ # any" reservation. If the field is set, then only VMs that target the
20786
+ # reservation by name can consume from this reservation.
20786
20787
  # Corresponds to the JSON property `specificReservationRequired`
20787
20788
  # @return [Boolean]
20788
20789
  attr_accessor :specific_reservation_required
@@ -20819,8 +20820,7 @@ module Google
20819
20820
  end
20820
20821
  end
20821
20822
 
20822
- # ReservationAffinity is the configuration of desired reservation which this
20823
- # instance could take capacity from.
20823
+ # Specifies the reservations that this instance can consume from.
20824
20824
  class ReservationAffinity
20825
20825
  include Google::Apis::Core::Hashable
20826
20826
 
@@ -20831,12 +20831,14 @@ module Google
20831
20831
  # @return [String]
20832
20832
  attr_accessor :consume_reservation_type
20833
20833
 
20834
- # Corresponds to the label key of reservation resource.
20834
+ # Corresponds to the label key of a reservation resource. To target a
20835
+ # SPECIFIC_RESERVATION by name, specify googleapis.com/reservation-name as the
20836
+ # key and specify the name of your reservation as its value.
20835
20837
  # Corresponds to the JSON property `key`
20836
20838
  # @return [String]
20837
20839
  attr_accessor :key
20838
20840
 
20839
- # Corresponds to the label values of reservation resource.
20841
+ # Corresponds to the label values of a reservation resource.
20840
20842
  # Corresponds to the JSON property `values`
20841
20843
  # @return [Array<String>]
20842
20844
  attr_accessor :values
@@ -20235,7 +20235,8 @@ module Google
20235
20235
  execute_or_queue_command(command, &block)
20236
20236
  end
20237
20237
 
20238
- # Creates a new reservation.
20238
+ # Creates a new reservation. For more information, read Reserving zonal
20239
+ # resources.
20239
20240
  # @param [String] project
20240
20241
  # Project ID for this request.
20241
20242
  # @param [String] zone
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/compute/docs/reference/latest/
26
26
  module ComputeV1
27
27
  VERSION = 'V1'
28
- REVISION = '20190607'
28
+ REVISION = '20190618'
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'
@@ -7858,8 +7858,7 @@ module Google
7858
7858
  # @return [Array<Google::Apis::ComputeV1::NetworkInterface>]
7859
7859
  attr_accessor :network_interfaces
7860
7860
 
7861
- # ReservationAffinity is the configuration of desired reservation which this
7862
- # instance could take capacity from.
7861
+ # Specifies the reservations that this instance can consume from.
7863
7862
  # Corresponds to the JSON property `reservationAffinity`
7864
7863
  # @return [Google::Apis::ComputeV1::ReservationAffinity]
7865
7864
  attr_accessor :reservation_affinity
@@ -7971,7 +7970,7 @@ module Google
7971
7970
  # @return [String]
7972
7971
  attr_accessor :id
7973
7972
 
7974
- # A list of InstancesScopedList resources.
7973
+ # An object that contains a list of instances scoped by zone.
7975
7974
  # Corresponds to the JSON property `items`
7976
7975
  # @return [Hash<String,Google::Apis::ComputeV1::InstancesScopedList>]
7977
7976
  attr_accessor :items
@@ -9927,8 +9926,7 @@ module Google
9927
9926
  # @return [Array<Google::Apis::ComputeV1::NetworkInterface>]
9928
9927
  attr_accessor :network_interfaces
9929
9928
 
9930
- # ReservationAffinity is the configuration of desired reservation which this
9931
- # instance could take capacity from.
9929
+ # Specifies the reservations that this instance can consume from.
9932
9930
  # Corresponds to the JSON property `reservationAffinity`
9933
9931
  # @return [Google::Apis::ComputeV1::ReservationAffinity]
9934
9932
  attr_accessor :reservation_affinity
@@ -18032,7 +18030,10 @@ module Google
18032
18030
  end
18033
18031
  end
18034
18032
 
18035
- # Reservation resource NextID: 13
18033
+ # Represents a reservation resource. A reservation ensures that capacity is held
18034
+ # in a specific zone even if the reserved VMs are not running. For more
18035
+ # information, read Reserving zonal resources. (== resource_for beta.
18036
+ # reservations ==) (== resource_for v1.reservations ==) (== NextID: 13 ==)
18036
18037
  class Reservation
18037
18038
  include Google::Apis::Core::Hashable
18038
18039
 
@@ -18086,9 +18087,9 @@ module Google
18086
18087
  # @return [Google::Apis::ComputeV1::AllocationSpecificSkuReservation]
18087
18088
  attr_accessor :specific_reservation
18088
18089
 
18089
- # Indicates whether the reservation can be consumed by VMs with "any reservation"
18090
- # defined. If the field is set, then only VMs that target the reservation by
18091
- # name using --reservation-affinity can consume this reservation.
18090
+ # Indicates whether the reservation can be consumed by VMs with affinity for "
18091
+ # any" reservation. If the field is set, then only VMs that target the
18092
+ # reservation by name can consume from this reservation.
18092
18093
  # Corresponds to the JSON property `specificReservationRequired`
18093
18094
  # @return [Boolean]
18094
18095
  attr_accessor :specific_reservation_required
@@ -18125,8 +18126,7 @@ module Google
18125
18126
  end
18126
18127
  end
18127
18128
 
18128
- # ReservationAffinity is the configuration of desired reservation which this
18129
- # instance could take capacity from.
18129
+ # Specifies the reservations that this instance can consume from.
18130
18130
  class ReservationAffinity
18131
18131
  include Google::Apis::Core::Hashable
18132
18132
 
@@ -18137,12 +18137,14 @@ module Google
18137
18137
  # @return [String]
18138
18138
  attr_accessor :consume_reservation_type
18139
18139
 
18140
- # Corresponds to the label key of reservation resource.
18140
+ # Corresponds to the label key of a reservation resource. To target a
18141
+ # SPECIFIC_RESERVATION by name, specify googleapis.com/reservation-name as the
18142
+ # key and specify the name of your reservation as its value.
18141
18143
  # Corresponds to the JSON property `key`
18142
18144
  # @return [String]
18143
18145
  attr_accessor :key
18144
18146
 
18145
- # Corresponds to the label values of reservation resource.
18147
+ # Corresponds to the label values of a reservation resource.
18146
18148
  # Corresponds to the JSON property `values`
18147
18149
  # @return [Array<String>]
18148
18150
  attr_accessor :values
@@ -16294,7 +16294,8 @@ module Google
16294
16294
  execute_or_queue_command(command, &block)
16295
16295
  end
16296
16296
 
16297
- # Creates a new reservation.
16297
+ # Creates a new reservation. For more information, read Reserving zonal
16298
+ # resources.
16298
16299
  # @param [String] project
16299
16300
  # Project ID for this request.
16300
16301
  # @param [String] zone
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/container-analysis/api/reference/rest/
27
27
  module ContaineranalysisV1alpha1
28
28
  VERSION = 'V1alpha1'
29
- REVISION = '20190604'
29
+ REVISION = '20190625'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/dialogflow/
27
27
  module DialogflowV2
28
28
  VERSION = 'V2'
29
- REVISION = '20190616'
29
+ REVISION = '20190626'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -827,6 +827,21 @@ module Google
827
827
  # @return [Fixnum]
828
828
  attr_accessor :sample_rate_hertz
829
829
 
830
+ # Optional. If `false` (default), recognition does not cease until the
831
+ # client closes the stream.
832
+ # If `true`, the recognizer will detect a single spoken utterance in input
833
+ # audio. Recognition ceases when it detects the audio's voice has
834
+ # stopped or paused. In this case, once a detected intent is received, the
835
+ # client should close the stream and start a new request with a new stream as
836
+ # needed.
837
+ # Note: This setting is relevant only for streaming methods.
838
+ # Note: When specified, InputAudioConfig.single_utterance takes precedence
839
+ # over StreamingDetectIntentRequest.single_utterance.
840
+ # Corresponds to the JSON property `singleUtterance`
841
+ # @return [Boolean]
842
+ attr_accessor :single_utterance
843
+ alias_method :single_utterance?, :single_utterance
844
+
830
845
  def initialize(**args)
831
846
  update!(**args)
832
847
  end
@@ -838,6 +853,7 @@ module Google
838
853
  @model_variant = args[:model_variant] if args.key?(:model_variant)
839
854
  @phrase_hints = args[:phrase_hints] if args.key?(:phrase_hints)
840
855
  @sample_rate_hertz = args[:sample_rate_hertz] if args.key?(:sample_rate_hertz)
856
+ @single_utterance = args[:single_utterance] if args.key?(:single_utterance)
841
857
  end
842
858
  end
843
859
 
@@ -909,6 +909,7 @@ module Google
909
909
  property :model_variant, as: 'modelVariant'
910
910
  collection :phrase_hints, as: 'phraseHints'
911
911
  property :sample_rate_hertz, as: 'sampleRateHertz'
912
+ property :single_utterance, as: 'singleUtterance'
912
913
  end
913
914
  end
914
915
 
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/dialogflow/
27
27
  module DialogflowV2beta1
28
28
  VERSION = 'V2beta1'
29
- REVISION = '20190616'
29
+ REVISION = '20190626'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -2472,6 +2472,21 @@ module Google
2472
2472
  # @return [Fixnum]
2473
2473
  attr_accessor :sample_rate_hertz
2474
2474
 
2475
+ # Optional. If `false` (default), recognition does not cease until the
2476
+ # client closes the stream.
2477
+ # If `true`, the recognizer will detect a single spoken utterance in input
2478
+ # audio. Recognition ceases when it detects the audio's voice has
2479
+ # stopped or paused. In this case, once a detected intent is received, the
2480
+ # client should close the stream and start a new request with a new stream as
2481
+ # needed.
2482
+ # Note: This setting is relevant only for streaming methods.
2483
+ # Note: When specified, InputAudioConfig.single_utterance takes precedence
2484
+ # over StreamingDetectIntentRequest.single_utterance.
2485
+ # Corresponds to the JSON property `singleUtterance`
2486
+ # @return [Boolean]
2487
+ attr_accessor :single_utterance
2488
+ alias_method :single_utterance?, :single_utterance
2489
+
2475
2490
  def initialize(**args)
2476
2491
  update!(**args)
2477
2492
  end
@@ -2485,6 +2500,7 @@ module Google
2485
2500
  @model_variant = args[:model_variant] if args.key?(:model_variant)
2486
2501
  @phrase_hints = args[:phrase_hints] if args.key?(:phrase_hints)
2487
2502
  @sample_rate_hertz = args[:sample_rate_hertz] if args.key?(:sample_rate_hertz)
2503
+ @single_utterance = args[:single_utterance] if args.key?(:single_utterance)
2488
2504
  end
2489
2505
  end
2490
2506
 
@@ -1355,6 +1355,7 @@ module Google
1355
1355
  property :model_variant, as: 'modelVariant'
1356
1356
  collection :phrase_hints, as: 'phraseHints'
1357
1357
  property :sample_rate_hertz, as: 'sampleRateHertz'
1358
+ property :single_utterance, as: 'singleUtterance'
1358
1359
  end
1359
1360
  end
1360
1361
 
@@ -763,7 +763,7 @@ module Google
763
763
  # ID>/sessions/<Session ID>`. If `Environment ID` is not specified, we assume
764
764
  # default 'draft' environment. If `User ID` is not specified, we are using
765
765
  # "-". It's up to the API caller to choose an appropriate `Session ID` and
766
- # `User Id`. They can be a random numbers or some type of user and session
766
+ # `User Id`. They can be a random number or some type of user and session
767
767
  # identifiers (preferably hashed). The length of the `Session ID` and
768
768
  # `User ID` must not exceed 36 characters.
769
769
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentRequest] google_cloud_dialogflow_v2beta1_detect_intent_request_object
@@ -1942,7 +1942,7 @@ module Google
1942
1942
  # ID>/sessions/<Session ID>`. If `Environment ID` is not specified, we assume
1943
1943
  # default 'draft' environment. If `User ID` is not specified, we are using
1944
1944
  # "-". It's up to the API caller to choose an appropriate `Session ID` and
1945
- # `User Id`. They can be a random numbers or some type of user and session
1945
+ # `User Id`. They can be a random number or some type of user and session
1946
1946
  # identifiers (preferably hashed). The length of the `Session ID` and
1947
1947
  # `User ID` must not exceed 36 characters.
1948
1948
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentRequest] google_cloud_dialogflow_v2beta1_detect_intent_request_object