Package Torello.Browser.BrowserAPI
Class Audits.CookieDeprecationMetadataIssueDetails
- java.lang.Object
-
- Torello.Browser.BaseType<Audits.CookieDeprecationMetadataIssueDetails>
-
- Torello.Browser.BrowserAPI.Audits.CookieDeprecationMetadataIssueDetails
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<BaseType<?>>
- Enclosing class:
- Audits
public static class Audits.CookieDeprecationMetadataIssueDetails extends BaseType<Audits.CookieDeprecationMetadataIssueDetails> implements java.io.Serializable
This Nested Java Class is declared as a "Type", which is similar to a Java Class. The CDP API Specifications list this type among the types, events & commands located in theAuditsdomain, which may be found within theBrowserAPI.
📌 All browser domain type classes will have a class name that begins with an upper case letter.This issue warns about third-party sites that are accessing cookies on the current page, and have been permitted due to having a global metadata grant. Note that in this context 'site' means eTLD+1. For example, if the URLhttps://example.test:80/web_pagewas accessing cookies, the site reported would beexample.test.- See Also:
- Serialized Form
Hi-Lited Source-Code:This File's Source Code:
- View Here: Torello/Browser/BrowserAPI/Audits.java
- Open New Browser-Tab: Torello/Browser/BrowserAPI/Audits.java
File Size: 2,953 Bytes Line Count: 63 '\n' Characters Found
Helper: Equals, HashCode, toJSON, etc
- View Here: Audits$$CookieDeprecationMetadataIssueDetails$$.java
- Open New Browser-Tab: Audits$$CookieDeprecationMetadataIssueDetails$$.java
File Size: 10,171 Bytes Line Count: 240 '\n' Characters Found
-
-
Field Summary
Serializable ID Modifier and Type Field Description protected static longserialVersionUIDType Fields / Properties (from Google & Browser Specs) Modifier and Type Field Description String[]allowedSites[No Description Provided by Google]booleanisOptOutTopLevel[No Description Provided by Google]Stringoperation[No Description Provided by Google]NumberoptOutPercentage[No Description Provided by Google]
-
Constructor Summary
Constructors Constructor Description CookieDeprecationMetadataIssueDetails(ReadOnlyList<Boolean> isPresent, String[] allowedSites, Number optOutPercentage, boolean isOptOutTopLevel, String operation)Constructor.
-
Method Summary
Static Builder Convert a JsonObject to a POJO Modifier and Type Method Description static Audits.CookieDeprecationMetadataIssueDetailsfromJSON(JsonObject jo)Creates an instance of this class from aJsonObject.Retrieve the Type-Descriptor Singleton-Instance for this Nested Class. Modifier and Type Method Description static NestedDescriptor<Audits.CookieDeprecationMetadataIssueDetails>descriptor()Returns this class'sNestedDescriptorsingleton-instance.-
Methods inherited from class Torello.Browser.BaseType
allEnumStrROLs, compareTo, enumStrList, enumStrValidate, enumStrValidateThrow, equals, hashCode, isPresent, optionalsValidate, optionalsValidateThrow, toJSON, toString
-
-
-
-
Field Detail
-
serialVersionUID
protected static final long serialVersionUID
This fulfils the SerialVersion UID requirement for all classes that implement Java'sinterface java.io.Serializable. Using theSerializableImplementation offered by java is very easy, and can make saving program state when debugging a lot easier. It can also be used in place of more complicated systems like "hibernate" to store data as well.- See Also:
- Constant Field Values
-
allowedSites
public final java.lang.String[] allowedSites
[No Description Provided by Google]
-
optOutPercentage
public final java.lang.Number optOutPercentage
[No Description Provided by Google]
-
isOptOutTopLevel
public final boolean isOptOutTopLevel
[No Description Provided by Google]
-
operation
public final java.lang.String operation
[No Description Provided by Google]This particular field will have its values resricted to the contents of a CDP defined Enumerated String List. That list may be viewed here:
📎Audits.CookieOperation
Programmatically Accessing the Enum:
// Retrieve the list of enumerated strings for this field ReadOnlyList<String> enumerationStrs = Audits.CookieOperation.enumStrList("operation"); // Print the list of strings to the terminal for (final String s : enumerationStrs) System.out.println('\"' + s + "\", ");
- See Also:
BaseType.enumStrList(String)
-
-
Constructor Detail
-
CookieDeprecationMetadataIssueDetails
public CookieDeprecationMetadataIssueDetails (ReadOnlyList<java.lang.Boolean> isPresent, java.lang.String[] allowedSites, java.lang.Number optOutPercentage, boolean isOptOutTopLevel, java.lang.String operation)
Constructor. Please review this class' fields for documentation.
-
-
Method Detail
-
fromJSON
public static Audits.CookieDeprecationMetadataIssueDetails fromJSON (JsonObject jo)
Creates an instance of this class from aJsonObject.- Code:
- Exact Method Body:
return singleton.fromJSON(jo);
-
descriptor
public static NestedDescriptor<Audits.CookieDeprecationMetadataIssueDetails> descriptor ()
Returns this class'sNestedDescriptorsingleton-instance. class / type.- Code:
- Exact Method Body:
return singleton.descriptor();
-
-