google-api-client 0.39.5 → 0.40.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (96) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +34 -0
  3. data/generated/google/apis/apigee_v1.rb +1 -1
  4. data/generated/google/apis/apigee_v1/classes.rb +39 -4
  5. data/generated/google/apis/apigee_v1/representations.rb +5 -0
  6. data/generated/google/apis/apigee_v1/service.rb +15 -13
  7. data/generated/google/apis/bigquery_v2.rb +1 -1
  8. data/generated/google/apis/bigquery_v2/classes.rb +34 -0
  9. data/generated/google/apis/bigquery_v2/representations.rb +3 -0
  10. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  11. data/generated/google/apis/bigqueryreservation_v1/classes.rb +2 -0
  12. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  13. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +2 -0
  14. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  15. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +3 -3
  16. data/generated/google/apis/{pagespeedonline_v2.rb → chromeuxreport_v1.rb} +10 -10
  17. data/generated/google/apis/chromeuxreport_v1/classes.rb +297 -0
  18. data/generated/google/apis/chromeuxreport_v1/representations.rb +147 -0
  19. data/generated/google/apis/chromeuxreport_v1/service.rb +92 -0
  20. data/generated/google/apis/cloudiot_v1.rb +1 -1
  21. data/generated/google/apis/cloudiot_v1/classes.rb +26 -10
  22. data/generated/google/apis/cloudkms_v1.rb +1 -1
  23. data/generated/google/apis/cloudkms_v1/classes.rb +281 -0
  24. data/generated/google/apis/cloudkms_v1/representations.rb +17 -0
  25. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  26. data/generated/google/apis/cloudtasks_v2/classes.rb +2 -2
  27. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  28. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +2 -2
  29. data/generated/google/apis/compute_alpha.rb +1 -1
  30. data/generated/google/apis/compute_alpha/classes.rb +23 -7
  31. data/generated/google/apis/compute_alpha/representations.rb +3 -1
  32. data/generated/google/apis/compute_alpha/service.rb +671 -671
  33. data/generated/google/apis/compute_beta.rb +1 -1
  34. data/generated/google/apis/compute_beta/classes.rb +1 -1
  35. data/generated/google/apis/compute_beta/service.rb +591 -591
  36. data/generated/google/apis/compute_v1.rb +1 -1
  37. data/generated/google/apis/compute_v1/classes.rb +37 -1
  38. data/generated/google/apis/compute_v1/representations.rb +5 -0
  39. data/generated/google/apis/container_v1.rb +1 -1
  40. data/generated/google/apis/container_v1/classes.rb +2 -4
  41. data/generated/google/apis/container_v1beta1.rb +1 -1
  42. data/generated/google/apis/container_v1beta1/classes.rb +27 -4
  43. data/generated/google/apis/container_v1beta1/representations.rb +16 -0
  44. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  45. data/generated/google/apis/dataflow_v1b3/classes.rb +331 -0
  46. data/generated/google/apis/dataflow_v1b3/representations.rb +164 -0
  47. data/generated/google/apis/dataflow_v1b3/service.rb +261 -0
  48. data/generated/google/apis/dialogflow_v2.rb +1 -1
  49. data/generated/google/apis/dialogflow_v2/classes.rb +565 -8
  50. data/generated/google/apis/dialogflow_v2/representations.rb +238 -0
  51. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  52. data/generated/google/apis/dialogflow_v2beta1/classes.rb +565 -8
  53. data/generated/google/apis/dialogflow_v2beta1/representations.rb +238 -0
  54. data/generated/google/apis/dialogflow_v2beta1/service.rb +44 -0
  55. data/generated/google/apis/dialogflow_v3alpha1.rb +1 -1
  56. data/generated/google/apis/dialogflow_v3alpha1/classes.rb +565 -8
  57. data/generated/google/apis/dialogflow_v3alpha1/representations.rb +238 -0
  58. data/generated/google/apis/displayvideo_v1.rb +1 -1
  59. data/generated/google/apis/displayvideo_v1/classes.rb +149 -0
  60. data/generated/google/apis/displayvideo_v1/representations.rb +76 -0
  61. data/generated/google/apis/displayvideo_v1/service.rb +280 -0
  62. data/generated/google/apis/fitness_v1.rb +4 -4
  63. data/generated/google/apis/fitness_v1/classes.rb +185 -158
  64. data/generated/google/apis/fitness_v1/service.rb +187 -215
  65. data/generated/google/apis/healthcare_v1.rb +1 -1
  66. data/generated/google/apis/healthcare_v1/classes.rb +36 -27
  67. data/generated/google/apis/healthcare_v1/service.rb +61 -29
  68. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  69. data/generated/google/apis/healthcare_v1beta1/classes.rb +38 -34
  70. data/generated/google/apis/healthcare_v1beta1/service.rb +162 -144
  71. data/generated/google/apis/homegraph_v1.rb +1 -1
  72. data/generated/google/apis/homegraph_v1/classes.rb +3 -0
  73. data/generated/google/apis/iam_v1.rb +1 -1
  74. data/generated/google/apis/iam_v1/classes.rb +24 -12
  75. data/generated/google/apis/iam_v1/service.rb +7 -0
  76. data/generated/google/apis/monitoring_v3.rb +1 -1
  77. data/generated/google/apis/monitoring_v3/classes.rb +7 -0
  78. data/generated/google/apis/monitoring_v3/representations.rb +1 -0
  79. data/generated/google/apis/spanner_v1.rb +1 -1
  80. data/generated/google/apis/spanner_v1/classes.rb +29 -10
  81. data/generated/google/apis/tpu_v1.rb +1 -1
  82. data/generated/google/apis/tpu_v1/classes.rb +3 -3
  83. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  84. data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -3
  85. data/generated/google/apis/youtube_v3.rb +1 -1
  86. data/generated/google/apis/youtube_v3/classes.rb +26 -26
  87. data/generated/google/apis/youtube_v3/service.rb +1 -36
  88. data/lib/google/apis/version.rb +1 -1
  89. metadata +7 -11
  90. data/generated/google/apis/pagespeedonline_v2/classes.rb +0 -621
  91. data/generated/google/apis/pagespeedonline_v2/representations.rb +0 -273
  92. data/generated/google/apis/pagespeedonline_v2/service.rb +0 -116
  93. data/generated/google/apis/pagespeedonline_v4.rb +0 -32
  94. data/generated/google/apis/pagespeedonline_v4/classes.rb +0 -795
  95. data/generated/google/apis/pagespeedonline_v4/representations.rb +0 -335
  96. data/generated/google/apis/pagespeedonline_v4/service.rb +0 -125
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 67b10ad86aa1f13a7918a6319b0f039fa581f8712228f2038eb3e9a773ef6fba
4
- data.tar.gz: 65c81b910cac0616236021bcb2191c296f8b88b3443279116d4eb8e50a9a7b63
3
+ metadata.gz: 683f8d4a46b3b6c185efd874e6a0f082d3c0ffbf43c3480a3384827fd5b1f0ff
4
+ data.tar.gz: 6dbe9cf3fc8bc1fdff9739f00c84f199a9befbfe492ea4081ff381735b58d343
5
5
  SHA512:
