google-api-client 0.27.1 → 0.27.2

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 (32) hide show
  1. checksums.yaml +4 -4
  2. data/.kokoro/osx.sh +2 -2
  3. data/.travis.yml +6 -5
  4. data/CHANGELOG.md +13 -0
  5. data/Gemfile +1 -1
  6. data/generated/google/apis/bigquery_v2.rb +1 -1
  7. data/generated/google/apis/bigquery_v2/classes.rb +15 -6
  8. data/generated/google/apis/bigquery_v2/representations.rb +1 -0
  9. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  10. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +3 -6
  11. data/generated/google/apis/dlp_v2.rb +1 -1
  12. data/generated/google/apis/dlp_v2/classes.rb +2 -0
  13. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  14. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +4 -2
  15. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  16. data/generated/google/apis/servicecontrol_v1/classes.rb +4 -0
  17. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  18. data/generated/google/apis/servicemanagement_v1/classes.rb +16 -10
  19. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  20. data/generated/google/apis/servicenetworking_v1beta/classes.rb +4 -2
  21. data/generated/google/apis/servicenetworking_v1beta/service.rb +4 -5
  22. data/generated/google/apis/serviceusage_v1.rb +1 -1
  23. data/generated/google/apis/serviceusage_v1/classes.rb +4 -2
  24. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  25. data/generated/google/apis/serviceusage_v1beta1/classes.rb +4 -2
  26. data/generated/google/apis/testing_v1.rb +1 -1
  27. data/generated/google/apis/testing_v1/classes.rb +6 -0
  28. data/generated/google/apis/testing_v1/representations.rb +1 -0
  29. data/google-api-client.gemspec +1 -1
  30. data/lib/google/apis/core/http_command.rb +14 -1
  31. data/lib/google/apis/version.rb +1 -1
  32. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f6c08d4953831078b0034df02298cd8763e280e4
4
- data.tar.gz: b05c63b18775b250b6565b47508ba987f1963f2d
3
+ metadata.gz: f78ab0ba50eafe34e75ca1061042638765f53919
4
+ data.tar.gz: 0507c71722208f9850f366057c2afd0ff3fb840b
5
5
  SHA512:
6
- metadata.gz: 01e248dce807204dc8bfbb6027041a5a64ddac96e83a8a403ceff997284f094b46a694e46d8592ca2b68b639f8b055d973cceed0a524e7da33fbdb34afe04002
7
- data.tar.gz: c28d0cacc166c653071bb40e2120fa20a4e8a18243e72e4ddadc93097232399933785443eea47b86e90f1401f1d01b4ceff61cf70c37ff68a4d64b93ab8dfd5a
6
+ metadata.gz: a478ac31cbb2451c313b7da037b88d158fa8c1d75af35b9e2dda6b28505047f9062a6fde3d793e3033f22808d88da2000dc4e2c6d1cb5736d14c7d87996bf4ca
7
+ data.tar.gz: 22951c1d3117a7d44d8f898e3201f5a0b980c569797d9e3c2e66b2a983dc5839b41928d734db490ed8ce8dd2b3187d603c0848d053f23350a6bed71c2062af30
@@ -27,9 +27,9 @@ function set_failed_status {
27
27
  EXIT_STATUS=1
28
28
  }
29
29
 
30
- gem install bundle
30
+ gem install bundler --version 1.17.3
31
31
 
32
32
 
33
33
  (bundle update && bundle exec rake) || set_failed_status
34
34
 
35
- exit $EXIT_STATUS
35
+ exit $EXIT_STATUS
@@ -12,11 +12,12 @@ env:
12
12
  - RAILS_VERSION="~>5.0.0"
13
13
  matrix:
14
14
  exclude:
15
- - env: RAILS_VERSION="~>5.0.0"
16
- rvm: 2.0
17
- - env: RAILS_VERSION="~>5.0.0"
18
- rvm: 2.1
19
- before_install: gem install bundler
15
+ - env: RAILS_VERSION="~>4.2.0"
16
+ rvm: 2.3
17
+ - env: RAILS_VERSION="~>4.2.0"
18
+ rvm: jruby
19
+ before_install:
20
+ - gem install bundler --version 1.17.3
20
21
  notifications:
21
22
  email:
22
23
  recipients:
