google-api-client 0.40.1 → 0.40.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (164) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +65 -0
  3. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  4. data/generated/google/apis/androidpublisher_v3.rb +3 -3
  5. data/generated/google/apis/androidpublisher_v3/classes.rb +468 -750
  6. data/generated/google/apis/androidpublisher_v3/representations.rb +9 -202
  7. data/generated/google/apis/androidpublisher_v3/service.rb +531 -863
  8. data/generated/google/apis/apigee_v1.rb +1 -1
  9. data/generated/google/apis/apigee_v1/classes.rb +12 -6
  10. data/generated/google/apis/apigee_v1/representations.rb +1 -0
  11. data/generated/google/apis/appsmarket_v2.rb +1 -1
  12. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  13. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +113 -0
  14. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +61 -0
  15. data/generated/google/apis/bigquery_v2.rb +1 -1
  16. data/generated/google/apis/bigquery_v2/classes.rb +15 -7
  17. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  18. data/generated/google/apis/binaryauthorization_v1/classes.rb +1 -4
  19. data/generated/google/apis/books_v1.rb +1 -1
  20. data/generated/google/apis/books_v1/service.rb +2 -2
  21. data/generated/google/apis/cloudasset_v1.rb +1 -1
  22. data/generated/google/apis/cloudasset_v1/classes.rb +25 -342
  23. data/generated/google/apis/cloudasset_v1/representations.rb +1 -96
  24. data/generated/google/apis/cloudasset_v1/service.rb +11 -186
  25. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  26. data/generated/google/apis/cloudasset_v1beta1/classes.rb +6 -6
  27. data/generated/google/apis/cloudasset_v1beta1/service.rb +4 -4
  28. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  29. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +6 -6
  30. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +15 -16
  31. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  32. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +26 -8
  33. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +24 -3
  34. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  35. data/generated/google/apis/cloudbuild_v1/classes.rb +2 -2
  36. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  37. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +2 -2
  38. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  39. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +2 -2
  40. data/generated/google/apis/cloudkms_v1.rb +1 -1
  41. data/generated/google/apis/cloudkms_v1/classes.rb +7 -7
  42. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  43. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +6 -6
  44. data/generated/google/apis/cloudresourcemanager_v1/service.rb +6 -8
  45. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  46. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +6 -6
  47. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +8 -8
  48. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  49. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +6 -6
  50. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  51. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +6 -6
  52. data/generated/google/apis/compute_alpha.rb +1 -1
  53. data/generated/google/apis/compute_alpha/classes.rb +91 -3
  54. data/generated/google/apis/compute_alpha/representations.rb +36 -0
  55. data/generated/google/apis/compute_beta.rb +1 -1
  56. data/generated/google/apis/compute_beta/classes.rb +15 -3
  57. data/generated/google/apis/compute_beta/representations.rb +2 -0
  58. data/generated/google/apis/compute_v1.rb +1 -1
  59. data/generated/google/apis/compute_v1/classes.rb +3 -3
  60. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  61. data/generated/google/apis/datafusion_v1beta1/classes.rb +64 -19
  62. data/generated/google/apis/datafusion_v1beta1/representations.rb +16 -0
  63. data/generated/google/apis/datafusion_v1beta1/service.rb +49 -2
  64. data/generated/google/apis/displayvideo_v1.rb +1 -1
  65. data/generated/google/apis/displayvideo_v1/classes.rb +1 -1
  66. data/generated/google/apis/displayvideo_v1/service.rb +4 -0
  67. data/generated/google/apis/dlp_v2.rb +1 -1
  68. data/generated/google/apis/dlp_v2/classes.rb +8 -6
  69. data/generated/google/apis/dlp_v2/service.rb +170 -64
  70. data/generated/google/apis/fcm_v1.rb +1 -1
  71. data/generated/google/apis/file_v1.rb +1 -1
  72. data/generated/google/apis/file_v1beta1.rb +1 -1
  73. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  74. data/generated/google/apis/genomics_v2alpha1/classes.rb +84 -0
  75. data/generated/google/apis/genomics_v2alpha1/representations.rb +28 -0
  76. data/generated/google/apis/genomics_v2alpha1/service.rb +38 -2
  77. data/generated/google/apis/gmail_v1.rb +3 -2
  78. data/generated/google/apis/gmail_v1/classes.rb +263 -200
  79. data/generated/google/apis/gmail_v1/service.rb +551 -743
  80. data/generated/google/apis/groupsmigration_v1.rb +3 -2
  81. data/generated/google/apis/groupsmigration_v1/service.rb +10 -17
  82. data/generated/google/apis/iam_v1.rb +1 -1
  83. data/generated/google/apis/iam_v1/classes.rb +87 -81
  84. data/generated/google/apis/iam_v1/service.rb +163 -148
  85. data/generated/google/apis/iamcredentials_v1.rb +1 -1
  86. data/generated/google/apis/iamcredentials_v1/classes.rb +4 -3
  87. data/generated/google/apis/jobs_v3.rb +1 -1
  88. data/generated/google/apis/jobs_v3/classes.rb +4 -2
  89. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  90. data/generated/google/apis/jobs_v3p1beta1/classes.rb +4 -2
  91. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  92. data/generated/google/apis/memcache_v1beta2/classes.rb +6 -6
  93. data/generated/google/apis/monitoring_v1.rb +1 -1
  94. data/generated/google/apis/monitoring_v1/classes.rb +46 -0
  95. data/generated/google/apis/monitoring_v1/representations.rb +18 -0
  96. data/generated/google/apis/monitoring_v3.rb +1 -1
  97. data/generated/google/apis/monitoring_v3/classes.rb +10 -0
  98. data/generated/google/apis/monitoring_v3/representations.rb +1 -0
  99. data/generated/google/apis/osconfig_v1.rb +1 -1
  100. data/generated/google/apis/osconfig_v1/classes.rb +2 -2
  101. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  102. data/generated/google/apis/osconfig_v1beta/classes.rb +6 -7
  103. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  104. data/generated/google/apis/pagespeedonline_v5/classes.rb +7 -0
  105. data/generated/google/apis/pagespeedonline_v5/representations.rb +1 -0
  106. data/generated/google/apis/people_v1.rb +1 -1
  107. data/generated/google/apis/people_v1/classes.rb +118 -2
  108. data/generated/google/apis/people_v1/representations.rb +51 -0
  109. data/generated/google/apis/people_v1/service.rb +336 -67
  110. data/generated/google/apis/playcustomapp_v1.rb +3 -3
  111. data/generated/google/apis/playcustomapp_v1/classes.rb +7 -0
  112. data/generated/google/apis/playcustomapp_v1/representations.rb +1 -0
  113. data/generated/google/apis/playcustomapp_v1/service.rb +11 -19
  114. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  115. data/generated/google/apis/policytroubleshooter_v1/classes.rb +6 -6
  116. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  117. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +6 -6
  118. data/generated/google/apis/pubsub_v1.rb +1 -1
  119. data/generated/google/apis/pubsub_v1/classes.rb +49 -7
  120. data/generated/google/apis/pubsub_v1/representations.rb +16 -0
  121. data/generated/google/apis/secretmanager_v1.rb +1 -1
  122. data/generated/google/apis/secretmanager_v1/classes.rb +6 -6
  123. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  124. data/generated/google/apis/secretmanager_v1beta1/classes.rb +6 -6
  125. data/generated/google/apis/securitycenter_v1.rb +1 -1
  126. data/generated/google/apis/securitycenter_v1/classes.rb +106 -6
  127. data/generated/google/apis/securitycenter_v1/representations.rb +38 -0
  128. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  129. data/generated/google/apis/securitycenter_v1beta1/classes.rb +106 -6
  130. data/generated/google/apis/securitycenter_v1beta1/representations.rb +38 -0
  131. data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
  132. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +100 -0
  133. data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +38 -0
  134. data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
  135. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +106 -6
  136. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +38 -0
  137. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  138. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +108 -44
  139. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -1
  140. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  141. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +114 -44
  142. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +1 -1
  143. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  144. data/generated/google/apis/servicemanagement_v1/classes.rb +6 -12
  145. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -1
  146. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  147. data/generated/google/apis/servicenetworking_v1/classes.rb +109 -44
  148. data/generated/google/apis/servicenetworking_v1/representations.rb +0 -1
  149. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  150. data/generated/google/apis/servicenetworking_v1beta/classes.rb +109 -44
  151. data/generated/google/apis/servicenetworking_v1beta/representations.rb +0 -1
  152. data/generated/google/apis/serviceusage_v1.rb +1 -1
  153. data/generated/google/apis/serviceusage_v1/classes.rb +109 -45
  154. data/generated/google/apis/serviceusage_v1/representations.rb +0 -1
  155. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  156. data/generated/google/apis/serviceusage_v1beta1/classes.rb +115 -45
  157. data/generated/google/apis/serviceusage_v1beta1/representations.rb +1 -1
  158. data/generated/google/apis/serviceusage_v1beta1/service.rb +34 -0
  159. data/generated/google/apis/texttospeech_v1.rb +1 -1
  160. data/generated/google/apis/texttospeech_v1/classes.rb +1 -1
  161. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  162. data/generated/google/apis/texttospeech_v1beta1/classes.rb +1 -1
  163. data/lib/google/apis/version.rb +1 -1
  164. metadata +3 -3
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/iam/docs/creating-short-lived-service-account-credentials
26
26
  module IamcredentialsV1