6
- metadata.gz: 4f0456f6c643f49d7883b566ee4351a669e74a24b2dbb10b5d6b9563adabf75ab00f2afa520d0cfa8837dbd12f68368014c39f84fa2d30af580ac657c3e39e91
7
- data.tar.gz: 4e2d4ca3df1120a40d506e7f9fbb36fe9934c1092b8388d57444a8e83263e8b5716ee4d0ceadb74f773f8cb8797ca26013727b5e86c41628668b56d037acb2d4
6
+ metadata.gz: e21e0c3d5911e2eea3d389b9646352c3016e8f76ad247033e6c8072a5beba74b7d17c8247f44ce521229f02ec5ed0bd88a3005ecfd19d05922063db7a6dddf87
7
+ data.tar.gz: 178a67ca7dcbcf1fe22fbed873539657cc94eac384baa4a6e4d1c67fa0424428f4b65cd031208d9d61baadfb631db0de625075bbb3629907d23706e694cf8761
@@ -1,3 +1,37 @@
1
+ # 0.40.0
2
+ * Breaking changes:
3
+ * Deleted `pagespeedonline_v4`
4
+ * Backwards compatible changes:
5
+ * Updated `apigee_v1`
6
+ * Updated `bigquery_v2`
7
+ * Updated `bigqueryreservation_v1`
8
+ * Updated `bigqueryreservation_v1beta1`
9
+ * Updated `billingbudgets_v1beta1`
10
+ * Updated `cloudiot_v1`
11
+ * Updated `cloudkms_v1`
12
+ * Updated `cloudtasks_v2`
13
+ * Updated `cloudtasks_v2beta3`
14
+ * Updated `compute_alpha`
15
+ * Updated `compute_beta`
16
+ * Updated `compute_v1`
17
+ * Updated `container_v1`
18
+ * Updated `container_v1beta1`
19
+ * Updated `dataflow_v1b3`
20
+ * Updated `dialogflow_v2`
21
+ * Updated `dialogflow_v2beta1`
22
+ * Updated `dialogflow_v3alpha1`
23
+ * Updated `displayvideo_v1`
24
+ * Updated `fitness_v1`
25
+ * Updated `healthcare_v1`
26
+ * Updated `healthcare_v1beta1`
27
+ * Updated `homegraph_v1`
28
+ * Updated `iam_v1`
29
+ * Updated `monitoring_v3`
30
+ * Updated `spanner_v1`
31
+ * Updated `tpu_v1`
32
+ * Updated `tpu_v1alpha1`
33
+ * Updated `youtube_v3`
34
+
1
35
  # 0.39.5
2
36
  * Backwards compatible changes:
3
37
  * Added `artifactregistry_v1beta1`
@@ -31,7 +31,7 @@ module Google
31
31
  # @see https://cloud.google.com/apigee-api-management/
32
32
  module ApigeeV1
33
33
  VERSION = 'V1'