@@ -1,3 +1,16 @@
1
+ # 0.27.2
2
+ * Backwards compatible changes:
3
+ * Updated `bigquery_v2`
4
+ * Updated `cloudscheduler_v1beta1`
5
+ * Updated `dlp_v2`
6
+ * Updated `serviceconsumermanagement_v1`
7
+ * Updated `servicecontrol_v1`
8
+ * Updated `servicemanagement_v1`
9
+ * Updated `servicenetworking_v1beta`
10
+ * Updated `serviceusage_v1`
11
+ * Updated `serviceusage_v1beta1`
12
+ * Updated `testing_v1`
13
+
1
14
  # 0.27.1
2
15
  * Backwards compatible changes:
3
16
  * Added `cloudidentity_v1`
data/Gemfile CHANGED
@@ -5,7 +5,7 @@ gemspec
5
5
 
6
6
 
7
7
  group :development do
8
- gem 'bundler', '~> 1.7'
8
+ gem 'bundler', '>= 1.7'
9
9
  gem 'rake', '~> 11.2'
10
10
  gem 'rspec', '~> 3.1'
11
11
  gem 'json_spec', '~> 1.1'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/bigquery/
26
26
  module BigqueryV2
27
27
  VERSION = 'V2'
28
- REVISION = '20181216'
28
+ REVISION = '20181221'
29
29
 
30
30
  # View and manage your data in Google BigQuery
31
31
  AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
@@ -453,16 +453,24 @@ module Google
453
453
  include Google::Apis::Core::Hashable
454
454
 
455
455
  # [Pick one] A domain to grant access to. Any users signed in with the domain
456
- # specified will be granted the specified access. Example: "example.com".
456
+ # specified will be granted the specified access. Example: "example.com". Maps
457
+ # to IAM policy member "domain:DOMAIN".
457
458
  # Corresponds to the JSON property `domain`
458
459
  # @return [String]
459
460
  attr_accessor :domain
460
461
 
461
- # [Pick one] An email address of a Google Group to grant access to.
462
+ # [Pick one] An email address of a Google Group to grant access to. Maps to IAM
463
+ # policy member "group:GROUP".
462
464
  # Corresponds to the JSON property `groupByEmail`
463
465
  # @return [String]
464
466
  attr_accessor :group_by_email
465
467
 
468
+ # [Pick one] Some other type of member that appears in the IAM Policy but isn't
469
+ # a user, group, domain, or special group.
470
+ # Corresponds to the JSON property `iamMember`
471
+ # @return [String]
472
+ attr_accessor :iam_member
473
+
466
474
  # [Required] Describes the rights granted to the user specified by the other
467
475
  # member of the access object. The following string values are supported: READER,
468
476
  # WRITER, OWNER.
@@ -473,13 +481,14 @@ module Google
473
481
  # [Pick one] A special group to grant access to. Possible values include:
474
482
  # projectOwners: Owners of the enclosing project. projectReaders: Readers of the
475
483
  # enclosing project. projectWriters: Writers of the enclosing project.
476
- # allAuthenticatedUsers: All authenticated BigQuery users.
484
+ # allAuthenticatedUsers: All authenticated BigQuery users. Maps to similarly-
485
+ # named IAM members.
477
486
  # Corresponds to the JSON property `specialGroup`
478
487
  # @return [String]
479
488
  attr_accessor :special_group
480
489
 
481
490
  # [Pick one] An email address of a user to grant access to. For example: fred@
482
- # example.com.
491
+ # example.com. Maps to IAM policy member "user:EMAIL" or "serviceAccount:EMAIL".
483
492
  # Corresponds to the JSON property `userByEmail`
484
493
  # @return [String]
485
494
  attr_accessor :user_by_email
@@ -501,6 +510,7 @@ module Google
501
510
  def update!(**args)
502
511
  @domain = args[:domain] if args.key?(:domain)
503
512
  @group_by_email = args[:group_by_email] if args.key?(:group_by_email)
513
+ @iam_member = args[:iam_member] if args.key?(:iam_member)
504
514
  @role = args[:role] if args.key?(:role)
505
515
  @special_group = args[:special_group] if args.key?(:special_group)
506
516
  @user_by_email = args[:user_by_email] if args.key?(:user_by_email)
@@ -3893,8 +3903,7 @@ module Google
3893
3903
  # @return [String]
3894
3904
  attr_accessor :field
