google-api-client 0.49.0 → 0.50.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (200) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +81 -0
  3. data/generated/google/apis/accessapproval_v1.rb +1 -1
  4. data/generated/google/apis/accessapproval_v1/service.rb +12 -9
  5. data/generated/google/apis/admob_v1.rb +4 -1
  6. data/generated/google/apis/admob_v1/service.rb +4 -0
  7. data/generated/google/apis/admob_v1beta.rb +38 -0
  8. data/generated/google/apis/admob_v1beta/classes.rb +1035 -0
  9. data/generated/google/apis/admob_v1beta/representations.rb +472 -0
  10. data/generated/google/apis/admob_v1beta/service.rb +279 -0
  11. data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
  12. data/generated/google/apis/analyticsdata_v1alpha/classes.rb +8 -32
  13. data/generated/google/apis/analyticsdata_v1alpha/representations.rb +0 -16
  14. data/generated/google/apis/analyticsdata_v1alpha/service.rb +3 -32
  15. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  16. data/generated/google/apis/androidenterprise_v1/classes.rb +6 -0
  17. data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
  18. data/generated/google/apis/apigee_v1.rb +1 -1
  19. data/generated/google/apis/apigee_v1/classes.rb +114 -11
  20. data/generated/google/apis/apigee_v1/representations.rb +39 -1
  21. data/generated/google/apis/apigee_v1/service.rb +370 -2
  22. data/generated/google/apis/area120tables_v1alpha1.rb +1 -1
  23. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  24. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +0 -6
  25. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +0 -1
  26. data/generated/google/apis/assuredworkloads_v1beta1.rb +1 -1
  27. data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +22 -10
  28. data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +2 -0
  29. data/generated/google/apis/assuredworkloads_v1beta1/service.rb +1 -5
  30. data/generated/google/apis/billingbudgets_v1.rb +1 -1
  31. data/generated/google/apis/billingbudgets_v1/classes.rb +6 -6
  32. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  33. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +6 -6
  34. data/generated/google/apis/cloudasset_v1.rb +1 -1
  35. data/generated/google/apis/cloudasset_v1/classes.rb +425 -6
  36. data/generated/google/apis/cloudasset_v1/representations.rb +170 -1
  37. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  38. data/generated/google/apis/cloudasset_v1beta1/classes.rb +0 -6
  39. data/generated/google/apis/cloudasset_v1beta1/representations.rb +0 -1
  40. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  41. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +0 -6
  42. data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +0 -1
  43. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  44. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +0 -6
  45. data/generated/google/apis/cloudasset_v1p4beta1/representations.rb +0 -1
  46. data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
  47. data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +0 -6
  48. data/generated/google/apis/cloudasset_v1p5beta1/representations.rb +0 -1
  49. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  50. data/generated/google/apis/cloudfunctions_v1/classes.rb +0 -6
  51. data/generated/google/apis/cloudfunctions_v1/representations.rb +0 -1
  52. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  53. data/generated/google/apis/cloudidentity_v1/service.rb +7 -3
  54. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  55. data/generated/google/apis/cloudidentity_v1beta1/service.rb +7 -3
  56. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  57. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +323 -6
  58. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +248 -1
  59. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  60. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +323 -6
  61. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +248 -1
  62. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  63. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +323 -6
  64. data/generated/google/apis/cloudresourcemanager_v2/representations.rb +248 -1
  65. data/generated/google/apis/cloudresourcemanager_v2/service.rb +5 -5
  66. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  67. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +323 -6
  68. data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +248 -1
  69. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +5 -5
  70. data/generated/google/apis/compute_v1.rb +1 -1
  71. data/generated/google/apis/compute_v1/classes.rb +35 -13
  72. data/generated/google/apis/compute_v1/representations.rb +2 -0
  73. data/generated/google/apis/compute_v1/service.rb +2 -1
  74. data/generated/google/apis/content_v2.rb +1 -1
  75. data/generated/google/apis/content_v2/service.rb +3 -1
  76. data/generated/google/apis/content_v2_1.rb +1 -1
  77. data/generated/google/apis/content_v2_1/classes.rb +446 -4
  78. data/generated/google/apis/content_v2_1/representations.rb +136 -0
  79. data/generated/google/apis/content_v2_1/service.rb +36 -1
  80. data/generated/google/apis/deploymentmanager_v2.rb +2 -2
  81. data/generated/google/apis/deploymentmanager_v2/service.rb +1 -1
  82. data/generated/google/apis/deploymentmanager_v2beta.rb +2 -2
  83. data/generated/google/apis/deploymentmanager_v2beta/service.rb +1 -1
  84. data/generated/google/apis/dialogflow_v2.rb +1 -1
  85. data/generated/google/apis/dialogflow_v2/classes.rb +0 -31
  86. data/generated/google/apis/dialogflow_v2/representations.rb +0 -15
  87. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  88. data/generated/google/apis/dialogflow_v2beta1/classes.rb +0 -31
  89. data/generated/google/apis/dialogflow_v2beta1/representations.rb +0 -15
  90. data/generated/google/apis/dialogflow_v2beta1/service.rb +12 -6
  91. data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
  92. data/generated/google/apis/dialogflow_v3beta1/classes.rb +0 -31
  93. data/generated/google/apis/dialogflow_v3beta1/representations.rb +0 -15
  94. data/generated/google/apis/displayvideo_v1.rb +1 -1
  95. data/generated/google/apis/displayvideo_v1/classes.rb +5 -5
  96. data/generated/google/apis/displayvideo_v1/service.rb +1 -1
  97. data/generated/google/apis/dlp_v2.rb +1 -1
  98. data/generated/google/apis/dlp_v2/classes.rb +6 -0
  99. data/generated/google/apis/dlp_v2/representations.rb +1 -0
  100. data/generated/google/apis/domains_v1alpha2.rb +1 -1
  101. data/generated/google/apis/domains_v1alpha2/classes.rb +0 -6
  102. data/generated/google/apis/domains_v1alpha2/representations.rb +0 -1
  103. data/generated/google/apis/domains_v1beta1.rb +1 -1
  104. data/generated/google/apis/domains_v1beta1/classes.rb +0 -6
  105. data/generated/google/apis/domains_v1beta1/representations.rb +0 -1
  106. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  107. data/generated/google/apis/drive_v2.rb +1 -1
  108. data/generated/google/apis/drive_v2/classes.rb +2 -2
  109. data/generated/google/apis/drive_v3.rb +1 -1
  110. data/generated/google/apis/drive_v3/classes.rb +2 -2
  111. data/generated/google/apis/healthcare_v1.rb +1 -1
  112. data/generated/google/apis/healthcare_v1/classes.rb +6 -0
  113. data/generated/google/apis/healthcare_v1/representations.rb +1 -0
  114. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  115. data/generated/google/apis/healthcare_v1beta1/classes.rb +12 -54
  116. data/generated/google/apis/healthcare_v1beta1/representations.rb +3 -29
  117. data/generated/google/apis/logging_v2.rb +1 -1
  118. data/generated/google/apis/logging_v2/classes.rb +4 -2
  119. data/generated/google/apis/logging_v2/service.rb +20 -20
  120. data/generated/google/apis/managedidentities_v1.rb +1 -1
  121. data/generated/google/apis/managedidentities_v1/classes.rb +345 -4
  122. data/generated/google/apis/managedidentities_v1/representations.rb +149 -0
  123. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  124. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +345 -4
  125. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +149 -0
  126. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  127. data/generated/google/apis/managedidentities_v1beta1/classes.rb +345 -4
  128. data/generated/google/apis/managedidentities_v1beta1/representations.rb +149 -0
  129. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  130. data/generated/google/apis/memcache_v1beta2/classes.rb +345 -4
  131. data/generated/google/apis/memcache_v1beta2/representations.rb +149 -0
  132. data/generated/google/apis/notebooks_v1.rb +34 -0
  133. data/generated/google/apis/notebooks_v1/classes.rb +1461 -0
  134. data/generated/google/apis/notebooks_v1/representations.rb +581 -0
  135. data/generated/google/apis/notebooks_v1/service.rb +1042 -0
  136. data/generated/google/apis/people_v1.rb +1 -1
  137. data/generated/google/apis/people_v1/service.rb +9 -6
  138. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  139. data/generated/google/apis/policytroubleshooter_v1/classes.rb +0 -6
  140. data/generated/google/apis/policytroubleshooter_v1/representations.rb +0 -1
  141. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  142. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +0 -6
  143. data/generated/google/apis/policytroubleshooter_v1beta/representations.rb +0 -1
  144. data/generated/google/apis/privateca_v1beta1.rb +1 -1
  145. data/generated/google/apis/privateca_v1beta1/classes.rb +0 -6
  146. data/generated/google/apis/privateca_v1beta1/representations.rb +0 -1
  147. data/generated/google/apis/privateca_v1beta1/service.rb +0 -52
  148. data/generated/google/apis/realtimebidding_v1.rb +1 -1
  149. data/generated/google/apis/realtimebidding_v1/classes.rb +545 -0
  150. data/generated/google/apis/realtimebidding_v1/representations.rb +232 -0
  151. data/generated/google/apis/realtimebidding_v1/service.rb +450 -0
  152. data/generated/google/apis/redis_v1.rb +1 -1
  153. data/generated/google/apis/redis_v1/classes.rb +58 -0
  154. data/generated/google/apis/redis_v1/representations.rb +20 -0
  155. data/generated/google/apis/redis_v1beta1.rb +1 -1
  156. data/generated/google/apis/redis_v1beta1/classes.rb +58 -0
  157. data/generated/google/apis/redis_v1beta1/representations.rb +20 -0
  158. data/generated/google/apis/run_v1.rb +1 -1
  159. data/generated/google/apis/run_v1/classes.rb +0 -6
  160. data/generated/google/apis/run_v1/representations.rb +0 -1
  161. data/generated/google/apis/run_v1alpha1.rb +1 -1
  162. data/generated/google/apis/run_v1alpha1/classes.rb +0 -6
  163. data/generated/google/apis/run_v1alpha1/representations.rb +0 -1
  164. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  165. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +0 -6
  166. data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +0 -1
  167. data/generated/google/apis/secretmanager_v1.rb +1 -1
  168. data/generated/google/apis/secretmanager_v1/classes.rb +0 -6
  169. data/generated/google/apis/secretmanager_v1/representations.rb +0 -1
  170. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  171. data/generated/google/apis/secretmanager_v1beta1/classes.rb +0 -6
  172. data/generated/google/apis/secretmanager_v1beta1/representations.rb +0 -1
  173. data/generated/google/apis/securitycenter_v1.rb +1 -1
  174. data/generated/google/apis/securitycenter_v1/classes.rb +0 -6
  175. data/generated/google/apis/securitycenter_v1/representations.rb +0 -1
  176. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  177. data/generated/google/apis/securitycenter_v1beta1/classes.rb +0 -6
  178. data/generated/google/apis/securitycenter_v1beta1/representations.rb +0 -1
  179. data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
  180. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +26 -6
  181. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  182. data/generated/google/apis/servicemanagement_v1/classes.rb +1 -7
  183. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -1
  184. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  185. data/generated/google/apis/servicenetworking_v1/service.rb +38 -0
  186. data/generated/google/apis/storage_v1.rb +1 -1
  187. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  188. data/generated/google/apis/storagetransfer_v1/classes.rb +31 -16
  189. data/generated/google/apis/storagetransfer_v1/representations.rb +3 -0
  190. data/generated/google/apis/storagetransfer_v1/service.rb +3 -3
  191. data/generated/google/apis/transcoder_v1beta1.rb +34 -0
  192. data/generated/google/apis/transcoder_v1beta1/classes.rb +1684 -0
  193. data/generated/google/apis/transcoder_v1beta1/representations.rb +756 -0
  194. data/generated/google/apis/transcoder_v1beta1/service.rb +329 -0
  195. data/generated/google/apis/translate_v3.rb +1 -1
  196. data/generated/google/apis/translate_v3beta1.rb +1 -1
  197. data/generated/google/apis/youtube_v3.rb +1 -1
  198. data/generated/google/apis/youtube_v3/service.rb +6 -6
  199. data/lib/google/apis/version.rb +1 -1
  200. metadata +15 -3