27
27
  VERSION = 'V1'
28
- REVISION = '20200515'
28
+ REVISION = '20200605'
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'
@@ -247,9 +247,10 @@ module Google
247
247
 
248
248
  # Required. The JWT payload to sign. Must be a serialized JSON object that
249
249
  # contains a
250
- # JWT Claim Set. For example: ``"sub": "user@example.com", "iat": 313435``
251
- # If the claim set contains an `exp` claim, it must be an integer timestamp
252
- # that is not in the past and at most 12 hours in the future.
250
+ # JWT Claims Set. For example: ``"sub": "user@example.com", "iat": 313435``
251
+ # If the JWT Claims Set contains an expiration time (`exp`) claim, it must be
252
+ # an integer timestamp that is not in the past and no more than 12 hours in
253
+ # the future.
253
254
  # Corresponds to the JSON property `payload`
254
255
  # @return [String]
255
256
  attr_accessor :payload
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/talent-solution/job-search/docs/
27
27
  module JobsV3
28
28
  VERSION = 'V3'
29
- REVISION = '20200506'
29
+ REVISION = '20200604'
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'
@@ -808,8 +808,10 @@ module Google
808
808
  class CustomAttribute
809
809
  include Google::Apis::Core::Hashable
810
810
 
811
- # Optional. If the `filterable` flag is true, custom field values are searchable.
812
- # If false, values are not searchable.
811
+ # Optional. If the `filterable` flag is true, the custom field values may be
812
+ # used for
813
+ # custom attribute filters JobQuery.custom_attribute_filter.
814
+ # If false, these values may not be used for custom attribute filters.
813
815
  # Default is false.