34
- REVISION = '20200514'
34
+ REVISION = '20200521'
35
35
 
36
36
  # View and manage your data across Google Cloud Platform services
37
37
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -1596,6 +1596,17 @@ module Google
1596
1596
  # @return [String]
1597
1597
  attr_accessor :name
1598
1598
 
1599
+ # The uid of the proxy revision.
1600
+ # Corresponds to the JSON property `proxyUid`
1601
+ # @return [String]
1602
+ attr_accessor :proxy_uid
1603
+
1604
+ # A unique id that will only change if the deployment is deleted and
1605
+ # recreated.
1606
+ # Corresponds to the JSON property `uid`
1607
+ # @return [String]
1608
+ attr_accessor :uid
1609
+
1599
1610
  def initialize(**args)
1600
1611
  update!(**args)
1601
1612
  end
@@ -1606,6 +1617,8 @@ module Google
1606
1617
  @base_path = args[:base_path] if args.key?(:base_path)
1607
1618
  @location = args[:location] if args.key?(:location)
1608
1619
  @name = args[:name] if args.key?(:name)
1620
+ @proxy_uid = args[:proxy_uid] if args.key?(:proxy_uid)
1621
+ @uid = args[:uid] if args.key?(:uid)
1609
1622
  end
1610
1623
  end
1611
1624
 
@@ -1816,6 +1829,10 @@ module Google
1816
1829
  include Google::Apis::Core::Hashable
1817
1830
 
1818
1831
  # List of API products for which the credential can be used.
1832
+ # **Note**: Do not specify the list of API products when creating a consumer
1833
+ # key and secret for a developer app. Instead, use the
1834
+ # UpdateDeveloperAppKey API to
1835
+ # make the association after the consumer key and secret are created.
1819
1836
  # Corresponds to the JSON property `apiProducts`
1820
1837
  # @return [Array<Object>]
1821
1838
  attr_accessor :api_products
@@ -2044,10 +2061,14 @@ module Google
2044
2061
  # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1ResourceConfig>]
2045
2062
  attr_accessor :resources
2046
2063
 
2047
- # A sequence number that defines an ordering on environment configs. No two
2048
- # configs under an environment will ever have the same sequence number.
2049
- # A higher sequence number means that the config was deployed more
2050
- # recently than one with a lower sequence number.
2064
+ # Revision id that defines the ordering on the environment config.
2065
+ # The higher the revision, the more recently the configuration
2066
+ # was deployed.
2067
+ # Corresponds to the JSON property `revisionId`
2068
+ # @return [Fixnum]
2069
+ attr_accessor :revision_id
2070
+
2071
+ # DEPRECATED: use revision_id
2051
2072
  # Corresponds to the JSON property `sequenceNumber`
2052
2073
  # @return [Fixnum]
2053
2074
  attr_accessor :sequence_number
@@ -2058,6 +2079,12 @@ module Google
2058
2079
  # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1TargetServerConfig>]
2059
2080
  attr_accessor :targets
2060
2081
 
2082
+ # A unique id for the environment config that will only change if the
2083
+ # environment is deleted and recreated.
2084
+ # Corresponds to the JSON property `uid`
2085
+ # @return [String]
2086
+ attr_accessor :uid
2087
+
2061
2088
  def initialize(**args)
2062
2089
  update!(**args)
2063
2090
  end
@@ -2075,8 +2102,10 @@ module Google
2075
2102
  @pubsub_topic = args[:pubsub_topic] if args.key?(:pubsub_topic)
2076
2103
  @resource_references = args[:resource_references] if args.key?(:resource_references)
2077
2104
  @resources = args[:resources] if args.key?(:resources)
2105
+ @revision_id = args[:revision_id] if args.key?(:revision_id)
2078
2106
  @sequence_number = args[:sequence_number] if args.key?(:sequence_number)
2079
2107
  @targets = args[:targets] if args.key?(:targets)
2108
+ @uid = args[:uid] if args.key?(:uid)
2080
2109
  end
2081
2110
  end
2082
2111
 
@@ -3693,6 +3722,11 @@ module Google
3693
3722
  # @return [Fixnum]
3694
3723
  attr_accessor :created_at
3695
3724
 
3725
+ # Description of the shared flow revision.
3726
+ # Corresponds to the JSON property `description`
3727
+ # @return [String]
3728
+ attr_accessor :description
3729
+
3696
3730
  # The human readable name of this shared flow.
3697
3731
  # Corresponds to the JSON property `displayName`
3698
3732
  # @return [String]
@@ -3754,6 +3788,7 @@ module Google
3754
3788
  @configuration_version = args[:configuration_version] if args.key?(:configuration_version)
3755
3789
  @context_info = args[:context_info] if args.key?(:context_info)
3756
3790
  @created_at = args[:created_at] if args.key?(:created_at)
3791
+ @description = args[:description] if args.key?(:description)
3757
3792
  @display_name = args[:display_name] if args.key?(:display_name)
3758
3793
  @entity_meta_data_as_properties = args[:entity_meta_data_as_properties] if args.key?(:entity_meta_data_as_properties)