3895
3905
 
3896
- # [Beta] [Optional] If set to true, queries over this table require a partition
3897
- # filter that can be used for partition elimination to be specified.
3906
+ #
3898
3907
  # Corresponds to the JSON property `requirePartitionFilter`
3899
3908
  # @return [Boolean]
3900
3909
  attr_accessor :require_partition_filter
@@ -547,6 +547,7 @@ module Google
547
547
  class Representation < Google::Apis::Core::JsonRepresentation
548
548
  property :domain, as: 'domain'
549
549
  property :group_by_email, as: 'groupByEmail'
550
+ property :iam_member, as: 'iamMember'
550
551
  property :role, as: 'role'
551
552
  property :special_group, as: 'specialGroup'
552
553
  property :user_by_email, as: 'userByEmail'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/scheduler/
26
26
  module CloudschedulerV1beta1
27
27
  VERSION = 'V1beta1'
28
- REVISION = '20181120'
28
+ REVISION = '20181228'
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'
@@ -66,6 +66,7 @@ module Google
66
66
  # This header can be modified, but Cloud Scheduler will append
67
67
  # `"AppEngine-Google; (+http://code.google.com/appengine)"` to the
68
68
  # modified `User-Agent`.
69
+ # * `X-CloudScheduler`: This header will be set to true.
69
70
  # If the job has an body, Cloud Scheduler sets the
70
71
  # following headers:
71
72
  # * `Content-Type`: By default, the `Content-Type` header is set to
@@ -77,13 +78,9 @@ module Google
77
78
  # output only. It cannot be changed.
78
79
  # The headers below are output only. They cannot be set or overridden:
79
80
  # * `X-Google-*`: For Google internal use only.
80
- # * `X-AppEngine-*`: For Google internal use only. See
81
- # [Reading request headers](https://cloud.google.com/appengine/docs/python/
82
- # taskqueue/push/creating-handlers#reading_request_headers).
81
+ # * `X-AppEngine-*`: For Google internal use only.
83
82
  # In addition, some App Engine headers, which contain
84
- # job-specific information, are also be sent to the job handler; see
85
- # [request headers](https://cloud.google.comappengine/docs/standard/python/
86
- # config/cron#securing_urls_for_cron).
83
+ # job-specific information, are also be sent to the job handler.
87
84
  # Corresponds to the JSON property `headers`
88
85
  # @return [Hash<String,String>]
89
86
  attr_accessor :headers
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/dlp/docs/
28
28
  module DlpV2
29
29
  VERSION = 'V2'
30
- REVISION = '20181218'
30
+ REVISION = '20181229'
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'
@@ -1164,6 +1164,7 @@ module Google
1164
1164
  # Outputs a base64 encoded representation of the hashed output
1165
1165
  # (for example, L7k0BHmF1ha5U3NfGykjro4xWi1MPVQPjhMAZbSV9mM=).
1166
1166
  # Currently, only string and integer values can be hashed.
1167
+ # See https://cloud.google.com/dlp/docs/pseudonymization to learn more.
1167
1168
  class GooglePrivacyDlpV2CryptoHashConfig
1168
1169
  include Google::Apis::Core::Hashable
1169
1170
 
@@ -4074,6 +4075,7 @@ module Google
4074
4075
  # Outputs a base64 encoded representation of the hashed output
4075
4076
  # (for example, L7k0BHmF1ha5U3NfGykjro4xWi1MPVQPjhMAZbSV9mM=).
4076
4077
  # Currently, only string and integer values can be hashed.
4078
+ # See https://cloud.google.com/dlp/docs/pseudonymization to learn more.
4077
4079
  # Corresponds to the JSON property `cryptoHashConfig`
4078
4080
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2CryptoHashConfig]
4079
4081
  attr_accessor :crypto_hash_config
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/service-consumer-management/docs/overview
26
26
  module ServiceconsumermanagementV1
27
27
  VERSION = 'V1'
28
- REVISION = '20181217'
28
+ REVISION = '20181229'
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'
@@ -3079,8 +3079,10 @@ module Google
3079
3079
  # @return [Google::Apis::ServiceconsumermanagementV1::Monitoring]
3080
3080
  attr_accessor :monitoring
3081
3081
 
