Common/FieldMask.pm

filter: Statementstmt 100% 14 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod 0.0% 0 / 1 totaltotal 94.7% 18 / 19 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Common/AuthError.pm ↑ Summary V26/Common/TextAdInfo.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 # Determines which resource fields are modified in an update operation.
16  
17 package Google::Ads::GoogleAds::Common::FieldMask;
18  
19 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
20 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
21 2 ▶use base qw(Google::Ads::GoogleAds::BaseEntity);
Subroutine BEGIN: called CC=1 SCAR=0.0
22  
23 27 ▶sub new {
Subroutine new: called CC=1 SCAR=0.0
Pod undocumented
24 27 my ($class, $args) = @_;
25  
26 27 my $self = {paths => $args->{paths}};
27  
28 27 bless $self, $class;
29 27 return $self;
30 }
31  
32 2 1;
33  
34 =pod
35  
36 =head1 NAME
37  
38 Google::Ads::GoogleAds::Common::FieldMask
39  
40 =head1 SYNOPSIS
41  
42 use Google::Ads::GoogleAds::Common::FieldMask;
43  
44 my $field_mask = Google::Ads::GoogleAds::Common::FieldMask->new({paths => $paths});
45  
46 =head1 DESCRIPTION
47  
48 Determines which resource fields are modified in an update operation.
49  
50 =head1 ATTRIBUTES
51  
52 =head2 paths
53  
54 The set of field mask paths.
55  
56 =head1 LICENSE AND COPYRIGHT
57  
58 Copyright 2019 Google LLC
59  
60 Licensed under the Apache License, Version 2.0 (the "License");
61 you may not use this file except in compliance with the License.
62 You may obtain a copy of the License at
63  
64 http://www.apache.org/licenses/LICENSE-2.0
65  
66 Unless required by applicable law or agreed to in writing, software
67 distributed under the License is distributed on an "AS IS" BASIS,
68 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
69 See the License for the specific language governing permissions and
70 limitations under the License.
71  
72 =head1 REPOSITORY INFORMATION
73  
74 $Rev: $
75 $LastChangedBy: $
76 $Id: $
77  
78 =cut
« Common/AuthError.pm ↑ Summary V26/Common/TextAdInfo.pm »