3759
3794
  @last_modified_at = args[:last_modified_at] if args.key?(:last_modified_at)
@@ -1017,6 +1017,8 @@ module Google
1017
1017
  property :base_path, as: 'basePath'
1018
1018
  property :location, as: 'location'
1019
1019
  property :name, as: 'name'
1020
+ property :proxy_uid, as: 'proxyUid'
1021
+ property :uid, as: 'uid'
1020
1022
  end
1021
1023
  end
1022
1024
 
@@ -1128,9 +1130,11 @@ module Google
1128
1130
 
1129
1131
  collection :resources, as: 'resources', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ResourceConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ResourceConfig::Representation
1130
1132
 
1133
+ property :revision_id, :numeric_string => true, as: 'revisionId'
1131
1134
  property :sequence_number, :numeric_string => true, as: 'sequenceNumber'
1132
1135
  collection :targets, as: 'targets', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1TargetServerConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1TargetServerConfig::Representation
1133
1136
 
1137
+ property :uid, as: 'uid'
1134
1138
  end
1135
1139
  end
1136
1140
 
@@ -1590,6 +1594,7 @@ module Google
1590
1594
 
1591
1595
  property :context_info, as: 'contextInfo'
1592
1596
  property :created_at, :numeric_string => true, as: 'createdAt'
1597
+ property :description, as: 'description'
1593
1598
  property :display_name, as: 'displayName'
1594
1599
  hash :entity_meta_data_as_properties, as: 'entityMetaDataAsProperties'
1595
1600
  property :last_modified_at, :numeric_string => true, as: 'lastModifiedAt'
@@ -2101,12 +2101,13 @@ module Google
2101
2101
  # particularly useful if you want to migrate existing consumer keys and
2102
2102
  # secrets to Apigee hybrid from another system.
2103
2103
  # Consumer keys and secrets can contain letters, numbers, underscores, and
2104
- # hyphens. No other special characters are allowed.
2105
- # **Note**: To avoid service disruptions, a consumer key and secret
2106
- # should not exceed 2 KBs each.
2107
- # After creating the consumer key and secret, associate the key with
2108
- # an API product using the
2109
- # UpdateDeveloperAppKey API.
2104
+ # hyphens. No other special characters are allowed. To avoid service
2105
+ # disruptions, a consumer key and secret should not exceed 2 KBs each.
2106
+ # **Note**: When creating the consumer key and secret, an association to
2107
+ # API products will not be made. Therefore, you should not specify the
2108
+ # associated API products in your request. Instead, use the
2109
+ # UpdateDeveloperAppKey API to
2110
+ # make the association after the consumer key and secret are created.
2110
2111
  # If a consumer key and secret already exist, you can keep them or
2111
2112
  # delete them using the
2112
2113
  # DeleteDeveloperAppKey API.
@@ -2385,12 +2386,13 @@ module Google
2385
2386
  # particularly useful if you want to migrate existing consumer keys and
2386
2387
  # secrets to Apigee hybrid from another system.
2387
2388
  # Consumer keys and secrets can contain letters, numbers, underscores, and
2388
- # hyphens. No other special characters are allowed.
2389
- # **Note**: To avoid service disruptions, a consumer key and secret
2390
- # should not exceed 2 KBs each.
2391
- # After creating the consumer key and secret, associate the key with
2392
- # an API product using the
2393
- # UpdateDeveloperAppKey API.
2389
+ # hyphens. No other special characters are allowed. To avoid service
2390
+ # disruptions, a consumer key and secret should not exceed 2 KBs each.
2391
+ # **Note**: When creating the consumer key and secret, an association to
2392
+ # API products will not be made. Therefore, you should not specify the
2393
+ # associated API products in your request. Instead, use the
2394
+ # UpdateDeveloperAppKey API to
2395
+ # make the association after the consumer key and secret are created.
2394
2396
  # If a consumer key and secret already exist, you can keep them or
2395
2397
  # delete them using the
2396
2398
  # DeleteDeveloperAppKey API.
@@ -2575,7 +2577,7 @@ module Google
2575
2577
  # @param [String] name
2576
2578
  # Optional. Name of the environment. Alternatively, the name may
2577
2579
  # be specified in the request body in the
2578
- # environment_id field.
2580
+ # name field.
2579
2581
  # @param [String] fields
2580
2582
  # Selector specifying which fields to include in a partial response.
2581
2583
  # @param [String] quota_user
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/bigquery/
26
26
  module BigqueryV2
27
27
  VERSION = 'V2'
28
- REVISION = '20200514'
28
+ REVISION = '20200523'
29
29
 
30
30
  # View and manage your data in Google BigQuery
31
31
  AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
@@ -4684,6 +4684,15 @@ module Google
4684
4684
  # @return [String]
4685
4685
  attr_accessor :kind
4686
4686
 