@@ -2121,6 +2121,11 @@ module Google
2121
2121
  # @return [Google::Apis::AndroidenterpriseV1::AutoInstallPolicy]
2122
2122
  attr_accessor :auto_install_policy
2123
2123
 
2124
+ # The auto-update mode for the product.
2125
+ # Corresponds to the JSON property `autoUpdateMode`
2126
+ # @return [String]
2127
+ attr_accessor :auto_update_mode
2128
+
2124
2129
  # A managed configuration resource contains the set of managed properties
2125
2130
  # defined by the app developer in the app's managed configurations schema, as
2126
2131
  # well as any configuration variables defined for the user.
@@ -2152,6 +2157,7 @@ module Google
2152
2157
  # Update properties of this object
2153
2158
  def update!(**args)
2154
2159
  @auto_install_policy = args[:auto_install_policy] if args.key?(:auto_install_policy)
2160
+ @auto_update_mode = args[:auto_update_mode] if args.key?(:auto_update_mode)
2155
2161
  @managed_configuration = args[:managed_configuration] if args.key?(:managed_configuration)
2156
2162
  @product_id = args[:product_id] if args.key?(:product_id)
2157
2163
  @track_ids = args[:track_ids] if args.key?(:track_ids)
@@ -1104,6 +1104,7 @@ module Google
1104
1104
  class Representation < Google::Apis::Core::JsonRepresentation