814
816
  # Corresponds to the JSON property `filterable`
815
817
  # @return [Boolean]
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/talent-solution/job-search/docs/
27
27
  module JobsV3p1beta1
28
28
  VERSION = 'V3p1beta1'
29
- REVISION = '20200506'
29
+ REVISION = '20200604'
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'
@@ -808,8 +808,10 @@ module Google
808
808
  class CustomAttribute
809
809
  include Google::Apis::Core::Hashable
810
810
 
811
- # Optional. If the `filterable` flag is true, custom field values are searchable.
812
- # If false, values are not searchable.
811
+ # Optional. If the `filterable` flag is true, the custom field values may be
812
+ # used for
813
+ # custom attribute filters JobQuery.custom_attribute_filter.
814
+ # If false, these values may not be used for custom attribute filters.
813
815
  # Default is false.
814
816
  # Corresponds to the JSON property `filterable`
815
817
  # @return [Boolean]
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/memorystore/
27
27
  module MemcacheV1beta2
28
28
  VERSION = 'V1beta2'
29
- REVISION = '20200603'
29
+ REVISION = '20200608'
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'
@@ -62,7 +62,7 @@ module Google
62
62
  # `
63
63
  # "audit_configs": [
64
64
  # `
65
- # "service": "allServices"
65
+ # "service": "allServices",
66
66
  # "audit_log_configs": [
67
67
  # `
68
68
  # "log_type": "DATA_READ",
@@ -71,18 +71,18 @@ module Google
71
71
  # ]
72
72
  # `,
73
73
  # `
74
- # "log_type": "DATA_WRITE",
74
+ # "log_type": "DATA_WRITE"
75
75
  # `,
76
76
  # `
77
- # "log_type": "ADMIN_READ",
77
+ # "log_type": "ADMIN_READ"
78
78
  # `
79
79
  # ]
80
80
  # `,
81
81
  # `
82
- # "service": "sampleservice.googleapis.com"
82
+ # "service": "sampleservice.googleapis.com",
83
83
  # "audit_log_configs": [