4687
+ # The labels associated with this job. You can use these to organize and group
4688
+ # your jobs. Label keys and values can be no longer than 63 characters, can only
4689
+ # contain lowercase letters, numeric characters, underscores and dashes.
4690
+ # International characters are allowed. Label values are optional. Label keys
4691
+ # must start with a letter and each label in the list must have a different key.
4692
+ # Corresponds to the JSON property `labels`
4693
+ # @return [Hash<String,String>]
4694
+ attr_accessor :labels
4695
+
4687
4696
  # The geographic location where the job should run. See details at https://cloud.
4688
4697
  # google.com/bigquery/docs/locations#specifying_your_location.
4689
4698
  # Corresponds to the JSON property `location`
@@ -4699,6 +4708,13 @@ module Google
4699
4708
  # @return [Fixnum]
4700
4709
  attr_accessor :max_results
4701
4710
 
4711
+ # [Optional] Limits the bytes billed for this job. Queries that will have bytes
4712
+ # billed beyond this limit will fail (without incurring a charge). If
4713
+ # unspecified, this will be set to your project default.
4714
+ # Corresponds to the JSON property `maximumBytesBilled`
4715
+ # @return [Fixnum]
4716
+ attr_accessor :maximum_bytes_billed
4717
+
4702
4718
  # Standard SQL only. Set to POSITIONAL to use positional (?) query parameters or
4703
4719
  # to NAMED to use named (@myparam) query parameters in this query.
4704
4720
  # Corresponds to the JSON property `parameterMode`
@@ -4723,6 +4739,21 @@ module Google
4723
4739
  # @return [Array<Google::Apis::BigqueryV2::QueryParameter>]
4724
4740
  attr_accessor :query_parameters
4725
4741
 
4742
+ # A unique user provided identifier to ensure idempotent behavior for queries.
4743
+ # Note that this is different from the job_id. It has the following properties:
4744
+ # 1. It is case-sensitive, limited to up to 36 ASCII characters. A UUID is
4745
+ # recommended. 2. Read only queries can ignore this token since they are
4746
+ # nullipotent by definition. 3. When a duplicate mutating query request is
4747
+ # detected (i.e. having the same request_id as an earlier query), it returns: a.
4748
+ # the results of the mutation if it completes successfully within the timeout. b.
4749
+ # the running operation if it is still in progress at the end of the timeout. 4.
4750
+ # Its lifetime is limited to 15 minutes. In other words, if two requests are
4751
+ # sent with the same request_id, but more than 15 minutes apart, idempotency is
4752
+ # not guaranteed.
4753
+ # Corresponds to the JSON property `requestId`
4754
+ # @return [String]
4755
+ attr_accessor :request_id
4756
+
4726
4757
  # [Optional] How long to wait for the query to complete, in milliseconds, before
4727
4758
  # the request times out and returns. Note that this is only a timeout for the
4728
4759
  # request, not the query. If the query takes longer to run than the timeout
@@ -4761,12 +4792,15 @@ module Google
4761
4792
  @default_dataset = args[:default_dataset] if args.key?(:default_dataset)
4762
4793
  @dry_run = args[:dry_run] if args.key?(:dry_run)
4763
4794
  @kind = args[:kind] if args.key?(:kind)
4795
+ @labels = args[:labels] if args.key?(:labels)
4764
4796
  @location = args[:location] if args.key?(:location)
4765
4797
  @max_results = args[:max_results] if args.key?(:max_results)
4798
+ @maximum_bytes_billed = args[:maximum_bytes_billed] if args.key?(:maximum_bytes_billed)
4766
4799
  @parameter_mode = args[:parameter_mode] if args.key?(:parameter_mode)
4767
4800
  @preserve_nulls = args[:preserve_nulls] if args.key?(:preserve_nulls)
4768
4801
  @query = args[:query] if args.key?(:query)
4769
4802
  @query_parameters = args[:query_parameters] if args.key?(:query_parameters)
4803
+ @request_id = args[:request_id] if args.key?(:request_id)
4770
4804
  @timeout_ms = args[:timeout_ms] if args.key?(:timeout_ms)
4771
4805
  @use_legacy_sql = args[:use_legacy_sql] if args.key?(:use_legacy_sql)
4772
4806
  @use_query_cache = args[:use_query_cache] if args.key?(:use_query_cache)
@@ -1877,13 +1877,16 @@ module Google
1877
1877
 
1878
1878
  property :dry_run, as: 'dryRun'
1879
1879
  property :kind, as: 'kind'
1880
+ hash :labels, as: 'labels'
1880
1881
  property :location, as: 'location'
1881
1882
  property :max_results, as: 'maxResults'
1883
+ property :maximum_bytes_billed, :numeric_string => true, as: 'maximumBytesBilled'
1882
1884
  property :parameter_mode, as: 'parameterMode'
1883
1885
  property :preserve_nulls, as: 'preserveNulls'
1884
1886
  property :query, as: 'query'
1885
1887
  collection :query_parameters, as: 'queryParameters', class: Google::Apis::BigqueryV2::QueryParameter, decorator: Google::Apis::BigqueryV2::QueryParameter::Representation
1886
1888
 
1889
+ property :request_id, as: 'requestId'
1887
1890
  property :timeout_ms, as: 'timeoutMs'
1888
1891
  property :use_legacy_sql, as: 'useLegacySql'
