lib/Google/Ads/AdWords/v201809/IpBlock.pm

filter: Statementstmt 81.8% 9 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 60.0% 3 / 5 Podpod n/a totaltotal 75.0% 12 / 16 CC 1 SCAR 3.4
CC
1
Cov
82%
get_xmlns
2.0
__get_attr_class
2.0
BEGIN
1.0
CRAP 1.4
« lib/Google/Ads/AdWords/v201809/InternalApiError.pm ↑ Summary lib/Google/Ads/AdWords/v201809/Keyword.pm »
1 package Google::Ads::AdWords::v201809::IpBlock;
2 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5  
6 __PACKAGE__->_set_element_form_qualified(1);
7  
8 0 ▶sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201809' };
Subroutine get_xmlns: not called CC=1 SCAR=6.9
9  
10 our $XML_ATTRIBUTE_CLASS;
11 undef $XML_ATTRIBUTE_CLASS;
12  
13 0 ▶sub __get_attr_class {
Subroutine __get_attr_class: not called CC=1 SCAR=6.9
14 0 return $XML_ATTRIBUTE_CLASS;
15 }
16  
17  
18 1 ▶use base qw(Google::Ads::AdWords::v201809::Criterion);
Subroutine BEGIN: called CC=1 SCAR=0.0
19 # Variety: sequence
20 use Class::Std::Fast::Storable constructor => 'none';
21 use base qw(Google::Ads::SOAP::Typelib::ComplexType);
22  
23 { # BLOCK to scope variables
24  
25 my %id_of :ATTR(:get<id>);
26 my %type_of :ATTR(:get<type>);
27 my %Criterion__Type_of :ATTR(:get<Criterion__Type>);
28 my %ipAddress_of :ATTR(:get<ipAddress>);
29  
30 __PACKAGE__->_factory(
31 [ qw( id
32 type
33 Criterion__Type
34 ipAddress
35  
36 ) ],
37 {
38 'id' => \%id_of,
39 'type' => \%type_of,
40 'Criterion__Type' => \%Criterion__Type_of,
41 'ipAddress' => \%ipAddress_of,
42 },
43 {
44 'id' => 'SOAP::WSDL::XSD::Typelib::Builtin::long',
45 'type' => 'Google::Ads::AdWords::v201809::Criterion::Type',
46 'Criterion__Type' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
47 'ipAddress' => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
48 },
49 {
50  
51 'id' => 'id',
52 'type' => 'type',
53 'Criterion__Type' => 'Criterion.Type',
54 'ipAddress' => 'ipAddress',
55 }
56 );
57  
58 } # end BLOCK
59  
60  
61  
62  
63  
64  
65  
66 1;
67  
68  
69 =pod
70  
71 =head1 NAME
72  
73 Google::Ads::AdWords::v201809::IpBlock
74  
75 =head1 DESCRIPTION
76  
77 Perl data type class for the XML Schema defined complexType
78 IpBlock from the namespace https://adwords.google.com/api/adwords/cm/v201809.
79  
80 Criterion used for IP exclusions. We allow: <ul> <li>IPv4 and IPv6 addresses</li> <li>individual addresses (192.168.0.1)</li> <li>CIDR IP address blocks (e.g., 1.2.3.0/24, 2001:db8::/32). </ul> <p> Note that for a CIDR IP address block, the specified IP address portion must be properly truncated (i.e. all the host bits must be zero) or the input is considered malformed. For example, "1.2.3.0/24" is accepted but "1.2.3.4/24" is not. Similarly, for IPv6, "2001:db8::/32" is accepted whereas "2001:db8::1/32" is not. <span class="constraint AdxEnabled">This is disabled for AdX when it is contained within Operators: ADD, SET.</span>
81  
82  
83  
84  
85 =head2 PROPERTIES
86  
87 The following properties may be accessed using get_PROPERTY / set_PROPERTY
88 methods:
89  
90 =over
91  
92 =item * ipAddress
93  
94  
95  
96  
97 =back
98  
99  
100 =head1 METHODS
101  
102 =head2 new
103  
104 Constructor. The following data structure may be passed to new():
105  
106  
107  
108  
109  
110  
111 =head1 AUTHOR
112  
113 Generated by SOAP::WSDL
114  
115 =cut
116  
« lib/Google/Ads/AdWords/v201809/InternalApiError.pm ↑ Summary lib/Google/Ads/AdWords/v201809/Keyword.pm »