1105
1105
  property :auto_install_policy, as: 'autoInstallPolicy', class: Google::Apis::AndroidenterpriseV1::AutoInstallPolicy, decorator: Google::Apis::AndroidenterpriseV1::AutoInstallPolicy::Representation
1106
1106
 
1107
+ property :auto_update_mode, as: 'autoUpdateMode'
1107
1108
  property :managed_configuration, as: 'managedConfiguration', class: Google::Apis::AndroidenterpriseV1::ManagedConfiguration, decorator: Google::Apis::AndroidenterpriseV1::ManagedConfiguration::Representation
1108
1109
 
1109
1110
  property :product_id, as: 'productId'
@@ -29,7 +29,7 @@ module Google
29
29
  # @see https://cloud.google.com/apigee-api-management/
30
30
  module ApigeeV1
31
31
  VERSION = 'V1'
32
- REVISION = '20201029'
32
+ REVISION = '20201108'
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'
@@ -850,6 +850,11 @@ module Google
850
850
  # @return [String]
851
851
  attr_accessor :created
852
852
 
853
+ # Hostname is available only when query is executed at host level.
854
+ # Corresponds to the JSON property `envgroupHostname`
855
+ # @return [String]
856
+ attr_accessor :envgroup_hostname
857
+
853
858
  # Error is set when query fails.
854
859
  # Corresponds to the JSON property `error`
855
860
  # @return [String]
@@ -891,7 +896,9 @@ module Google
891
896
  attr_accessor :result_rows
892
897
 
893
898
  # Self link of the query. Example: `/organizations/myorg/environments/myenv/
894
- # queries/9cfc0d85-0f30-46d6-ae6f-318d0cb961bd`
899
+ # queries/9cfc0d85-0f30-46d6-ae6f-318d0cb961bd` or following format if query is
900
+ # running at host level: `/organizations/myorg/hostQueries/9cfc0d85-0f30-46d6-
901
+ # ae6f-318d0cb961bd`
895
902
  # Corresponds to the JSON property `self`
896
903
  # @return [String]
897
904
  attr_accessor :self
@@ -913,6 +920,7 @@ module Google
913
920
  # Update properties of this object
914
921
  def update!(**args)
915
922
  @created = args[:created] if args.key?(:created)
923
+ @envgroup_hostname = args[:envgroup_hostname] if args.key?(:envgroup_hostname)
916
924
  @error = args[:error] if args.key?(:error)
917
925
  @execution_time = args[:execution_time] if args.key?(:execution_time)
918
926
  @name = args[:name] if args.key?(:name)
@@ -937,7 +945,9 @@ module Google
937
945
  attr_accessor :expires
938
946
 
939
947
  # Self link of the query results. Example: `/organizations/myorg/environments/
940
- # myenv/queries/9cfc0d85-0f30-46d6-ae6f-318d0cb961bd/result`
948
+ # myenv/queries/9cfc0d85-0f30-46d6-ae6f-318d0cb961bd/result` or following format
949
+ # if query is running at host level: `/organizations/myorg/hostQueries/9cfc0d85-
950
+ # 0f30-46d6-ae6f-318d0cb961bd/result`
941
951
  # Corresponds to the JSON property `self`
942
952
  # @return [String]
943
953
  attr_accessor :self
@@ -953,6 +963,50 @@ module Google
953
963
  end
954
964
  end
955
965
 
966
+ #
967
+ class GoogleCloudApigeeV1AsyncQueryResultView
968
+ include Google::Apis::Core::Hashable
969
+
970
+ # Error code when there is a failure.
971
+ # Corresponds to the JSON property `code`
972
+ # @return [Fixnum]
973
+ attr_accessor :code
974
+
975
+ # Error message when there is a failure.
976
+ # Corresponds to the JSON property `error`
977
+ # @return [String]
978
+ attr_accessor :error
979
+
980
+ # Metadata contains information like metrics, dimenstions etc of the AsyncQuery.
981
+ # Corresponds to the JSON property `metadata`
982
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1QueryMetadata]
983
+ attr_accessor :metadata
984
+
985
+ # Rows of query result. Each row is a JSON object. Example: `sum(message_count):
986
+ # 1, developer_app: "(not set)",…`
987
+ # Corresponds to the JSON property `rows`
988
+ # @return [Array<Object>]
989
+ attr_accessor :rows
990
+
991
+ # State of retrieving ResultView.
992
+ # Corresponds to the JSON property `state`
993
+ # @return [String]
994
+ attr_accessor :state
995
+
996
+ def initialize(**args)
997
+ update!(**args)
998
+ end
999
+
1000
+ # Update properties of this object
1001
+ def update!(**args)
1002
+ @code = args[:code] if args.key?(:code)
1003
+ @error = args[:error] if args.key?(:error)
1004
+ @metadata = args[:metadata] if args.key?(:metadata)
1005
+ @rows = args[:rows] if args.key?(:rows)
1006
+ @state = args[:state] if args.key?(:state)
1007
+ end
1008
+ end
1009
+
956
1010
  # Key-value pair to store extra metadata.
957
1011
  class GoogleCloudApigeeV1Attribute
958
1012
  include Google::Apis::Core::Hashable
@@ -4440,6 +4494,13 @@ module Google
4440
4494
  # @return [Array<String>]
4441
4495
  attr_accessor :dimensions
4442
4496
 
4497
+ # Hostname needs to be specified if query intends to run at host level. This
4498
+ # field is only allowed when query is submitted by CreateHostAsyncQuery where
4499
+ # analytics data will be grouped by organization and hostname.
4500
+ # Corresponds to the JSON property `envgroupHostname`
4501
+ # @return [String]
4502
+ attr_accessor :envgroup_hostname
4503
+
4443
4504
  # Boolean expression that can be used to filter data. Filter expressions can be
4444
4505
  # combined using AND/OR terms and should be fully parenthesized to avoid
4445
4506
  # ambiguity. See Analytics metrics, dimensions, and filters reference https://