84
84
  # `
85
- # "log_type": "DATA_READ",
85
+ # "log_type": "DATA_READ"
86
86
  # `,
87
87
  # `
88
88
  # "log_type": "DATA_WRITE",
@@ -134,7 +134,7 @@ module Google
134
134
  # ]
135
135
  # `,
136
136
  # `
137
- # "log_type": "DATA_WRITE",
137
+ # "log_type": "DATA_WRITE"
138
138
  # `
139
139
  # ]
140
140
  # `
@@ -29,7 +29,7 @@ module Google
29
29
  # @see https://cloud.google.com/monitoring/api/
30
30
  module MonitoringV1
31
31
  VERSION = 'V1'
32
- REVISION = '20200405'
32
+ REVISION = '20200608'
33
33
 
34
34
  # View and manage your data across Google Cloud Platform services
35
35
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -815,6 +815,36 @@ module Google
815
815
  end
816
816
  end
817
817
 
818
+ # A filter that ranks streams based on their statistical relation to other
819
+ # streams in a request. Note: This field is deprecated and completely ignored by
820
+ # the API.
821
+ class StatisticalTimeSeriesFilter
822
+ include Google::Apis::Core::Hashable
823
+
824
+ # How many time series to output.
825
+ # Corresponds to the JSON property `numTimeSeries`
826
+ # @return [Fixnum]
827
+ attr_accessor :num_time_series
828
+
829
+ # rankingMethod is applied to a set of time series, and then the produced value
830
+ # for each individual time series is used to compare a given time series to
831
+ # others. These are methods that cannot be applied stream-by-stream, but rather
832
+ # require the full context of a request to evaluate time series.
833
+ # Corresponds to the JSON property `rankingMethod`
834
+ # @return [String]
835
+ attr_accessor :ranking_method
836
+
837
+ def initialize(**args)
838
+ update!(**args)
839
+ end
840
+
841
+ # Update properties of this object
842
+ def update!(**args)
843
+ @num_time_series = args[:num_time_series] if args.key?(:num_time_series)
844
+ @ranking_method = args[:ranking_method] if args.key?(:ranking_method)
845
+ end
846
+ end
847
+
818
848
  # A widget that displays textual content.
819
849
  class Text
820
850
  include Google::Apis::Core::Hashable
@@ -950,6 +980,13 @@ module Google
950
980
  # @return [Google::Apis::MonitoringV1::Aggregation]
951
981
  attr_accessor :secondary_aggregation
952
982
 
983
+ # A filter that ranks streams based on their statistical relation to other
984
+ # streams in a request. Note: This field is deprecated and completely ignored by
985
+ # the API.
986
+ # Corresponds to the JSON property `statisticalTimeSeriesFilter`
987
+ # @return [Google::Apis::MonitoringV1::StatisticalTimeSeriesFilter]
988
+ attr_accessor :statistical_time_series_filter
989
+
953
990
  def initialize(**args)
954
991
  update!(**args)
955
992
  end
@@ -960,6 +997,7 @@ module Google
960
997
  @filter = args[:filter] if args.key?(:filter)
961
998
  @pick_time_series_filter = args[:pick_time_series_filter] if args.key?(:pick_time_series_filter)
962
999
  @secondary_aggregation = args[:secondary_aggregation] if args.key?(:secondary_aggregation)
1000
+ @statistical_time_series_filter = args[:statistical_time_series_filter] if args.key?(:statistical_time_series_filter)
963
1001
  end
964
1002
  end
965
1003
 
@@ -1016,6 +1054,13 @@ module Google
1016
1054
  # @return [Google::Apis::MonitoringV1::Aggregation]
1017
1055
  attr_accessor :secondary_aggregation
1018
1056
 
1057
+ # A filter that ranks streams based on their statistical relation to other
1058
+ # streams in a request. Note: This field is deprecated and completely ignored by
1059
+ # the API.
1060
+ # Corresponds to the JSON property `statisticalTimeSeriesFilter`
1061
+ # @return [Google::Apis::MonitoringV1::StatisticalTimeSeriesFilter]
1062
+ attr_accessor :statistical_time_series_filter
1063
+
1019
1064
  def initialize(**args)
1020
1065
  update!(**args)
1021
1066
  end
@@ -1026,6 +1071,7 @@ module Google
1026
1071
  @numerator = args[:numerator] if args.key?(:numerator)
1027
1072
  @pick_time_series_filter = args[:pick_time_series_filter] if args.key?(:pick_time_series_filter)