3082
- # The DNS address at which this service is available,
3083
- # e.g. `calendar.googleapis.com`.
3082
+ # The service name, which is a DNS-like logical identifier for the
3083
+ # service, such as `calendar.googleapis.com`. The service name
3084
+ # typically goes through DNS verification to make sure the owner
3085
+ # of the service also owns the DNS name.
3084
3086
  # Corresponds to the JSON property `name`
3085
3087
  # @return [String]
3086
3088
  attr_accessor :name
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/service-control/
27
27
  module ServicecontrolV1
28
28
  VERSION = 'V1'
29
- REVISION = '20181214'
29
+ REVISION = '20181229'
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'
@@ -2059,6 +2059,8 @@ module Google
2059
2059
  include Google::Apis::Core::Hashable
2060
2060
 
2061
2061
  # The locations of a resource after the execution of the operation.
2062
+ # Requests to create or delete a location based resource must populate
2063
+ # the 'current_locations' field and not the 'original_locations' field.
2062
2064
  # For example:
2063
2065
  # "europe-west1-a"
2064
2066
  # "us-east1"
@@ -2068,6 +2070,8 @@ module Google
2068
2070
  attr_accessor :current_locations
2069
2071
 
2070
2072
  # The locations of a resource prior to the execution of the operation.
2073
+ # Requests that mutate the resource's location must populate both the
2074
+ # 'original_locations' as well as the 'current_locations' fields.
2071
2075
  # For example:
2072
2076
  # "europe-west1-a"
2073
2077
  # "us-east1"
@@ -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 = '20181210'
30
+ REVISION = '20190102'
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'
@@ -2724,17 +2724,21 @@ module Google
2724
2724
  include Google::Apis::Core::Hashable
2725
2725
 
2726
2726
  # Monitoring configurations for sending metrics to the consumer project.
2727
- # There can be multiple consumer destinations, each one must have a
2728
- # different monitored resource type. A metric can be used in at most
2729
- # one consumer destination.
2727
+ # There can be multiple consumer destinations. A monitored resouce type may
2728
+ # appear in multiple monitoring destinations if different aggregations are
2729
+ # needed for different sets of metrics associated with that monitored
2730
+ # resource type. A monitored resource and metric pair may only be used once
2731
+ # in the Monitoring configuration.
2730
2732
  # Corresponds to the JSON property `consumerDestinations`
2731
2733
  # @return [Array<Google::Apis::ServicemanagementV1::MonitoringDestination>]
2732
2734
  attr_accessor :consumer_destinations
2733
2735
 
2734
2736
  # Monitoring configurations for sending metrics to the producer project.
2735
- # There can be multiple producer destinations, each one must have a
2736
- # different monitored resource type. A metric can be used in at most
2737
- # one producer destination.
2737
+ # There can be multiple producer destinations. A monitored resouce type may
2738
+ # appear in multiple monitoring destinations if different aggregations are
2739
+ # needed for different sets of metrics associated with that monitored
2740
+ # resource type. A monitored resource and metric pair may only be used once
2741
+ # in the Monitoring configuration.
2738
2742
  # Corresponds to the JSON property `producerDestinations`
2739
2743
  # @return [Array<Google::Apis::ServicemanagementV1::MonitoringDestination>]
2740
2744
  attr_accessor :producer_destinations
@@ -2755,8 +2759,8 @@ module Google
2755
2759
  class MonitoringDestination
2756
2760
  include Google::Apis::Core::Hashable
2757
2761
 
2758
- # Names of the metrics to report to this monitoring destination.
2759
- # Each name must be defined in Service.metrics section.
2762
+ # Types of the metrics to report to this monitoring destination.
2763
+ # Each type must be defined in Service.metrics section.
2760
2764
  # Corresponds to the JSON property `metrics`
2761
2765
  # @return [Array<String>]
2762
2766
  attr_accessor :metrics
@@ -3697,8 +3701,10 @@ module Google
3697
3701
  # @return [Google::Apis::ServicemanagementV1::Monitoring]
3698
3702
  attr_accessor :monitoring
3699
3703
 
3700
- # The DNS address at which this service is available,
3701
- # e.g. `calendar.googleapis.com`.
3704
+ # The service name, which is a DNS-like logical identifier for the
3705
+ # service, such as `calendar.googleapis.com`. The service name
3706
+ # typically goes through DNS verification to make sure the owner
3707
+ # of the service also owns the DNS name.
3702
3708
  # Corresponds to the JSON property `name`
