code
stringlengths 17
247k
| docstring
stringlengths 30
30.3k
| func_name
stringlengths 1
89
| language
stringclasses 1
value | repo
stringlengths 7
63
| path
stringlengths 7
153
| url
stringlengths 51
209
| license
stringclasses 4
values |
---|---|---|---|---|---|---|---|
public function getDeleteFromFamily()
{
return $this->readOneof(3);
} | Deletes cells from a column family.
Generated from protobuf field <code>.google.bigtable.v2.Mutation.DeleteFromFamily delete_from_family = 3;</code>
@return \Google\Cloud\Bigtable\V2\Mutation\DeleteFromFamily|null | getDeleteFromFamily | php | googleapis/google-cloud-php | Bigtable/src/V2/Mutation.php | https://github.com/googleapis/google-cloud-php/blob/master/Bigtable/src/V2/Mutation.php | Apache-2.0 |
public function setDeleteFromFamily($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\V2\Mutation\DeleteFromFamily::class);
$this->writeOneof(3, $var);
return $this;
} | Deletes cells from a column family.
Generated from protobuf field <code>.google.bigtable.v2.Mutation.DeleteFromFamily delete_from_family = 3;</code>
@param \Google\Cloud\Bigtable\V2\Mutation\DeleteFromFamily $var
@return $this | setDeleteFromFamily | php | googleapis/google-cloud-php | Bigtable/src/V2/Mutation.php | https://github.com/googleapis/google-cloud-php/blob/master/Bigtable/src/V2/Mutation.php | Apache-2.0 |
public function getDeleteFromRow()
{
return $this->readOneof(4);
} | Deletes cells from the entire row.
Generated from protobuf field <code>.google.bigtable.v2.Mutation.DeleteFromRow delete_from_row = 4;</code>
@return \Google\Cloud\Bigtable\V2\Mutation\DeleteFromRow|null | getDeleteFromRow | php | googleapis/google-cloud-php | Bigtable/src/V2/Mutation.php | https://github.com/googleapis/google-cloud-php/blob/master/Bigtable/src/V2/Mutation.php | Apache-2.0 |
public function setDeleteFromRow($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\V2\Mutation\DeleteFromRow::class);
$this->writeOneof(4, $var);
return $this;
} | Deletes cells from the entire row.
Generated from protobuf field <code>.google.bigtable.v2.Mutation.DeleteFromRow delete_from_row = 4;</code>
@param \Google\Cloud\Bigtable\V2\Mutation\DeleteFromRow $var
@return $this | setDeleteFromRow | php | googleapis/google-cloud-php | Bigtable/src/V2/Mutation.php | https://github.com/googleapis/google-cloud-php/blob/master/Bigtable/src/V2/Mutation.php | Apache-2.0 |
public function getMissingPermissions()
{
return $this->missing_permissions;
} | List of permissions that are being denied.
Generated from protobuf field <code>repeated string missing_permissions = 1;</code>
@return \Google\Protobuf\Internal\RepeatedField | getMissingPermissions | php | googleapis/google-cloud-php | PrivilegedAccessManager/src/V1/CheckOnboardingStatusResponse/Finding/IAMAccessDenied.php | https://github.com/googleapis/google-cloud-php/blob/master/PrivilegedAccessManager/src/V1/CheckOnboardingStatusResponse/Finding/IAMAccessDenied.php | Apache-2.0 |
public function setMissingPermissions($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
$this->missing_permissions = $arr;
return $this;
} | List of permissions that are being denied.
Generated from protobuf field <code>repeated string missing_permissions = 1;</code>
@param array<string>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setMissingPermissions | php | googleapis/google-cloud-php | PrivilegedAccessManager/src/V1/CheckOnboardingStatusResponse/Finding/IAMAccessDenied.php | https://github.com/googleapis/google-cloud-php/blob/master/PrivilegedAccessManager/src/V1/CheckOnboardingStatusResponse/Finding/IAMAccessDenied.php | Apache-2.0 |
public function getUserEvent()
{
return $this->user_event;
} | Required. User event to write.
Generated from protobuf field <code>.google.cloud.recommendationengine.v1beta1.UserEvent user_event = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@return \Google\Cloud\RecommendationEngine\V1beta1\UserEvent|null | getUserEvent | php | googleapis/google-cloud-php | RecommendationEngine/src/V1beta1/WriteUserEventRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/RecommendationEngine/src/V1beta1/WriteUserEventRequest.php | Apache-2.0 |
public function setUserEvent($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\RecommendationEngine\V1beta1\UserEvent::class);
$this->user_event = $var;
return $this;
} | Required. User event to write.
Generated from protobuf field <code>.google.cloud.recommendationengine.v1beta1.UserEvent user_event = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@param \Google\Cloud\RecommendationEngine\V1beta1\UserEvent $var
@return $this | setUserEvent | php | googleapis/google-cloud-php | RecommendationEngine/src/V1beta1/WriteUserEventRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/RecommendationEngine/src/V1beta1/WriteUserEventRequest.php | Apache-2.0 |
public function getAttributionLookbackWindowDays()
{
return $this->attribution_lookback_window_days;
} | Required. Lookback windows (in days) used for attribution in this source.
Supported values are 7, 30, 40.
Generated from protobuf field <code>int32 attribution_lookback_window_days = 1 [(.google.api.field_behavior) = REQUIRED];</code>
@return int | getAttributionLookbackWindowDays | php | googleapis/google-cloud-php | ShoppingMerchantConversions/src/V1beta/AttributionSettings.php | https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantConversions/src/V1beta/AttributionSettings.php | Apache-2.0 |
public function setAttributionLookbackWindowDays($var)
{
GPBUtil::checkInt32($var);
$this->attribution_lookback_window_days = $var;
return $this;
} | Required. Lookback windows (in days) used for attribution in this source.
Supported values are 7, 30, 40.
Generated from protobuf field <code>int32 attribution_lookback_window_days = 1 [(.google.api.field_behavior) = REQUIRED];</code>
@param int $var
@return $this | setAttributionLookbackWindowDays | php | googleapis/google-cloud-php | ShoppingMerchantConversions/src/V1beta/AttributionSettings.php | https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantConversions/src/V1beta/AttributionSettings.php | Apache-2.0 |
public function setAttributionModel($var)
{
GPBUtil::checkEnum($var, \Google\Shopping\Merchant\Conversions\V1beta\AttributionSettings\AttributionModel::class);
$this->attribution_model = $var;
return $this;
} | Required. Attribution model.
Generated from protobuf field <code>.google.shopping.merchant.conversions.v1beta.AttributionSettings.AttributionModel attribution_model = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@param int $var
@return $this | setAttributionModel | php | googleapis/google-cloud-php | ShoppingMerchantConversions/src/V1beta/AttributionSettings.php | https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantConversions/src/V1beta/AttributionSettings.php | Apache-2.0 |
public function getConversionType()
{
return $this->conversion_type;
} | Immutable. Unordered list. List of different conversion types a conversion
event can be classified as. A standard "purchase" type will be
automatically created if this list is empty at creation time.
Generated from protobuf field <code>repeated .google.shopping.merchant.conversions.v1beta.AttributionSettings.ConversionType conversion_type = 3 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = IMMUTABLE];</code>
@return \Google\Protobuf\Internal\RepeatedField | getConversionType | php | googleapis/google-cloud-php | ShoppingMerchantConversions/src/V1beta/AttributionSettings.php | https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantConversions/src/V1beta/AttributionSettings.php | Apache-2.0 |
public function setConversionType($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Shopping\Merchant\Conversions\V1beta\AttributionSettings\ConversionType::class);
$this->conversion_type = $arr;
return $this;
} | Immutable. Unordered list. List of different conversion types a conversion
event can be classified as. A standard "purchase" type will be
automatically created if this list is empty at creation time.
Generated from protobuf field <code>repeated .google.shopping.merchant.conversions.v1beta.AttributionSettings.ConversionType conversion_type = 3 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = IMMUTABLE];</code>
@param array<\Google\Shopping\Merchant\Conversions\V1beta\AttributionSettings\ConversionType>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setConversionType | php | googleapis/google-cloud-php | ShoppingMerchantConversions/src/V1beta/AttributionSettings.php | https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantConversions/src/V1beta/AttributionSettings.php | Apache-2.0 |
public function setDimensions($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Ads\AdManager\V1\Report\Dimension::class);
$this->dimensions = $arr;
return $this;
} | Required. The list of dimensions to report on. If empty, the report will
have no dimensions, and any metrics will be totals.
Generated from protobuf field <code>repeated .google.ads.admanager.v1.Report.Dimension dimensions = 1 [(.google.api.field_behavior) = REQUIRED];</code>
@param array<int>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setDimensions | php | googleapis/google-cloud-php | AdsAdManager/src/V1/ReportDefinition.php | https://github.com/googleapis/google-cloud-php/blob/master/AdsAdManager/src/V1/ReportDefinition.php | Apache-2.0 |
public function setMetrics($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Ads\AdManager\V1\Report\Metric::class);
$this->metrics = $arr;
return $this;
} | Required. The list of metrics to report on. If empty, the report will have
no metrics.
Generated from protobuf field <code>repeated .google.ads.admanager.v1.Report.Metric metrics = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@param array<int>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setMetrics | php | googleapis/google-cloud-php | AdsAdManager/src/V1/ReportDefinition.php | https://github.com/googleapis/google-cloud-php/blob/master/AdsAdManager/src/V1/ReportDefinition.php | Apache-2.0 |
public function setFilters($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\Report\Filter::class);
$this->filters = $arr;
return $this;
} | Optional. The filters for this report.
Generated from protobuf field <code>repeated .google.ads.admanager.v1.Report.Filter filters = 3 [(.google.api.field_behavior) = OPTIONAL];</code>
@param array<\Google\Ads\AdManager\V1\Report\Filter>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setFilters | php | googleapis/google-cloud-php | AdsAdManager/src/V1/ReportDefinition.php | https://github.com/googleapis/google-cloud-php/blob/master/AdsAdManager/src/V1/ReportDefinition.php | Apache-2.0 |
public function getDateRange()
{
return $this->date_range;
} | Required. The primary date range of this report.
Generated from protobuf field <code>.google.ads.admanager.v1.Report.DateRange date_range = 6 [(.google.api.field_behavior) = REQUIRED];</code>
@return \Google\Ads\AdManager\V1\Report\DateRange|null | getDateRange | php | googleapis/google-cloud-php | AdsAdManager/src/V1/ReportDefinition.php | https://github.com/googleapis/google-cloud-php/blob/master/AdsAdManager/src/V1/ReportDefinition.php | Apache-2.0 |
public function setDateRange($var)
{
GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\Report\DateRange::class);
$this->date_range = $var;
return $this;
} | Required. The primary date range of this report.
Generated from protobuf field <code>.google.ads.admanager.v1.Report.DateRange date_range = 6 [(.google.api.field_behavior) = REQUIRED];</code>
@param \Google\Ads\AdManager\V1\Report\DateRange $var
@return $this | setDateRange | php | googleapis/google-cloud-php | AdsAdManager/src/V1/ReportDefinition.php | https://github.com/googleapis/google-cloud-php/blob/master/AdsAdManager/src/V1/ReportDefinition.php | Apache-2.0 |
public function getComparisonDateRange()
{
return $this->comparison_date_range;
} | Optional. The comparison date range of this report. If unspecified, the
report will not have any comparison metrics.
Generated from protobuf field <code>optional .google.ads.admanager.v1.Report.DateRange comparison_date_range = 9 [(.google.api.field_behavior) = OPTIONAL];</code>
@return \Google\Ads\AdManager\V1\Report\DateRange|null | getComparisonDateRange | php | googleapis/google-cloud-php | AdsAdManager/src/V1/ReportDefinition.php | https://github.com/googleapis/google-cloud-php/blob/master/AdsAdManager/src/V1/ReportDefinition.php | Apache-2.0 |
public function setComparisonDateRange($var)
{
GPBUtil::checkMessage($var, \Google\Ads\AdManager\V1\Report\DateRange::class);
$this->comparison_date_range = $var;
return $this;
} | Optional. The comparison date range of this report. If unspecified, the
report will not have any comparison metrics.
Generated from protobuf field <code>optional .google.ads.admanager.v1.Report.DateRange comparison_date_range = 9 [(.google.api.field_behavior) = OPTIONAL];</code>
@param \Google\Ads\AdManager\V1\Report\DateRange $var
@return $this | setComparisonDateRange | php | googleapis/google-cloud-php | AdsAdManager/src/V1/ReportDefinition.php | https://github.com/googleapis/google-cloud-php/blob/master/AdsAdManager/src/V1/ReportDefinition.php | Apache-2.0 |
public function getCustomDimensionKeyIds()
{
return $this->custom_dimension_key_ids;
} | Optional. Custom Dimension keys that represent CUSTOM_DIMENSION_*
dimensions. The index of this repeated field corresponds to the index on
each dimension. For example, custom_dimension_key_ids[0] describes
CUSTOM_DIMENSION_0_VALUE_ID and CUSTOM_DIMENSION_0_VALUE.
Generated from protobuf field <code>repeated int64 custom_dimension_key_ids = 7 [(.google.api.field_behavior) = OPTIONAL];</code>
@return \Google\Protobuf\Internal\RepeatedField | getCustomDimensionKeyIds | php | googleapis/google-cloud-php | AdsAdManager/src/V1/ReportDefinition.php | https://github.com/googleapis/google-cloud-php/blob/master/AdsAdManager/src/V1/ReportDefinition.php | Apache-2.0 |
public function setCustomDimensionKeyIds($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::INT64);
$this->custom_dimension_key_ids = $arr;
return $this;
} | Optional. Custom Dimension keys that represent CUSTOM_DIMENSION_*
dimensions. The index of this repeated field corresponds to the index on
each dimension. For example, custom_dimension_key_ids[0] describes
CUSTOM_DIMENSION_0_VALUE_ID and CUSTOM_DIMENSION_0_VALUE.
Generated from protobuf field <code>repeated int64 custom_dimension_key_ids = 7 [(.google.api.field_behavior) = OPTIONAL];</code>
@param array<int>|array<string>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setCustomDimensionKeyIds | php | googleapis/google-cloud-php | AdsAdManager/src/V1/ReportDefinition.php | https://github.com/googleapis/google-cloud-php/blob/master/AdsAdManager/src/V1/ReportDefinition.php | Apache-2.0 |
public function getLineItemCustomFieldIds()
{
return $this->line_item_custom_field_ids;
} | Optional. Custom field IDs that represent LINE_ITEM_CUSTOM_FIELD_*
dimensions. The index of this repeated field corresponds to the index on
each dimension. For example, line_item_custom_field_ids[0] describes
LINE_ITEM_CUSTOM_FIELD_0_OPTION_ID and LINE_ITEM_CUSTOM_FIELD_0_VALUE.
Generated from protobuf field <code>repeated int64 line_item_custom_field_ids = 11 [(.google.api.field_behavior) = OPTIONAL];</code>
@return \Google\Protobuf\Internal\RepeatedField | getLineItemCustomFieldIds | php | googleapis/google-cloud-php | AdsAdManager/src/V1/ReportDefinition.php | https://github.com/googleapis/google-cloud-php/blob/master/AdsAdManager/src/V1/ReportDefinition.php | Apache-2.0 |
public function setLineItemCustomFieldIds($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::INT64);
$this->line_item_custom_field_ids = $arr;
return $this;
} | Optional. Custom field IDs that represent LINE_ITEM_CUSTOM_FIELD_*
dimensions. The index of this repeated field corresponds to the index on
each dimension. For example, line_item_custom_field_ids[0] describes
LINE_ITEM_CUSTOM_FIELD_0_OPTION_ID and LINE_ITEM_CUSTOM_FIELD_0_VALUE.
Generated from protobuf field <code>repeated int64 line_item_custom_field_ids = 11 [(.google.api.field_behavior) = OPTIONAL];</code>
@param array<int>|array<string>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setLineItemCustomFieldIds | php | googleapis/google-cloud-php | AdsAdManager/src/V1/ReportDefinition.php | https://github.com/googleapis/google-cloud-php/blob/master/AdsAdManager/src/V1/ReportDefinition.php | Apache-2.0 |
public function getOrderCustomFieldIds()
{
return $this->order_custom_field_ids;
} | Optional. Custom field IDs that represent ORDER_CUSTOM_FIELD_*
dimensions. The index of this repeated field corresponds to the index on
each dimension. For example, order_custom_field_ids[0] describes
ORDER_CUSTOM_FIELD_0_OPTION_ID and ORDER_CUSTOM_FIELD_0_VALUE.
Generated from protobuf field <code>repeated int64 order_custom_field_ids = 12 [(.google.api.field_behavior) = OPTIONAL];</code>
@return \Google\Protobuf\Internal\RepeatedField | getOrderCustomFieldIds | php | googleapis/google-cloud-php | AdsAdManager/src/V1/ReportDefinition.php | https://github.com/googleapis/google-cloud-php/blob/master/AdsAdManager/src/V1/ReportDefinition.php | Apache-2.0 |
public function setOrderCustomFieldIds($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::INT64);
$this->order_custom_field_ids = $arr;
return $this;
} | Optional. Custom field IDs that represent ORDER_CUSTOM_FIELD_*
dimensions. The index of this repeated field corresponds to the index on
each dimension. For example, order_custom_field_ids[0] describes
ORDER_CUSTOM_FIELD_0_OPTION_ID and ORDER_CUSTOM_FIELD_0_VALUE.
Generated from protobuf field <code>repeated int64 order_custom_field_ids = 12 [(.google.api.field_behavior) = OPTIONAL];</code>
@param array<int>|array<string>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setOrderCustomFieldIds | php | googleapis/google-cloud-php | AdsAdManager/src/V1/ReportDefinition.php | https://github.com/googleapis/google-cloud-php/blob/master/AdsAdManager/src/V1/ReportDefinition.php | Apache-2.0 |
public function getCreativeCustomFieldIds()
{
return $this->creative_custom_field_ids;
} | Optional. Custom field IDs that represent CREATIVE_CUSTOM_FIELD_*
dimensions. The index of this repeated field corresponds to the index on
each dimension. For example, creative_custom_field_ids[0] describes
CREATIVE_CUSTOM_FIELD_0_OPTION_ID and CREATIVE_CUSTOM_FIELD_0_VALUE.
Generated from protobuf field <code>repeated int64 creative_custom_field_ids = 13 [(.google.api.field_behavior) = OPTIONAL];</code>
@return \Google\Protobuf\Internal\RepeatedField | getCreativeCustomFieldIds | php | googleapis/google-cloud-php | AdsAdManager/src/V1/ReportDefinition.php | https://github.com/googleapis/google-cloud-php/blob/master/AdsAdManager/src/V1/ReportDefinition.php | Apache-2.0 |
public function setCreativeCustomFieldIds($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::INT64);
$this->creative_custom_field_ids = $arr;
return $this;
} | Optional. Custom field IDs that represent CREATIVE_CUSTOM_FIELD_*
dimensions. The index of this repeated field corresponds to the index on
each dimension. For example, creative_custom_field_ids[0] describes
CREATIVE_CUSTOM_FIELD_0_OPTION_ID and CREATIVE_CUSTOM_FIELD_0_VALUE.
Generated from protobuf field <code>repeated int64 creative_custom_field_ids = 13 [(.google.api.field_behavior) = OPTIONAL];</code>
@param array<int>|array<string>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setCreativeCustomFieldIds | php | googleapis/google-cloud-php | AdsAdManager/src/V1/ReportDefinition.php | https://github.com/googleapis/google-cloud-php/blob/master/AdsAdManager/src/V1/ReportDefinition.php | Apache-2.0 |
public function getReportType()
{
return $this->report_type;
} | Required. The type of this report.
Generated from protobuf field <code>.google.ads.admanager.v1.Report.ReportType report_type = 8 [(.google.api.field_behavior) = REQUIRED];</code>
@return int | getReportType | php | googleapis/google-cloud-php | AdsAdManager/src/V1/ReportDefinition.php | https://github.com/googleapis/google-cloud-php/blob/master/AdsAdManager/src/V1/ReportDefinition.php | Apache-2.0 |
public function setReportType($var)
{
GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\Report\ReportType::class);
$this->report_type = $var;
return $this;
} | Required. The type of this report.
Generated from protobuf field <code>.google.ads.admanager.v1.Report.ReportType report_type = 8 [(.google.api.field_behavior) = REQUIRED];</code>
@param int $var
@return $this | setReportType | php | googleapis/google-cloud-php | AdsAdManager/src/V1/ReportDefinition.php | https://github.com/googleapis/google-cloud-php/blob/master/AdsAdManager/src/V1/ReportDefinition.php | Apache-2.0 |
public function getTimePeriodColumn()
{
return $this->time_period_column;
} | Optional. Include a time period column to introduce comparison columns in
the report for each generated period. For example, set to "QUARTERS" here
to have a column for each quarter present in the primary date range. If
"PREVIOUS PERIOD" is specified in comparison_date_range, then each quarter
column will also include comparison values for its relative previous
quarter.
Generated from protobuf field <code>.google.ads.admanager.v1.Report.TimePeriodColumn time_period_column = 10 [(.google.api.field_behavior) = OPTIONAL];</code>
@return int | getTimePeriodColumn | php | googleapis/google-cloud-php | AdsAdManager/src/V1/ReportDefinition.php | https://github.com/googleapis/google-cloud-php/blob/master/AdsAdManager/src/V1/ReportDefinition.php | Apache-2.0 |
public function setTimePeriodColumn($var)
{
GPBUtil::checkEnum($var, \Google\Ads\AdManager\V1\Report\TimePeriodColumn::class);
$this->time_period_column = $var;
return $this;
} | Optional. Include a time period column to introduce comparison columns in
the report for each generated period. For example, set to "QUARTERS" here
to have a column for each quarter present in the primary date range. If
"PREVIOUS PERIOD" is specified in comparison_date_range, then each quarter
column will also include comparison values for its relative previous
quarter.
Generated from protobuf field <code>.google.ads.admanager.v1.Report.TimePeriodColumn time_period_column = 10 [(.google.api.field_behavior) = OPTIONAL];</code>
@param int $var
@return $this | setTimePeriodColumn | php | googleapis/google-cloud-php | AdsAdManager/src/V1/ReportDefinition.php | https://github.com/googleapis/google-cloud-php/blob/master/AdsAdManager/src/V1/ReportDefinition.php | Apache-2.0 |
public function setFlags($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\Report\Flag::class);
$this->flags = $arr;
return $this;
} | Optional. List of flags for this report. Used to flag rows in a result set
based on a set of defined filters.
Generated from protobuf field <code>repeated .google.ads.admanager.v1.Report.Flag flags = 14 [(.google.api.field_behavior) = OPTIONAL];</code>
@param array<\Google\Ads\AdManager\V1\Report\Flag>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setFlags | php | googleapis/google-cloud-php | AdsAdManager/src/V1/ReportDefinition.php | https://github.com/googleapis/google-cloud-php/blob/master/AdsAdManager/src/V1/ReportDefinition.php | Apache-2.0 |
public function getSorts()
{
return $this->sorts;
} | Optional. Default sorts to apply to this report.
Generated from protobuf field <code>repeated .google.ads.admanager.v1.Report.Sort sorts = 15 [(.google.api.field_behavior) = OPTIONAL];</code>
@return \Google\Protobuf\Internal\RepeatedField | getSorts | php | googleapis/google-cloud-php | AdsAdManager/src/V1/ReportDefinition.php | https://github.com/googleapis/google-cloud-php/blob/master/AdsAdManager/src/V1/ReportDefinition.php | Apache-2.0 |
public function setSorts($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\AdManager\V1\Report\Sort::class);
$this->sorts = $arr;
return $this;
} | Optional. Default sorts to apply to this report.
Generated from protobuf field <code>repeated .google.ads.admanager.v1.Report.Sort sorts = 15 [(.google.api.field_behavior) = OPTIONAL];</code>
@param array<\Google\Ads\AdManager\V1\Report\Sort>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setSorts | php | googleapis/google-cloud-php | AdsAdManager/src/V1/ReportDefinition.php | https://github.com/googleapis/google-cloud-php/blob/master/AdsAdManager/src/V1/ReportDefinition.php | Apache-2.0 |
public function getResourcePolicies()
{
return $this->resource_policies;
} | Full or relative path to the resource policy to be added to this disk. You can only specify one resource policy.
Generated from protobuf field <code>repeated string resource_policies = 22220385;</code>
@return \Google\Protobuf\Internal\RepeatedField | getResourcePolicies | php | googleapis/google-cloud-php | Compute/src/V1/DisksAddResourcePoliciesRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/DisksAddResourcePoliciesRequest.php | Apache-2.0 |
public function setResourcePolicies($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
$this->resource_policies = $arr;
return $this;
} | Full or relative path to the resource policy to be added to this disk. You can only specify one resource policy.
Generated from protobuf field <code>repeated string resource_policies = 22220385;</code>
@param array<string>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setResourcePolicies | php | googleapis/google-cloud-php | Compute/src/V1/DisksAddResourcePoliciesRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/DisksAddResourcePoliciesRequest.php | Apache-2.0 |
public function getSubnetIp()
{
return $this->subnet_ip;
} | Optional. IP address of the subnet.
Generated from protobuf field <code>string subnet_ip = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
@return string | getSubnetIp | php | googleapis/google-cloud-php | NetApp/src/V1/HybridPeeringDetails.php | https://github.com/googleapis/google-cloud-php/blob/master/NetApp/src/V1/HybridPeeringDetails.php | Apache-2.0 |
public function setSubnetIp($var)
{
GPBUtil::checkString($var, True);
$this->subnet_ip = $var;
return $this;
} | Optional. IP address of the subnet.
Generated from protobuf field <code>string subnet_ip = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
@param string $var
@return $this | setSubnetIp | php | googleapis/google-cloud-php | NetApp/src/V1/HybridPeeringDetails.php | https://github.com/googleapis/google-cloud-php/blob/master/NetApp/src/V1/HybridPeeringDetails.php | Apache-2.0 |
public function setCommand($var)
{
GPBUtil::checkString($var, True);
$this->command = $var;
return $this;
} | Optional. Copy-paste-able commands to be used on user's ONTAP to accept
peering requests.
Generated from protobuf field <code>string command = 2 [(.google.api.field_behavior) = OPTIONAL];</code>
@param string $var
@return $this | setCommand | php | googleapis/google-cloud-php | NetApp/src/V1/HybridPeeringDetails.php | https://github.com/googleapis/google-cloud-php/blob/master/NetApp/src/V1/HybridPeeringDetails.php | Apache-2.0 |
public function getCommandExpiryTime()
{
return $this->command_expiry_time;
} | Optional. Expiration time for the peering command to be executed on user's
ONTAP.
Generated from protobuf field <code>.google.protobuf.Timestamp command_expiry_time = 3 [(.google.api.field_behavior) = OPTIONAL];</code>
@return \Google\Protobuf\Timestamp|null | getCommandExpiryTime | php | googleapis/google-cloud-php | NetApp/src/V1/HybridPeeringDetails.php | https://github.com/googleapis/google-cloud-php/blob/master/NetApp/src/V1/HybridPeeringDetails.php | Apache-2.0 |
public function setCommandExpiryTime($var)
{
GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
$this->command_expiry_time = $var;
return $this;
} | Optional. Expiration time for the peering command to be executed on user's
ONTAP.
Generated from protobuf field <code>.google.protobuf.Timestamp command_expiry_time = 3 [(.google.api.field_behavior) = OPTIONAL];</code>
@param \Google\Protobuf\Timestamp $var
@return $this | setCommandExpiryTime | php | googleapis/google-cloud-php | NetApp/src/V1/HybridPeeringDetails.php | https://github.com/googleapis/google-cloud-php/blob/master/NetApp/src/V1/HybridPeeringDetails.php | Apache-2.0 |
public function getPassphrase()
{
return $this->passphrase;
} | Optional. Temporary passphrase generated to accept cluster peering command.
Generated from protobuf field <code>string passphrase = 4 [(.google.api.field_behavior) = OPTIONAL];</code>
@return string | getPassphrase | php | googleapis/google-cloud-php | NetApp/src/V1/HybridPeeringDetails.php | https://github.com/googleapis/google-cloud-php/blob/master/NetApp/src/V1/HybridPeeringDetails.php | Apache-2.0 |
public function setPassphrase($var)
{
GPBUtil::checkString($var, True);
$this->passphrase = $var;
return $this;
} | Optional. Temporary passphrase generated to accept cluster peering command.
Generated from protobuf field <code>string passphrase = 4 [(.google.api.field_behavior) = OPTIONAL];</code>
@param string $var
@return $this | setPassphrase | php | googleapis/google-cloud-php | NetApp/src/V1/HybridPeeringDetails.php | https://github.com/googleapis/google-cloud-php/blob/master/NetApp/src/V1/HybridPeeringDetails.php | Apache-2.0 |
public function getPeerVolumeName()
{
return $this->peer_volume_name;
} | Optional. Name of the user's local source volume to be peered with the
destination volume.
Generated from protobuf field <code>string peer_volume_name = 5 [(.google.api.field_behavior) = OPTIONAL];</code>
@return string | getPeerVolumeName | php | googleapis/google-cloud-php | NetApp/src/V1/HybridPeeringDetails.php | https://github.com/googleapis/google-cloud-php/blob/master/NetApp/src/V1/HybridPeeringDetails.php | Apache-2.0 |
public function setPeerVolumeName($var)
{
GPBUtil::checkString($var, True);
$this->peer_volume_name = $var;
return $this;
} | Optional. Name of the user's local source volume to be peered with the
destination volume.
Generated from protobuf field <code>string peer_volume_name = 5 [(.google.api.field_behavior) = OPTIONAL];</code>
@param string $var
@return $this | setPeerVolumeName | php | googleapis/google-cloud-php | NetApp/src/V1/HybridPeeringDetails.php | https://github.com/googleapis/google-cloud-php/blob/master/NetApp/src/V1/HybridPeeringDetails.php | Apache-2.0 |
public function getPeerClusterName()
{
return $this->peer_cluster_name;
} | Optional. Name of the user's local source cluster to be peered with the
destination cluster.
Generated from protobuf field <code>string peer_cluster_name = 6 [(.google.api.field_behavior) = OPTIONAL];</code>
@return string | getPeerClusterName | php | googleapis/google-cloud-php | NetApp/src/V1/HybridPeeringDetails.php | https://github.com/googleapis/google-cloud-php/blob/master/NetApp/src/V1/HybridPeeringDetails.php | Apache-2.0 |
public function setPeerClusterName($var)
{
GPBUtil::checkString($var, True);
$this->peer_cluster_name = $var;
return $this;
} | Optional. Name of the user's local source cluster to be peered with the
destination cluster.
Generated from protobuf field <code>string peer_cluster_name = 6 [(.google.api.field_behavior) = OPTIONAL];</code>
@param string $var
@return $this | setPeerClusterName | php | googleapis/google-cloud-php | NetApp/src/V1/HybridPeeringDetails.php | https://github.com/googleapis/google-cloud-php/blob/master/NetApp/src/V1/HybridPeeringDetails.php | Apache-2.0 |
public function getPeerSvmName()
{
return $this->peer_svm_name;
} | Optional. Name of the user's local source vserver svm to be peered with the
destination vserver svm.
Generated from protobuf field <code>string peer_svm_name = 7 [(.google.api.field_behavior) = OPTIONAL];</code>
@return string | getPeerSvmName | php | googleapis/google-cloud-php | NetApp/src/V1/HybridPeeringDetails.php | https://github.com/googleapis/google-cloud-php/blob/master/NetApp/src/V1/HybridPeeringDetails.php | Apache-2.0 |
public function setPeerSvmName($var)
{
GPBUtil::checkString($var, True);
$this->peer_svm_name = $var;
return $this;
} | Optional. Name of the user's local source vserver svm to be peered with the
destination vserver svm.
Generated from protobuf field <code>string peer_svm_name = 7 [(.google.api.field_behavior) = OPTIONAL];</code>
@param string $var
@return $this | setPeerSvmName | php | googleapis/google-cloud-php | NetApp/src/V1/HybridPeeringDetails.php | https://github.com/googleapis/google-cloud-php/blob/master/NetApp/src/V1/HybridPeeringDetails.php | Apache-2.0 |
public function getAttachedCluster()
{
return $this->attached_cluster;
} | Required. The specification of the
[AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] to create.
Generated from protobuf field <code>.google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@return \Google\Cloud\GkeMultiCloud\V1\AttachedCluster|null | getAttachedCluster | php | googleapis/google-cloud-php | GkeMultiCloud/src/V1/CreateAttachedClusterRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/GkeMultiCloud/src/V1/CreateAttachedClusterRequest.php | Apache-2.0 |
public function setAttachedCluster($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\GkeMultiCloud\V1\AttachedCluster::class);
$this->attached_cluster = $var;
return $this;
} | Required. The specification of the
[AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] to create.
Generated from protobuf field <code>.google.cloud.gkemulticloud.v1.AttachedCluster attached_cluster = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@param \Google\Cloud\GkeMultiCloud\V1\AttachedCluster $var
@return $this | setAttachedCluster | php | googleapis/google-cloud-php | GkeMultiCloud/src/V1/CreateAttachedClusterRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/GkeMultiCloud/src/V1/CreateAttachedClusterRequest.php | Apache-2.0 |
public function getAttachedClusterId()
{
return $this->attached_cluster_id;
} | Required. A client provided ID the resource. Must be unique within the
parent resource.
The provided ID will be part of the
[AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
name formatted as
`projects/<project-id>/locations/<region>/attachedClusters/<cluster-id>`.
Valid characters are `/[a-z][0-9]-/`. Cannot be longer than 63 characters.
Generated from protobuf field <code>string attached_cluster_id = 3 [(.google.api.field_behavior) = REQUIRED];</code>
@return string | getAttachedClusterId | php | googleapis/google-cloud-php | GkeMultiCloud/src/V1/CreateAttachedClusterRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/GkeMultiCloud/src/V1/CreateAttachedClusterRequest.php | Apache-2.0 |
public function setAttachedClusterId($var)
{
GPBUtil::checkString($var, True);
$this->attached_cluster_id = $var;
return $this;
} | Required. A client provided ID the resource. Must be unique within the
parent resource.
The provided ID will be part of the
[AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
name formatted as
`projects/<project-id>/locations/<region>/attachedClusters/<cluster-id>`.
Valid characters are `/[a-z][0-9]-/`. Cannot be longer than 63 characters.
Generated from protobuf field <code>string attached_cluster_id = 3 [(.google.api.field_behavior) = REQUIRED];</code>
@param string $var
@return $this | setAttachedClusterId | php | googleapis/google-cloud-php | GkeMultiCloud/src/V1/CreateAttachedClusterRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/GkeMultiCloud/src/V1/CreateAttachedClusterRequest.php | Apache-2.0 |
public function getSiteKey()
{
return $this->site_key;
} | Optional. The site key that was used to invoke reCAPTCHA Enterprise on your
site and generate the token.
Generated from protobuf field <code>string site_key = 2 [(.google.api.field_behavior) = OPTIONAL];</code>
@return string | getSiteKey | php | googleapis/google-cloud-php | RecaptchaEnterprise/src/V1/Event.php | https://github.com/googleapis/google-cloud-php/blob/master/RecaptchaEnterprise/src/V1/Event.php | Apache-2.0 |
public function setSiteKey($var)
{
GPBUtil::checkString($var, True);
$this->site_key = $var;
return $this;
} | Optional. The site key that was used to invoke reCAPTCHA Enterprise on your
site and generate the token.
Generated from protobuf field <code>string site_key = 2 [(.google.api.field_behavior) = OPTIONAL];</code>
@param string $var
@return $this | setSiteKey | php | googleapis/google-cloud-php | RecaptchaEnterprise/src/V1/Event.php | https://github.com/googleapis/google-cloud-php/blob/master/RecaptchaEnterprise/src/V1/Event.php | Apache-2.0 |
public function getUserIpAddress()
{
return $this->user_ip_address;
} | Optional. The IP address in the request from the user's device related to
this event.
Generated from protobuf field <code>string user_ip_address = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = {</code>
@return string | getUserIpAddress | php | googleapis/google-cloud-php | RecaptchaEnterprise/src/V1/Event.php | https://github.com/googleapis/google-cloud-php/blob/master/RecaptchaEnterprise/src/V1/Event.php | Apache-2.0 |
public function setUserIpAddress($var)
{
GPBUtil::checkString($var, True);
$this->user_ip_address = $var;
return $this;
} | Optional. The IP address in the request from the user's device related to
this event.
Generated from protobuf field <code>string user_ip_address = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = {</code>
@param string $var
@return $this | setUserIpAddress | php | googleapis/google-cloud-php | RecaptchaEnterprise/src/V1/Event.php | https://github.com/googleapis/google-cloud-php/blob/master/RecaptchaEnterprise/src/V1/Event.php | Apache-2.0 |
public function getExpectedAction()
{
return $this->expected_action;
} | Optional. The expected action for this type of event. This should be the
same action provided at token generation time on client-side platforms
already integrated with recaptcha enterprise.
Generated from protobuf field <code>string expected_action = 5 [(.google.api.field_behavior) = OPTIONAL];</code>
@return string | getExpectedAction | php | googleapis/google-cloud-php | RecaptchaEnterprise/src/V1/Event.php | https://github.com/googleapis/google-cloud-php/blob/master/RecaptchaEnterprise/src/V1/Event.php | Apache-2.0 |
public function setExpectedAction($var)
{
GPBUtil::checkString($var, True);
$this->expected_action = $var;
return $this;
} | Optional. The expected action for this type of event. This should be the
same action provided at token generation time on client-side platforms
already integrated with recaptcha enterprise.
Generated from protobuf field <code>string expected_action = 5 [(.google.api.field_behavior) = OPTIONAL];</code>
@param string $var
@return $this | setExpectedAction | php | googleapis/google-cloud-php | RecaptchaEnterprise/src/V1/Event.php | https://github.com/googleapis/google-cloud-php/blob/master/RecaptchaEnterprise/src/V1/Event.php | Apache-2.0 |
public function getHashedAccountId()
{
@trigger_error('hashed_account_id is deprecated.', E_USER_DEPRECATED);
return $this->hashed_account_id;
} | Optional. Deprecated: use `user_info.account_id` instead.
Unique stable hashed user identifier for the request. The identifier must
be hashed using hmac-sha256 with stable secret.
Generated from protobuf field <code>bytes hashed_account_id = 6 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];</code>
@return string
@deprecated | getHashedAccountId | php | googleapis/google-cloud-php | RecaptchaEnterprise/src/V1/Event.php | https://github.com/googleapis/google-cloud-php/blob/master/RecaptchaEnterprise/src/V1/Event.php | Apache-2.0 |
public function setHashedAccountId($var)
{
@trigger_error('hashed_account_id is deprecated.', E_USER_DEPRECATED);
GPBUtil::checkString($var, False);
$this->hashed_account_id = $var;
return $this;
} | Optional. Deprecated: use `user_info.account_id` instead.
Unique stable hashed user identifier for the request. The identifier must
be hashed using hmac-sha256 with stable secret.
Generated from protobuf field <code>bytes hashed_account_id = 6 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];</code>
@param string $var
@return $this
@deprecated | setHashedAccountId | php | googleapis/google-cloud-php | RecaptchaEnterprise/src/V1/Event.php | https://github.com/googleapis/google-cloud-php/blob/master/RecaptchaEnterprise/src/V1/Event.php | Apache-2.0 |
public function getExpress()
{
return $this->express;
} | Optional. Flag for a reCAPTCHA express request for an assessment without a
token. If enabled, `site_key` must reference an Express site key.
Generated from protobuf field <code>bool express = 14 [(.google.api.field_behavior) = OPTIONAL];</code>
@return bool | getExpress | php | googleapis/google-cloud-php | RecaptchaEnterprise/src/V1/Event.php | https://github.com/googleapis/google-cloud-php/blob/master/RecaptchaEnterprise/src/V1/Event.php | Apache-2.0 |
public function setExpress($var)
{
GPBUtil::checkBool($var);
$this->express = $var;
return $this;
} | Optional. Flag for a reCAPTCHA express request for an assessment without a
token. If enabled, `site_key` must reference an Express site key.
Generated from protobuf field <code>bool express = 14 [(.google.api.field_behavior) = OPTIONAL];</code>
@param bool $var
@return $this | setExpress | php | googleapis/google-cloud-php | RecaptchaEnterprise/src/V1/Event.php | https://github.com/googleapis/google-cloud-php/blob/master/RecaptchaEnterprise/src/V1/Event.php | Apache-2.0 |
public function getRequestedUri()
{
return $this->requested_uri;
} | Optional. The URI resource the user requested that triggered an assessment.
Generated from protobuf field <code>string requested_uri = 8 [(.google.api.field_behavior) = OPTIONAL];</code>
@return string | getRequestedUri | php | googleapis/google-cloud-php | RecaptchaEnterprise/src/V1/Event.php | https://github.com/googleapis/google-cloud-php/blob/master/RecaptchaEnterprise/src/V1/Event.php | Apache-2.0 |
public function setRequestedUri($var)
{
GPBUtil::checkString($var, True);
$this->requested_uri = $var;
return $this;
} | Optional. The URI resource the user requested that triggered an assessment.
Generated from protobuf field <code>string requested_uri = 8 [(.google.api.field_behavior) = OPTIONAL];</code>
@param string $var
@return $this | setRequestedUri | php | googleapis/google-cloud-php | RecaptchaEnterprise/src/V1/Event.php | https://github.com/googleapis/google-cloud-php/blob/master/RecaptchaEnterprise/src/V1/Event.php | Apache-2.0 |
public function getWafTokenAssessment()
{
return $this->waf_token_assessment;
} | Optional. Flag for running WAF token assessment.
If enabled, the token must be specified, and have been created by a
WAF-enabled key.
Generated from protobuf field <code>bool waf_token_assessment = 9 [(.google.api.field_behavior) = OPTIONAL];</code>
@return bool | getWafTokenAssessment | php | googleapis/google-cloud-php | RecaptchaEnterprise/src/V1/Event.php | https://github.com/googleapis/google-cloud-php/blob/master/RecaptchaEnterprise/src/V1/Event.php | Apache-2.0 |
public function setWafTokenAssessment($var)
{
GPBUtil::checkBool($var);
$this->waf_token_assessment = $var;
return $this;
} | Optional. Flag for running WAF token assessment.
If enabled, the token must be specified, and have been created by a
WAF-enabled key.
Generated from protobuf field <code>bool waf_token_assessment = 9 [(.google.api.field_behavior) = OPTIONAL];</code>
@param bool $var
@return $this | setWafTokenAssessment | php | googleapis/google-cloud-php | RecaptchaEnterprise/src/V1/Event.php | https://github.com/googleapis/google-cloud-php/blob/master/RecaptchaEnterprise/src/V1/Event.php | Apache-2.0 |
public function getJa3()
{
return $this->ja3;
} | Optional. JA3 fingerprint for SSL clients. To learn how to compute this
fingerprint, please refer to https://github.com/salesforce/ja3.
Generated from protobuf field <code>string ja3 = 10 [(.google.api.field_behavior) = OPTIONAL];</code>
@return string | getJa3 | php | googleapis/google-cloud-php | RecaptchaEnterprise/src/V1/Event.php | https://github.com/googleapis/google-cloud-php/blob/master/RecaptchaEnterprise/src/V1/Event.php | Apache-2.0 |
public function setJa3($var)
{
GPBUtil::checkString($var, True);
$this->ja3 = $var;
return $this;
} | Optional. JA3 fingerprint for SSL clients. To learn how to compute this
fingerprint, please refer to https://github.com/salesforce/ja3.
Generated from protobuf field <code>string ja3 = 10 [(.google.api.field_behavior) = OPTIONAL];</code>
@param string $var
@return $this | setJa3 | php | googleapis/google-cloud-php | RecaptchaEnterprise/src/V1/Event.php | https://github.com/googleapis/google-cloud-php/blob/master/RecaptchaEnterprise/src/V1/Event.php | Apache-2.0 |
public function getJa4()
{
return $this->ja4;
} | Optional. JA4 fingerprint for SSL clients. To learn how to compute this
fingerprint, please refer to https://github.com/FoxIO-LLC/ja4.
Generated from protobuf field <code>string ja4 = 18 [(.google.api.field_behavior) = OPTIONAL];</code>
@return string | getJa4 | php | googleapis/google-cloud-php | RecaptchaEnterprise/src/V1/Event.php | https://github.com/googleapis/google-cloud-php/blob/master/RecaptchaEnterprise/src/V1/Event.php | Apache-2.0 |
public function setJa4($var)
{
GPBUtil::checkString($var, True);
$this->ja4 = $var;
return $this;
} | Optional. JA4 fingerprint for SSL clients. To learn how to compute this
fingerprint, please refer to https://github.com/FoxIO-LLC/ja4.
Generated from protobuf field <code>string ja4 = 18 [(.google.api.field_behavior) = OPTIONAL];</code>
@param string $var
@return $this | setJa4 | php | googleapis/google-cloud-php | RecaptchaEnterprise/src/V1/Event.php | https://github.com/googleapis/google-cloud-php/blob/master/RecaptchaEnterprise/src/V1/Event.php | Apache-2.0 |
public function setHeaders($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
$this->headers = $arr;
return $this;
} | Optional. HTTP header information about the request.
Generated from protobuf field <code>repeated string headers = 11 [(.google.api.field_behavior) = OPTIONAL];</code>
@param array<string>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setHeaders | php | googleapis/google-cloud-php | RecaptchaEnterprise/src/V1/Event.php | https://github.com/googleapis/google-cloud-php/blob/master/RecaptchaEnterprise/src/V1/Event.php | Apache-2.0 |
public function getFirewallPolicyEvaluation()
{
return $this->firewall_policy_evaluation;
} | Optional. Flag for enabling firewall policy config assessment.
If this flag is enabled, the firewall policy is evaluated and a
suggested firewall action is returned in the response.
Generated from protobuf field <code>bool firewall_policy_evaluation = 12 [(.google.api.field_behavior) = OPTIONAL];</code>
@return bool | getFirewallPolicyEvaluation | php | googleapis/google-cloud-php | RecaptchaEnterprise/src/V1/Event.php | https://github.com/googleapis/google-cloud-php/blob/master/RecaptchaEnterprise/src/V1/Event.php | Apache-2.0 |
public function setFirewallPolicyEvaluation($var)
{
GPBUtil::checkBool($var);
$this->firewall_policy_evaluation = $var;
return $this;
} | Optional. Flag for enabling firewall policy config assessment.
If this flag is enabled, the firewall policy is evaluated and a
suggested firewall action is returned in the response.
Generated from protobuf field <code>bool firewall_policy_evaluation = 12 [(.google.api.field_behavior) = OPTIONAL];</code>
@param bool $var
@return $this | setFirewallPolicyEvaluation | php | googleapis/google-cloud-php | RecaptchaEnterprise/src/V1/Event.php | https://github.com/googleapis/google-cloud-php/blob/master/RecaptchaEnterprise/src/V1/Event.php | Apache-2.0 |
public function getTransactionData()
{
return $this->transaction_data;
} | Optional. Data describing a payment transaction to be assessed. Sending
this data enables reCAPTCHA Enterprise Fraud Prevention and the
FraudPreventionAssessment component in the response.
Generated from protobuf field <code>.google.cloud.recaptchaenterprise.v1.TransactionData transaction_data = 13 [(.google.api.field_behavior) = OPTIONAL];</code>
@return \Google\Cloud\RecaptchaEnterprise\V1\TransactionData|null | getTransactionData | php | googleapis/google-cloud-php | RecaptchaEnterprise/src/V1/Event.php | https://github.com/googleapis/google-cloud-php/blob/master/RecaptchaEnterprise/src/V1/Event.php | Apache-2.0 |
public function setTransactionData($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\RecaptchaEnterprise\V1\TransactionData::class);
$this->transaction_data = $var;
return $this;
} | Optional. Data describing a payment transaction to be assessed. Sending
this data enables reCAPTCHA Enterprise Fraud Prevention and the
FraudPreventionAssessment component in the response.
Generated from protobuf field <code>.google.cloud.recaptchaenterprise.v1.TransactionData transaction_data = 13 [(.google.api.field_behavior) = OPTIONAL];</code>
@param \Google\Cloud\RecaptchaEnterprise\V1\TransactionData $var
@return $this | setTransactionData | php | googleapis/google-cloud-php | RecaptchaEnterprise/src/V1/Event.php | https://github.com/googleapis/google-cloud-php/blob/master/RecaptchaEnterprise/src/V1/Event.php | Apache-2.0 |
public function setUserInfo($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\RecaptchaEnterprise\V1\UserInfo::class);
$this->user_info = $var;
return $this;
} | Optional. Information about the user that generates this event, when they
can be identified. They are often identified through the use of an account
for logged-in requests or login/registration requests, or by providing user
identifiers for guest actions like checkout.
Generated from protobuf field <code>.google.cloud.recaptchaenterprise.v1.UserInfo user_info = 15 [(.google.api.field_behavior) = OPTIONAL];</code>
@param \Google\Cloud\RecaptchaEnterprise\V1\UserInfo $var
@return $this | setUserInfo | php | googleapis/google-cloud-php | RecaptchaEnterprise/src/V1/Event.php | https://github.com/googleapis/google-cloud-php/blob/master/RecaptchaEnterprise/src/V1/Event.php | Apache-2.0 |
public function getFraudPrevention()
{
return $this->fraud_prevention;
} | Optional. The Fraud Prevention setting for this assessment.
Generated from protobuf field <code>.google.cloud.recaptchaenterprise.v1.Event.FraudPrevention fraud_prevention = 17 [(.google.api.field_behavior) = OPTIONAL];</code>
@return int | getFraudPrevention | php | googleapis/google-cloud-php | RecaptchaEnterprise/src/V1/Event.php | https://github.com/googleapis/google-cloud-php/blob/master/RecaptchaEnterprise/src/V1/Event.php | Apache-2.0 |
public function setFraudPrevention($var)
{
GPBUtil::checkEnum($var, \Google\Cloud\RecaptchaEnterprise\V1\Event\FraudPrevention::class);
$this->fraud_prevention = $var;
return $this;
} | Optional. The Fraud Prevention setting for this assessment.
Generated from protobuf field <code>.google.cloud.recaptchaenterprise.v1.Event.FraudPrevention fraud_prevention = 17 [(.google.api.field_behavior) = OPTIONAL];</code>
@param int $var
@return $this | setFraudPrevention | php | googleapis/google-cloud-php | RecaptchaEnterprise/src/V1/Event.php | https://github.com/googleapis/google-cloud-php/blob/master/RecaptchaEnterprise/src/V1/Event.php | Apache-2.0 |
public function getKgCO2E()
{
return $this->kg_c_o2e;
} | Carbon Footprint generated in kg of CO2 equivalent.
Chose kg_c_o2e so that the name renders correctly in camelCase (kgCO2e).
Generated from protobuf field <code>double kg_c_o2e = 1;</code>
@return float | getKgCO2E | php | googleapis/google-cloud-php | Recommender/src/V1/SustainabilityProjection.php | https://github.com/googleapis/google-cloud-php/blob/master/Recommender/src/V1/SustainabilityProjection.php | Apache-2.0 |
public function setKgCO2E($var)
{
GPBUtil::checkDouble($var);
$this->kg_c_o2e = $var;
return $this;
} | Carbon Footprint generated in kg of CO2 equivalent.
Chose kg_c_o2e so that the name renders correctly in camelCase (kgCO2e).
Generated from protobuf field <code>double kg_c_o2e = 1;</code>
@param float $var
@return $this | setKgCO2E | php | googleapis/google-cloud-php | Recommender/src/V1/SustainabilityProjection.php | https://github.com/googleapis/google-cloud-php/blob/master/Recommender/src/V1/SustainabilityProjection.php | Apache-2.0 |
public function setView($var)
{
GPBUtil::checkEnum($var, \Google\Cloud\Dataplex\V1\GetDataScanRequest\DataScanView::class);
$this->view = $var;
return $this;
} | Optional. Select the DataScan view to return. Defaults to `BASIC`.
Generated from protobuf field <code>.google.cloud.dataplex.v1.GetDataScanRequest.DataScanView view = 2 [(.google.api.field_behavior) = OPTIONAL];</code>
@param int $var
@return $this | setView | php | googleapis/google-cloud-php | Dataplex/src/V1/GetDataScanRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataplex/src/V1/GetDataScanRequest.php | Apache-2.0 |
public function setCluster($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\Dataproc\V1\Cluster::class);
$this->cluster = $var;
return $this;
} | Required. The cluster to create.
Generated from protobuf field <code>.google.cloud.dataproc.v1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@param \Google\Cloud\Dataproc\V1\Cluster $var
@return $this | setCluster | php | googleapis/google-cloud-php | Dataproc/src/V1/CreateClusterRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataproc/src/V1/CreateClusterRequest.php | Apache-2.0 |
public function getActionOnFailedPrimaryWorkers()
{
return $this->action_on_failed_primary_workers;
} | Optional. Failure action when primary worker creation fails.
Generated from protobuf field <code>.google.cloud.dataproc.v1.FailureAction action_on_failed_primary_workers = 5 [(.google.api.field_behavior) = OPTIONAL];</code>
@return int | getActionOnFailedPrimaryWorkers | php | googleapis/google-cloud-php | Dataproc/src/V1/CreateClusterRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataproc/src/V1/CreateClusterRequest.php | Apache-2.0 |
public function setActionOnFailedPrimaryWorkers($var)
{
GPBUtil::checkEnum($var, \Google\Cloud\Dataproc\V1\FailureAction::class);
$this->action_on_failed_primary_workers = $var;
return $this;
} | Optional. Failure action when primary worker creation fails.
Generated from protobuf field <code>.google.cloud.dataproc.v1.FailureAction action_on_failed_primary_workers = 5 [(.google.api.field_behavior) = OPTIONAL];</code>
@param int $var
@return $this | setActionOnFailedPrimaryWorkers | php | googleapis/google-cloud-php | Dataproc/src/V1/CreateClusterRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataproc/src/V1/CreateClusterRequest.php | Apache-2.0 |
public function setUser($var)
{
GPBUtil::checkMessage($var, \Google\Shopping\Merchant\Accounts\V1beta\User::class);
$this->user = $var;
return $this;
} | Required. The new version of the user.
Use `me` to refer to your own email address, for example
`accounts/{account}/users/me`.
Generated from protobuf field <code>.google.shopping.merchant.accounts.v1beta.User user = 1 [(.google.api.field_behavior) = REQUIRED];</code>
@param \Google\Shopping\Merchant\Accounts\V1beta\User $var
@return $this | setUser | php | googleapis/google-cloud-php | ShoppingMerchantAccounts/src/V1beta/UpdateUserRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantAccounts/src/V1beta/UpdateUserRequest.php | Apache-2.0 |
public function getCitationThreshold()
{
return isset($this->citation_threshold) ? $this->citation_threshold : 0.0;
} | The threshold (in [0,1]) used for determining whether a fact must be
cited for a claim in the answer candidate. Choosing a higher threshold
will lead to fewer but very strong citations, while choosing a lower
threshold may lead to more but somewhat weaker citations. If unset, the
threshold will default to 0.6.
Generated from protobuf field <code>optional double citation_threshold = 1;</code>
@return float | getCitationThreshold | php | googleapis/google-cloud-php | DiscoveryEngine/src/V1/CheckGroundingSpec.php | https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/CheckGroundingSpec.php | Apache-2.0 |
public function getSubapi()
{
return $this->subapi;
} | Output only. The sub-API that the method belongs to. In the CSS API, this
is always `css`.
Generated from protobuf field <code>string subapi = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@return string | getSubapi | php | googleapis/google-cloud-php | ShoppingCss/src/V1/MethodDetails.php | https://github.com/googleapis/google-cloud-php/blob/master/ShoppingCss/src/V1/MethodDetails.php | Apache-2.0 |
public function setSubapi($var)
{
GPBUtil::checkString($var, True);
$this->subapi = $var;
return $this;
} | Output only. The sub-API that the method belongs to. In the CSS API, this
is always `css`.
Generated from protobuf field <code>string subapi = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@param string $var
@return $this | setSubapi | php | googleapis/google-cloud-php | ShoppingCss/src/V1/MethodDetails.php | https://github.com/googleapis/google-cloud-php/blob/master/ShoppingCss/src/V1/MethodDetails.php | Apache-2.0 |
public function setSourceGcsBucket($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\Parallelstore\V1\SourceGcsBucket::class);
$this->writeOneof(2, $var);
return $this;
} | The Cloud Storage source bucket and, optionally, path inside the bucket.
Generated from protobuf field <code>.google.cloud.parallelstore.v1.SourceGcsBucket source_gcs_bucket = 2;</code>
@param \Google\Cloud\Parallelstore\V1\SourceGcsBucket $var
@return $this | setSourceGcsBucket | php | googleapis/google-cloud-php | Parallelstore/src/V1/ImportDataRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Parallelstore/src/V1/ImportDataRequest.php | Apache-2.0 |
public function setDestinationParallelstore($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\Parallelstore\V1\DestinationParallelstore::class);
$this->writeOneof(3, $var);
return $this;
} | Parallelstore destination.
Generated from protobuf field <code>.google.cloud.parallelstore.v1.DestinationParallelstore destination_parallelstore = 3;</code>
@param \Google\Cloud\Parallelstore\V1\DestinationParallelstore $var
@return $this | setDestinationParallelstore | php | googleapis/google-cloud-php | Parallelstore/src/V1/ImportDataRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Parallelstore/src/V1/ImportDataRequest.php | Apache-2.0 |
public function getRelation()
{
return $this->readOneof(4);
} | The database relation created/updated by this action.
Generated from protobuf field <code>.google.cloud.dataform.v1beta1.CompilationResultAction.Relation relation = 4;</code>
@return \Google\Cloud\Dataform\V1beta1\CompilationResultAction\Relation|null | getRelation | php | googleapis/google-cloud-php | Dataform/src/V1beta1/CompilationResultAction.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataform/src/V1beta1/CompilationResultAction.php | Apache-2.0 |
public function setRelation($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\Dataform\V1beta1\CompilationResultAction\Relation::class);
$this->writeOneof(4, $var);
return $this;
} | The database relation created/updated by this action.
Generated from protobuf field <code>.google.cloud.dataform.v1beta1.CompilationResultAction.Relation relation = 4;</code>
@param \Google\Cloud\Dataform\V1beta1\CompilationResultAction\Relation $var
@return $this | setRelation | php | googleapis/google-cloud-php | Dataform/src/V1beta1/CompilationResultAction.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataform/src/V1beta1/CompilationResultAction.php | Apache-2.0 |
public function getOperations()
{
return $this->readOneof(5);
} | The database operations executed by this action.
Generated from protobuf field <code>.google.cloud.dataform.v1beta1.CompilationResultAction.Operations operations = 5;</code>
@return \Google\Cloud\Dataform\V1beta1\CompilationResultAction\Operations|null | getOperations | php | googleapis/google-cloud-php | Dataform/src/V1beta1/CompilationResultAction.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataform/src/V1beta1/CompilationResultAction.php | Apache-2.0 |
public function setOperations($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\Dataform\V1beta1\CompilationResultAction\Operations::class);
$this->writeOneof(5, $var);
return $this;
} | The database operations executed by this action.
Generated from protobuf field <code>.google.cloud.dataform.v1beta1.CompilationResultAction.Operations operations = 5;</code>
@param \Google\Cloud\Dataform\V1beta1\CompilationResultAction\Operations $var
@return $this | setOperations | php | googleapis/google-cloud-php | Dataform/src/V1beta1/CompilationResultAction.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataform/src/V1beta1/CompilationResultAction.php | Apache-2.0 |
public function getAssertion()
{
return $this->readOneof(6);
} | The assertion executed by this action.
Generated from protobuf field <code>.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion assertion = 6;</code>
@return \Google\Cloud\Dataform\V1beta1\CompilationResultAction\Assertion|null | getAssertion | php | googleapis/google-cloud-php | Dataform/src/V1beta1/CompilationResultAction.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataform/src/V1beta1/CompilationResultAction.php | Apache-2.0 |
public function setAssertion($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\Dataform\V1beta1\CompilationResultAction\Assertion::class);
$this->writeOneof(6, $var);
return $this;
} | The assertion executed by this action.
Generated from protobuf field <code>.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion assertion = 6;</code>
@param \Google\Cloud\Dataform\V1beta1\CompilationResultAction\Assertion $var
@return $this | setAssertion | php | googleapis/google-cloud-php | Dataform/src/V1beta1/CompilationResultAction.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataform/src/V1beta1/CompilationResultAction.php | Apache-2.0 |
public function getDeclaration()
{
return $this->readOneof(7);
} | The declaration declared by this action.
Generated from protobuf field <code>.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration declaration = 7;</code>
@return \Google\Cloud\Dataform\V1beta1\CompilationResultAction\Declaration|null | getDeclaration | php | googleapis/google-cloud-php | Dataform/src/V1beta1/CompilationResultAction.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataform/src/V1beta1/CompilationResultAction.php | Apache-2.0 |
public function setDeclaration($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\Dataform\V1beta1\CompilationResultAction\Declaration::class);
$this->writeOneof(7, $var);
return $this;
} | The declaration declared by this action.
Generated from protobuf field <code>.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration declaration = 7;</code>
@param \Google\Cloud\Dataform\V1beta1\CompilationResultAction\Declaration $var
@return $this | setDeclaration | php | googleapis/google-cloud-php | Dataform/src/V1beta1/CompilationResultAction.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataform/src/V1beta1/CompilationResultAction.php | Apache-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.