Interface CreateAdRuleRequestOrBuilder (0.54.0)

public interface CreateAdRuleRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAdRule()

public abstract AdRule getAdRule()

Required. The AdRule to create.

.google.ads.admanager.v1.AdRule ad_rule = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AdRule

The adRule.

getAdRuleOrBuilder()

public abstract AdRuleOrBuilder getAdRuleOrBuilder()

Required. The AdRule to create.

.google.ads.admanager.v1.AdRule ad_rule = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AdRuleOrBuilder

getParent()

public abstract String getParent()

Required. The parent resource where this AdRule will be created. Format: networks/{network_code}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The parent resource where this AdRule will be created. Format: networks/{network_code}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

hasAdRule()

public abstract boolean hasAdRule()

Required. The AdRule to create.

.google.ads.admanager.v1.AdRule ad_rule = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the adRule field is set.