@@ -4504,6 +4565,7 @@ module Google
4504
4565
  def update!(**args)
4505
4566
  @csv_delimiter = args[:csv_delimiter] if args.key?(:csv_delimiter)
4506
4567
  @dimensions = args[:dimensions] if args.key?(:dimensions)
4568
+ @envgroup_hostname = args[:envgroup_hostname] if args.key?(:envgroup_hostname)
4507
4569
  @filter = args[:filter] if args.key?(:filter)
4508
4570
  @group_by_time_unit = args[:group_by_time_unit] if args.key?(:group_by_time_unit)
4509
4571
  @limit = args[:limit] if args.key?(:limit)
@@ -5046,7 +5108,7 @@ module Google
5046
5108
  # This value is set when the rule is created and will only update if the the
5047
5109
  # environment_id changes. It is used to determine if the runtime is up to date
5048
5110
  # with respect to this rule. This field is omitted from the IngressConfig unless
5049
- # the GetDeployedIngressConfig API is called with debug=true.
5111
+ # the GetDeployedIngressConfig API is called with view=FULL.
5050
5112
  # Corresponds to the JSON property `envGroupRevision`
5051
5113
  # @return [Fixnum]
5052
5114
  attr_accessor :env_group_revision
@@ -5060,14 +5122,14 @@ module Google
5060
5122
  # The resource name of the proxy revision that is receiving this basepath in the
5061
5123
  # following format: `organizations/`org`/apis/`api`/revisions/`rev``. This field
5062
5124
  # is omitted from the IngressConfig unless the GetDeployedIngressConfig API is
5063
- # called with debug=true.
5125
+ # called with view=FULL.
5064
5126
  # Corresponds to the JSON property `receiver`
5065
5127
  # @return [String]
5066
5128
  attr_accessor :receiver
5067
5129
 
5068
5130
  # The unix timestamp when this rule was updated. This is updated whenever
5069
5131
  # env_group_revision is updated. This field is omitted from the IngressConfig
5070
- # unless the GetDeployedIngressConfig API is called with debug=true.
5132
+ # unless the GetDeployedIngressConfig API is called with view=FULL.
5071
5133
  # Corresponds to the JSON property `updateTime`
5072
5134
  # @return [String]
5073
5135
  attr_accessor :update_time
@@ -5522,6 +5584,11 @@ module Google
5522
5584
  # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1StatsEnvironmentStats>]
5523
5585
  attr_accessor :environments
5524
5586
 
5587
+ # This field contains a list of query results grouped by host.
5588
+ # Corresponds to the JSON property `hosts`
5589
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1StatsHostStats>]
5590
+ attr_accessor :hosts
5591
+
5525
5592
  # This message type encapsulates additional information about query execution.
5526
5593
  # Corresponds to the JSON property `metaData`
5527
5594
  # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Metadata]
@@ -5534,6 +5601,7 @@ module Google
5534
5601
  # Update properties of this object
5535
5602
  def update!(**args)
5536
5603
  @environments = args[:environments] if args.key?(:environments)
5604
+ @hosts = args[:hosts] if args.key?(:hosts)
5537
5605
  @meta_data = args[:meta_data] if args.key?(:meta_data)
5538
5606
  end
5539
5607
  end
@@ -5579,6 +5647,47 @@ module Google
5579
5647
  end
5580
5648
  end
5581
5649
 
5650
+ # This message type encapsulates the hostname wrapper: "hosts": [ ` "metrics": [
5651
+ # ` "name": "sum(message_count)", "values": [ "2.52056245E8" ] ` ], "name": "
5652
+ # example.com" ` ]
5653
+ class GoogleCloudApigeeV1StatsHostStats
5654
+ include Google::Apis::Core::Hashable
5655
+
5656
+ # This field contains the list of metrics grouped under dimensions.
5657
+ # Corresponds to the JSON property `dimensions`
5658
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1DimensionMetric>]
5659
+ attr_accessor :dimensions
5660
+
5661
+ # In the final response, only one of the following fields will be present based
5662
+ # on the dimensions provided. If no dimensions are provided, then only a top
5663
+ # level metrics is provided. If dimensions are included, then there will be a
5664
+ # top level dimensions field under hostnames which will contain metrics values
5665
+ # and the dimension name. Example: "hosts": [ ` "dimensions": [ ` "metrics": [ `
5666
+ # "name": "sum(message_count)", "values": [ "2.14049521E8" ] ` ], "name": "
5667
+ # nit_proxy" ` ], "name": "example.com" ` ] OR "hosts": [ ` "metrics": [ ` "name"
5668
+ # : "sum(message_count)", "values": [ "2.19026331E8" ] ` ], "name": "example.com"
5669
+ # ` ] This field contains the list of metric values.
5670
+ # Corresponds to the JSON property `metrics`
5671
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Metric>]
5672
+ attr_accessor :metrics
5673
+
5674
+ # This field contains the hostname used in query.
5675
+ # Corresponds to the JSON property `name`
5676
+ # @return [String]
5677
+ attr_accessor :name
5678
+
5679
+ def initialize(**args)
5680
+ update!(**args)
5681
+ end
5682
+
5683
+ # Update properties of this object
5684
+ def update!(**args)
5685
+ @dimensions = args[:dimensions] if args.key?(:dimensions)
5686
+ @metrics = args[:metrics] if args.key?(:metrics)
5687
+ @name = args[:name] if args.key?(:name)
5688
+ end
5689
+ end
5690
+
5582
5691
  # Pub/Sub subscription of an environment.
5583
5692
  class GoogleCloudApigeeV1Subscription
5584
5693
  include Google::Apis::Core::Hashable
@@ -6057,11 +6166,6 @@ module Google
6057
6166
  class GoogleIamV1Binding
6058
6167
  include Google::Apis::Core::Hashable
6059
6168
 
6060
- #
6061
- # Corresponds to the JSON property `bindingId`
6062
- # @return [String]
6063
- attr_accessor :binding_id
6064
-
6065
6169
  # Represents a textual expression in the Common Expression Language (CEL) syntax.
6066
6170
  # CEL is a C-like expression language. The syntax and semantics of CEL are
6067
6171
  # documented at https://github.com/google/cel-spec. Example (Comparison): title:
@@ -6123,7 +6227,6 @@ module Google
6123
6227
 
6124
6228
  # Update properties of this object
6125
6229
  def update!(**args)
6126
- @binding_id = args[:binding_id] if args.key?(:binding_id)
6127
6230
  @condition = args[:condition] if args.key?(:condition)
6128
6231
  @members = args[:members] if args.key?(:members)