1889
1892
  property :use_query_cache, as: 'useQueryCache'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/bigquery/
26
26
  module BigqueryreservationV1
27
27
  VERSION = 'V1'
28
- REVISION = '20200516'
28
+ REVISION = '20200519'
29
29
 
30
30
  # View and manage your data in Google BigQuery
31
31
  AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
@@ -317,6 +317,8 @@ module Google
317
317
  # Ids of capacity commitments to merge.
318
318
  # These capacity commitments must exist under admin project and location
319
319
  # specified in the parent.
320
+ # ID is the last portion of capacity commitment name e.g., 'abc' for
321
+ # projects/myproject/locations/US/capacityCommitments/abc
320
322
  # Corresponds to the JSON property `capacityCommitmentIds`
321
323
  # @return [Array<String>]
322
324
  attr_accessor :capacity_commitment_ids
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/bigquery/
26
26
  module BigqueryreservationV1beta1
27
27
  VERSION = 'V1beta1'
28
- REVISION = '20200516'
28
+ REVISION = '20200519'
29
29
 
30
30
  # View and manage your data in Google BigQuery
31
31
  AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
@@ -292,6 +292,8 @@ module Google
292
292
  # Ids of capacity commitments to merge.
293
293
  # These capacity commitments must exist under admin project and location
294
294
  # specified in the parent.
295
+ # ID is the last portion of capacity commitment name e.g., 'abc' for
296
+ # projects/myproject/locations/US/capacityCommitments/abc
295
297
  # Corresponds to the JSON property `capacityCommitmentIds`
296
298
  # @return [Array<String>]
297
299
  attr_accessor :capacity_commitment_ids
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/billing/docs/how-to/budget-api-overview
27
27
  module BillingbudgetsV1beta1
28
28
  VERSION = 'V1beta1'
29
- REVISION = '20200516'
29
+ REVISION = '20200522'
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'
@@ -192,9 +192,9 @@ module Google
192
192
 
193
193
  # Optional. A single label and value pair specifying that usage from only this
194
194
  # set of
195
- # labeled resources should be included in the budget. Multiple entries or
196
- # multiple values per entry are not allowed. If omitted, the report will
197
- # include all labeled and unlabeled usage.
195
+ # labeled resources should be included in the budget. Currently, multiple
196
+ # entries or multiple values per entry are not allowed. If omitted, the
197
+ # report will include all labeled and unlabeled usage.
198
198
  # Corresponds to the JSON property `labels`
199
199
  # @return [Hash<String,Array<Object>>]
200
200
  attr_accessor :labels
@@ -12,21 +12,21 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
- require 'google/apis/pagespeedonline_v2/service.rb'
16
- require 'google/apis/pagespeedonline_v2/classes.rb'
17
- require 'google/apis/pagespeedonline_v2/representations.rb'
15
+ require 'google/apis/chromeuxreport_v1/service.rb'
16
+ require 'google/apis/chromeuxreport_v1/classes.rb'
17
+ require 'google/apis/chromeuxreport_v1/representations.rb'
18
18
 
19
19
  module Google
20
20
  module Apis
21
- # PageSpeed Insights API
21
+ # Chrome UX Report API
22
22
  #
23
- # Analyzes the performance of a web page and provides tailored suggestions to
24
- # make that page faster.
23
+ # The Chrome UX Report API lets you view real user experience data for millions
24
+ # of websites.
25
25
  #
26
- # @see https://developers.google.com/speed/docs/insights/v2/getting-started
27
- module PagespeedonlineV2
28
- VERSION = 'V2'
29
- REVISION = '20180606'
26
+ # @see https://developers.google.com/web/tools/chrome-user-experience-report/api/reference
27
+ module ChromeuxreportV1
28
+ VERSION = 'V1'
29
+ REVISION = '20200528'
30
30
  end
31
31
  end
32
32
  end
