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
@@ -239,6 +239,42 @@ module Google
239
239
  execute_or_queue_command(command, &block)
240
240
  end
241
241
 
242
+ # Initiates a failover of the master node to current replica node for a
243
+ # specific STANDARD tier Cloud Memorystore for Redis instance.
244
+ # @param [String] name
245
+ # Required. Redis instance resource name using the form:
246
+ # `projects/`project_id`/locations/`location_id`/instances/`instance_id``
247
+ # where `location_id` refers to a GCP region.
248
+ # @param [Google::Apis::RedisV1beta1::FailoverInstanceRequest] failover_instance_request_object
249
+ # @param [String] fields
250
+ # Selector specifying which fields to include in a partial response.
251
+ # @param [String] quota_user
252
+ # Available to use for quota purposes for server-side applications. Can be any
253
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
254
+ # @param [Google::Apis::RequestOptions] options
255
+ # Request-specific options
256
+ #
257
+ # @yield [result, err] Result & error if block supplied
258
+ # @yieldparam result [Google::Apis::RedisV1beta1::Operation] parsed result object
259
+ # @yieldparam err [StandardError] error object if request failed
260
+ #
261
+ # @return [Google::Apis::RedisV1beta1::Operation]
262
+ #
263
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
264
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
265
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
266
+ def failover_instance(name, failover_instance_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
267
+ command = make_simple_command(:post, 'v1beta1/{+name}:failover', options)
268
+ command.request_representation = Google::Apis::RedisV1beta1::FailoverInstanceRequest::Representation
269
+ command.request_object = failover_instance_request_object
270
+ command.response_representation = Google::Apis::RedisV1beta1::Operation::Representation
271
+ command.response_class = Google::Apis::RedisV1beta1::Operation
272
+ command.params['name'] = name unless name.nil?
273
+ command.query['fields'] = fields unless fields.nil?
274
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
275
+ execute_or_queue_command(command, &block)
276
+ end
277
+
242
278
  # Gets the details of a specific Redis instance.
243
279
  # @param [String] name
244
280
  # Required. Redis instance resource name using the form:
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/run/
27
27
  module RunV1alpha1
28
28
  VERSION = 'V1alpha1'
29
- REVISION = '20190522'
29
+ REVISION = '20190620'
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,11 +26,16 @@ module Google
26
26
  class Addressable
27
27
  include Google::Apis::Core::Hashable
28
28
 
29
- #
29
+ # Deprecated - use url instead.
30
30
  # Corresponds to the JSON property `hostname`
31
31
  # @return [String]
32
32
  attr_accessor :hostname
33
33
 
34
+ #
35
+ # Corresponds to the JSON property `url`
36
+ # @return [String]
37
+ attr_accessor :url
38
+
34
39
  def initialize(**args)
35
40
  update!(**args)
36
41
  end
@@ -38,6 +43,7 @@ module Google
38
43
  # Update properties of this object
39
44
  def update!(**args)
40
45
  @hostname = args[:hostname] if args.key?(:hostname)
46
+ @url = args[:url] if args.key?(:url)
41
47
  end
42
48
  end
43
49
 
@@ -2734,6 +2740,7 @@ module Google
2734
2740
  # Containers holds the single container that defines the unit of execution
2735
2741
  # for this Revision. In the context of a Revision, we disallow a number of
2736
2742
  # fields on this Container, including: name and lifecycle.
2743
+ # In Cloud Run, only a single container may be provided.
2737
2744
  # Corresponds to the JSON property `containers`
2738
2745
  # @return [Array<Google::Apis::RunV1alpha1::Container>]
2739
2746
  attr_accessor :containers
@@ -2746,7 +2753,10 @@ module Google
2746
2753
  # @return [Fixnum]
2747
2754
  attr_accessor :generation
2748
2755
 
2749
- # Not currently used by Cloud Run.
2756
+ # Email address of the IAM service account associated with the revision
2757
+ # of the service. The service account represents the identity of the
2758
+ # running revision, and determines what permissions the revision has. If
2759
+ # not provided, the revision will use the project's default service account.
2750
2760
  # Corresponds to the JSON property `serviceAccountName`
2751
2761
  # @return [String]
2752
2762
  attr_accessor :service_account_name
@@ -3034,13 +3044,14 @@ module Google
3034
3044
  # @return [Array<Google::Apis::RunV1alpha1::RouteCondition>]
3035
3045
  attr_accessor :conditions
3036
3046
 
3047
+ # Deprecated - use url instead.
3037
3048
  # Domain holds the top-level domain that will distribute traffic over the
3038
- # provided targets. It generally has the form
3039
- # https://`route-hash`-`project-hash`-`cluster-level-suffix`.a.run.app
3049
+ # provided targets.
3040
3050
  # Corresponds to the JSON property `domain`
3041
3051
  # @return [String]
3042
3052
  attr_accessor :domain
3043
3053
 
3054
+ # Deprecated - use address instead.
3044
3055
  # For Cloud Run, identifical to domain.
3045
3056
  # Corresponds to the JSON property `domainInternal`
3046
3057
  # @return [String]
@@ -3067,6 +3078,13 @@ module Google
3067
3078
  # @return [Array<Google::Apis::RunV1alpha1::TrafficTarget>]
3068
3079
  attr_accessor :traffic
3069
3080
 
3081
+ # URL holds the url that will distribute traffic over the provided traffic
3082
+ # targets. It generally has the form
3083
+ # https://`route-hash`-`project-hash`-`cluster-level-suffix`.a.run.app
3084
+ # Corresponds to the JSON property `url`
3085
+ # @return [String]
3086
+ attr_accessor :url
3087
+
3070
3088
  def initialize(**args)
3071
3089
  update!(**args)
3072
3090
  end
@@ -3079,6 +3097,7 @@ module Google
3079
3097
  @domain_internal = args[:domain_internal] if args.key?(:domain_internal)
3080
3098
  @observed_generation = args[:observed_generation] if args.key?(:observed_generation)
3081
3099
  @traffic = args[:traffic] if args.key?(:traffic)
3100
+ @url = args[:url] if args.key?(:url)
3082
3101
  end
3083
3102
  end
3084
3103
 
@@ -3641,6 +3660,14 @@ module Google
3641
3660
  # @return [Array<Google::Apis::RunV1alpha1::TrafficTarget>]
3642
3661
  attr_accessor :traffic
3643
3662
 
3663
+ # From RouteStatus.
3664
+ # URL holds the url that will distribute traffic over the provided traffic
3665
+ # targets. It generally has the form
3666
+ # https://`route-hash`-`project-hash`-`cluster-level-suffix`.a.run.app
3667
+ # Corresponds to the JSON property `url`
3668
+ # @return [String]
3669
+ attr_accessor :url
3670
+
3644
3671
  def initialize(**args)
3645
3672
  update!(**args)
3646
3673
  end
@@ -3654,6 +3681,7 @@ module Google
3654
3681
  @latest_ready_revision_name = args[:latest_ready_revision_name] if args.key?(:latest_ready_revision_name)
3655
3682
  @observed_generation = args[:observed_generation] if args.key?(:observed_generation)
3656
3683
  @traffic = args[:traffic] if args.key?(:traffic)
3684
+ @url = args[:url] if args.key?(:url)
3657
3685
  end
3658
3686
  end
3659
3687
 
@@ -560,6 +560,7 @@ module Google
560
560
  # @private
561
561
  class Representation < Google::Apis::Core::JsonRepresentation
562
562
  property :hostname, as: 'hostname'
563
+ property :url, as: 'url'
563
564
  end
564
565
  end
565
566
 
@@ -1260,6 +1261,7 @@ module Google
1260
1261
  property :observed_generation, as: 'observedGeneration'
1261
1262
  collection :traffic, as: 'traffic', class: Google::Apis::RunV1alpha1::TrafficTarget, decorator: Google::Apis::RunV1alpha1::TrafficTarget::Representation
1262
1263
 
1264
+ property :url, as: 'url'
1263
1265
  end
1264
1266
  end
1265
1267
 
@@ -1400,6 +1402,7 @@ module Google
1400
1402
  property :observed_generation, as: 'observedGeneration'
1401
1403
  collection :traffic, as: 'traffic', class: Google::Apis::RunV1alpha1::TrafficTarget, decorator: Google::Apis::RunV1alpha1::TrafficTarget::Representation
1402
1404
 
1405
+ property :url, as: 'url'
1403
1406
  end
1404
1407
  end
1405
1408
 
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/source-repositories/docs/apis
26
26
  module SourcerepoV1
27
27
  VERSION = 'V1'
28
- REVISION = '20190419'
28
+ REVISION = '20190611'
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'
@@ -331,43 +331,10 @@ module Google
331
331
 
332
332
  # The `Status` type defines a logical error model that is suitable for
333
333
  # different programming environments, including REST APIs and RPC APIs. It is
334
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
335
- # - Simple to use and understand for most users
336
- # - Flexible enough to meet unexpected needs
337
- # # Overview
338
- # The `Status` message contains three pieces of data: error code, error
339
- # message, and error details. The error code should be an enum value of
340
- # google.rpc.Code, but it may accept additional error codes if needed. The
341
- # error message should be a developer-facing English message that helps
342
- # developers *understand* and *resolve* the error. If a localized user-facing
343
- # error message is needed, put the localized message in the error details or
344
- # localize it in the client. The optional error details may contain arbitrary
345
- # information about the error. There is a predefined set of error detail types
346
- # in the package `google.rpc` that can be used for common error conditions.
347
- # # Language mapping
348
- # The `Status` message is the logical representation of the error model, but it
349
- # is not necessarily the actual wire format. When the `Status` message is
350
- # exposed in different client libraries and different wire protocols, it can be
351
- # mapped differently. For example, it will likely be mapped to some exceptions
352
- # in Java, but more likely mapped to some error codes in C.
353
- # # Other uses
354
- # The error model and the `Status` message can be used in a variety of
355
- # environments, either with or without APIs, to provide a
356
- # consistent developer experience across different environments.
357
- # Example uses of this error model include:
358
- # - Partial errors. If a service needs to return partial errors to the client,
359
- # it may embed the `Status` in the normal response to indicate the partial
360
- # errors.
361
- # - Workflow errors. A typical workflow has multiple steps. Each step may
362
- # have a `Status` message for error reporting.
363
- # - Batch operations. If a client uses batch request and batch response, the
364
- # `Status` message should be used directly inside batch response, one for
365
- # each error sub-response.
366
- # - Asynchronous operations. If an API call embeds asynchronous operation
367
- # results in its response, the status of those operations should be
368
- # represented directly using the `Status` message.
369
- # - Logging. If some API errors are stored in logs, the message `Status` could
370
- # be used directly after any stripping needed for security/privacy reasons.
334
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
335
+ # three pieces of data: error code, error message, and error details.
336
+ # You can find out more about this error model and how to work with it in the
337
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
371
338
  # Corresponds to the JSON property `error`
372
339
  # @return [Google::Apis::SourcerepoV1::Status]
373
340
  attr_accessor :error
@@ -382,7 +349,7 @@ module Google
382
349
 
383
350
  # The server-assigned name, which is only unique within the same service that
384
351
  # originally returns it. If you use the default HTTP mapping, the
385
- # `name` should have the format of `operations/some/unique/name`.
352
+ # `name` should be a resource name ending with `operations/`unique_id``.
386
353
  # Corresponds to the JSON property `name`
387
354
  # @return [String]
388
355
  attr_accessor :name
@@ -682,43 +649,10 @@ module Google
682
649
 
683
650
  # The `Status` type defines a logical error model that is suitable for
684
651
  # different programming environments, including REST APIs and RPC APIs. It is
685
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
686
- # - Simple to use and understand for most users
687
- # - Flexible enough to meet unexpected needs
688
- # # Overview
689
- # The `Status` message contains three pieces of data: error code, error
690
- # message, and error details. The error code should be an enum value of
691
- # google.rpc.Code, but it may accept additional error codes if needed. The
692
- # error message should be a developer-facing English message that helps
693
- # developers *understand* and *resolve* the error. If a localized user-facing
694
- # error message is needed, put the localized message in the error details or
695
- # localize it in the client. The optional error details may contain arbitrary
696
- # information about the error. There is a predefined set of error detail types
697
- # in the package `google.rpc` that can be used for common error conditions.
698
- # # Language mapping
699
- # The `Status` message is the logical representation of the error model, but it
700
- # is not necessarily the actual wire format. When the `Status` message is
701
- # exposed in different client libraries and different wire protocols, it can be
702
- # mapped differently. For example, it will likely be mapped to some exceptions
703
- # in Java, but more likely mapped to some error codes in C.
704
- # # Other uses
705
- # The error model and the `Status` message can be used in a variety of
706
- # environments, either with or without APIs, to provide a
707
- # consistent developer experience across different environments.
708
- # Example uses of this error model include:
709
- # - Partial errors. If a service needs to return partial errors to the client,
710
- # it may embed the `Status` in the normal response to indicate the partial
711
- # errors.
712
- # - Workflow errors. A typical workflow has multiple steps. Each step may
713
- # have a `Status` message for error reporting.
714
- # - Batch operations. If a client uses batch request and batch response, the
715
- # `Status` message should be used directly inside batch response, one for
716
- # each error sub-response.
717
- # - Asynchronous operations. If an API call embeds asynchronous operation
718
- # results in its response, the status of those operations should be
719
- # represented directly using the `Status` message.
720
- # - Logging. If some API errors are stored in logs, the message `Status` could
721
- # be used directly after any stripping needed for security/privacy reasons.
652
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
653
+ # three pieces of data: error code, error message, and error details.
654
+ # You can find out more about this error model and how to work with it in the
655
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
722
656
  class Status
723
657
  include Google::Apis::Core::Hashable
724
658
 
@@ -752,6 +686,45 @@ module Google
752
686
  end
753
687
  end
754
688
 
689
+ # Metadata of SyncRepo.
690
+ # This message is in the metadata field of Operation.
691
+ class SyncRepoMetadata
692
+ include Google::Apis::Core::Hashable
693
+
694
+ # The name of the repo being synchronized. Values are of the form
695
+ # `projects/<project>/repos/<repo>`.
696
+ # Corresponds to the JSON property `name`
697
+ # @return [String]
698
+ attr_accessor :name
699
+
700
+ # The time this operation is started.
701
+ # Corresponds to the JSON property `startTime`
702
+ # @return [String]
703
+ attr_accessor :start_time
704
+
705
+ # The latest status message on syncing the repository.
706
+ # Corresponds to the JSON property `statusMessage`
707
+ # @return [String]
708
+ attr_accessor :status_message
709
+
710
+ # The time this operation's status message is updated.
711
+ # Corresponds to the JSON property `updateTime`
712
+ # @return [String]
713
+ attr_accessor :update_time
714
+
715
+ def initialize(**args)
716
+ update!(**args)
717
+ end
718
+
719
+ # Update properties of this object
720
+ def update!(**args)
721
+ @name = args[:name] if args.key?(:name)
722
+ @start_time = args[:start_time] if args.key?(:start_time)
723
+ @status_message = args[:status_message] if args.key?(:status_message)
724
+ @update_time = args[:update_time] if args.key?(:update_time)
725
+ end
726
+ end
727
+
755
728
  # Request for SyncRepo.
756
729
  class SyncRepoRequest
757
730
  include Google::Apis::Core::Hashable
@@ -106,6 +106,12 @@ module Google
106
106
  include Google::Apis::Core::JsonObjectSupport
107
107
  end
108
108
 
109
+ class SyncRepoMetadata
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
109
115
  class SyncRepoRequest
110
116
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
117
 
@@ -271,6 +277,16 @@ module Google
271
277
  end
272
278
  end
273
279
 
280
+ class SyncRepoMetadata
281
+ # @private
282
+ class Representation < Google::Apis::Core::JsonRepresentation
283
+ property :name, as: 'name'
284
+ property :start_time, as: 'startTime'
285
+ property :status_message, as: 'statusMessage'
286
+ property :update_time, as: 'updateTime'
287
+ end
288
+ end
289
+
274
290
  class SyncRepoRequest
275
291
  # @private
276
292
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/speech-to-text/docs/quickstart-protocol
26
26
  module SpeechV1
27
27
  VERSION = 'V1'
28
- REVISION = '20190610'
28
+ REVISION = '20190624'
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'
@@ -205,38 +205,6 @@ module Google
205
205
  execute_or_queue_command(command, &block)
206
206
  end
207
207
 
208
- # Gets the latest state of a long-running operation. Clients can use this
209
- # method to poll the operation result at intervals as recommended by the API
210
- # service.
211
- # @param [String] name
212
- # The name of the operation resource.
213
- # @param [String] fields
214
- # Selector specifying which fields to include in a partial response.
215
- # @param [String] quota_user
216
- # Available to use for quota purposes for server-side applications. Can be any
217
- # arbitrary string assigned to a user, but should not exceed 40 characters.
218
- # @param [Google::Apis::RequestOptions] options
219
- # Request-specific options
220
- #
221
- # @yield [result, err] Result & error if block supplied
222
- # @yieldparam result [Google::Apis::SpeechV1::Operation] parsed result object
223
- # @yieldparam err [StandardError] error object if request failed
224
- #
225
- # @return [Google::Apis::SpeechV1::Operation]
226
- #
227
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
228
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
229
- # @raise [Google::Apis::AuthorizationError] Authorization is required
230
- def get_project_operation_manual_recognition_task(name, fields: nil, quota_user: nil, options: nil, &block)
231
- command = make_simple_command(:get, 'v1/{+name}', options)
232
- command.response_representation = Google::Apis::SpeechV1::Operation::Representation
233
- command.response_class = Google::Apis::SpeechV1::Operation
234
- command.params['name'] = name unless name.nil?
235
- command.query['fields'] = fields unless fields.nil?
236
- command.query['quotaUser'] = quota_user unless quota_user.nil?
237
- execute_or_queue_command(command, &block)
238
- end
239
-
240
208
  # Performs asynchronous speech recognition: receive results via the
241
209
  # google.longrunning.Operations interface. Returns either an
242
210
  # `Operation.error` or an `Operation.response` which contains
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/speech-to-text/docs/quickstart-protocol
26
26
  module SpeechV1p1beta1
27
27
  VERSION = 'V1p1beta1'
28
- REVISION = '20190610'
28
+ REVISION = '20190624'
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'
@@ -205,38 +205,6 @@ module Google
205
205
  execute_or_queue_command(command, &block)
206
206
  end
207
207
 
208
- # Gets the latest state of a long-running operation. Clients can use this
209
- # method to poll the operation result at intervals as recommended by the API
210
- # service.
211
- # @param [String] name
212
- # The name of the operation resource.
213
- # @param [String] fields
214
- # Selector specifying which fields to include in a partial response.
215
- # @param [String] quota_user
216
- # Available to use for quota purposes for server-side applications. Can be any
217
- # arbitrary string assigned to a user, but should not exceed 40 characters.
218
- # @param [Google::Apis::RequestOptions] options
219
- # Request-specific options
220
- #
221
- # @yield [result, err] Result & error if block supplied
222
- # @yieldparam result [Google::Apis::SpeechV1p1beta1::Operation] parsed result object
223
- # @yieldparam err [StandardError] error object if request failed
224
- #
225
- # @return [Google::Apis::SpeechV1p1beta1::Operation]
226
- #
227
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
228
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
229
- # @raise [Google::Apis::AuthorizationError] Authorization is required
230
- def get_project_operation_manual_recognition_task(name, fields: nil, quota_user: nil, options: nil, &block)
231
- command = make_simple_command(:get, 'v1p1beta1/{+name}', options)
232
- command.response_representation = Google::Apis::SpeechV1p1beta1::Operation::Representation
233
- command.response_class = Google::Apis::SpeechV1p1beta1::Operation
234
- command.params['name'] = name unless name.nil?
235
- command.query['fields'] = fields unless fields.nil?
236
- command.query['quotaUser'] = quota_user unless quota_user.nil?
237
- execute_or_queue_command(command, &block)
238
- end
239
-
240
208
  # Performs asynchronous speech recognition: receive results via the
241
209
  # google.longrunning.Operations interface. Returns either an
242
210
  # `Operation.error` or an `Operation.response` which contains