6129
6232
  @role = args[:role] if args.key?(:role)
@@ -124,6 +124,12 @@ module Google
124
124
  include Google::Apis::Core::JsonObjectSupport
125
125
  end
126
126
 
127
+ class GoogleCloudApigeeV1AsyncQueryResultView
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
127
133
  class GoogleCloudApigeeV1Attribute
128
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
129
135
 
@@ -820,6 +826,12 @@ module Google
820
826
  include Google::Apis::Core::JsonObjectSupport
821
827
  end
822
828
 
829
+ class GoogleCloudApigeeV1StatsHostStats
830
+ class Representation < Google::Apis::Core::JsonRepresentation; end
831
+
832
+ include Google::Apis::Core::JsonObjectSupport
833
+ end
834
+
823
835
  class GoogleCloudApigeeV1Subscription
824
836
  class Representation < Google::Apis::Core::JsonRepresentation; end
825
837
 
@@ -1153,6 +1165,7 @@ module Google
1153
1165
  # @private
1154
1166
  class Representation < Google::Apis::Core::JsonRepresentation
1155
1167
  property :created, as: 'created'
1168
+ property :envgroup_hostname, as: 'envgroupHostname'
1156
1169
  property :error, as: 'error'
1157
1170
  property :execution_time, as: 'executionTime'
1158
1171
  property :name, as: 'name'
@@ -1177,6 +1190,18 @@ module Google
1177
1190
  end
1178
1191
  end
1179
1192
 
1193
+ class GoogleCloudApigeeV1AsyncQueryResultView
1194
+ # @private
1195
+ class Representation < Google::Apis::Core::JsonRepresentation
1196
+ property :code, as: 'code'
1197
+ property :error, as: 'error'
1198
+ property :metadata, as: 'metadata', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1QueryMetadata, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1QueryMetadata::Representation
1199
+
1200
+ collection :rows, as: 'rows'
1201
+ property :state, as: 'state'
1202
+ end
1203
+ end
1204
+
1180
1205
  class GoogleCloudApigeeV1Attribute
1181
1206
  # @private
1182
1207
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2133,6 +2158,7 @@ module Google
2133
2158
  class Representation < Google::Apis::Core::JsonRepresentation
2134
2159
  property :csv_delimiter, as: 'csvDelimiter'
2135
2160
  collection :dimensions, as: 'dimensions'
2161
+ property :envgroup_hostname, as: 'envgroupHostname'
2136
2162
  property :filter, as: 'filter'
2137
2163
  property :group_by_time_unit, as: 'groupByTimeUnit'
2138
2164
  property :limit, as: 'limit'
@@ -2415,6 +2441,8 @@ module Google
2415
2441
  class Representation < Google::Apis::Core::JsonRepresentation
2416
2442
  collection :environments, as: 'environments', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1StatsEnvironmentStats, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1StatsEnvironmentStats::Representation
2417
2443
 
2444
+ collection :hosts, as: 'hosts', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1StatsHostStats, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1StatsHostStats::Representation
2445
+
2418
2446
  property :meta_data, as: 'metaData', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Metadata, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Metadata::Representation
2419
2447
 
2420
2448
  end
@@ -2431,6 +2459,17 @@ module Google
2431
2459
  end
2432
2460
  end
2433
2461
 
2462
+ class GoogleCloudApigeeV1StatsHostStats
2463
+ # @private
2464
+ class Representation < Google::Apis::Core::JsonRepresentation
2465
+ collection :dimensions, as: 'dimensions', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DimensionMetric, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DimensionMetric::Representation
2466
+
2467
+ collection :metrics, as: 'metrics', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Metric, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Metric::Representation
2468
+
2469
+ property :name, as: 'name'
2470
+ end
2471
+ end
2472
+
2434
2473
  class GoogleCloudApigeeV1Subscription
2435
2474
  # @private
2436
2475
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2549,7 +2588,6 @@ module Google
2549
2588
  class GoogleIamV1Binding
2550
2589
  # @private
2551
2590
  class Representation < Google::Apis::Core::JsonRepresentation
2552
- property :binding_id, as: 'bindingId'
2553
2591
  property :condition, as: 'condition', class: Google::Apis::ApigeeV1::GoogleTypeExpr, decorator: Google::Apis::ApigeeV1::GoogleTypeExpr::Representation
2554
2592
 
2555
2593
  collection :members, as: 'members'
@@ -1800,6 +1800,9 @@ module Google
1800
1800
  # @param [String] parent
1801
1801
  # Required. Name of the Apigee organization. Use the following structure in your
1802
1802
  # request: `organizations/`org``.
1803
+ # @param [String] app
1804
+ # Optional. List only Developers that are associated with the app. Note that
1805
+ # start_key, count are not applicable for this filter criteria.
1803
1806
  # @param [Fixnum] count
1804
1807
  # Optional. Number of developers to return in the API call. Use with the `
1805
1808
  # startKey` parameter to provide more targeted filtering. The limit is 1000.
@@ -1835,11 +1838,12 @@ module Google
1835
1838
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1836
1839
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1837
1840
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1838
- def list_organization_developers(parent, count: nil, expand: nil, ids: nil, include_company: nil, start_key: nil, fields: nil, quota_user: nil, options: nil, &block)
1841
+ def list_organization_developers(parent, app: nil, count: nil, expand: nil, ids: nil, include_company: nil, start_key: nil, fields: nil, quota_user: nil, options: nil, &block)
1839
1842
  command = make_simple_command(:get, 'v1/{+parent}/developers', options)
1840
1843
  command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListOfDevelopersResponse::Representation
1841
1844
  command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListOfDevelopersResponse
1842
1845
  command.params['parent'] = parent unless parent.nil?
1846
+ command.query['app'] = app unless app.nil?
1843
1847
  command.query['count'] = count unless count.nil?
1844
1848
  command.query['expand'] = expand unless expand.nil?
1845
1849
  command.query['ids'] = ids unless ids.nil?
@@ -4447,7 +4451,9 @@ module Google
4447
4451
  # organization`/environments/`environment`/keystores/`keystore``.
4448
4452
  # @param [Google::Apis::ApigeeV1::GoogleApiHttpBody] google_api_http_body_object
4449
4453
  # @param [String] _password
4450
- # The password for the private key file, if it exists.
4454
+ # DEPRECATED: For improved security, send the password in the body instead of
4455
+ # using this query param. To send it in the body, use a multipart/form-data part
4456
+ # with name "password". The password for the private key file, if it exists.
4451
4457
  # @param [String] alias_
4452
4458
  # The alias for the key, certificate pair. Values must match regular expression `