@@ -0,0 +1,297 @@
1
+ # Copyright 2015 Google Inc.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'date'
16
+ require 'google/apis/core/base_service'
17
+ require 'google/apis/core/json_representation'
18
+ require 'google/apis/core/hashable'
19
+ require 'google/apis/errors'
20
+
21
+ module Google
22
+ module Apis
23
+ module ChromeuxreportV1
24
+
25
+ # A bin is a discrete portion of data spanning from start to end, or if no
26
+ # end is given, then from start to +inf.
27
+ # A bin's start and end values are given in the value type of the metric it
28
+ # represents. For example, "first contentful paint" is measured in
29
+ # milliseconds and exposed as ints, therefore its metric bins will use int32s
30
+ # for its start and end types. However, "cumulative layout shift" is measured
31
+ # in unitless decimals and is exposed as a decimal encoded as a string,
32
+ # therefore its metric bins will use strings for its value type.
33
+ class Bin
34
+ include Google::Apis::Core::Hashable
35
+
36
+ # The proportion of users that experienced this bin's value for the given
37
+ # metric.
38
+ # Corresponds to the JSON property `density`
39
+ # @return [Float]
40
+ attr_accessor :density
41
+
42
+ # End is the end of the data bin. If end is not populated, then the bin has
43
+ # no end and is valid from start to +inf.
44
+ # Corresponds to the JSON property `end`
45
+ # @return [Object]
46
+ attr_accessor :end
47
+
48
+ # Start is the beginning of the data bin.
49
+ # Corresponds to the JSON property `start`
50
+ # @return [Object]
51
+ attr_accessor :start
52
+
53
+ def initialize(**args)
54
+ update!(**args)
55
+ end
56
+
57
+ # Update properties of this object
58
+ def update!(**args)
59
+ @density = args[:density] if args.key?(:density)
60
+ @end = args[:end] if args.key?(:end)
61
+ @start = args[:start] if args.key?(:start)
62
+ end
63
+ end
64
+
65
+ # Key defines all the dimensions that identify this record as unique.
66
+ class Key
67
+ include Google::Apis::Core::Hashable
68
+
69
+ # The form factor is the device class that all users used to access the
70
+ # site for this record.
71
+ # If the form factor is unspecified, then aggregated data over all form
72
+ # factors will be returned.
73
+ # Corresponds to the JSON property `formFactor`
74
+ # @return [String]
75
+ attr_accessor :form_factor
76
+
77
+ # Origin specifies the origin that this record is for.
78
+ # Note: When specifying an origin, data for loads under this origin over
79
+ # all pages are aggregated into origin level user experience data.
80
+ # Corresponds to the JSON property `origin`
81
+ # @return [String]
82
+ attr_accessor :origin
83
+
84
+ # Url specifies a specific url that this record is for.
85
+ # Note: When specifying a "url" only data for that specific url will be
86
+ # aggregated.
87
+ # Corresponds to the JSON property `url`
88
+ # @return [String]
89
+ attr_accessor :url
90
+
91
+ def initialize(**args)
92
+ update!(**args)
93
+ end
94
+
95
+ # Update properties of this object
96
+ def update!(**args)
97
+ @form_factor = args[:form_factor] if args.key?(:form_factor)
98
+ @origin = args[:origin] if args.key?(:origin)
99
+ @url = args[:url] if args.key?(:url)
100
+ end
101
+ end
102
+
103
+ # A `metric` is a set of user experience data for a single web performance
104
+ # metric, like "first contentful paint". It contains a summary histogram of
105
+ # real world Chrome usage as a series of `bins`.
106
+ class Metric
107
+ include Google::Apis::Core::Hashable
108
+
109
+ # The histogram of user experiences for a metric. The histogram will have at
110
+ # least one bin and the densities of all bins will add up to ~1.
111
+ # Corresponds to the JSON property `histogram`
112
+ # @return [Array<Google::Apis::ChromeuxreportV1::Bin>]
113
+ attr_accessor :histogram
114
+
115
+ # Percentiles contains synthetic values of a metric at a given statistical
116
+ # percentile. These are used for estimating a metric's value as experienced
117
+ # by a percentage of users out of the total number of users.
118
+ # Corresponds to the JSON property `percentiles`
119
+ # @return [Google::Apis::ChromeuxreportV1::Percentiles]
120
+ attr_accessor :percentiles
121
+
122
+ def initialize(**args)
123
+ update!(**args)
124
+ end
125
+
126
+ # Update properties of this object
127
+ def update!(**args)
128
+ @histogram = args[:histogram] if args.key?(:histogram)
129
+ @percentiles = args[:percentiles] if args.key?(:percentiles)
130
+ end
131
+ end
132
+
133
+ # Percentiles contains synthetic values of a metric at a given statistical
134
+ # percentile. These are used for estimating a metric's value as experienced
135
+ # by a percentage of users out of the total number of users.
136
+ class Percentiles
137
+ include Google::Apis::Core::Hashable
138
+
139
+ # 75% of users experienced the given metric at or below this value.
140
+ # Corresponds to the JSON property `p75`
141
+ # @return [Object]
142
+ attr_accessor :p75
143
+
144
+ def initialize(**args)
145
+ update!(**args)
146
+ end
147
+
148
+ # Update properties of this object
149
+ def update!(**args)
150
+ @p75 = args[:p75] if args.key?(:p75)
151
+ end
152
+ end
153
+
154
+ # Request payload sent by a physical web client.
155
+ # This request includes all necessary context to load a particular
156
+ # user experience record.
157
+ class QueryRequest
158
+ include Google::Apis::Core::Hashable
159
+
160
+ # The form factor is a query dimension that specifies the device class that
161
+ # the record's data should belong to.
162
+ # Note: If no form factor is specified, then a special record with
163
+ # aggregated data over all form factors will be returned.
164
+ # Corresponds to the JSON property `formFactor`
165
+ # @return [String]
166
+ attr_accessor :form_factor
167
+
168
+ # The metrics that should be included in the response.
169
+ # If none are specified then any metrics found will be returned.
170
+ # Allowed values: ["first_contentful_paint",
171
+ # "first_input_delay", "largest_contentful_paint",
172
+ # "cumulative_layout_shift"]
173
+ # Corresponds to the JSON property `metrics`
174
+ # @return [Array<String>]
175
+ attr_accessor :metrics
176
+
177
+ # The url pattern "origin" refers to a url pattern that is the origin of
178
+ # a website.
179
+ # Examples: "https://example.com", "https://cloud.google.com"
180
+ # Corresponds to the JSON property `origin`
181
+ # @return [String]
182
+ attr_accessor :origin
183
+
184
+ # The url pattern "url" refers to a url pattern that is any arbitrary url.
185
+ # Examples: "https://example.com/",
186
+ # "https://cloud.google.com/why-google-cloud/"
187
+ # Corresponds to the JSON property `url`
188
+ # @return [String]
189
+ attr_accessor :url
190
+
191
+ def initialize(**args)
192
+ update!(**args)
193
+ end
194
+
195
+ # Update properties of this object
196
+ def update!(**args)
197
+ @form_factor = args[:form_factor] if args.key?(:form_factor)
198
+ @metrics = args[:metrics] if args.key?(:metrics)
199
+ @origin = args[:origin] if args.key?(:origin)
200
+ @url = args[:url] if args.key?(:url)
201
+ end
202
+ end
203
+
204
+ # Response payload sent back to a physical web client.
205
+ # This response contains the record found based on the identiers present in a
206
+ # `QueryRequest`. The returned response will have a record, and sometimes
207
+ # details on normalization actions taken on the request that were necessary to
208
+ # make the request successful.
209
+ class QueryResponse
210
+ include Google::Apis::Core::Hashable
211
+
212
+ # Record is a single Chrome UX report data record. It contains use experience
213
+ # statistics for a single url pattern and set of dimensions.
214
+ # Corresponds to the JSON property `record`
215
+ # @return [Google::Apis::ChromeuxreportV1::Record]
216
+ attr_accessor :record
217
+
218
+ # Object representing the normalization actions taken to normalize a url to
219
+ # achieve a higher chance of successful lookup. These are simple automated
220
+ # changes that are taken when looking up the provided `url_patten` would be
221
+ # known to fail. Complex actions like following redirects are not handled.
222
+ # Corresponds to the JSON property `urlNormalizationDetails`
223
+ # @return [Google::Apis::ChromeuxreportV1::UrlNormalization]
224
+ attr_accessor :url_normalization_details
225
+
226
+ def initialize(**args)
227
+ update!(**args)
228
+ end
229
+
230
+ # Update properties of this object
231
+ def update!(**args)
232
+ @record = args[:record] if args.key?(:record)
233
+ @url_normalization_details = args[:url_normalization_details] if args.key?(:url_normalization_details)
234
+ end
235
+ end
236
+
237
+ # Record is a single Chrome UX report data record. It contains use experience
238
+ # statistics for a single url pattern and set of dimensions.
239
+ class Record
240
+ include Google::Apis::Core::Hashable
241
+
242
+ # Key defines all the dimensions that identify this record as unique.
243
+ # Corresponds to the JSON property `key`
244
+ # @return [Google::Apis::ChromeuxreportV1::Key]
245
+ attr_accessor :key
246
+
247
+ # Metrics is the map of user experience data available for the record defined
248
+ # in the key field. Metrics are keyed on the metric name.
249
+ # Allowed key values: ["first_contentful_paint",
250
+ # "first_input_delay", "largest_contentful_paint",
251
+ # "cumulative_layout_shift"]
252
+ # Corresponds to the JSON property `metrics`
253
+ # @return [Hash<String,Google::Apis::ChromeuxreportV1::Metric>]
254
+ attr_accessor :metrics
255
+
256
+ def initialize(**args)
257
+ update!(**args)
258
+ end
259
+
260
+ # Update properties of this object
261
+ def update!(**args)
262
+ @key = args[:key] if args.key?(:key)
263
+ @metrics = args[:metrics] if args.key?(:metrics)
264
+ end
265
+ end
266
+
267
+ # Object representing the normalization actions taken to normalize a url to
268
+ # achieve a higher chance of successful lookup. These are simple automated
269
+ # changes that are taken when looking up the provided `url_patten` would be
270
+ # known to fail. Complex actions like following redirects are not handled.
271
+ class UrlNormalization
272
+ include Google::Apis::Core::Hashable
273
+
274
+ # The URL after any normalization actions. This is a valid user experience
275
+ # URL that could reasonably be looked up.
276
+ # Corresponds to the JSON property `normalizedUrl`
277
+ # @return [String]
278
+ attr_accessor :normalized_url
279
+
280
+ # The original requested URL prior to any normalization actions.
281
+ # Corresponds to the JSON property `originalUrl`
282
+ # @return [String]
283
+ attr_accessor :original_url
284
+
285
+ def initialize(**args)
286
+ update!(**args)
287
+ end
288
+
289
+ # Update properties of this object
290
+ def update!(**args)
291
+ @normalized_url = args[:normalized_url] if args.key?(:normalized_url)
292
+ @original_url = args[:original_url] if args.key?(:original_url)
293
+ end
294
+ end
295
+ end
296
+ end
297
+ end