3703
3709
  # @return [String]
3704
3710
  attr_accessor :name
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started
27
27
  module ServicenetworkingV1beta
28
28
  VERSION = 'V1beta'
29
- REVISION = '20181220'
29
+ REVISION = '20181229'
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'
@@ -2972,8 +2972,10 @@ module Google
2972
2972
  # @return [Google::Apis::ServicenetworkingV1beta::Monitoring]
2973
2973
  attr_accessor :monitoring
2974
2974
 
2975
- # The DNS address at which this service is available,
2976
- # e.g. `calendar.googleapis.com`.
2975
+ # The service name, which is a DNS-like logical identifier for the
2976
+ # service, such as `calendar.googleapis.com`. The service name
2977
+ # typically goes through DNS verification to make sure the owner
2978
+ # of the service also owns the DNS name.
2977
2979
  # Corresponds to the JSON property `name`
2978
2980
  # @return [String]
2979
2981
  attr_accessor :name
@@ -85,11 +85,10 @@ module Google
85
85
  # requested size that's expressed as a CIDR range (number of leading bits of
86
86
  # ipV4 network mask). The method checks against the assigned allocated ranges
87
87
  # to find a non-conflicting IP address range. The method will reuse a subnet
88
- # if subsequent calls contain the same subnet name, region, and prefix length.
89
- # This method will make producer's tenant project to be a shared VPC service
90
- # project as needed.
91
- # The response from the `get` operation will be of type `Subnetwork` if the
92
- # operation successfully completes.
88
+ # if subsequent calls contain the same subnet name, region, and prefix
89
+ # length. This method will make producer's tenant project to be a shared VPC
90
+ # service project as needed. The response from the `get` operation will be of
91
+ # type `Subnetwork` if the operation successfully completes.
93
92
  # @param [String] parent
94
93
  # Required. A tenant project in the service producer organization, in the
95
94
  # following format: services/`service`/`collection-id`/`resource-id`.
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/service-usage/
28
28
  module ServiceusageV1
29
29
  VERSION = 'V1'
30
- REVISION = '20181217'
30
+ REVISION = '20181230'
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'
@@ -1571,8 +1571,10 @@ module Google
1571
1571
  # @return [Google::Apis::ServiceusageV1::Monitoring]
1572
1572
  attr_accessor :monitoring
1573
1573
 
1574
- # The DNS address at which this service is available,
1575
- # e.g. `calendar.googleapis.com`.
1574
+ # The service name, which is a DNS-like logical identifier for the
1575
+ # service, such as `calendar.googleapis.com`. The service name
1576
+ # typically goes through DNS verification to make sure the owner
1577
+ # of the service also owns the DNS name.
1576
1578
  # Corresponds to the JSON property `name`
1577
1579
  # @return [String]
1578
1580
  attr_accessor :name
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/service-usage/
28
28
  module ServiceusageV1beta1
29
29
  VERSION = 'V1beta1'
30
- REVISION = '20181217'
30
+ REVISION = '20181230'
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'
@@ -1547,8 +1547,10 @@ module Google
1547
1547
  # @return [Google::Apis::ServiceusageV1beta1::Monitoring]
1548
1548
  attr_accessor :monitoring
1549
1549
 
1550
- # The DNS address at which this service is available,
1551
- # e.g. `calendar.googleapis.com`.
1550
+ # The service name, which is a DNS-like logical identifier for the
1551
+ # service, such as `calendar.googleapis.com`. The service name
1552
+ # typically goes through DNS verification to make sure the owner
1553
+ # of the service also owns the DNS name.
1552
1554
  # Corresponds to the JSON property `name`
1553
1555
  # @return [String]
1554
1556
  attr_accessor :name
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/cloud-test-lab/
27
27
  module TestingV1
28
28
  VERSION = 'V1'
29
- REVISION = '20181211'
29
+ REVISION = '20181231'
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'
@@ -1349,6 +1349,11 @@ module Google
1349
1349
  class IosXcTest
1350
1350
  include Google::Apis::Core::Hashable
1351
1351
 
1352
+ # Output only. The bundle id for the application under test.
1353
+ # Corresponds to the JSON property `appBundleId`
1354
+ # @return [String]
1355
+ attr_accessor :app_bundle_id
1356
+
1352
1357
  # A reference to a file, used for user inputs.
