google-cloud-dataproc 2.7.2 → 2.8.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d22bd10063cd54121d6c44e82692d18e944158e9e2ec2167594e6641a8bef36f
4
- data.tar.gz: 436dc23f51109705008c27754079bf907b90bc996a4e04a0c927d8d18cc36490
3
+ metadata.gz: aa567727c63493e0c53ff50129226a85fe7ac16c48d926890c32f92a2a51e059
4
+ data.tar.gz: a00f39bf2659daffa547f41dbb351036ebd22b50251133cb092825e4ad2bcafb
5
5
  SHA512:
6
- metadata.gz: a69172d39fc577d40782af53f234d1b07a0bf1c364289f242c91e56fc25f2450c3982de75122bbf0a8c485a04471db1d9c0ad175c5bfec9481942b00f466437b
7
- data.tar.gz: 8b469c3bf1147eaf8ec502dc472b6ebe7d0e2937ff0c70d204523c7590f9083ba2d2a50e66b03ec240197d9dd196f2b24abe4ac613559a084c6e50ea821df0cf
6
+ metadata.gz: 06cd76d0de4e561c972495c0295e5c65b7e1a49912c3512a7da3e6c842395f8eabb13dde6e3278066f303f03f042bcd982e682e2f3523cd10ad6e6a5051cde74
7
+ data.tar.gz: 42ea89432311ba5ca91abef474fcca4078f24b4bd7c76c3414a37fbe2903187caed6f0cd93e4bd83f7da41ec33acf9189ed52db85c79324441b28b1d3e38d087
data/README.md CHANGED
@@ -34,6 +34,14 @@ In order to use this library, you first need to go through the following steps:
34
34
  1. [Enable the API.](https://console.cloud.google.com/apis/library/dataproc.googleapis.com)
35
35
  1. {file:AUTHENTICATION.md Set up authentication.}
36
36
 
37
+ ```ruby
38
+ require "google/cloud/dataproc"
39
+
40
+ client = Google::Cloud::Dataproc.autoscaling_policy_service
41
+ request = ::Google::Cloud::Dataproc::V1::CreateAutoscalingPolicyRequest.new # (request fields as keyword arguments...)
42
+ response = client.create_autoscaling_policy request
43
+ ```
44
+
37
45
  ## Migrating from 0.x versions
38
46
 
39
47
  The 1.0 release of the google-cloud-dataproc client is a significant upgrade
@@ -20,7 +20,7 @@
20
20
  module Google
21
21
  module Cloud
22
22
  module Dataproc
23
- VERSION = "2.7.2"
23
+ VERSION = "2.8.0"
24
24
  end
25
25
  end
26
26
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-dataproc
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.7.2
4
+ version: 2.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -68,7 +68,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
68
68
  requirements:
69
69
  - - ">="
70
70
  - !ruby/object:Gem::Version
71
- version: '3.0'
71
+ version: '3.2'
72
72
  required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  requirements:
74
74
  - - ">="