1028
1073
  @secondary_aggregation = args[:secondary_aggregation] if args.key?(:secondary_aggregation)
1074
+ @statistical_time_series_filter = args[:statistical_time_series_filter] if args.key?(:statistical_time_series_filter)
1029
1075
  end
1030
1076
  end
1031
1077
 
@@ -154,6 +154,12 @@ module Google
154
154
  include Google::Apis::Core::JsonObjectSupport
155
155
  end
156
156
 
157
+ class StatisticalTimeSeriesFilter
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
157
163
  class Text
158
164
  class Representation < Google::Apis::Core::JsonRepresentation; end
159
165
 
@@ -405,6 +411,14 @@ module Google
405
411
  end
406
412
  end
407
413
 
414
+ class StatisticalTimeSeriesFilter
415
+ # @private
416
+ class Representation < Google::Apis::Core::JsonRepresentation
417
+ property :num_time_series, as: 'numTimeSeries'
418
+ property :ranking_method, as: 'rankingMethod'
419
+ end
420
+ end
421
+
408
422
  class Text
409
423
  # @private
410
424
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -433,6 +447,8 @@ module Google
433
447
 
434
448
  property :secondary_aggregation, as: 'secondaryAggregation', class: Google::Apis::MonitoringV1::Aggregation, decorator: Google::Apis::MonitoringV1::Aggregation::Representation
435
449
 
450
+ property :statistical_time_series_filter, as: 'statisticalTimeSeriesFilter', class: Google::Apis::MonitoringV1::StatisticalTimeSeriesFilter, decorator: Google::Apis::MonitoringV1::StatisticalTimeSeriesFilter::Representation
451
+
436
452
  end
437
453
  end
438
454
 
@@ -447,6 +463,8 @@ module Google
447
463
 
448
464
  property :secondary_aggregation, as: 'secondaryAggregation', class: Google::Apis::MonitoringV1::Aggregation, decorator: Google::Apis::MonitoringV1::Aggregation::Representation
449
465
 
466
+ property :statistical_time_series_filter, as: 'statisticalTimeSeriesFilter', class: Google::Apis::MonitoringV1::StatisticalTimeSeriesFilter, decorator: Google::Apis::MonitoringV1::StatisticalTimeSeriesFilter::Representation
467
+
450
468
  end
451
469
  end
452
470
 
@@ -29,7 +29,7 @@ module Google
29
29
  # @see https://cloud.google.com/monitoring/api/
30
30
  module MonitoringV3
31
31
  VERSION = 'V3'
32
- REVISION = '20200526'
32
+ REVISION = '20200608'
33
33
 
34
34
  # View and manage your data across Google Cloud Platform services
35
35
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -1990,6 +1990,15 @@ module Google
1990
1990
  # @return [Array<Google::Apis::MonitoringV3::TimeSeries>]
1991
1991
  attr_accessor :time_series
1992
1992
 
1993
+ # The unit in which all time_series point values are reported. unit follows the
1994
+ # UCUM format for units as seen in https://unitsofmeasure.org/ucum.html. If
1995
+ # different time_series have different units (for example, because they come
1996
+ # from different metric types, or a unit is absent), then unit will be "`
1997
+ # not_a_unit`".
1998
+ # Corresponds to the JSON property `unit`
1999
+ # @return [String]
2000
+ attr_accessor :unit
2001
+
1993
2002
  def initialize(**args)
1994
2003
  update!(**args)
1995
2004
  end
@@ -1999,6 +2008,7 @@ module Google
1999
2008
  @execution_errors = args[:execution_errors] if args.key?(:execution_errors)
2000
2009
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2001
2010
  @time_series = args[:time_series] if args.key?(:time_series)
2011
+ @unit = args[:unit] if args.key?(:unit)
2002
2012
  end
2003
2013
  end
2004
2014
 
@@ -1089,6 +1089,7 @@ module Google
1089
1089
  property :next_page_token, as: 'nextPageToken'
1090
1090
  collection :time_series, as: 'timeSeries', class: Google::Apis::MonitoringV3::TimeSeries, decorator: Google::Apis::MonitoringV3::TimeSeries::Representation
1091
1091
 
1092
+ property :unit, as: 'unit'
1092
1093
  end
1093
1094
  end
1094
1095
 
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/
27
27
  module OsconfigV1
28
28
  VERSION = 'V1'