1353
1358
  # Corresponds to the JSON property `testsZip`
1354
1359
  # @return [Google::Apis::TestingV1::FileReference]
@@ -1372,6 +1377,7 @@ module Google
1372
1377
 
1373
1378
  # Update properties of this object
1374
1379
  def update!(**args)
1380
+ @app_bundle_id = args[:app_bundle_id] if args.key?(:app_bundle_id)
1375
1381
  @tests_zip = args[:tests_zip] if args.key?(:tests_zip)
1376
1382
  @xcode_version = args[:xcode_version] if args.key?(:xcode_version)
1377
1383
  @xctestrun = args[:xctestrun] if args.key?(:xctestrun)
@@ -755,6 +755,7 @@ module Google
755
755
  class IosXcTest
756
756
  # @private
757
757
  class Representation < Google::Apis::Core::JsonRepresentation
758
+ property :app_bundle_id, as: 'appBundleId'
758
759
  property :tests_zip, as: 'testsZip', class: Google::Apis::TestingV1::FileReference, decorator: Google::Apis::TestingV1::FileReference::Representation
759
760
 
760
761
  property :xcode_version, as: 'xcodeVersion'
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
25
25
  spec.add_runtime_dependency 'addressable', '~> 2.5', '>= 2.5.1'
26
26
  spec.add_runtime_dependency 'mime-types', '~> 3.0'
27
27
  spec.add_runtime_dependency 'signet', '~> 0.10'
28
- spec.add_runtime_dependency 'googleauth', '>= 0.5', '< 0.8.0'
28
+ spec.add_runtime_dependency 'googleauth', '>= 0.5', '< 0.10.0'
29
29
  spec.add_runtime_dependency 'httpclient', '>= 2.8.1', '< 3.0'
30
30
  spec.add_development_dependency 'thor', '~> 0.19'
31
31
  spec.add_development_dependency 'activesupport', '>= 4.2', '< 5.1'
@@ -253,7 +253,7 @@ module Google
253
253
  # @return [Object] result if no block given
254
254
  # @yield [result, nil] if block given
255
255
  def success(result, &block)
256
- logger.debug { sprintf('Success - %s', PP.pp(result, '')) }
256
+ logger.debug { sprintf('Success - %s', safe_object_representation(result)) }
257
257
  block.call(result, nil) if block_given?
258
258
  result
259
259
  end
@@ -333,6 +333,19 @@ module Google
333
333
 
334
334
  private
335
335
 
336
+ UNSAFE_CLASS_NAMES = [
337
+ "Google::Apis::CloudkmsV1::DecryptResponse"
338
+ ]
339
+
340
+ def safe_object_representation obj
341
+ name = obj.class.name
342
+ if UNSAFE_CLASS_NAMES.include? name
343
+ "#<#{name} (fields redacted)>"
344
+ else
345
+ PP.pp(obj, "")
346
+ end
347
+ end
348
+
336
349
  def opencensus_begin_span
337
350
  return unless OPENCENSUS_AVAILABLE && options.use_opencensus
338
351
  return if @opencensus_span
@@ -15,7 +15,7 @@
15
15
  module Google
16
16
  module Apis
17
17
  # Client library version
18
- VERSION = '0.27.1'.freeze
18
+ VERSION = '0.27.2'.freeze
19
19
 
20
20
  # Current operating system
21
21
  # @private
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-api-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.27.1
4
+ version: 0.27.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steven Bazyl
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2018-12-24 00:00:00.000000000 Z
14
+ date: 2019-01-07 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: representable
@@ -104,7 +104,7 @@ dependencies:
104
104
  version: '0.5'
105
105
  - - "<"
106
106
  - !ruby/object:Gem::Version
107
- version: 0.8.0
107
+ version: 0.10.0
108
108
  type: :runtime
109
109
  prerelease: false
110
110
  version_requirements: !ruby/object:Gem::Requirement
@@ -114,7 +114,7 @@ dependencies:
114
114
  version: '0.5'
115
115
  - - "<"
116
116
  - !ruby/object:Gem::Version
117
- version: 0.8.0
117
+ version: 0.10.0
118
118
  - !ruby/object:Gem::Dependency
119
119
  name: httpclient
120
120
  requirement: !ruby/object:Gem::Requirement