@@ -39,6 +39,9 @@ class Google_Service_Bigquery extends Google_Service
3939 /** View and manage your data across Google Cloud Platform services. */
4040 const CLOUD_PLATFORM =
4141 "https://www.googleapis.com/auth/cloud-platform " ;
42+ /** View your data across Google Cloud Platform services. */
43+ const CLOUD_PLATFORM_READ_ONLY =
44+ "https://www.googleapis.com/auth/cloud-platform.read-only " ;
4245 /** Manage your data and permissions in Google Cloud Storage. */
4346 const DEVSTORAGE_FULL_CONTROL =
4447 "https://www.googleapis.com/auth/devstorage.full_control " ;
@@ -648,7 +651,7 @@ class Google_Service_Bigquery_Jobs_Resource extends Google_Service_Resource
648651 /**
649652 * Requests that a job be cancelled. This call will return immediately, and the
650653 * client will need to poll for the job status to see if the cancel completed
651- * successfully. (jobs.cancel)
654+ * successfully. Cancelled jobs may still incur costs. (jobs.cancel)
652655 *
653656 * @param string $projectId Project ID of the job to cancel
654657 * @param string $jobId Job ID of the job to cancel
@@ -687,9 +690,9 @@ public function get($projectId, $jobId, $optParams = array())
687690 * @param array $optParams Optional parameters.
688691 *
689692 * @opt_param string timeoutMs How long to wait for the query to complete, in
690- * milliseconds, before returning. Default is to return immediately . If the
691- * timeout passes before the job completes, the request will fail with a TIMEOUT
692- * error
693+ * milliseconds, before returning. Default is 10 seconds . If the timeout passes
694+ * before the job completes, the 'jobComplete' field in the response will be
695+ * false
693696 * @opt_param string maxResults Maximum number of results to read
694697 * @opt_param string pageToken Page token, returned by a previous call, to
695698 * request the next page of results
@@ -721,10 +724,10 @@ public function insert($projectId, Google_Service_Bigquery_Job $postBody, $optPa
721724 }
722725
723726 /**
724- * Lists all jobs that you started in the specified project. The job list
725- * returns in reverse chronological order of when the jobs were created,
726- * starting with the most recent job created . Requires the Can View project
727- * role, or the Is Owner project role if you set the allUsers property.
727+ * Lists all jobs that you started in the specified project. Job information is
728+ * available for a six month period after creation. The job list is sorted in
729+ * reverse chronological order, by job creation time . Requires the Can View
730+ * project role, or the Is Owner project role if you set the allUsers property.
728731 * (jobs.listJobs)
729732 *
730733 * @param string $projectId Project ID of the jobs to list
@@ -1455,6 +1458,8 @@ class Google_Service_Bigquery_GetQueryResultsResponse extends Google_Collection
14551458 protected $ internal_gapi_mappings = array (
14561459 );
14571460 public $ cacheHit ;
1461+ protected $ errorsType = 'Google_Service_Bigquery_ErrorProto ' ;
1462+ protected $ errorsDataType = 'array ' ;
14581463 public $ etag ;
14591464 public $ jobComplete ;
14601465 protected $ jobReferenceType = 'Google_Service_Bigquery_JobReference ' ;
@@ -1477,6 +1482,14 @@ public function getCacheHit()
14771482 {
14781483 return $ this ->cacheHit ;
14791484 }
1485+ public function setErrors ($ errors )
1486+ {
1487+ $ this ->errors = $ errors ;
1488+ }
1489+ public function getErrors ()
1490+ {
1491+ return $ this ->errors ;
1492+ }
14801493 public function setEtag ($ etag )
14811494 {
14821495 $ this ->etag = $ etag ;
@@ -2022,8 +2035,9 @@ public function getWriteDisposition()
20222035 }
20232036}
20242037
2025- class Google_Service_Bigquery_JobConfigurationQuery extends Google_Model
2038+ class Google_Service_Bigquery_JobConfigurationQuery extends Google_Collection
20262039{
2040+ protected $ collection_key = 'userDefinedFunctionResources ' ;
20272041 protected $ internal_gapi_mappings = array (
20282042 );
20292043 public $ allowLargeResults ;
@@ -2039,6 +2053,8 @@ class Google_Service_Bigquery_JobConfigurationQuery extends Google_Model
20392053 protected $ tableDefinitionsType = 'Google_Service_Bigquery_ExternalDataConfiguration ' ;
20402054 protected $ tableDefinitionsDataType = 'map ' ;
20412055 public $ useQueryCache ;
2056+ protected $ userDefinedFunctionResourcesType = 'Google_Service_Bigquery_UserDefinedFunctionResource ' ;
2057+ protected $ userDefinedFunctionResourcesDataType = 'array ' ;
20422058 public $ writeDisposition ;
20432059
20442060
@@ -2122,6 +2138,14 @@ public function getUseQueryCache()
21222138 {
21232139 return $ this ->useQueryCache ;
21242140 }
2141+ public function setUserDefinedFunctionResources ($ userDefinedFunctionResources )
2142+ {
2143+ $ this ->userDefinedFunctionResources = $ userDefinedFunctionResources ;
2144+ }
2145+ public function getUserDefinedFunctionResources ()
2146+ {
2147+ return $ this ->userDefinedFunctionResources ;
2148+ }
21252149 public function setWriteDisposition ($ writeDisposition )
21262150 {
21272151 $ this ->writeDisposition = $ writeDisposition ;
@@ -2438,10 +2462,20 @@ class Google_Service_Bigquery_JobStatistics2 extends Google_Model
24382462{
24392463 protected $ internal_gapi_mappings = array (
24402464 );
2465+ public $ billingTier ;
24412466 public $ cacheHit ;
2467+ public $ totalBytesBilled ;
24422468 public $ totalBytesProcessed ;
24432469
24442470
2471+ public function setBillingTier ($ billingTier )
2472+ {
2473+ $ this ->billingTier = $ billingTier ;
2474+ }
2475+ public function getBillingTier ()
2476+ {
2477+ return $ this ->billingTier ;
2478+ }
24452479 public function setCacheHit ($ cacheHit )
24462480 {
24472481 $ this ->cacheHit = $ cacheHit ;
@@ -2450,6 +2484,14 @@ public function getCacheHit()
24502484 {
24512485 return $ this ->cacheHit ;
24522486 }
2487+ public function setTotalBytesBilled ($ totalBytesBilled )
2488+ {
2489+ $ this ->totalBytesBilled = $ totalBytesBilled ;
2490+ }
2491+ public function getTotalBytesBilled ()
2492+ {
2493+ return $ this ->totalBytesBilled ;
2494+ }
24532495 public function setTotalBytesProcessed ($ totalBytesProcessed )
24542496 {
24552497 $ this ->totalBytesProcessed = $ totalBytesProcessed ;
@@ -2777,6 +2819,8 @@ class Google_Service_Bigquery_QueryResponse extends Google_Collection
27772819 protected $ internal_gapi_mappings = array (
27782820 );
27792821 public $ cacheHit ;
2822+ protected $ errorsType = 'Google_Service_Bigquery_ErrorProto ' ;
2823+ protected $ errorsDataType = 'array ' ;
27802824 public $ jobComplete ;
27812825 protected $ jobReferenceType = 'Google_Service_Bigquery_JobReference ' ;
27822826 protected $ jobReferenceDataType = '' ;
@@ -2798,6 +2842,14 @@ public function getCacheHit()
27982842 {
27992843 return $ this ->cacheHit ;
28002844 }
2845+ public function setErrors ($ errors )
2846+ {
2847+ $ this ->errors = $ errors ;
2848+ }
2849+ public function getErrors ()
2850+ {
2851+ return $ this ->errors ;
2852+ }
28012853 public function setJobComplete ($ jobComplete )
28022854 {
28032855 $ this ->jobComplete = $ jobComplete ;
@@ -2864,6 +2916,41 @@ public function getTotalRows()
28642916 }
28652917}
28662918
2919+ class Google_Service_Bigquery_Streamingbuffer extends Google_Model
2920+ {
2921+ protected $ internal_gapi_mappings = array (
2922+ );
2923+ public $ estimatedBytes ;
2924+ public $ estimatedRows ;
2925+ public $ oldestEntryTime ;
2926+
2927+
2928+ public function setEstimatedBytes ($ estimatedBytes )
2929+ {
2930+ $ this ->estimatedBytes = $ estimatedBytes ;
2931+ }
2932+ public function getEstimatedBytes ()
2933+ {
2934+ return $ this ->estimatedBytes ;
2935+ }
2936+ public function setEstimatedRows ($ estimatedRows )
2937+ {
2938+ $ this ->estimatedRows = $ estimatedRows ;
2939+ }
2940+ public function getEstimatedRows ()
2941+ {
2942+ return $ this ->estimatedRows ;
2943+ }
2944+ public function setOldestEntryTime ($ oldestEntryTime )
2945+ {
2946+ $ this ->oldestEntryTime = $ oldestEntryTime ;
2947+ }
2948+ public function getOldestEntryTime ()
2949+ {
2950+ return $ this ->oldestEntryTime ;
2951+ }
2952+ }
2953+
28672954class Google_Service_Bigquery_Table extends Google_Model
28682955{
28692956 protected $ internal_gapi_mappings = array (
@@ -2872,6 +2959,8 @@ class Google_Service_Bigquery_Table extends Google_Model
28722959 public $ description ;
28732960 public $ etag ;
28742961 public $ expirationTime ;
2962+ protected $ externalDataConfigurationType = 'Google_Service_Bigquery_ExternalDataConfiguration ' ;
2963+ protected $ externalDataConfigurationDataType = '' ;
28752964 public $ friendlyName ;
28762965 public $ id ;
28772966 public $ kind ;
@@ -2882,6 +2971,8 @@ class Google_Service_Bigquery_Table extends Google_Model
28822971 protected $ schemaType = 'Google_Service_Bigquery_TableSchema ' ;
28832972 protected $ schemaDataType = '' ;
28842973 public $ selfLink ;
2974+ protected $ streamingBufferType = 'Google_Service_Bigquery_Streamingbuffer ' ;
2975+ protected $ streamingBufferDataType = '' ;
28852976 protected $ tableReferenceType = 'Google_Service_Bigquery_TableReference ' ;
28862977 protected $ tableReferenceDataType = '' ;
28872978 public $ type ;
@@ -2921,6 +3012,14 @@ public function getExpirationTime()
29213012 {
29223013 return $ this ->expirationTime ;
29233014 }
3015+ public function setExternalDataConfiguration (Google_Service_Bigquery_ExternalDataConfiguration $ externalDataConfiguration )
3016+ {
3017+ $ this ->externalDataConfiguration = $ externalDataConfiguration ;
3018+ }
3019+ public function getExternalDataConfiguration ()
3020+ {
3021+ return $ this ->externalDataConfiguration ;
3022+ }
29243023 public function setFriendlyName ($ friendlyName )
29253024 {
29263025 $ this ->friendlyName = $ friendlyName ;
@@ -2993,6 +3092,14 @@ public function getSelfLink()
29933092 {
29943093 return $ this ->selfLink ;
29953094 }
3095+ public function setStreamingBuffer (Google_Service_Bigquery_Streamingbuffer $ streamingBuffer )
3096+ {
3097+ $ this ->streamingBuffer = $ streamingBuffer ;
3098+ }
3099+ public function getStreamingBuffer ()
3100+ {
3101+ return $ this ->streamingBuffer ;
3102+ }
29963103 public function setTableReference (Google_Service_Bigquery_TableReference $ tableReference )
29973104 {
29983105 $ this ->tableReference = $ tableReference ;
@@ -3456,6 +3563,32 @@ public function getFields()
34563563 }
34573564}
34583565
3566+ class Google_Service_Bigquery_UserDefinedFunctionResource extends Google_Model
3567+ {
3568+ protected $ internal_gapi_mappings = array (
3569+ );
3570+ public $ inlineCode ;
3571+ public $ resourceUri ;
3572+
3573+
3574+ public function setInlineCode ($ inlineCode )
3575+ {
3576+ $ this ->inlineCode = $ inlineCode ;
3577+ }
3578+ public function getInlineCode ()
3579+ {
3580+ return $ this ->inlineCode ;
3581+ }
3582+ public function setResourceUri ($ resourceUri )
3583+ {
3584+ $ this ->resourceUri = $ resourceUri ;
3585+ }
3586+ public function getResourceUri ()
3587+ {
3588+ return $ this ->resourceUri ;
3589+ }
3590+ }
3591+
34593592class Google_Service_Bigquery_ViewDefinition extends Google_Model
34603593{
34613594 protected $ internal_gapi_mappings = array (
0 commit comments