29
- REVISION = '20200504'
29
+ REVISION = '20200601'
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'
@@ -626,7 +626,7 @@ module Google
626
626
 
627
627
  # A high level representation of a patch job that is either in progress
628
628
  # or has completed.
629
- # Instances details are not included in the job. To paginate through instance
629
+ # Instance details are not included in the job. To paginate through instance
630
630
  # details, use ListPatchJobInstanceDetails.
631
631
  # For more information about patch jobs, see
632
632
  # [Creating patch
@@ -709,7 +709,7 @@ module Google
709
709
  # @return [Float]
710
710
  attr_accessor :percent_complete
711
711
 
712
- # The current state of the PatchJob .
712
+ # The current state of the PatchJob.
713
713
  # Corresponds to the JSON property `state`
714
714
  # @return [String]
715
715
  attr_accessor :state
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/
27
27
  module OsconfigV1beta
28
28
  VERSION = 'V1beta'
29
- REVISION = '20200504'
29
+ REVISION = '20200601'
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'
@@ -461,8 +461,7 @@ module Google
461
461
  end
462
462
  end
463
463
 
464
- # A request message to initiate patching across Google Compute Engine
465
- # instances.
464
+ # A request message to initiate patching across Compute Engine instances.
466
465
  class ExecutePatchJobRequest
467
466
  include Google::Apis::Core::Hashable
468
467
 
@@ -1182,8 +1181,8 @@ module Google
1182
1181
  class PatchInstanceFilterGroupLabel
1183
1182
  include Google::Apis::Core::Hashable
1184
1183
 
1185
- # Google Compute Engine instance labels that must be present for a VM
1186
- # instance to be targeted by this filter.
1184
+ # Compute Engine instance labels that must be present for a VM instance to
1185
+ # be targeted by this filter.
1187
1186
  # Corresponds to the JSON property `labels`
1188
1187
  # @return [Hash<String,String>]
1189
1188
  attr_accessor :labels
@@ -1200,8 +1199,8 @@ module Google
1200
1199
 
1201
1200
  # A high level representation of a patch job that is either in progress
1202
1201
  # or has completed.
1203
- # Instances details are not included in the job. To paginate through instance
1204
- # details, use ListPatchJobInstanceDetails.
1202
+ # Instance details are not included in the job. To paginate through instance
1203
+ # details, use `ListPatchJobInstanceDetails`.
1205
1204
  # For more information about patch jobs, see
1206
1205
  # [Creating patch
1207
1206
  # jobs](https://cloud.google.com/compute/docs/os-patch-management/create-patch-
@@ -1283,7 +1282,7 @@ module Google
1283
1282
  # @return [Float]
1284
1283
  attr_accessor :percent_complete
1285
1284
 
1286
- # The current state of the PatchJob .
1285
+ # The current state of the PatchJob.
1287
1286
  # Corresponds to the JSON property `state`
1288
1287
  # @return [String]
1289
1288
  attr_accessor :state
@@ -28,7 +28,7 @@ module Google
28
28
  # @see https://developers.google.com/speed/docs/insights/v5/about
29
29
  module PagespeedonlineV5
30
30
  VERSION = 'V5'
31
- REVISION = '20200305'
31
+ REVISION = '20200608'
32
32
 
33
33
  # Associate you with your personal info on Google
34
34
  PENID = 'openid'
@@ -496,6 +496,12 @@ module Google
496
496
  # @return [Hash<String,Google::Apis::PagespeedonlineV5::UserPageLoadMetricV5>]
497
497
  attr_accessor :metrics
498
498
 
499
+ # True if the result is an origin fallback from a page, false otherwise.
500
+ # Corresponds to the JSON property `origin_fallback`
501
+ # @return [Boolean]
502
+ attr_accessor :origin_fallback
503
+ alias_method :origin_fallback?, :origin_fallback
504
+
499
505
  # The human readable speed "category" of the id.
500
506
  # Corresponds to the JSON property `overall_category`
501
507
  # @return [String]
@@ -510,6 +516,7 @@ module Google
510
516
  @id = args[:id] if args.key?(:id)
511
517
  @initial_url = args[:initial_url] if args.key?(:initial_url)
512
518
  @metrics = args[:metrics] if args.key?(:metrics)
519
+ @origin_fallback = args[:origin_fallback] if args.key?(:origin_fallback)
513
520
  @overall_category = args[:overall_category] if args.key?(:overall_category)
514
521
  end
