[value:Google\Auth\Cache\Item:private] => ya29.a0AfB_byAtXxR7thImWmOzNKwJH2O1dTB92wO3pZAd2jLrogZ_iKfwlaw3qg3SK5eV25kX3iu_Z2fHBmN-dqBixjDK1U1qsNYJfWwiX5fWH4hPAZTvx_f-sASdMMitfu69UVjwv0y4F3GwBBllFnE4bLcCwclXrR_PRXZ7aCgYKAdISARESFQGOcNnCgMlFRJHTGjCGrdjifr2C1w0171
                                                                                [expiration:Google\Auth\Cache\Item:private] => DateTime Object
                                                                                (
                                                                                [date] => 2023-09-15 11:54:54.783449
                                                                                [timezone_type] => 3
                                                                                [timezone] => UTC
                                                                                )

                                                                                [isHit:Google\Auth\Cache\Item:private] => 1
                                                                                )

                                                                                )

                                                                                [deferredItems:Google\Auth\Cache\MemoryCacheItemPool:private] =>
                                                                                )

                                                                                )

                                                                                [parameter] => Array
                                                                                (
                                                                                [$request] =>
                                                                                [$options] =>
                                                                                )

                                                                                )

                                                                                )

                                                                                )

                                                                                [parameter] => Array
                                                                                (
                                                                                [$request] =>
                                                                                [$options] =>
                                                                                )

                                                                                )

                                                                                )

                                                                            [bodySummarizer] =>
                                                                        )

                                                                    [parameter] => Array
                                                                        (
                                                                            [$request] =>
                                                                            [$options] =>
                                                                        )

                                                                )

                                                        )

                                                    [allow_redirects] => Array
                                                        (
                                                            [max] => 5
                                                            [protocols] => Array
                                                                (
                                                                    [0] => http
                                                                    [1] => https
                                                                )

                                                            [strict] =>
                                                            [referer] =>
                                                            [track_redirects] =>
                                                        )

                                                    [decode_content] => 1
                                                    [verify] => 1
                                                    [cookies] =>
                                                    [idn_conversion] =>
                                                    [headers] => Array
                                                        (
                                                            [User-Agent] => GuzzleHttp/7
                                                        )

                                                    [auth] => scoped
                                                )

                                        )

                                    [1] => GuzzleHttp\Psr7\Request Object
                                        (
                                            [method:GuzzleHttp\Psr7\Request:private] => POST
                                            [requestTarget:GuzzleHttp\Psr7\Request:private] =>
                                            [uri:GuzzleHttp\Psr7\Request:private] => GuzzleHttp\Psr7\Uri Object
                                                (
                                                    [scheme:GuzzleHttp\Psr7\Uri:private] => https
                                                    [userInfo:GuzzleHttp\Psr7\Uri:private] =>
                                                    [host:GuzzleHttp\Psr7\Uri:private] => www.googleapis.com
                                                    [port:GuzzleHttp\Psr7\Uri:private] =>
                                                    [path:GuzzleHttp\Psr7\Uri:private] => /upload/youtube/partner/v1/references
                                                    [query:GuzzleHttp\Psr7\Uri:private] => onBehalfOfContentOwner=_hidden_content_owner_&uploadType=resumable
                                                    [fragment:GuzzleHttp\Psr7\Uri:private] =>
                                                    [composedComponents:GuzzleHttp\Psr7\Uri:private] => https://www.googleapis.com/upload/youtube/partner/v1/references?onBehalfOfContentOwner=_hidden_content_owner_&uploadType=resumable
                                                )

                                            [headers:GuzzleHttp\Psr7\Request:private] => Array
                                                (
                                                    [Host] => Array
                                                        (
                                                            [0] => www.googleapis.com
                                                        )

                                                    [X-Php-Expected-Class] => Array
                                                        (
                                                            [0] => Google_Service_YouTubePartner_Reference
                                                        )

                                                    [content-type] => Array
                                                        (
                                                            [0] => application/json; charset=UTF-8
                                                        )

                                                    [content-length] => Array
                                                        (
                                                            [0] => 52
                                                        )

                                                    [x-upload-content-type] => Array
                                                        (
                                                            [0] => video/mp4
                                                        )

                                                    [x-upload-content-length] => Array
                                                        (
                                                            [0] => 42647938
                                                        )

                                                    [expect] => Array
                                                        (
                                                            [0] =>
                                                        )

                                                    [User-Agent] => Array
                                                        (
                                                            [0] => google-api-php-client/2.12.6
                                                        )

                                                    [x-goog-api-client] => Array
                                                        (
                                                            [0] => gl-php/7.4.33 gdcl/2.12.6
                                                        )

                                                )

                                            [headerNames:GuzzleHttp\Psr7\Request:private] => Array
                                                (
                                                    [content-type] => content-type
                                                    [host] => Host
                                                    [x-php-expected-class] => X-Php-Expected-Class
                                                    [content-length] => content-length
                                                    [x-upload-content-type] => x-upload-content-type
                                                    [x-upload-content-length] => x-upload-content-length
                                                    [expect] => expect
                                                    [user-agent] => User-Agent
                                                    [x-goog-api-client] => x-goog-api-client
                                                )

                                            [protocol:GuzzleHttp\Psr7\Request:private] => 1.1
                                            [stream:GuzzleHttp\Psr7\Request:private] => GuzzleHttp\Psr7\Stream Object
                                                (
                                                    [stream:GuzzleHttp\Psr7\Stream:private] => Resource id #122
                                                    [size:GuzzleHttp\Psr7\Stream:private] => 52
                                                    [seekable:GuzzleHttp\Psr7\Stream:private] => 1
                                                    [readable:GuzzleHttp\Psr7\Stream:private] => 1
                                                    [writable:GuzzleHttp\Psr7\Stream:private] => 1
                                                    [uri:GuzzleHttp\Psr7\Stream:private] => php://temp
                                                    [customMetadata:GuzzleHttp\Psr7\Stream:private] => Array
                                                        (
                                                        )

                                                )

                                        )

                                    [2] =>
                                )

                        )

                )

            [3] => Array
                (
                    [file] => /Users/*********/projects/google-api/Google/vendor/google/apiclient/src/Http/REST.php
                    [line] => 75
                    [function] => run
                    [class] => Google\Task\Runner
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [4] => Array
                (
                    [file] => /Users/*********/projects/google-api/Google/vendor/google/apiclient/src/Client.php
                    [line] => 934
                    [function] => execute
                    [class] => Google\Http\REST
                    [type] => ::
                    [args] => Array
                        (
                            [0] => GuzzleHttp\Client Object
                                (
                                    [config:GuzzleHttp\Client:private] => Array
                                        (
                                            [base_uri] => GuzzleHttp\Psr7\Uri Object
                                                (
                                                    [scheme:GuzzleHttp\Psr7\Uri:private] => https
                                                    [userInfo:GuzzleHttp\Psr7\Uri:private] =>
                                                    [host:GuzzleHttp\Psr7\Uri:private] => www.googleapis.com
                                                    [port:GuzzleHttp\Psr7\Uri:private] =>
                                                    [path:GuzzleHttp\Psr7\Uri:private] =>
                                                    [query:GuzzleHttp\Psr7\Uri:private] =>
                                                    [fragment:GuzzleHttp\Psr7\Uri:private] =>
                                                    [composedComponents:GuzzleHttp\Psr7\Uri:private] =>
                                                )

                                            [http_errors] =>
                                            [handler] => GuzzleHttp\HandlerStack Object
                                                (
                                                    [handler:GuzzleHttp\HandlerStack:private] => Closure Object
                                                        (
                                                            [static] => Array
                                                                (
                                                                    [default] => Closure Object
                                                                        (
                                                                            [static] => Array
                                                                                (
                                                                                [default] => GuzzleHttp\Handler\CurlMultiHandler Object
                                                                                (
                                                                                [factory:GuzzleHttp\Handler\CurlMultiHandler:private] => GuzzleHttp\Handler\CurlFactory Object
                                                                                (
                                                                                [handles:GuzzleHttp\Handler\CurlFactory:private] => Array
                                                                                (
                                                                                )

                                                                                [maxHandles:GuzzleHttp\Handler\CurlFactory:private] => 50
                                                                                )

                                                                                [selectTimeout:GuzzleHttp\Handler\CurlMultiHandler:private] => 1
                                                                                [active:GuzzleHttp\Handler\CurlMultiHandler:private] => 0
                                                                                [handles:GuzzleHttp\Handler\CurlMultiHandler:private] => Array
                                                                                (
                                                                                )

                                                                                [delays:GuzzleHttp\Handler\CurlMultiHandler:private] => Array
                                                                                (
                                                                                )

                                                                                [options:GuzzleHttp\Handler\CurlMultiHandler:private] => Array
                                                                                (
                                                                                )

                                                                                )

                                                                                [sync] => GuzzleHttp\Handler\CurlHandler Object
                                                                                (
                                                                                [factory:GuzzleHttp\Handler\CurlHandler:private] => GuzzleHttp\Handler\CurlFactory Object
                                                                                (
                                                                                [handles:GuzzleHttp\Handler\CurlFactory:private] => Array
                                                                                (
                                                                                [0] => Resource id #94
                                                                                )

                                                                                [maxHandles:GuzzleHttp\Handler\CurlFactory:private] => 3
                                                                                )

                                                                                )

                                                                                )

                                                                            [parameter] => Array
                                                                                (
                                                                                [$request] =>
                                                                                [$options] =>
                                                                                )

                                                                        )

                                                                    [streaming] => GuzzleHttp\Handler\StreamHandler Object
                                                                        (
                                                                            [lastHeaders:GuzzleHttp\Handler\StreamHandler:private] => Array
                                                                                (
                                                                                )

                                                                        )

                                                                )

                                                            [parameter] => Array
                                                                (
                                                                    [$request] =>
                                                                    [$options] =>
                                                                )

                                                        )

                                                    [stack:GuzzleHttp\HandlerStack:private] => Array
                                                        (
                                                            [0] => Array
                                                                (
                                                                    [0] => Closure Object
                                                                        (
                                                                            [static] => Array
                                                                                (
                                                                                [bodySummarizer] =>
                                                                                )

                                                                            [parameter] => Array
                                                                                (
                                                                                [$handler] =>
                                                                                )

                                                                        )

                                                                    [1] => http_errors
                                                                )

                                                            [1] => Array
                                                                (
                                                                    [0] => Closure Object
                                                                        (
                                                                            [parameter] => Array
                                                                                (
                                                                                [$handler] =>
                                                                                )

                                                                        )

                                                                    [1] => allow_redirects
                                                                )

                                                            [2] => Array
                                                                (
                                                                    [0] => Closure Object
                                                                        (
                                                                            [parameter] => Array
                                                                                (
                                                                                [$handler] =>
                                                                                )

                                                                        )

                                                                    [1] => cookies
                                                                )

                                                            [3] => Array
                                                                (
                                                                    [0] => Closure Object
                                                                        (
                                                                            [parameter] => Array
                                                                                (
                                                                                [$handler] =>
                                                                                )

                                                                        )

                                                                    [1] => prepare_body
                                                                )

                                                            [4] => Array
                                                                (
                                                                    [0] => Google\Auth\Middleware\ScopedAccessTokenMiddleware Object
                                                                        (
                                                                            [tokenFunc:Google\Auth\Middleware\ScopedAccessTokenMiddleware:private] => Closure Object
                                                                                (
                                                                                [static] => Array
                                                                                (
                                                                                [token] => Array
                                                                                (
                                                                                [access_token] => ya29.a0AfB_byAtXxR7thImWmOzNKwJH2O1dTB92wO3pZAd2jLrogZ_iKfwlaw3qg3SK5eV25kX3iu_Z2fHBmN-dqBixjDK1U1qsNYJfWwiX5fWH4hPAZTvx_f-sASdMMitfu69UVjwv0y4F3GwBBllFnE4bLcCwclXrR_PRXZ7aCgYKAdISARESFQGOcNnCgMlFRJHTGjCGrdjifr2C1w0171
                                                                                [expires_in] => 3599
                                                                                [scope] => https://www.googleapis.com/auth/yt-analytics.readonly https://www.googleapis.com/auth/youtube.channel-memberships.creator https://www.googleapis.com/auth/youtube.upload https://www.googleapis.com/auth/youtube.force-ssl https://www.googleapis.com/auth/youtube.readonly https://www.googleapis.com/auth/youtubepartner-channel-audit https://www.googleapis.com/auth/youtube https://www.googleapis.com/auth/drive.metadata.readonly https://www.googleapis.com/auth/yt-analytics-monetary.readonly https://www.googleapis.com/auth/youtubepartner
                                                                                [token_type] => Bearer
                                                                                [created] =><PHONE_NUMBER>
                                                                                [refresh_token] => ****hidden refresh_token****
                                                                                )

                                                                                )

                                                                                [this] => Google\AuthHandler\Guzzle7AuthHandler Object
                                                                                (
                                                                                [cache:protected] => Google\Auth\Cache\MemoryCacheItemPool Object
                                                                                (
                                                                                [items:Google\Auth\Cache\MemoryCacheItemPool:private] => Array
                                                                                (
                                                                                [833d46aa77f3d802342527ed5eac827fa906592350cc03635fdf1775eb85f1f8] => Google\Auth\Cache\Item Object
                                                                                (
                                                                                [key:Google\Auth\Cache\Item:private] => 833d46aa77f3d802342527ed5eac827fa906592350cc03635fdf1775eb85f1f8
                                                                                [value:Google\Auth\Cache\Item:private] => ya29.a0AfB_byAtXxR7thImWmOzNKwJH2O1dTB92wO3pZAd2jLrogZ_iKfwlaw3qg3SK5eV25kX3iu_Z2fHBmN-dqBixjDK1U1qsNYJfWwiX5fWH4hPAZTvx_f-sASdMMitfu69UVjwv0y4F3GwBBllFnE4bLcCwclXrR_PRXZ7aCgYKAdISARESFQGOcNnCgMlFRJHTGjCGrdjifr2C1w0171
                                                                                [expiration:Google\Auth\Cache\Item:private] => DateTime Object
                                                                                (
                                                                                [date] => 2023-09-15 11:54:54.783449
                                                                                [timezone_type] => 3
                                                                                [timezone] => UTC
                                                                                )

                                                                                [isHit:Google\Auth\Cache\Item:private] => 1
                                                                                )

                                                                                )

                                                                                [deferredItems:Google\Auth\Cache\MemoryCacheItemPool:private] =>
                                                                                )

                                                                                [cacheConfig:protected] => Array
                                                                                (
                                                                                )

                                                                                )

                                                                                [parameter] => Array
                                                                                (
                                                                                [$scopes] =>
                                                                                )

                                                                                )

                                                                            [scopes:Google\Auth\Middleware\ScopedAccessTokenMiddleware:private] => Array
                                                                                (
                                                                                [0] => https://www.googleapis.com/auth/youtube https://www.googleapis.com/auth/youtube.force-ssl https://www.googleapis.com/auth/youtubepartner
                                                                                )

                                                                            [maxKeyLength:Google\Auth\Middleware\ScopedAccessTokenMiddleware:private] => 64
                                                                            [cacheConfig:Google\Auth\Middleware\ScopedAccessTokenMiddleware:private] => Array
                                                                                (
                                                                                [lifetime] => 1500
                                                                                [prefix] =>
                                                                                )

                                                                            [cache:Google\Auth\Middleware\ScopedAccessTokenMiddleware:private] => Google\Auth\Cache\MemoryCacheItemPool Object
                                                                                (
                                                                                [items:Google\Auth\Cache\MemoryCacheItemPool:private] => Array
                                                                                (
                                                                                [833d46aa77f3d802342527ed5eac827fa906592350cc03635fdf1775eb85f1f8] => Google\Auth\Cache\Item Object
                                                                                (
                                                                                [key:Google\Auth\Cache\Item:private] => 833d46aa77f3d802342527ed5eac827fa906592350cc03635fdf1775eb85f1f8
                                                                                [value:Google\Auth\Cache\Item:private] => ya29.a0AfB_byAtXxR7thImWmOzNKwJH2O1dTB92wO3pZAd2jLrogZ_iKfwlaw3qg3SK5eV25kX3iu_Z2fHBmN-dqBixjDK1U1qsNYJfWwiX5fWH4hPAZTvx_f-sASdMMitfu69UVjwv0y4F3GwBBllFnE4bLcCwclXrR_PRXZ7aCgYKAdISARESFQGOcNnCgMlFRJHTGjCGrdjifr2C1w0171
                                                                                [expiration:Google\Auth\Cache\Item:private] => DateTime Object
                                                                                (
                                                                                [date] => 2023-09-15 11:54:54.783449
                                                                                [timezone_type] => 3
                                                                                [timezone] => UTC
                                                                                )

                                                                                [isHit:Google\Auth\Cache\Item:private] => 1
                                                                                )

                                                                                )

                                                                                [deferredItems:Google\Auth\Cache\MemoryCacheItemPool:private] =>
                                                                                )

                                                                        )

                                                                    [1] => google_auth
                                                                )

                                                        )

                                                    [cached:GuzzleHttp\HandlerStack:private] => Closure Object
                                                        (
                                                            [static] => Array
                                                                (
                                                                    [handler] => GuzzleHttp\RedirectMiddleware Object
                                                                        (
                                                                            [nextHandler:GuzzleHttp\RedirectMiddleware:private] => Closure Object
                                                                                (
                                                                                [static] => Array
                                                                                (
                                                                                [handler] => GuzzleHttp\PrepareBodyMiddleware Object
                                                                                (
                                                                                [nextHandler:GuzzleHttp\PrepareBodyMiddleware:private] => Closure Object
                                                                                (
                                                                                [static] => Array
                                                                                (
                                                                                [handler] => Closure Object
                                                                                (
                                                                                [static] => Array
                                                                                (
                                                                                [default] => Closure Object
                                                                                (
                                                                                [static] => Array
                                                                                (
                                                                                [default] => GuzzleHttp\Handler\CurlMultiHandler Object
                                                                                (
                                                                                [factory:GuzzleHttp\Handler\CurlMultiHandler:private] => GuzzleHttp\Handler\CurlFactory Object
                                                                                (
                                                                                [handles:GuzzleHttp\Handler\CurlFactory:private] => Array
                                                                                (
                                                                                )

                                                                                [maxHandles:GuzzleHttp\Handler\CurlFactory:private] => 50
                                                                                )

                                                                                [selectTimeout:GuzzleHttp\Handler\CurlMultiHandler:private] => 1
                                                                                [active:GuzzleHttp\Handler\CurlMultiHandler:private] => 0
                                                                                [handles:GuzzleHttp\Handler\CurlMultiHandler:private] => Array
                                                                                (
                                                                                )

                                                                                [delays:GuzzleHttp\Handler\CurlMultiHandler:private] => Array
                                                                                (
                                                                                )

                                                                                [options:GuzzleHttp\Handler\CurlMultiHandler:private] => Array
                                                                                (
                                                                                )

                                                                                )

                                                                                [sync] => GuzzleHttp\Handler\CurlHandler Object
                                                                                (
                                                                                [factory:GuzzleHttp\Handler\CurlHandler:private] => GuzzleHttp\Handler\CurlFactory Object
                                                                                (
                                                                                [handles:GuzzleHttp\Handler\CurlFactory:private] => Array
                                                                                (
                                                                                [0] => Resource id #94
                                                                                )

                                                                                [maxHandles:GuzzleHttp\Handler\CurlFactory:private] => 3
                                                                                )

                                                                                )

                                                                                )

                                                                                [parameter] => Array
                                                                                (
                                                                                [$request] =>
                                                                                [$options] =>
                                                                                )

                                                                                )

                                                                                [streaming] => GuzzleHttp\Handler\StreamHandler Object
                                                                                (
                                                                                [lastHeaders:GuzzleHttp\Handler\StreamHandler:private] => Array
                                                                                (
                                                                                )

                                                                                )

                                                                                )

                                                                                [parameter] => Array
                                                                                (
                                                                                [$request] =>
                                                                                [$options] =>
                                                                                )

                                                                                )

                                                                                )

                                                                                [this] => Google\Auth\Middleware\ScopedAccessTokenMiddleware Object
                                                                                (
                                                                                [tokenFunc:Google\Auth\Middleware\ScopedAccessTokenMiddleware:private] => Closure Object
                                                                                (
                                                                                [static] => Array
                                                                                (
                                                                                [token] => Array
                                                                                (
                                                                                [access_token] => ya29.a0AfB_byAtXxR7thImWmOzNKwJH2O1dTB92wO3pZAd2jLrogZ_iKfwlaw3qg3SK5eV25kX3iu_Z2fHBmN-dqBixjDK1U1qsNYJfWwiX5fWH4hPAZTvx_f-sASdMMitfu69UVjwv0y4F3GwBBllFnE4bLcCwclXrR_PRXZ7aCgYKAdISARESFQGOcNnCgMlFRJHTGjCGrdjifr2C1w0171
                                                                                [expires_in] => 3599
                                                                                [scope] => https://www.googleapis.com/auth/yt-analytics.readonly https://www.googleapis.com/auth/youtube.channel-memberships.creator https://www.googleapis.com/auth/youtube.upload https://www.googleapis.com/auth/youtube.force-ssl https://www.googleapis.com/auth/youtube.readonly https://www.googleapis.com/auth/youtubepartner-channel-audit https://www.googleapis.com/auth/youtube https://www.googleapis.com/auth/drive.metadata.readonly https://www.googleapis.com/auth/yt-analytics-monetary.readonly https://www.googleapis.com/auth/youtubepartner
                                                                                [token_type] => Bearer
                                                                                [created] =><PHONE_NUMBER>
                                                                                [refresh_token] => ****hidden refresh_token****
                                                                                )

                                                                                )

                                                                                [this] => Google\AuthHandler\Guzzle7AuthHandler Object
                                                                                (
                                                                                [cache:protected] => Google\Auth\Cache\MemoryCacheItemPool Object
                                                                                (
                                                                                [items:Google\Auth\Cache\MemoryCacheItemPool:private] => Array
                                                                                (
                                                                                [833d46aa77f3d802342527ed5eac827fa906592350cc03635fdf1775eb85f1f8] => Google\Auth\Cache\Item Object
                                                                                (
                                                                                [key:Google\Auth\Cache\Item:private] => 833d46aa77f3d802342527ed5eac827fa906592350cc03635fdf1775eb85f1f8
                                                                                [value:Google\Auth\Cache\Item:private] => ya29.a0AfB_byAtXxR7thImWmOzNKwJH2O1dTB92wO3pZAd2jLrogZ_iKfwlaw3qg3SK5eV25kX3iu_Z2fHBmN-dqBixjDK1U1qsNYJfWwiX5fWH4hPAZTvx_f-sASdMMitfu69UVjwv0y4F3GwBBllFnE4bLcCwclXrR_PRXZ7aCgYKAdISARESFQGOcNnCgMlFRJHTGjCGrdjifr2C1w0171
                                                                                [expiration:Google\Auth\Cache\Item:private] => DateTime Object
                                                                                (
                                                                                [date] => 2023-09-15 11:54:54.783449
                                                                                [timezone_type] => 3
                                                                                [timezone] => UTC
                                                                                )

                                                                                [isHit:Google\Auth\Cache\Item:private] => 1
                                                                                )

                                                                                )

                                                                                [deferredItems:Google\Auth\Cache\MemoryCacheItemPool:private] =>
                                                                                )

                                                                                [cacheConfig:protected] => Array
                                                                                (
                                                                                )

                                                                                )

                                                                                [parameter] => Array
                                                                                (
                                                                                [$scopes] =>
                                                                                )

                                                                                )

                                                                                [scopes:Google\Auth\Middleware\ScopedAccessTokenMiddleware:private] => Array
                                                                                (
                                                                                [0] => https://www.googleapis.com/auth/youtube https://www.googleapis.com/auth/youtube.force-ssl https://www.googleapis.com/auth/youtubepartner
                                                                                )

                                                                                [maxKeyLength:Google\Auth\Middleware\ScopedAccessTokenMiddleware:private] => 64
                                                                                [cacheConfig:Google\Auth\Middleware\ScopedAccessTokenMiddleware:private] => Array
                                                                                (
                                                                                [lifetime] => 1500
                                                                                [prefix] =>
                                                                                )

                                                                                [cache:Google\Auth\Middleware\ScopedAccessTokenMiddleware:private] => Google\Auth\Cache\MemoryCacheItemPool Object
                                                                                (
                                                                                [items:Google\Auth\Cache\MemoryCacheItemPool:private] => Array
                                                                                (
                                                                                [833d46aa77f3d802342527ed5eac827fa906592350cc03635fdf1775eb85f1f8] => Google\Auth\Cache\Item Object
                                                                                (
                                                                                [key:Google\Auth\Cache\Item:private] => 833d46aa77f3d802342527ed5eac827fa906592350cc03635fdf1775eb85f1f8
                                                                                [value:Google\Auth\Cache\Item:private] => ya29.a0AfB_byAtXxR7thImWmOzNKwJH2O1dTB92wO3pZAd2jLrogZ_iKfwlaw3qg3SK5eV25kX3iu_Z2fHBmN-dqBixjDK1U1qsNYJfWwiX5fWH4hPAZTvx_f-sASdMMitfu69UVjwv0y4F3GwBBllFnE4bLcCwclXrR_PRXZ7aCgYKAdISARESFQGOcNnCgMlFRJHTGjCGrdjifr2C1w0171
                                                                                [expiration:Google\Auth\Cache\Item:private] => DateTime Object
                                                                                (
                                                                                [date] => 2023-09-15 11:54:54.783449
                                                                                [timezone_type] => 3
                                                                                [timezone] => UTC
                                                                                )

                                                                                [isHit:Google\Auth\Cache\Item:private] => 1
                                                                                )

                                                                                )

                                                                                [deferredItems:Google\Auth\Cache\MemoryCacheItemPool:private] =>
                                                                                )

                                                                                )

                                                                                [parameter] => Array
                                                                                (
                                                                                [$request] =>
                                                                                [$options] =>
                                                                                )

                                                                                )

                                                                                )

                                                                                )

                                                                                [parameter] => Array
                                                                                (
                                                                                [$request] =>
                                                                                [$options] =>
                                                                                )

                                                                                )

                                                                        )

                                                                    [bodySummarizer] =>
                                                                )

                                                            [parameter] => Array
                                                                (
                                                                    [$request] =>
                                                                    [$options] =>
                                                                )

                                                        )

                                                )

                                            [allow_redirects] => Array
                                                (
                                                    [max] => 5
                                                    [protocols] => Array
                                                        (
                                                            [0] => http
                                                            [1] => https
                                                        )

                                                    [strict] =>
                                                    [referer] =>
                                                    [track_redirects] =>
                                                )

                                            [decode_content] => 1
                                            [verify] => 1
                                            [cookies] =>
                                            [idn_conversion] =>
                                            [headers] => Array
                                                (
                                                    [User-Agent] => GuzzleHttp/7
                                                )

                                            [auth] => scoped
                                        )

                                )

                            [1] => GuzzleHttp\Psr7\Request Object
                                (
                                    [method:GuzzleHttp\Psr7\Request:private] => POST
                                    [requestTarget:GuzzleHttp\Psr7\Request:private] =>
                                    [uri:GuzzleHttp\Psr7\Request:private] => GuzzleHttp\Psr7\Uri Object
                                        (
                                            [scheme:GuzzleHttp\Psr7\Uri:private] => https
                                            [userInfo:GuzzleHttp\Psr7\Uri:private] =>
                                            [host:GuzzleHttp\Psr7\Uri:private] => www.googleapis.com
                                            [port:GuzzleHttp\Psr7\Uri:private] =>
                                            [path:GuzzleHttp\Psr7\Uri:private] => /upload/youtube/partner/v1/references
                                            [query:GuzzleHttp\Psr7\Uri:private] => onBehalfOfContentOwner=_hidden_content_owner_&uploadType=resumable
                                            [fragment:GuzzleHttp\Psr7\Uri:private] =>
                                            [composedComponents:GuzzleHttp\Psr7\Uri:private] => https://www.googleapis.com/upload/youtube/partner/v1/references?onBehalfOfContentOwner=_hidden_content_owner_&uploadType=resumable
                                        )

                                    [headers:GuzzleHttp\Psr7\Request:private] => Array
                                        (
                                            [Host] => Array
                                                (
                                                    [0] => www.googleapis.com
                                                )

                                            [X-Php-Expected-Class] => Array
                                                (
                                                    [0] => Google_Service_YouTubePartner_Reference
                                                )

                                            [content-type] => Array
                                                (
                                                    [0] => application/json; charset=UTF-8
                                                )

                                            [content-length] => Array
                                                (
                                                    [0] => 52
                                                )

                                            [x-upload-content-type] => Array
                                                (
                                                    [0] => video/mp4
                                                )

                                            [x-upload-content-length] => Array
                                                (
                                                    [0] => 42647938
                                                )

                                            [expect] => Array
                                                (
                                                    [0] =>
                                                )

                                            [User-Agent] => Array
                                                (
                                                    [0] => google-api-php-client/2.12.6
                                                )

                                            [x-goog-api-client] => Array
                                                (
                                                    [0] => gl-php/7.4.33 gdcl/2.12.6
                                                )

                                        )

                                    [headerNames:GuzzleHttp\Psr7\Request:private] => Array
                                        (
                                            [content-type] => content-type
                                            [host] => Host
                                            [x-php-expected-class] => X-Php-Expected-Class
                                            [content-length] => content-length
                                            [x-upload-content-type] => x-upload-content-type
                                            [x-upload-content-length] => x-upload-content-length
                                            [expect] => expect
                                            [user-agent] => User-Agent
                                            [x-goog-api-client] => x-goog-api-client
                                        )

                                    [protocol:GuzzleHttp\Psr7\Request:private] => 1.1
                                    [stream:GuzzleHttp\Psr7\Request:private] => GuzzleHttp\Psr7\Stream Object
                                        (
                                            [stream:GuzzleHttp\Psr7\Stream:private] => Resource id #122
                                            [size:GuzzleHttp\Psr7\Stream:private] => 52
                                            [seekable:GuzzleHttp\Psr7\Stream:private] => 1
                                            [readable:GuzzleHttp\Psr7\Stream:private] => 1
                                            [writable:GuzzleHttp\Psr7\Stream:private] => 1
                                            [uri:GuzzleHttp\Psr7\Stream:private] => php://temp
                                            [customMetadata:GuzzleHttp\Psr7\Stream:private] => Array
                                                (
                                                )

                                        )

                                )

                            [2] =>
                            [3] => Array
                                (
                                )

                            [4] =>
                        )

                )

            [5] => Array
                (
                    [file] => /Users/*********/projects/google-api/Google/vendor/google/apiclient/src/Http/MediaFileUpload.php
                    [line] => 319
                    [function] => execute
                    [class] => Google\Client
                    [type] => ->
                    [args] => Array
                        (
                            [0] => GuzzleHttp\Psr7\Request Object
                                (
                                    [method:GuzzleHttp\Psr7\Request:private] => POST
                                    [requestTarget:GuzzleHttp\Psr7\Request:private] =>
                                    [uri:GuzzleHttp\Psr7\Request:private] => GuzzleHttp\Psr7\Uri Object
                                        (
                                            [scheme:GuzzleHttp\Psr7\Uri:private] => https
                                            [userInfo:GuzzleHttp\Psr7\Uri:private] =>
                                            [host:GuzzleHttp\Psr7\Uri:private] => www.googleapis.com
                                            [port:GuzzleHttp\Psr7\Uri:private] =>
                                            [path:GuzzleHttp\Psr7\Uri:private] => /upload/youtube/partner/v1/references
                                            [query:GuzzleHttp\Psr7\Uri:private] => onBehalfOfContentOwner=_hidden_content_owner_&uploadType=resumable
                                            [fragment:GuzzleHttp\Psr7\Uri:private] =>
                                            [composedComponents:GuzzleHttp\Psr7\Uri:private] => https://www.googleapis.com/upload/youtube/partner/v1/references?onBehalfOfContentOwner=_hidden_content_owner_&uploadType=resumable
                                        )

                                    [headers:GuzzleHttp\Psr7\Request:private] => Array
                                        (
                                            [Host] => Array
                                                (
                                                    [0] => www.googleapis.com
                                                )

                                            [X-Php-Expected-Class] => Array
                                                (
                                                    [0] => Google_Service_YouTubePartner_Reference
                                                )

                                            [content-type] => Array
                                                (
                                                    [0] => application/json; charset=UTF-8
                                                )

                                            [content-length] => Array
                                                (
                                                    [0] => 52
                                                )

                                            [x-upload-content-type] => Array
                                                (
                                                    [0] => video/mp4
                                                )

                                            [x-upload-content-length] => Array
                                                (
                                                    [0] => 42647938
                                                )

                                            [expect] => Array
                                                (
                                                    [0] =>
                                                )

                                            [User-Agent] => Array
                                                (
                                                    [0] => google-api-php-client/2.12.6
                                                )

                                            [x-goog-api-client] => Array
                                                (
                                                    [0] => gl-php/7.4.33 gdcl/2.12.6
                                                )

                                        )

                                    [headerNames:GuzzleHttp\Psr7\Request:private] => Array
                                        (
                                            [content-type] => content-type
                                            [host] => Host
                                            [x-php-expected-class] => X-Php-Expected-Class
                                            [content-length] => content-length
                                            [x-upload-content-type] => x-upload-content-type
                                            [x-upload-content-length] => x-upload-content-length
                                            [expect] => expect
                                            [user-agent] => User-Agent
                                            [x-goog-api-client] => x-goog-api-client
                                        )

                                    [protocol:GuzzleHttp\Psr7\Request:private] => 1.1
                                    [stream:GuzzleHttp\Psr7\Request:private] => GuzzleHttp\Psr7\Stream Object
                                        (
                                            [stream:GuzzleHttp\Psr7\Stream:private] => Resource id #122
                                            [size:GuzzleHttp\Psr7\Stream:private] => 52
                                            [seekable:GuzzleHttp\Psr7\Stream:private] => 1
                                            [readable:GuzzleHttp\Psr7\Stream:private] => 1
                                            [writable:GuzzleHttp\Psr7\Stream:private] => 1
                                            [uri:GuzzleHttp\Psr7\Stream:private] => php://temp
                                            [customMetadata:GuzzleHttp\Psr7\Stream:private] => Array
                                                (
                                                )

                                        )

                                )

                            [1] =>
                        )

                )

            [6] => Array
                (
                    [file] => /Users/*********/projects/google-api/Google/vendor/google/apiclient/src/Http/MediaFileUpload.php
                    [line] => 289
                    [function] => fetchResumeUri
                    [class] => Google\Http\MediaFileUpload
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [7] => Array
                (
                    [file] => /Users/*********/projects/google-api/Google/vendor/google/apiclient/src/Http/MediaFileUpload.php
                    [line] => 126
                    [function] => getResumeUri
                    [class] => Google\Http\MediaFileUpload
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [8] => Array
                (
                    [file] => /Users/*********/projects/google-api/Google/GoogleYouTubeContentIdAPI.php
                    [line] => 205
                    [function] => nextChunk
                    [class] => Google\Http\MediaFileUpload
                    [type] => ->
                    [args] => // stream data of the video
			 )

@yash30201 Thank you for reopen it.
I was wondering about my full error, should I put in a file instead of a long message ? If yes what kind of file should I use ?
Thanks

Hey guys,
Still having the same error (even with the v.2.15.1) but I think is neither the PHP Client library or my code the issue.
Below you can see that I'm not the only one having the same issue and people are saying that they didn't change anything in their code too

I'll keep an eye of those issues and will let you know if Google answer

I also had the same issue.
Sending the request through the library rather than getting the client and
sending yourself is a workaround you could try, this works for me
On Mon, 18 Sep 2023 at 16:52, oolul @.***> wrote:

Hey guys,
Still having the same error (even with the v.2.15.1) but I think is
neither the PHP Client library or my code the issue.
Below you can see that I'm not the only one having the same issue and
people are saying that they didn't change anything in their code too
https://issuetracker.google.com/issues/300280233
https://issuetracker.google.com/issues/300236995
I'll keep an eye of those issues and will let you know if Google answer
—
Reply to this email directly, view it on GitHub
https://github.com/googleapis/google-api-php-client/issues/2479#issuecomment-1723608661,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAWOZT2VVLQ7Y4ZLZACFOE3X3BN35ANCNFSM6AAAAAA2YBCBQQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Sorry @benrcole I'm not sure to understand what you're suggesting.
I've tried to do it with the library (v2.14.0 and v2.15.1) and it failed. After that I tried to do manual requests myself and still having the same error at the same step of the process and I can tell you that I'm sure that the Authorization header is present on my request.
What I've tried to make sure my access_token was valid is to put a fake one when I try to fetch an asset or update the match policy and it failed so that confirms that my access_token is valid or at least for those endpoints...
Could you be more explicit of what works for you ? And are you doing a reference file upload too ?
Thanks

Hi @oolul ,
Sorry for the delay in response from my end. I've taken care of the code formatting by placing them in collapsible dropdown so no worries there.
Thanks for pointing the existing bug tickets in issue tracker. I see that those issue got resolved today from the backend engineering team. Can you try it and tell me if this issue is still occuring?
Meanwhile I'll take a look at your repro case and try to see what's happening there.

Hi @yash30201,
Yes I have tested it and it's working again. So all good, definitely something wrong on their side.
It's not my issue but as far I'm concerned you can close that issue.
Thanks again for your time.

I'm having the same issue, my code was working and suddendly it started throwing the same error

This may be due to an expired token and not being shown properly. I recently generated a new auth token and after an hour I started having an issue. By default, oauth2 token will expire. At that point you need to use a refresh token Not sure if this is everyone's issue but it was definitely mine

@vpuentem , can you please confirm if refreshing the token solves your problem?

Closing this due to inactivity. Please reopen if the issue still persists.


The background color of the search bar is transparent When I select a phpto in PHPickerViewController

I have used the image_picker plugin in my flutter project, When I  use it to select a photo on  an  iOS device whitch system version is iOS14,  image_picker used to present the PHPickerViewController, but The background color of the search bar is transparent on the PHPickerViewController by default，this affects the user experience. Could you give  the search box a white background color? like this:
- (void)pickImageWithPHPicker:(bool)single API_AVAILABLE(ios(14)) {
  PHPickerConfiguration *config =
      [[PHPickerConfiguration alloc] initWithPhotoLibrary:PHPhotoLibrary.sharedPhotoLibrary];
  if (!single) {
    config.selectionLimit = 0;  // Setting to zero allow us to pick unlimited photos
  }
  config.filter = [PHPickerFilter imagesFilter];

  _pickerViewController = [[PHPickerViewController alloc] initWithConfiguration:config];

  _pickerViewController.delegate = self;
  [[UISearchBar appearance] setBackgroundColor:UIColor.whiteColor]; //set the search box to a white background color
  [self checkPhotoAuthorizationForAccessLevel];
}

Hi @wangchaohao123

this affects the user experience. Could you give the search box a white background color? like this:

Are you referring to this search bar? How is this afffecting user exprience, can you please provide an example?
This changes color based on system theme by iOS itself (light to dark)

Preview

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


Customer notes support for invoices missing?

This doesn't seem to be apart of this lib yet, any idea when?

Hi @mms-, we're working on this and it'll be available in the upcoming weeks.

This is to be handled by https://github.com/recurly/recurly-client-net/pull/67

@mms- sorry about the long delay. This has been released under v1.1.9
Let us know if there are any other issues!


Feature idea - Keep auto-behavior but make editable?

Thanks for your work on this, its exactly what I've tried to wrangle together on my own but does it in a much better way.
One use case that comes up for me however is the following:

I have a component which, by default, should use a child reference for a field automatically because it covers 90% of use cases.
However, the remaining 10% of the time i need to override that reference manually.

Basically, the feature would be something like:
[SerializeField, Child(Flag.Editable)] ...

What do you think?  I'm happy to take a stab at implementing it.

So in this case would it still validate that the manually assigned reference must be a child? For instance, say you have 2 children that satisfy the reference, and by default it's picking #1 but you want to re-assign to #2.
Or do you expect it to allow you to assign a reference from anywhere, not necessarily a child?

My expectation would probably be the first one, that it still needs to be a child. I need to think about this a bit more but I do think the idea has merit...
My initial thought is to add Flag.Editable and still require the reference to be located on the child/parent/self. Additionally we could add something like a set of "hint" flags to the Anywhere attribute so it attempts to find it somewhere if null but allows editing and assigning from anywhere.
[Child(Flag.Editable)] // assignable to any child
[Anywhere(Hint.Child)] // assignable to anywhere, attempts to find a child if null

What do you think?

That sounds reasonable -- I'll start with the implementation of the first feature as you described since that will be sufficient for my needs too.  Hint seems good too be I don't want to overcomplicate things if its not needed.


Date fields are incorrect

I'm using version <IP_ADDRESS> of the module.
I'm seeing issues with 'date' fields being returned as 23:00:00 the previous day instead of 00:00:00 the day of.   I'm not sure if this was caused by summer time ending, or what, but I don't believe this has been happening for very long.
Here's an example with Get-AtwsTimeEntry that shows the incorrect results.
PS D:\working> Get-AtwsTimeEntry -TicketID 515745 | Select *date*

DateWorked                    : 7/16/2019 11:00:00 PM
StartDateTime                 : 7/17/2019 11:02:00 AM
EndDateTime                   : 7/17/2019 11:16:00 AM
CreateDateTime                : 7/17/2019 11:16:23 AM
LastModifiedDateTime          : 7/17/2019 11:16:23 AM

I did some review of other calls that return "date" fields, like contracts (Get-AtwsContract), and they are doing the same thing - returning a datetime object that is 11pm the previous day instead of 00:00;00 the day of.   This obviously results in those fields being a day off.
It's also not possible to query the correct day using these fields without some tricks.   I've got a couple workarounds but am concerned that using them will break again when summer time starts up again.
I'm in the CST6CDT timezone, which is not currently affected by "Daylight Savings Time" aka: "Summer Time"
PS D:\working> Get-TimeZone

Id                         : Central Standard Time
DisplayName                : (UTC-06:00) Central Time (US & Canada)
StandardName               : Central Standard Time
DaylightName               : Central Daylight Time
BaseUtcOffset              : -06:00:00
SupportsDaylightSavingTime : True

I've queried the API directly using the PS code examples from the AutotaskDevelopment samples, here and I get the correct date:
PS D:\working> ($atws.query($xml)).EntityResults | Select *date*

DateWorked                    : 7/17/2019 12:00:00 AM
StartDateTime                 : 7/17/2019 12:02:00 PM
EndDateTime                   : 7/17/2019 12:16:00 PM
CreateDateTime                : 7/17/2019 12:16:23 PM
LastModifiedDateTime          : 7/17/2019 12:16:23 PM

One last thing... I think this will reliably return true or false depending on if daylight saving time is active or not:
PS D:\working> ([System.TimeZoneInfo]::ConvertTimeFromUtc((Get-Date).ToUniversalTime(), (Get-TimeZone))).IsDaylightSavingTime()
False

Let me know what you think!
Be well,
James

Date and datetime is definitely an issue. The API works in EST only. Since I am located in Europe I need to work in local time. This part of the code is improving, however I do have some fixes in the pipeline that will (hopefully) keep dates (should not be localized) separated from datetime (must be localized). All date fields are returned as Datetime, so this is not straight forward.
The issue of dates vs datetime is mostly solved in the current development code, but daylight savings time is a pain. Your problems stems from the code converting all dates and datetime to the current local time. I need to convert the datetime to the correct local time of the datetime itself.
How do I determine - using .NET classes - whether any given date was "Daylights Savings Time" or "Summer time" in the users current timezone?
I am so looking forward to Europe killing Daylights Savings time - it is certainly not saving any time for coders 😉

I'm having this issue here as well. I'm in Central Time (CST) and a coworker is in Eastern Time (EST). My coworker performed a request and got 203 results. I performed the same request and got 1 result.
Here is the query:
 Get-AtwsTimeEntry -DateWorked '5/6/2020'

I modified the following line to remove the offset, as i am wondering if the API is not expecting that.
https://github.com/ecitsolutions/Autotask/blob/643a1d7e919a1097e8b600d5cb162d92ea59f9b7/Autotask/Private/ConvertTo-AtwsDate.ps1#L59
Specifically i changed line 59 to this string:
$value = $DateTime.ToString('yyyy-MM-ddTHH:mm:ss.ffff')

After re-importing the module with the 'z' character removed, i also got 203 results.

Hi @ArtisanByteCrafter
The Autotask WebAPI returns all datetime fields in EST. This is inconvenient when you live and work in Europe. That is why I have added support for converting dates to and from local time. To do that I convert datetime in queries to sortable datetime, including offset from GMT. So you are right. By removing that 'z' you force the module to treat all datetime in queries as EST. The end result is that you get the exact same result as your colleague who is in EST.
But technically, this is the wrong result if you intended to get all timeentries from a specific date as seen from another timezone. Still, the difference between CST and EST is just one hour. It is a bit weird you get such a different result. I would have liked to see the output of
Get-AtwsTimeEntry -DateWorked '5/6/2020' -Verbose

With the original code.

Sure thing. I have unmodified my v 1.6.6 module and ran a simple test, both from my computer in Central Time, and immediately again from a server in Eastern Time. Both are below. Central time returns only 31 results, while eastern time returns 780 results:
from computer in Central Time:
$test = Get-AtwsTimeEntry -DateWorked '5/1/2020' -Debug -Verbose
DEBUG: Get-AtwsTimeEntry: Begin of function
DEBUG: Get-AtwsTimeEntry: Query based on parameters, parsing
DEBUG: ConvertTo-AtwsFilter: Begin of function
DEBUG: Get-AtwsFieldInfo: Begin of function
VERBOSE: Get-AtwsFieldInfo: Looking up detailed Fieldinfo for entity TimeEntry
DEBUG: Get-AtwsFieldInfo: Returning fieldinfo for entity TimeEntry from cache
DEBUG: Get-AtwsFieldInfo: End of function
DEBUG: ConvertTo-AtwsFilter: Query based on parameters, parsing
DEBUG: ConvertTo-AtwsDate: Input Value: 5/1/2020 12:00:00 AM
VERBOSE: ConvertTo-AtwsDate: Converting datetime to 2020-05-01T00:00:00.0000-5
DEBUG: ConvertTo-AtwsDate: Output value: 2020-05-01T00:00:00.0000-5
DEBUG: ConvertTo-AtwsDate: Input Value: 5/2/2020 12:00:00 AM
VERBOSE: ConvertTo-AtwsDate: Converting datetime to 2020-05-02T00:00:00.0000-5
DEBUG: ConvertTo-AtwsDate: Output value: 2020-05-02T00:00:00.0000-5
VERBOSE: Get-AtwsTimeEntry: About to query the Autotask Web API for TimeEntry(s).
DEBUG: Get-AtwsData: Begin of function
VERBOSE: Get-AtwsData: Converting query string into QueryXml. string as array looks like: TimeEntry, DateWorked, -ge, 2020-05-01T00:00:00.0000-5, DateWorked, -le, 2020-05-02T00:00:00.0000-5
DEBUG: Get-AtwsData: QueryXml looks like: <queryxml><entity>TimeEntry</entity><query><field>DateWorked<expression op="GreaterThanorEquals">2020-05-01T00:00:00.0000-5</expression></field><field>DateWorked<expression op="LessThanOrEquals">2020-05-02T00:00:00.0000-5</expression></field></query></queryxml>
VERBOSE: Get-AtwsData: Adding looping construct to query to handle more than 500 results.
VERBOSE: Get-AtwsData: Passing QueryXML to Autotask API
DEBUG: ConvertTo-LocalObject: Begin of function
DEBUG: Get-AtwsFieldInfo: Begin of function
VERBOSE: Get-AtwsFieldInfo: Looking up detailed Fieldinfo for entity TimeEntry
DEBUG: Get-AtwsFieldInfo: Returning fieldinfo for entity TimeEntry from cache
DEBUG: Get-AtwsFieldInfo: End of function
DEBUG: ConvertTo-LocalObject: End of function, returning 31 TimeEntry(s)
DEBUG: Get-AtwsData: End of function
VERBOSE: Get-AtwsTimeEntry: Number of entities returned by base query: 31
DEBUG: Get-AtwsTimeEntry: End of function

A count of results from CST:
PS> $test.count
31

And the same from a computer in Eastern Time, executed a few seconds later.
PS> $test = Get-AtwsTimeEntry -DateWorked '5/1/2020' -Debug -Verbose
DEBUG: Get-AtwsTimeEntry: Begin of function
DEBUG: Get-AtwsTimeEntry: Query based on parameters, parsing
DEBUG: ConvertTo-AtwsFilter: Begin of function
DEBUG: Get-AtwsFieldInfo: Begin of function
VERBOSE: Get-AtwsFieldInfo: Looking up detailed Fieldinfo for entity TimeEntry
DEBUG: Get-AtwsFieldInfo: Returning fieldinfo for entity TimeEntry from cache
DEBUG: Get-AtwsFieldInfo: End of function
DEBUG: ConvertTo-AtwsFilter: Query based on parameters, parsing
DEBUG: ConvertTo-AtwsDate: Input Value: 5/1/2020 12:00:00 AM
VERBOSE: ConvertTo-AtwsDate: Converting datetime to 2020-05-01T00:00:00.0000-4
DEBUG: ConvertTo-AtwsDate: Output value: 2020-05-01T00:00:00.0000-4
DEBUG: ConvertTo-AtwsDate: Input Value: 5/2/2020 12:00:00 AM
VERBOSE: ConvertTo-AtwsDate: Converting datetime to 2020-05-02T00:00:00.0000-4
DEBUG: ConvertTo-AtwsDate: Output value: 2020-05-02T00:00:00.0000-4
VERBOSE: Get-AtwsTimeEntry: About to query the Autotask Web API for TimeEntry(s).
DEBUG: Get-AtwsData: Begin of function
VERBOSE: Get-AtwsData: Converting query string into QueryXml. string as array looks like: TimeEntry, DateWorked, -ge, 2020-05-01T00:00:00.0000-4, DateWorked, -le, 2020-05-02T00:00:00.0000-4
DEBUG: Get-AtwsData: QueryXml looks like: <queryxml><entity>TimeEntry</entity><query><field>DateWorked<expression
op="GreaterThanorEquals">2020-05-01T00:00:00.0000-4</expression></field><field>DateWorked<expression op="LessThanOrEquals">2020-05-02T00:00:00.0000-4</expression></field></query></queryxml>
VERBOSE: Get-AtwsData: Adding looping construct to query to handle more than 500 results.
VERBOSE: Get-AtwsData: Passing QueryXML to Autotask API
DEBUG: ConvertTo-LocalObject: Begin of function
DEBUG: Get-AtwsFieldInfo: Begin of function
VERBOSE: Get-AtwsFieldInfo: Looking up detailed Fieldinfo for entity TimeEntry
DEBUG: Get-AtwsFieldInfo: Returning fieldinfo for entity TimeEntry from cache
DEBUG: Get-AtwsFieldInfo: End of function
DEBUG: ConvertTo-LocalObject: End of function, returning 500 TimeEntry(s)
VERBOSE: Get-AtwsData: Passing QueryXML to Autotask API
DEBUG: ConvertTo-LocalObject: Begin of function
DEBUG: Get-AtwsFieldInfo: Begin of function
VERBOSE: Get-AtwsFieldInfo: Looking up detailed Fieldinfo for entity TimeEntry
DEBUG: Get-AtwsFieldInfo: Returning fieldinfo for entity TimeEntry from cache
DEBUG: Get-AtwsFieldInfo: End of function
DEBUG: ConvertTo-LocalObject: End of function, returning 280 TimeEntry(s)
DEBUG: Get-AtwsData: End of function
VERBOSE: Get-AtwsTimeEntry: Number of entities returned by base query: 780
DEBUG: Get-AtwsTimeEntry: End of function

A count of results from EST:
PS> $test.count
780

I'd also like to add this, after some additional detective work. I ran the following exact same code across two different versions of the module - <IP_ADDRESS> (returns as expected) and 1.6.6 (returns way more than expected).
I tried to run a single query:
Autotask Version <IP_ADDRESS>
$StartDate = ([datetime]'5/1/2020')
$EndDate = [datetime]::today

$dateArray = while ($StartDate -le $EndDate){
    get-date $StartDate -f "M/d/yyyy"
    $StartDate = ($StartDate).AddDays(1)
}

$billingItems = Get-AtwsBillingItem -PostedDate $dateArray

$Billingitems.count
1300

Autotask Version 1.6.6
$StartDate = ([datetime]'5/1/2020')
$EndDate = [datetime]::today

$dateArray = while ($StartDate -le $EndDate){
    get-date $StartDate -f "M/d/yyyy"
    $StartDate = ($StartDate).AddDays(1)
}

$billingItems = Get-AtwsBillingItem -PostedDate $dateArray

$Billingitems.count
548643

I had a suspicion that the 1.6.6 version was returning every billing item in our org's history, and I believe that's the case. When you look at the verbose output, the operators seem to confirm that theory. On the left is <IP_ADDRESS> and it uses the -eq operator. At some point, this was changed to using -le which seems to be going back and retrieving every single item in its history instead of honoring the date filters given.

Thank you, that is definitely a bug.
Handling datetime is a constant source of pain, as neither the API nor PowerShell separates date fields from datetime fields. Like your timeentry query. You would expect this query:
Get-AtwsTimeEntry -DateWorked '5/6/2020'

to return all timeentries from May 6th, right? Wrong. If I posted that query to the API literally, i.e.
Get-AtwsTimeEntry -Filter {DateWorked -eq '5/6/2020'}

you would most likely get zero results. Because the API would be looking for time entries with a WorkedDate_Time_ of '5/6/2020 00:00:00'. So I added code to expand dates into a filter that includes all datetime from midnight until midnight. This, of course is a timezone dependent filter.
And your example clearly show that there is a bug in that code. I will look into it!

BTW: Workarounds:
# The simplest, provided EndDate always is today
$StartDate = ([datetime]'5/1/2020')
$billingItems = Get-AtwsBillingItem -PostedDate $StartDate -GreaterThan PostedDate
$billingItems.count

# The precise (covers specific timespan)
$EndDate = [datetime]::today
$billingItems = Get-AtwsBillingItem -Filter {PostedDate -ge $StartDate -and PostedDate -le $EndDate}
$billingItems.count

Hope that helps while you wait for a fix.

This workaround seems to work perfectly, thank you so much! If you need any help working out any bugs for different timezones, I'm in CST, and have resources in EST, so please feel free to reach out if needed.

Thank you again, @ArtisanByteCrafter, I will do that! When I have fixed my code I will let you know 😉

Module 1.6.7 is out with a fix for the multiple date values bug. The workaround is still the best way of querying for a date interval, though. And the timezone challenges are still mostly unsolved.


'Error: Cannot enqueue Query after being destroyed' when calling liveDB.end

I got this code to test a connection:
		var liveDB = new LiveMysql(
		{
			host: host,
			post: port,
			user: user,
			password: password
		}, function(err, result) {
	  		liveDB.end();
		});

And I keep getting this error: 'Error: Cannot enqueue Query after being destroyed' at Protocol._validateEnqueue (C:\Users\Tommy J\AppData\Local.meteor\packages\nu
mtel_mysql\0.1.9\npm\node_modules\mysql-live-select\node_modules\zongji\node_modules\mysql\lib\protocol\Protocol.js:199:
16)
How can I end a connection properly?

That callback occurs immediately after the first database connection is ready but does not wait for the Zongji binlog connection to be ready as there is no callback for that event. To get around this, wait at least a second before closing the connection:
  var liveDb = new LiveMysql({
    ...
  }, Meteor.bindEnvironment(function(error) {
    Meteor.setTimeout(function() {
      liveDb.end();
    }, 1000);
  }));

Definitely a bug, I'll see if I can come up with a solution soon.

Thanks, and great work!!

Ok, if you upgrade to the just released 0.1.11, the callback now is not called until the zongji instance is ready and able to be shutdown.


Enable Dependabot for gomod

Closed as per discussion with @jasonBirchall and @poornima-krishnasamy in Slack.


Inputs Schema

Is your feature request related to a problem? Please describe.
I'm always frustrated when the inputs are not as expected and I have no expectation.
Describe the solution you'd like
Schema for JSON Inputs.
Like exists for F5 AS3: https://raw.githubusercontent.com/F5Networks/f5-appsvcs-extension/master/schema/3.36.0/as3-schema.json
Based on: https://json-schema.org/
Used for JSON inputs which allows schema constrained inputs and more accurate conversion to YAML.
Describe alternatives you've considered
Guess and Check

This is being tracked internally with Jira Bug: ESEVNFMNGR-2681


Prints to stdout/stderr do not show on REPL when happens async (tests, async threads)

Describe the bug
Prints that happen on tests or async threads (future, for example) are not printed to REPL.
To Reproduce
Run any test that has a println, it won't print to console

Detailed explanation why that happens here


docs: add some build tips in DevelopmentTips.md

describe how to use Xcode together with ninja
document working with two build directories
add documentation about the bootstrapping modes

@swift-ci smoke test and merge


Quick clicks crash/lock-up snack-bar

Bug, feature request, or proposal:
Bug
What is the expected behavior?
Fast clicks on snackbar should not crash/lock-up the component.
What is the current behavior?
If you click the snackbar quickly, say five times, the snackbar becomes unresponsive and it stays visible. A refresh is required to reset the component.
What are the steps to reproduce?
https://material.angular.io/components/component/snack-bar
Click "SHOW SNACK-BAR" button five times as quickly as possible.
What is the use-case or motivation for changing an existing behavior?
POLA :-)
Which versions of Angular, Material, OS, browsers are affected?
"@angular/common": "2.4.5",
"@angular/compiler": "2.4.5",
"@angular/compiler-cli": "2.4.5",
"@angular/core": "2.4.5",
"@angular/forms": "2.4.5",
"@angular/http": "2.4.5",
"@angular/material": "2.0.0-beta.1",
"@angular/platform-browser": "2.4.5",
"@angular/platform-browser-dynamic": "2.4.5",
"@angular/router": "3.4.5",

Fails on Chrome/Linux, Chrome/Mac, Firefox/Linux -- likely all browsers.
Is there anything else we should know?
We are enjoying Angular and Material!

Duplicate of https://github.com/angular/material2/issues/2877 and https://github.com/angular/material2/issues/2390; fix with fix PR https://github.com/angular/material2/pull/2392.


Player to entity interaction

Source
Player to entity interaction
A player character (PC, mob controlled by the player) can interact with the environment by pressing primary interaction mode or secondary interaction mode (LMB and RMB by default).
The primary interaction mode is an entity-to-entity interaction mode - it checks the currently equipped object (if any), checks the entity clicked (based on clicking hitboxes) and, if the entity is within the PC’s reach, either uses the default command for the pair (if the button was just clicked) or gives a list of commands that are appropriate for the specific combination (if the button is held) - for example, using a wrench on a girder could give the “screw to the floor” and “disassemble” commands, with the default one being one of these.
The list of commands appears in a wheel around the mouse cursor and the player can select any of them by moving the mouse off center. Once the command is confirmed by moving the mouse in its direction and releasing the button, information about the PC, what command was chosen and what were the entities used and interacted with are sent in an event to both the entities and they act based on that.
The secondary interaction mode is an entity-to-location and entity-to-itself mode.
When the button is held, it provides a list of commands which the PC can do with the entity itself and a command for “interact with this location”; the default command (when the button is just pressed) is always “interact with this location”. For example, a gun could have the commands “shoot” (“interact with this location”) and “reload”, with the default one being “shoot”. These commands don’t check for reach.
Empty hands also have such commands, behaving just like held items in that regard. Honestly, maybe they should be held items.
The default action is always on the upper part of the wheel.
Commands are shown via icons or text or both, not sure yet.
Commands may be unavailable due to certain circumstances (a “shoot” command might be unavailable when the gun is out of ammo, primary interaction mode commands are unavailable when the object is out of the character’s reach). In these cases, the commands are greyed out on the wheel, with a message on top of them showing the reason why they’re unavailable.

As it was discussed in Discord, everyone agreed to divide actions on "hostile"(which are going to be area-based: swings, pierces, uppercuts, circle) and "normal". Player will have a "switch intent" key on keyboard, upon press it will change from normal "peaceful" stance to "hostile"
Example: you have a crowbar.
Help intent - peaceful stance: dismantle action, you trying to dismantle clicked entity if entity have Dismantable component
Player presses SHIFT (example for 'switch intent' key) - Player Character assumes hostiles stance, cursor becomes red, PC silhouette's outline is now red. Intent switches to harm.
 Entities with Damagable component located in said arc will suffer some damage.

Perhaps left click for help, right click for harm - RTS style kinda?

@hello-marmalade you controlling only one PC and there is more then 2 actions you can do on an items in SS13. In fact, items support additional actions via verbs. Combat itself needs more then one button. Having wheel or context menu on right click is something SS13 players would want to have since they get used to it and it's intuitive for new players(because cRPGs use right click for the same purpose)


Deleted Azkaban config files from repo (#805)

Currently, the deleted files are being written into Azkaban jars. These
do not belong here, and can cause hidden configurations from being used.

Can we keep a copy of the sample configs somewhere so that people can use them as a reference?

What will be logged if the log4j.properties files are removed and there is no log4j configs provided via the command line? I thought these files provide default logging settings for the application.

Maybe we can keep the config in the solo server as an example and make solo server easier to setup? see #800

@HappyRay I think the solo server config has been left intact for the exact same reason

@HappyRay , the default log4j configuration was leading to exceptions while running tests. The problem is that the default configuration will also conflict with external configuration which is difficult to debug because the log4j.properties gets shipped inside the jar.
The solo server ships with a default log4j config

@suvodeep-pyne I thought the default log4j config will be replaced by an external config if provided. What exceptions did you run into?

@HappyRay The external one overrides the default through the start shell script, or through the "conf" option in the command line. I believe that running tests does not invoke either of these, so no overrides will occur.

Actually it seems that solo-server relies on the config files that we want to delete. We should add a conf directory solely for the use of solo-server.

Due to some weird mess up with git, I am continuing this work at #814.


Support building wasm targets without cargo-web using wasm-bindgen

Fixes https://github.com/DenisKolodin/yew/issues/496
Details:

Conditionally use wasm-bindgen-test-runner if cargo web is not used
Bump stdweb version from 0.4.14 to 0.14.6 to get latest wasm-bindgen improvements
Conditionally use dep wasm-bindgen if cargo web is not used
Automatically apply wasm_bindgen_test feature if building for wasm targets without cargo web

I made this change in a way that still allows building with cargo-web. But it's now no longer required if targeting wasm

bors r+


[Refactor] Replace hard-coded auth token valid duration with value from env variable

Currently, auth token valid duration is hard-coded in wire.go. This value should be extracted from environmental variable to avoid unnecessary code changes in the future.

@byliuyang Can I work on this issue?


chores: run lint and format

Description
Ran linting on the codebase to make sure that CI passes.

@deshraj we have to fix ci.yml file I think

Yes, working on it in this PR. :)


Algorithm for finding Connected Components in graph is not present

i would like to work on this.

Please do not wait for permission. Just go ahead and submit pull requests for review.

okay sure

good work @ayaankhan98

Which pull request closed this issue?

@cclauss pull request #761 is used to resolve this issue


✨ Is there a way to first create binary using container run and second step creates a docker image/build (not creating container) using that binary.

What are you trying to do?
There is scenarios where we are creating golang executable binary at first step and in second step we want to use the binary but not creating a container only we want to build image using binary.
It's like we have a Dockerfile that requires a Golang binary as input in order to build the final Docker image
Could you please help on this use care in dagger. thanks
Why is this important to you?
No response
How are you currently working around this?
No response

Using Go:
binary := dag.Container().From("golang")./* build the binary */.File("/out/binary")

finalImage := dag.Container().From("alpine").WithFile("/usr/bin/binary", binary).Publish(/**/)

Check out the quickstart guide: https://docs.dagger.io/quickstart
Here is a real life example: https://github.com/openmeterio/openmeter/blob/edb72be714a01edacc312d27ef95ae808ce1259a/ci/build.go#L65-L86

Thank you so much for your response.