4453
4459
  # [\w\s-.]`1,255``. This must be provided for all formats except 'selfsignedcert'
@@ -5734,6 +5740,284 @@ module Google
5734
5740
  execute_or_queue_command(command, &block)
5735
5741
  end
5736
5742
 
5743
+ # Submit a query at host level to be processed in the background. If the
5744
+ # submission of the query succeeds, the API returns a 201 status and an ID that
5745
+ # refer to the query. In addition to the HTTP status 201, the `state` of "
5746
+ # enqueued" means that the request succeeded.
5747
+ # @param [String] parent
5748
+ # Required. The parent resource name. Must be of the form `organizations/`org``.
5749
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Query] google_cloud_apigee_v1_query_object
5750
+ # @param [String] fields
5751
+ # Selector specifying which fields to include in a partial response.
5752
+ # @param [String] quota_user
5753
+ # Available to use for quota purposes for server-side applications. Can be any
5754
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5755
+ # @param [Google::Apis::RequestOptions] options
5756
+ # Request-specific options
5757
+ #
5758
+ # @yield [result, err] Result & error if block supplied
5759
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AsyncQuery] parsed result object
5760
+ # @yieldparam err [StandardError] error object if request failed
5761
+ #
5762
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AsyncQuery]
5763
+ #
5764
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5765
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5766
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5767
+ def create_organization_host_query(parent, google_cloud_apigee_v1_query_object = nil, fields: nil, quota_user: nil, options: nil, &block)
5768
+ command = make_simple_command(:post, 'v1/{+parent}/hostQueries', options)
5769
+ command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Query::Representation
5770
+ command.request_object = google_cloud_apigee_v1_query_object
5771
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1AsyncQuery::Representation
5772
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1AsyncQuery
5773
+ command.params['parent'] = parent unless parent.nil?
5774
+ command.query['fields'] = fields unless fields.nil?
5775
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5776
+ execute_or_queue_command(command, &block)
5777
+ end
5778
+
5779
+ # Get status of a query submitted at host level. If the query is still in
5780
+ # progress, the `state` is set to "running" After the query has completed
5781
+ # successfully, `state` is set to "completed"
5782
+ # @param [String] name
5783
+ # Required. Name of the asynchronous query to get. Must be of the form `
5784
+ # organizations/`org`/queries/`queryId``.
5785
+ # @param [String] fields
5786
+ # Selector specifying which fields to include in a partial response.
5787
+ # @param [String] quota_user
5788
+ # Available to use for quota purposes for server-side applications. Can be any
5789
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5790
+ # @param [Google::Apis::RequestOptions] options
5791
+ # Request-specific options
5792
+ #
5793
+ # @yield [result, err] Result & error if block supplied
5794
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AsyncQuery] parsed result object
5795
+ # @yieldparam err [StandardError] error object if request failed
5796
+ #
5797
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AsyncQuery]
5798
+ #
5799
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5800
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5801
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5802
+ def get_organization_host_query(name, fields: nil, quota_user: nil, options: nil, &block)
5803
+ command = make_simple_command(:get, 'v1/{+name}', options)
5804
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1AsyncQuery::Representation
5805
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1AsyncQuery
5806
+ command.params['name'] = name unless name.nil?
5807
+ command.query['fields'] = fields unless fields.nil?
5808
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5809
+ execute_or_queue_command(command, &block)
5810
+ end
5811
+
5812
+ # After the query is completed, use this API to retrieve the results. If the
5813
+ # request succeeds, and there is a non-zero result set, the result is downloaded
5814
+ # to the client as a zipped JSON file. The name of the downloaded file will be:
5815
+ # OfflineQueryResult-.zip Example: `OfflineQueryResult-9cfc0d85-0f30-46d6-ae6f-
5816
+ # 318d0cb961bd.zip`
5817
+ # @param [String] name
5818
+ # Required. Name of the asynchronous query result to get. Must be of the form `
5819
+ # organizations/`org`/queries/`queryId`/result`.
5820
+ # @param [String] fields
5821
+ # Selector specifying which fields to include in a partial response.
5822
+ # @param [String] quota_user
5823
+ # Available to use for quota purposes for server-side applications. Can be any
5824
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5825
+ # @param [Google::Apis::RequestOptions] options
5826
+ # Request-specific options
5827
+ #
5828
+ # @yield [result, err] Result & error if block supplied
5829
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleApiHttpBody] parsed result object
5830
+ # @yieldparam err [StandardError] error object if request failed
5831
+ #
5832
+ # @return [Google::Apis::ApigeeV1::GoogleApiHttpBody]
5833
+ #
5834
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5835
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5836
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5837
+ def get_organization_host_query_result(name, fields: nil, quota_user: nil, options: nil, &block)
5838
+ command = make_simple_command(:get, 'v1/{+name}', options)
5839
+ command.response_representation = Google::Apis::ApigeeV1::GoogleApiHttpBody::Representation
5840
+ command.response_class = Google::Apis::ApigeeV1::GoogleApiHttpBody
5841
+ command.params['name'] = name unless name.nil?
5842
+ command.query['fields'] = fields unless fields.nil?
5843
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5844
+ execute_or_queue_command(command, &block)
5845
+ end
5846
+
5847
+ #
5848
+ # @param [String] name
5849
+ # Required. Name of the asynchronous query result view to get. Must be of the
5850
+ # form `organizations/`org`/queries/`queryId`/resultView`.
5851
+ # @param [String] fields
5852
+ # Selector specifying which fields to include in a partial response.
5853
+ # @param [String] quota_user
5854
+ # Available to use for quota purposes for server-side applications. Can be any
5855
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5856
+ # @param [Google::Apis::RequestOptions] options
5857
+ # Request-specific options
5858
+ #
5859
+ # @yield [result, err] Result & error if block supplied
5860
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AsyncQueryResultView] parsed result object
5861
+ # @yieldparam err [StandardError] error object if request failed
5862
+ #
5863
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AsyncQueryResultView]
5864
+ #
5865
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5866
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5867
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5868
+ def get_organization_host_query_result_view(name, fields: nil, quota_user: nil, options: nil, &block)
5869
+ command = make_simple_command(:get, 'v1/{+name}', options)
5870
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1AsyncQueryResultView::Representation
5871
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1AsyncQueryResultView
5872
+ command.params['name'] = name unless name.nil?
5873
+ command.query['fields'] = fields unless fields.nil?
5874
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5875
+ execute_or_queue_command(command, &block)
5876
+ end
5877
+
5878
+ # Return a list of Asynchronous Queries at host level.
5879
+ # @param [String] parent
5880
+ # Required. The parent resource name. Must be of the form `organizations/`org``.
5881
+ # @param [String] dataset
5882
+ # Filter response list by dataset. Example: `api`, `mint`
5883
+ # @param [String] envgroup_hostname
5884
+ # Required. Filter response list by hostname.
5885
+ # @param [String] from
5886
+ # Filter response list by returning asynchronous queries that created after this
5887
+ # date time. Time must be in ISO date-time format like '2011-12-03T10:15:30Z'.
5888
+ # @param [String] incl_queries_without_report
5889
+ # Flag to include asynchronous queries that don't have a report denifition.
5890
+ # @param [String] status
5891
+ # Filter response list by asynchronous query status.
5892
+ # @param [String] submitted_by
5893
+ # Filter response list by user who submitted queries.
5894
+ # @param [String] to
5895
+ # Filter response list by returning asynchronous queries that created before
5896
+ # this date time. Time must be in ISO date-time format like '2011-12-03T10:16:
5897
+ # 30Z'.
5898
+ # @param [String] fields
5899
+ # Selector specifying which fields to include in a partial response.
5900
+ # @param [String] quota_user
5901
+ # Available to use for quota purposes for server-side applications. Can be any
5902
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5903
+ # @param [Google::Apis::RequestOptions] options
5904
+ # Request-specific options
5905
+ #
5906
+ # @yield [result, err] Result & error if block supplied
5907
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListAsyncQueriesResponse] parsed result object
5908
+ # @yieldparam err [StandardError] error object if request failed
5909
+ #
5910
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListAsyncQueriesResponse]
5911
+ #
5912
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5913
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5914
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5915
+ def list_organization_host_queries(parent, dataset: nil, envgroup_hostname: nil, from: nil, incl_queries_without_report: nil, status: nil, submitted_by: nil, to: nil, fields: nil, quota_user: nil, options: nil, &block)
5916
+ command = make_simple_command(:get, 'v1/{+parent}/hostQueries', options)
5917
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListAsyncQueriesResponse::Representation
5918
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListAsyncQueriesResponse
5919
+ command.params['parent'] = parent unless parent.nil?
5920
+ command.query['dataset'] = dataset unless dataset.nil?
5921
+ command.query['envgroupHostname'] = envgroup_hostname unless envgroup_hostname.nil?
5922
+ command.query['from'] = from unless from.nil?
5923
+ command.query['inclQueriesWithoutReport'] = incl_queries_without_report unless incl_queries_without_report.nil?
5924
+ command.query['status'] = status unless status.nil?
5925
+ command.query['submittedBy'] = submitted_by unless submitted_by.nil?
5926
+ command.query['to'] = to unless to.nil?
5927
+ command.query['fields'] = fields unless fields.nil?
5928
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5929
+ execute_or_queue_command(command, &block)
5930
+ end
5931
+
5932
+ # Retrieve metrics grouped by dimensions in host level. The types of metrics you
5933
+ # can retrieve include traffic, message counts, API call latency, response size,
5934
+ # and cache hits and counts. Dimensions let you view metrics in meaningful
5935
+ # groups. The stats api does accept dimensions as path params. The dimensions
5936
+ # are optional in which case the metrics are computed on the entire data for the
5937
+ # given timerange.
5938
+ # @param [String] name
5939
+ # Required. The resource name for which the interactive query will be executed.
5940
+ # Must be of the form `organizations/`organization_id`/stats/`dimensions``.
5941
+ # Dimensions let you view metrics in meaningful groupings. E.g. apiproxy,
5942
+ # target_host. The value of dimensions should be comma separated list as shown
5943
+ # below `organizations/`org`/stats/apiproxy,request_verb`
5944
+ # @param [String] accuracy
5945
+ # Legacy field: not used anymore.
5946
+ # @param [String] envgroup_hostname
5947
+ # Required. The hostname for which the interactive query will be executed.
5948
+ # @param [String] filter
5949
+ # Enables drill-down on specific dimension values.
5950
+ # @param [String] limit
5951
+ # This parameter is used to limit the number of result items. Default and the
5952
+ # max value is 14400.
5953
+ # @param [String] offset
5954
+ # Use offset with limit to enable pagination of results. For example, to display
5955
+ # results 11-20, set limit to '10' and offset to '10'.
5956
+ # @param [Boolean] realtime
5957
+ # Legacy field: not used anymore.
5958
+ # @param [String] select
5959
+ # The select parameter contains a comma separated list of metrics. E.g. sum(
5960
+ # message_count),sum(error_count)
5961
+ # @param [String] sort
5962
+ # This parameter specifies if the sort order should be ascending or descending
5963
+ # Supported values are DESC and ASC.
5964
+ # @param [String] sortby
5965
+ # Comma separated list of columns to sort the final result.
5966
+ # @param [String] time_range
5967
+ # Time interval for the interactive query. Time range is specified as start~end
5968
+ # E.g. 04/15/2017 00:00~05/15/2017 23:59
5969
+ # @param [String] time_unit
5970
+ # A value of second, minute, hour, day, week, month. Time Unit specifies the
5971
+ # granularity of metrics returned.
5972
+ # @param [String] topk
5973
+ # Take 'top k' results from results, for example, to return the top 5 results '
5974
+ # topk=5'.
5975
+ # @param [Boolean] ts_ascending
5976
+ # Lists timestamps in ascending order if set to true. Recommend setting this
5977
+ # value to true if you are using sortby with sort=DESC.
5978
+ # @param [String] tzo
5979
+ # This parameters contains the timezone offset value.
5980
+ # @param [String] fields
5981
+ # Selector specifying which fields to include in a partial response.
5982
+ # @param [String] quota_user
5983
+ # Available to use for quota purposes for server-side applications. Can be any
5984
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5985
+ # @param [Google::Apis::RequestOptions] options
5986
+ # Request-specific options
5987
+ #
5988
+ # @yield [result, err] Result & error if block supplied
5989
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Stats] parsed result object
5990
+ # @yieldparam err [StandardError] error object if request failed
5991
+ #
5992
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Stats]
5993
+ #
5994
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5995
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5996
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5997
+ def get_organization_host_stat(name, accuracy: nil, envgroup_hostname: nil, filter: nil, limit: nil, offset: nil, realtime: nil, select: nil, sort: nil, sortby: nil, time_range: nil, time_unit: nil, topk: nil, ts_ascending: nil, tzo: nil, fields: nil, quota_user: nil, options: nil, &block)
5998
+ command = make_simple_command(:get, 'v1/{+name}', options)
5999
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Stats::Representation
6000
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1Stats
6001
+ command.params['name'] = name unless name.nil?
6002
+ command.query['accuracy'] = accuracy unless accuracy.nil?
6003
+ command.query['envgroupHostname'] = envgroup_hostname unless envgroup_hostname.nil?
6004
+ command.query['filter'] = filter unless filter.nil?
6005
+ command.query['limit'] = limit unless limit.nil?
6006
+ command.query['offset'] = offset unless offset.nil?
6007
+ command.query['realtime'] = realtime unless realtime.nil?
6008
+ command.query['select'] = select unless select.nil?
6009
+ command.query['sort'] = sort unless sort.nil?
6010
+ command.query['sortby'] = sortby unless sortby.nil?
6011
+ command.query['timeRange'] = time_range unless time_range.nil?
6012
+ command.query['timeUnit'] = time_unit unless time_unit.nil?
6013
+ command.query['topk'] = topk unless topk.nil?
6014
+ command.query['tsAscending'] = ts_ascending unless ts_ascending.nil?
6015
+ command.query['tzo'] = tzo unless tzo.nil?
6016
+ command.query['fields'] = fields unless fields.nil?
6017
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6018
+ execute_or_queue_command(command, &block)
6019
+ end
6020
+
5737
6021
  # Creates an Apigee runtime instance. The instance is accessible from the