515
522
  end
@@ -266,6 +266,7 @@ module Google
266
266
  property :initial_url, as: 'initial_url'
267
267
  hash :metrics, as: 'metrics', class: Google::Apis::PagespeedonlineV5::UserPageLoadMetricV5, decorator: Google::Apis::PagespeedonlineV5::UserPageLoadMetricV5::Representation
268
268
 
269
+ property :origin_fallback, as: 'origin_fallback'
269
270
  property :overall_category, as: 'overall_category'
270
271
  end
271
272
  end
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/people/
26
26
  module PeopleV1
27
27
  VERSION = 'V1'
28
- REVISION = '20200604'
28
+ REVISION = '20200608'
29
29
 
30
30
  # See, edit, download, and permanently delete your contacts
31
31
  AUTH_CONTACTS = 'https://www.googleapis.com/auth/contacts'
@@ -439,8 +439,8 @@ module Google
439
439
 
440
440
  # Optional. A field mask to restrict which fields on the person are returned.
441
441
  # Multiple
442
- # fields can be specified by separating them with commas. Defaults to empty
443
- # if not set, which will skip the post mutate get. Valid values are:
442
+ # fields can be specified by separating them with commas. Defaults to the
443
+ # copy mask with metadata and membership fields if not set. Valid values are:
444
444
  # * addresses
445
445
  # * ageRanges
446
446
  # * biographies
@@ -470,6 +470,14 @@ module Google
470
470
  # @return [String]
471
471
  attr_accessor :read_mask
472
472
 
473
+ # Optional. A mask of what source types to return. Defaults to
474
+ # ReadSourceType.CONTACT and
475
+ # ReadSourceType.PROFILE if not
476
+ # set.
477
+ # Corresponds to the JSON property `sources`
478
+ # @return [Array<String>]
479
+ attr_accessor :sources
480
+
473
481
  def initialize(**args)
474
482
  update!(**args)
475
483
  end
@@ -478,6 +486,7 @@ module Google
478
486
  def update!(**args)
479
487
  @copy_mask = args[:copy_mask] if args.key?(:copy_mask)
480
488
  @read_mask = args[:read_mask] if args.key?(:read_mask)
489
+ @sources = args[:sources] if args.key?(:sources)
481
490
  end
482
491
  end
483
492
 
@@ -771,6 +780,31 @@ module Google
771
780
  end
772
781
  end
773
782
 
783
+ # The name that should be used to sort the person in a list.
784
+ class FileAs
785
+ include Google::Apis::Core::Hashable
786
+
787
+ # Metadata about a field.
788
+ # Corresponds to the JSON property `metadata`
789
+ # @return [Google::Apis::PeopleV1::FieldMetadata]
790
+ attr_accessor :metadata
791
+
792
+ # The file-as value
793
+ # Corresponds to the JSON property `value`
794
+ # @return [String]
795
+ attr_accessor :value
796
+
797
+ def initialize(**args)
798
+ update!(**args)
799
+ end
800
+
801
+ # Update properties of this object
802
+ def update!(**args)
803
+ @metadata = args[:metadata] if args.key?(:metadata)
804
+ @value = args[:value] if args.key?(:value)
805
+ end
806
+ end
807
+
774
808
  # A person's gender.
775
809
  class Gender
776
810
  include Google::Apis::Core::Hashable
@@ -1013,6 +1047,40 @@ module Google
1013
1047
  end
1014
1048
  end
1015
1049
 
1050
+ # The response to a request for the authenticated user's domain directory.
1051
+ class ListDirectoryPeopleResponse
1052
+ include Google::Apis::Core::Hashable
1053
+
1054
+ # A token, which can be sent as `page_token` to retrieve the next page.
1055
+ # If this field is omitted, there are no subsequent pages.
1056
+ # Corresponds to the JSON property `nextPageToken`
1057
+ # @return [String]
1058
+ attr_accessor :next_page_token
1059
+
1060
+ # A token, which can be sent as `sync_token` to retrieve changes since the
1061
+ # last request. Request must set `request_sync_token` to return the sync
1062
+ # token.
1063
+ # Corresponds to the JSON property `nextSyncToken`
1064
+ # @return [String]
1065
+ attr_accessor :next_sync_token
1066
+
1067
+ # The list of people in the domain directory.
1068
+ # Corresponds to the JSON property `people`
1069
+ # @return [Array<Google::Apis::PeopleV1::Person>]
1070
+ attr_accessor :people
1071
+
1072
+ def initialize(**args)
1073
+ update!(**args)
1074
+ end
1075
+
1076
+ # Update properties of this object
1077
+ def update!(**args)
1078
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1079
+ @next_sync_token = args[:next_sync_token] if args.key?(:next_sync_token)
1080
+ @people = args[:people] if args.key?(:people)
1081
+ end
1082
+ end
1083
+
1016
1084
  # The response to a request for the authenticated user's other contacts.
