$VAR1 = bless( {
'ua' => bless( {
'max_redirect' => 7,
'ssl_opts' => {
'verify_hostname' => 1
},
'protocols_forbidden' => undef,
'show_progress' => undef,
'handlers' => {
'response_header' => bless( [
{
'owner' => 'LWP::UserAgent::parse_head',
'callback' => sub { "DUMMY" },
'm_media_type' => 'html',
'line' => '/usr/share/perl5/site_perl/LWP/UserAgent.pm:683'
}
], 'HTTP::Config' )
},
'no_proxy' => [],
'protocols_allowed' => undef,
'local_address' => undef,
'use_eval' => 1,
'requests_redirectable' => [
'GET',
'HEAD'
],
'timeout' => 180,
'def_headers' => bless( {
'user-agent' => 'libwww-perl/6.04'
}, 'HTTP::Headers' ),
'proxy' => {},
'max_size' => undef
}, 'LWP::UserAgent' ),
'json_parser' => bless( do{¥(my $o = '')}, 'JSON' ),
'doc' => {
'request' => {
'$ref' => 'Object'
},
'supportsMediaDownload' => bless( do{¥(my $o = 1)}, 'JSON::XS::Boolean' ),
'httpMethod' => 'POST',
'response' => {
'$ref' => 'Object'
},
'path' => 'b/{bucket}/o',
'description' => 'Stores new data blobs and associated metadata.',
'scopes' => [
],
'parameters' => {
'name' => {
'location' => 'query',
'type' => 'string',
'description' => 'Name of the object. Required when the object metadata is not otherwise provided. Overrides the object metadata¥'s name value, if any.'
},
'projection' => {
'enumDescriptions' => [
'Include all properties.',
'Omit the acl property.'
],
'location' => 'query',
'enum' => [
'full',
'no_acl'
],
'type' => 'string',
'description' => 'Set of properties to return. Defaults to no_acl, unless the object resource specifies the acl property, when it defaults to full.'
},
'bucket' => {
'location' => 'path',
'required' => $VAR1->{'doc'}{'supportsMediaDownload'},
'type' => 'string',
'description' => 'Name of the bucket in which to store the new object. Overrides the provided object metadata¥'s bucket value, if any.'
}
},
'mediaUpload' => {
'accept' => [
'*/*'
],
'protocols' => {
'simple' => {
'path' => '/upload/storage/v1beta1/b/{bucket}/o',
'multipart' => $VAR1->{'doc'}{'supportsMediaDownload'}
},
'resumable' => {
'path' => '/resumable/upload/storage/v1beta1/b/{bucket}/o',
'multipart' => $VAR1->{'doc'}{'supportsMediaDownload'}
}
}
},
'supportsMediaUpload' => $VAR1->{'doc'}{'supportsMediaDownload'},
'parameterOrder' => [
'bucket'
],
'id' => 'storage.objects.insert'
},
'opt' => {}
}, 'Google::API::Method' );