LongRunning/GetOperationRequest.pm

filter: Statementstmt 72.2% 13 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 80.0% 4 / 5 Podpod 0.0% 0 / 1 totaltotal 70.8% 17 / 24 CC 1 SCAR 1.8
CC
1
Cov
72%
new
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« LongRunning/DeleteOperationRequest.pm ↑ Summary LongRunning/Operation.pm »
1 # Copyright 2019, Google LLC
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 # http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14 #
15 # The request message for OperationService.get() method.
16  
17 package Google::Ads::GoogleAds::LongRunning::GetOperationRequest;
18  
19 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
20 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
21 1 ▶use base qw(Google::Ads::GoogleAds::BaseEntity);
Subroutine BEGIN: called CC=1 SCAR=0.0
22  
23 1 ▶use Google::Ads::GoogleAds::Utils::GoogleAdsHelper;
Subroutine BEGIN: called CC=1 SCAR=0.0
24  
25 0 ▶sub new {
Subroutine new: not called CC=1 SCAR=6.9
Pod undocumented
26 0 my ($class, $args) = @_;
27 0 my $self = {name => $args->{name}};
28  
29 # Delete the unassigned fields in this object for a more concise JSON payload
30 0 remove_unassigned_fields($self, $args);
31  
32 0 bless $self, $class;
33 0 return $self;
34 }
35  
36 1 1;
37  
38 =pod
39  
40 =head1 NAME
41  
42 Google::Ads::GoogleAds::LongRunning::GetOperationRequest
43  
44 =head1 DESCRIPTION
45  
46 The request message for OperationService.get() method.
47  
48 =head1 ATTRIBUTES
49  
50 =head2 name
51  
52 The name of the operation resource.
53  
54 =head1 LICENSE AND COPYRIGHT
55  
56 Copyright 2019 Google LLC
57  
58 Licensed under the Apache License, Version 2.0 (the "License");
59 you may not use this file except in compliance with the License.
60 You may obtain a copy of the License at
61  
62 http://www.apache.org/licenses/LICENSE-2.0
63  
64 Unless required by applicable law or agreed to in writing, software
65 distributed under the License is distributed on an "AS IS" BASIS,
66 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
67 See the License for the specific language governing permissions and
68 limitations under the License.
69  
70 =head1 REPOSITORY INFORMATION
71  
72 $Rev: $
73 $LastChangedBy: $
74 $Id: $
75  
76 =cut
« LongRunning/DeleteOperationRequest.pm ↑ Summary LongRunning/Operation.pm »