1017
1085
  class ListOtherContactsResponse
1018
1086
  include Google::Apis::Core::Hashable
@@ -1505,6 +1573,11 @@ module Google
1505
1573
  # @return [Array<Google::Apis::PeopleV1::Event>]
1506
1574
  attr_accessor :events
1507
1575
 
1576
+ # The person's file-ases.
1577
+ # Corresponds to the JSON property `fileAses`
1578
+ # @return [Array<Google::Apis::PeopleV1::FileAs>]
1579
+ attr_accessor :file_ases
1580
+
1508
1581
  # The person's genders.
1509
1582
  # Corresponds to the JSON property `genders`
1510
1583
  # @return [Array<Google::Apis::PeopleV1::Gender>]
@@ -1636,6 +1709,7 @@ module Google
1636
1709
  @email_addresses = args[:email_addresses] if args.key?(:email_addresses)
1637
1710
  @etag = args[:etag] if args.key?(:etag)
1638
1711
  @events = args[:events] if args.key?(:events)
1712
+ @file_ases = args[:file_ases] if args.key?(:file_ases)
1639
1713
  @genders = args[:genders] if args.key?(:genders)
1640
1714
  @im_clients = args[:im_clients] if args.key?(:im_clients)
1641
1715
  @interests = args[:interests] if args.key?(:interests)
@@ -2056,6 +2130,39 @@ module Google
2056
2130
  end
2057
2131
  end
2058
2132
 
2133
+ # The response to a request for people in the authenticated user's domain
2134
+ # directory that match the specified query.
2135
+ class SearchDirectoryPeopleResponse
2136
+ include Google::Apis::Core::Hashable
2137
+
2138
+ # A token, which can be sent as `page_token` to retrieve the next page.
2139
+ # If this field is omitted, there are no subsequent pages.
2140
+ # Corresponds to the JSON property `nextPageToken`
2141
+ # @return [String]
2142
+ attr_accessor :next_page_token
2143
+
2144
+ # The list of people in the domain directory that match the query.
2145
+ # Corresponds to the JSON property `people`
2146
+ # @return [Array<Google::Apis::PeopleV1::Person>]
2147
+ attr_accessor :people
2148
+
2149
+ # The total number of items in the list without pagination.
2150
+ # Corresponds to the JSON property `totalSize`
2151
+ # @return [Fixnum]
2152
+ attr_accessor :total_size
2153
+
2154
+ def initialize(**args)
2155
+ update!(**args)
2156
+ end
2157
+
2158
+ # Update properties of this object
2159
+ def update!(**args)
2160
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2161
+ @people = args[:people] if args.key?(:people)
2162
+ @total_size = args[:total_size] if args.key?(:total_size)
2163
+ end
2164
+ end
2165
+
2059
2166
  # A person's SIP address. Session Initial Protocol addresses are used for VoIP
2060
2167
  # communications to make voice or video calls over the internet.
2061
2168
  class SipAddress
@@ -2302,6 +2409,14 @@ module Google
2302
2409
  # @return [String]
2303
2410
  attr_accessor :photo_bytes
2304
2411
 
2412
+ # Optional. A mask of what source types to return. Defaults to
2413
+ # ReadSourceType.CONTACT and
2414
+ # ReadSourceType.PROFILE if not
2415
+ # set.
2416
+ # Corresponds to the JSON property `sources`
2417
+ # @return [Array<String>]
2418
+ attr_accessor :sources
2419
+
2305
2420
  def initialize(**args)
2306
2421
  update!(**args)
2307
2422
  end
@@ -2310,6 +2425,7 @@ module Google
2310
2425
  def update!(**args)
2311
2426
  @person_fields = args[:person_fields] if args.key?(:person_fields)
2312
2427
  @photo_bytes = args[:photo_bytes] if args.key?(:photo_bytes)
2428
+ @sources = args[:sources] if args.key?(:sources)
2313
2429
  end
2314
2430
  end
2315
2431