5738
6022
  # authorized network configured on the organization. **Note:** Not supported for
5739
6023
  # Apigee hybrid.
@@ -6251,6 +6535,90 @@ module Google
6251
6535
  execute_or_queue_command(command, &block)
6252
6536
  end
6253
6537
 
6538
+ # This api is similar to GetHostStats except that the response is less verbose.
6539
+ # @param [String] name
6540
+ # Required. The resource name for which the interactive query will be executed.
6541
+ # Must be of the form `organizations/`organization_id`/stats/`dimensions``.
6542
+ # Dimensions let you view metrics in meaningful groupings. E.g. apiproxy,
6543
+ # target_host. The value of dimensions should be comma separated list as shown
6544
+ # below `organizations/`org`/stats/apiproxy,request_verb`
6545
+ # @param [String] accuracy
6546
+ # Legacy field: not used anymore.
6547
+ # @param [String] envgroup_hostname
6548
+ # Required. The hostname for which the interactive query will be executed.
6549
+ # @param [String] filter
6550
+ # Enables drill-down on specific dimension values.
6551
+ # @param [String] limit
6552
+ # This parameter is used to limit the number of result items. Default and the
6553
+ # max value is 14400.
6554
+ # @param [String] offset
6555
+ # Use offset with limit to enable pagination of results. For example, to display
6556
+ # results 11-20, set limit to '10' and offset to '10'.
6557
+ # @param [Boolean] realtime
6558
+ # Legacy field: not used anymore.
6559
+ # @param [String] select
6560
+ # Required. The select parameter contains a comma separated list of metrics. E.g.
6561
+ # sum(message_count),sum(error_count)
6562
+ # @param [String] sort
6563
+ # This parameter specifies if the sort order should be ascending or descending
6564
+ # Supported values are DESC and ASC.
6565
+ # @param [String] sortby
6566
+ # Comma separated list of columns to sort the final result.
6567
+ # @param [String] time_range
6568
+ # Required. Time interval for the interactive query. Time range is specified as
6569
+ # start~end. E.g 04/15/2017 00:00~05/15/2017 23:59.
6570
+ # @param [String] time_unit
6571
+ # A value of second, minute, hour, day, week, month. Time Unit specifies the
6572
+ # granularity of metrics returned.
6573
+ # @param [String] topk
6574
+ # Take 'top k' results from results, for example, to return the top 5 results '
6575
+ # topk=5'.
6576
+ # @param [Boolean] ts_ascending
6577
+ # Lists timestamps in ascending order if set to true. Recommend setting this
6578
+ # value to true if you are using sortby with sort=DESC.
6579
+ # @param [String] tzo
6580
+ # This parameters contains the timezone offset value.
6581
+ # @param [String] fields
6582
+ # Selector specifying which fields to include in a partial response.
6583
+ # @param [String] quota_user
6584
+ # Available to use for quota purposes for server-side applications. Can be any
6585
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6586
+ # @param [Google::Apis::RequestOptions] options
6587
+ # Request-specific options
6588
+ #
6589
+ # @yield [result, err] Result & error if block supplied
6590
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1OptimizedStats] parsed result object
6591
+ # @yieldparam err [StandardError] error object if request failed
6592
+ #
6593
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1OptimizedStats]
6594
+ #
6595
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6596
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6597
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6598
+ def get_organization_optimized_host_stat(name, accuracy: nil, envgroup_hostname: nil, filter: nil, limit: nil, offset: nil, realtime: nil, select: nil, sort: nil, sortby: nil, time_range: nil, time_unit: nil, topk: nil, ts_ascending: nil, tzo: nil, fields: nil, quota_user: nil, options: nil, &block)
6599
+ command = make_simple_command(:get, 'v1/{+name}', options)
6600
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1OptimizedStats::Representation
6601
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1OptimizedStats
6602
+ command.params['name'] = name unless name.nil?
6603
+ command.query['accuracy'] = accuracy unless accuracy.nil?
6604
+ command.query['envgroupHostname'] = envgroup_hostname unless envgroup_hostname.nil?
6605
+ command.query['filter'] = filter unless filter.nil?
6606
+ command.query['limit'] = limit unless limit.nil?
6607
+ command.query['offset'] = offset unless offset.nil?
6608
+ command.query['realtime'] = realtime unless realtime.nil?
6609
+ command.query['select'] = select unless select.nil?
6610
+ command.query['sort'] = sort unless sort.nil?
6611
+ command.query['sortby'] = sortby unless sortby.nil?
6612
+ command.query['timeRange'] = time_range unless time_range.nil?
6613
+ command.query['timeUnit'] = time_unit unless time_unit.nil?
6614
+ command.query['topk'] = topk unless topk.nil?
6615
+ command.query['tsAscending'] = ts_ascending unless ts_ascending.nil?
6616
+ command.query['tzo'] = tzo unless tzo.nil?
6617
+ command.query['fields'] = fields unless fields.nil?
6618
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6619
+ execute_or_queue_command(command, &block)
6620
+ end
6621
+
6254
6622
  # Creates a Custom Report for an Organization. A Custom Report provides Apigee
6255
6623
  # Customers to create custom dashboards in addition to the standard dashboards
6256
6624
  # which are provided. The Custom Report in its simplest form contains